Component/Generator/Abstract.php
- Classes
- Kwf_Component_Generator_Abstract
\Kwf_Component_Generator_Abstract
- Properties
- $_addUrlPart
- $_class
- $_eventsClass
- $_idSeparator
- $_inherits
- $_loadTableFromComponent
- $_pluginBaseComponentClass
- $_settings
- Methods
- __construct
- __destruct
- __sleep
- __wakeup
- _createData
- _formatConfig
- _formatSelect
- _formatSelectFilename
- _formatSelectHome
- _getChildComponentClass
- _getChildComponentClasses
- _getComponentIdFromRow
- _getDataClass
- _getIdFromRow
- _getModel
- _getPossibleIndirectDbIdShortcuts
- _init
- clearInstances
- countChildData
- duplicateChild
- getAddUrlPart
- getChildComponentClasses
- getChildData
- getChildIds
- getClass
- getComponentByKey
- getDeviceVisible
- getDuplicateProgressSteps
- getEventsClass
- getGeneratorFlag
- getGeneratorFlags
- getGeneratorKey
- getGeneratorPlugin
- getGeneratorPlugins
- getIdSeparator
- getInheritedInstances
- getInherits
- getInstance
- getInstances
- getLazyRowByRow
- getModel
- getOwnInstances
- getPagePropertiesForm
- getPagesControllerConfig
- getPluginBaseComponentClass
- getRowByLazyRow
- getSetting
- getStaticCacheVarsForMenu
- getStaticChildComponentIds
- hasInstance
- hasSetting
- makeChildrenVisible
- select
- toDebug
Properties
$_addUrlPart
$_addUrlPart = 'false'
Details
- visibility
- protected
- default
- false
- final
- false
- static
- false
$_class
$_class = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_eventsClass
$_eventsClass = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_idSeparator
$_idSeparator = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_inherits
$_inherits = 'false'
Details
- visibility
- protected
- default
- false
- final
- false
- static
- false
$_loadTableFromComponent
$_loadTableFromComponent = 'false'
Details
- visibility
- protected
- default
- false
- final
- false
- static
- false
$_pluginBaseComponentClass
$_pluginBaseComponentClass = 'false'
Details
- visibility
- protected
- default
- false
- final
- false
- static
- false
$_settings
$_settings = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
Methods
__construct
__construct(
$class, $settings
)
:
Arguments
- $class
- $settings
Details
- visibility
- protected
- final
- false
- static
- false
__destruct
__destruct(
)
:
Details
- visibility
- public
- final
- false
- static
- false
__sleep
__sleep(
)
:
Details
- visibility
- public
- final
- false
- static
- false
__wakeup
__wakeup(
)
:
Details
- visibility
- public
- final
- false
- static
- false
_createData
_createData(
$parentData, $row, $select
)
:
Arguments
- $parentData
- $row
- $select
Details
- visibility
- protected
- final
- false
- static
- false
_formatConfig
_formatConfig(
$parentData, $row
)
:
Arguments
- $parentData
- $row
Details
- visibility
- protected
- final
- false
- static
- false
_formatSelect
_formatSelect(
$parentData, $select
)
:
Arguments
- $parentData
- $select
Details
- visibility
- protected
- final
- false
- static
- false
_formatSelectFilename
_formatSelectFilename(
$select
)
:
Arguments
- $select
Details
- visibility
- protected
- final
- false
- static
- false
_formatSelectHome
_formatSelectHome(
$select
)
:
Arguments
- $select
Details
- visibility
- protected
- final
- false
- static
- false
_getChildComponentClass
_getChildComponentClass(
$key, $parentData
)
:
Arguments
- $key
- $parentData
Details
- visibility
- protected
- final
- false
- static
- false
_getChildComponentClasses
_getChildComponentClasses(
)
:
Details
- visibility
- protected
- final
- true
- static
- false
_getComponentIdFromRow
_getComponentIdFromRow(
$parentData, $row
)
:
Arguments
- $parentData
- $row
Details
- visibility
- protected
- final
- false
- static
- false
_getDataClass
_getDataClass(
$config, $row
)
:
Arguments
- $config
- $row
Details
- visibility
- protected
- final
- false
- static
- false
_getIdFromRow
_getIdFromRow(
$row
)
:
Arguments
- $row
Details
- visibility
- protected
- final
- false
- static
- false
_getModel
_getModel(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
_getPossibleIndirectDbIdShortcuts
_getPossibleIndirectDbIdShortcuts(
$class
)
:
Helper function that returns the dbIdShortcuts that can be used below a componentClass (only across page)
Static, fast and cached.
Arguments
- $class
Details
- visibility
- protected
- final
- false
- static
- false
_init
_init(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
clearInstances
clearInstances(
)
:
Details
- visibility
- public
- final
- false
- static
- true
countChildData
countChildData(
$parentData, $select
=
array
)
:
Arguments
- $parentData
- $select
Details
- visibility
- public
- final
- false
- static
- false
duplicateChild
duplicateChild(
$source, $parentTarget, $progressBar
=
null
)
:
Arguments
- $source
- $parentTarget
- $progressBar
Details
- visibility
- public
- final
- false
- static
- false
getAddUrlPart
getAddUrlPart(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getChildComponentClasses
getChildComponentClasses(
$select
=
array
)
:
Arguments
- $select
Details
- visibility
- public
- final
- false
- static
- false
getChildData
getChildData(
$parentData, $select
=
array
)
:
Arguments
- $parentData
- $select
Details
- visibility
- public
- final
- false
- static
- false
getChildIds
getChildIds(
$parentData, $select
=
array
)
:
Arguments
- $parentData
- $select
Details
- visibility
- public
- final
- false
- static
- false
getClass
getClass(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getComponentByKey
getComponentByKey(
$key
)
:
Arguments
- $key
Details
- visibility
- public
- final
- false
- static
- false
getDeviceVisible
getDeviceVisible(
$data
)
:
Returns for every Kwf_Component_Data the device visibility
Can be overriten for every Generator if you want a specific device visibility
Arguments
- $data
Details
- visibility
- public
- final
- false
- static
- false
getDuplicateProgressSteps
getDuplicateProgressSteps(
$source
)
:
Arguments
- $source
Details
- visibility
- public
- final
- false
- static
- false
getEventsClass
getEventsClass(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getGeneratorFlag
getGeneratorFlag(
$flag
)
:
Arguments
- $flag
Details
- visibility
- public
- final
- true
- static
- false
getGeneratorFlags
getGeneratorFlags(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getGeneratorKey
getGeneratorKey(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getGeneratorPlugin
getGeneratorPlugin(
$key
)
:
Arguments
- $key
Details
- visibility
- public
- final
- true
- static
- false
getGeneratorPlugins
getGeneratorPlugins(
)
:
Details
- visibility
- public
- final
- true
- static
- false
getIdSeparator
getIdSeparator(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getInheritedInstances
getInheritedInstances(
$component, $select
=
array
)
:
Arguments
- $component
- $select
Details
- visibility
- public
- final
- false
- static
- true
getInherits
getInherits(
)
:
OB dieser Generator erbt (normalerweise nur Pages)
Details
- visibility
- public
- final
- false
- static
- false
getInstance
getInstance(
$componentClass, $key, $settings
=
array, $pluginBaseComponentClass
=
false
)
:
\Kwf_Component_Generator_Abstract
Arguments
- $componentClass
- $key
- $settings
- $pluginBaseComponentClass
Details
- visibility
- public
- final
- false
- static
- true
getInstances
getInstances(
$component, $select
=
array
)
:
Arguments
- $component
- $select
Details
- visibility
- public
- final
- false
- static
- true
getLazyRowByRow
getLazyRowByRow(
$row, $component
)
:
Arguments
- $row
- $component
Details
- visibility
- public
- final
- false
- static
- false
getModel
getModel(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getOwnInstances
getOwnInstances(
$component, $select
=
array
)
:
Arguments
- $component
- $select
Details
- visibility
- public
- final
- false
- static
- true
getPagePropertiesForm
getPagePropertiesForm(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getPagesControllerConfig
getPagesControllerConfig(
$component, $generatorClass
=
null
)
:
Arguments
- $component
- $generatorClass
Details
- visibility
- public
- final
- false
- static
- false
getPluginBaseComponentClass
getPluginBaseComponentClass(
)
:
Wenn Generator von einem Plugin, gibt es Komponenten-Klasse der Komponente die das Plugin beinhaltet zurück.
Wenn Generator in einer normalen Komponente false.
Details
- visibility
- public
- final
- false
- static
- false
getRowByLazyRow
getRowByLazyRow(
$lazyRow, $component
)
:
Arguments
- $lazyRow
- $component
Details
- visibility
- public
- final
- false
- static
- false
getSetting
getSetting(
$setting
)
:
Arguments
- $setting
Details
- visibility
- public
- final
- false
- static
- false
getStaticCacheVarsForMenu
getStaticCacheVarsForMenu(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getStaticChildComponentIds
getStaticChildComponentIds(
)
:
If this generator creates a fixed (static) datas, return the ids here.
This will be used for performance optimisations.
Details
- visibility
- public
- final
- false
- static
- false
hasInstance
hasInstance(
$componentClass, $key
)
:
Arguments
- $componentClass
- $key
Details
- visibility
- public
- final
- false
- static
- true
hasSetting
hasSetting(
$setting
)
:
Arguments
- $setting
Details
- visibility
- public
- final
- false
- static
- false
makeChildrenVisible
makeChildrenVisible(
$source
)
:
Arguments
- $source
Details
- visibility
- public
- final
- false
- static
- false
select
select(
$parentData, $select
=
array
)
:
wennn man das select anpassen will _formatSelect überschreiben
Arguments
- $parentData
- $select
Details
- visibility
- public
- final
- true
- static
- false
toDebug
toDebug(
)
:
Details
- visibility
- public
- final
- false
- static
- false