Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_ipf_view_Column
  • icms_ipf_view_Row
  • icms_ipf_view_Single
  • icms_ipf_view_Tree
  • Overview
  • Package
  • Class

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
Extended by icms_ipf_view_Tree
Package: Ipf\View
Category: ICMS
Copyright: The ImpressCMS Project http://www.impresscms.org/
License: GNU General Public License (GPL)
Author: marcan marcan@impresscms.org
Version: $Id: icmspersistabletreetable.php 19651 2010-06-26 06:15:15Z malanciault $
Since: 1.1
Located at ipf/view/Tree.php
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

icms_ipf_view_Table::__construct()
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

Create all the rows

See

icms_ipf_view_Table::createTableRows()

Overrides

icms_ipf_view_Table::createTableRows()
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

icms_ipf_view_Table::fetchObjects()
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
API documentation generated by ApiGen