Component/Abstract.php
- Classes
- Kwf_Component_Abstract
\Kwf_Component_Abstract
- Methods
- __construct
- _getSetting
- _hasSetting
- _init
- createChildModel
- createFormModel
- createOwnModel
- formatCssClass
- getChildModel
- getComponentClasses
- getFlag
- getFormModel
- getModel
- getOwnModel
- getParentClasses
- getSetting
- getSettingMtime
- getSettings
- hasSetting
- hasSettings
- modifyFulltextDocument
- resetSettingsCache
- validateSettings
Methods
__construct
__construct(
)
:
Details
- visibility
- public
- final
- false
- static
- false
_getSetting
_getSetting(
$setting
)
:
Arguments
- $setting
Details
- visibility
- protected
- final
- false
- static
- false
_hasSetting
_hasSetting(
$setting
)
:
Arguments
- $setting
Details
- visibility
- protected
- final
- false
- static
- false
_init
_init(
)
:
Wird nach dem Konstruktor aufgerufen. Initialisierungscode in Unterklassen ist hier richtig.
Details
- visibility
- protected
- final
- false
- static
- false
createChildModel
createChildModel(
$class
)
:
\Kwf_Model_Abstract
Arguments
- $class
Output
Details
- visibility
- public
- final
- false
- static
- true
createFormModel
createFormModel(
$class
)
:
\Kwf_Model_Abstract
Arguments
- $class
Output
Details
- visibility
- public
- final
- false
- static
- true
createOwnModel
createOwnModel(
$class
)
:
\Kwf_Model_Abstract
Arguments
- $class
Output
Details
- visibility
- public
- final
- false
- static
- true
formatCssClass
formatCssClass(
$c
)
:
Arguments
- $c
Details
- visibility
- public
- final
- true
- static
- false
getChildModel
getComponentClasses
getComponentClasses(
)
:
\string[]
Returns all component classes used in this app
Fast, result is cached
Output
- \string[]
Details
- visibility
- public
- final
- true
- static
- true
getFlag
getFlag(
string $class, string $flag
)
:
mixed
Returns flag for a given componentClass
Shortcut for getting flag using ::getSettings
Arguments
- $class
- string
componentClass - $flag
- string
flag name
Output
- mixed
Details
- visibility
- public
- final
- true
- static
- false
getFormModel
getModel
getModel(
)
:
Details
- visibility
- public
- final
- false
- static
- false
- deprecated
getOwnModel
getParentClasses
getParentClasses(
$c
)
:
Arguments
- $c
Details
- visibility
- public
- final
- false
- static
- true
getSetting
getSetting(
$class, $setting
)
:
Arguments
- $class
- $setting
Details
- visibility
- public
- final
- true
- static
- true
getSettingMtime
getSettingMtime(
)
:
Details
- visibility
- public
- final
- true
- static
- true
getSettings
getSettings(
)
:
Details
- visibility
- public
- final
- false
- static
- true
hasSetting
hasSetting(
$class, $setting
)
:
Arguments
- $class
- $setting
Details
- visibility
- public
- final
- true
- static
- true
hasSettings
hasSettings(
$class
)
:
Arguments
- $class
Details
- visibility
- public
- final
- true
- static
- true
modifyFulltextDocument
modifyFulltextDocument(
$doc
)
:
Arguments
- $doc
Details
- visibility
- public
- final
- true
- static
- false
resetSettingsCache
resetSettingsCache(
)
:
Details
- visibility
- public
- final
- true
- static
- true
validateSettings
validateSettings(
$settings, $componentClass
)
:
Arguments
- $settings
- $componentClass
Details
- visibility
- public
- final
- false
- static
- true