Controller/Action/Component/PagesAbstractController.php
\Kwf_Controller_Action_Component_PagesAbstractController
- Extends from
- \Kwf_Controller_Action_Auto_Tree
- package
- Properties
- $_buttons
- $_hasPosition
- $_modelName
- $_rootVisible
- $_textField
- Methods
- _formatNode
- _getNodeConfig
- _getParentId
- _init
- getNodeConfig
- indexAction
Description
This controller is used to display a tree structure.
The sync-prefix means that this controller loads all data at once, so children are always loaded.
Properties
$_buttons
$_buttons = 'array'
Change this array to your needs.
remove an entry to remove the button. false to disable the button.
Details
- visibility
- protected
- default
- array
- final
- false
- static
- false
$_hasPosition
$_hasPosition = 'true'
Details
- visibility
- protected
- default
- true
- final
- false
- static
- false
$_modelName
$_modelName = 'Kwf_Component_Model'
The model has needs to be a subclass of Kwf_Model_Tree
Details
- visibility
- protected
- default
- Kwf_Component_Model
- final
- false
- static
- false
$_rootVisible
$_rootVisible = 'false'
Details
- visibility
- protected
- default
- false
- final
- false
- static
- false
$_textField
$_textField = 'name'
Details
- visibility
- protected
- default
- name
- final
- false
- static
- false
Methods
_formatNode
_formatNode(
$row
)
:
Arguments
- $row
Details
- visibility
- protected
- final
- false
- static
- false
_getNodeConfig
_getNodeConfig(
$component
)
:
Arguments
- $component
Details
- visibility
- protected
- final
- false
- static
- false
_getParentId
_getParentId(
$row
)
:
Arguments
- $row
Details
- visibility
- protected
- final
- false
- static
- false
_init
_init(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
getNodeConfig
getNodeConfig(
$component
)
:
Arguments
- $component
Details
- visibility
- public
- final
- false
- static
- true
indexAction
indexAction(
)
:
This method is called when the url is requested without params and sub-paths
Details
- visibility
- public
- final
- false
- static
- false