Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cGuiBackendHelpbox
  • cGuiFileOverview
  • cGuiFoldingRow
  • cGuiList
  • cGuiMenu
  • cGuiNavigation
  • cGuiNotification
  • cGuiObjectPager
  • cGuiPage
  • cGuiScrollList
  • cGuiSourceEditor
  • cGuiTableForm
  • cGuiTree
  • cPager
  • cTemplate
  • cTree
  • cTreeItem
  • NoteLink
  • NoteList
  • NoteListItem
  • NoteView
  • TODOLink
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cTree

Tree class.

cTreeItem
Extended by cTree

Direct known subclasses

cGuiTree
Package: Core\GUI
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/tree/class.ctree.php
Methods summary
public
# __construct( string $name = "" )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Parameters

$name
string
$name [optional]

Todo

The root item currently has to be a "0". This is a bug, feel free to fix it.

Overrides

cTreeItem::__construct()
public
# setTreeName( string $name )

Sets a new name for the tree.

Sets a new name for the tree.

Parameters

$name
string
$name Name of the tree
public
# setIcon( string $path )

Tree icon setter. Short form for setTreeIcon().

Tree icon setter. Short form for setTreeIcon().

Parameters

$path
string
$path
public
# setTreeIcon( string $path )

Tree icon setter.

Tree icon setter.

Parameters

$path
string
$path
public string
# getTreeIcon( )

Tree icon getter.

Tree icon getter.

Returns

string
Methods inherited from cTreeItem
_collapseBelowID(), _collapseBelowLevel(), _expandBelowID(), _expandBelowLevel(), _flattenArray(), addItem(), addItemToID(), deleteAttribute(), deleteItem(), flatTraverse(), getAttribute(), getCollapsed(), getCollapsedList(), getExpandedList(), getId(), getItemByID(), getName(), hasAttribute(), importStructuredArray(), importTable(), moveItem(), setAttribute(), setAttributes(), setCollapsed(), setExpanded(), setName(), setPayloadObject(), traverse(), unsetPayloadObject()
Properties summary
protected string $_treeIcon
#

Tree icon

Tree icon

Properties inherited from cTreeItem
$_attributes, $_collapsed, $_id, $_level, $_name, $_next, $_parent, $_previous, $_subitems
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0