Class icms_ipf_view_Tree
icms_ipf_view_Tree base class
Base class representing a table for displaying icms_ipf_Object tree objects
-
icms_ipf_view_Table
-
icms_ipf_view_Tree
Methods summary
public
array
|
#
__construct( object & $objectHandler, object $criteria = FALSE, array $actions = array('edit', 'delete'), boolean $userSide = FALSE )
Construct the tree object
Construct the tree object
Parameters
- $objectHandler
- (@link icms_ipf_Handler)
- $criteria
- (@link icms_db_criteria_Compo)
- $actions
- An array of actions for this object
- $userSide
- TRUE - display on the user side; FALSE - do not display
Returns
array
Overrides
|
public
array
|
#
getChildrenOf( $category_pid = 0 )
Get children objects given a specific category_pid
Get children objects given a specific category_pid
Returns
array of icms_ipf_Object
Var
int $category_pid id of the parent which children we want to retreive
|
public
|
#
createTableRow( object $object, integer $level = 0 )
Create a row based on the item and children
Create a row based on the item and children
Parameters
- $object
- @link icms_ipf_Object
- $level
- sub-level of the item
|
public
|
#
createTableRows( )
Create all the rows
See
icms_ipf_view_Table::createTableRows()
Overrides
|
public
|
#
fetchObjects( )
Get all the objects, using parentid as the key
Get all the objects, using parentid as the key
See
icms_ipf_view_Table::fetchObjects()
Overrides
|
Methods inherited from icms_ipf_view_Table
addActionButton(),
addColumn(),
addCustomAction(),
addDefaultIntroButton(),
addFilter(),
addFooter(),
addHeader(),
addIntroButton(),
addPrinterFriendlyLink(),
addQuickSearch(),
addWithSelectedActions(),
disableColumnsSorting(),
fetch(),
getCookie(),
getDefaultFilter(),
getDefaultFilter2(),
getDefaultOrder(),
getDefaultSort(),
getFilters2Array(),
getFiltersArray(),
getLimitsArray(),
getObjects(),
getOrdersArray(),
hideActionColumnTitle(),
hideFilterAndLimit(),
isForUserSide(),
render(),
renderD(),
renderForPrint(),
renderOptionSelection(),
setCookie(),
setCustomTemplate(),
setDefaultFilter(),
setDefaultFilter2(),
setDefaultOrder(),
setDefaultSort(),
setObjects(),
setSortOrder(),
setTableId()
|
Properties inherited from icms_ipf_view_Table
$_aObjects,
$_actionButtons,
$_actions,
$_columns,
$_criteria,
$_customTemplate,
$_custom_actions,
$_enableColumnsSorting,
$_filtersel,
$_filtersel2,
$_filtersel2options,
$_filtersel2optionsDefault,
$_filterseloptions,
$_hasActions,
$_head_css_class,
$_id,
$_introButtons,
$_isTree,
$_limitsel,
$_objectHandler,
$_objects,
$_ordersel,
$_printerFriendlyPage,
$_quickSearch,
$_showActionsColumnTitle,
$_showFilterAndLimit,
$_sortsel,
$_tableFooter,
$_tableHeader,
$_tempObject,
$_tpl,
$_userSide,
$_withSelectedActions
|