contenido\plugins\content_allocation\classes\class.content_allocation_tree.php
Project:
Contenido Content Management System
Description: Stores and handles content allocation management
Requirements:
- Author
- Marco Jahn
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- http://www.contenido.org
- Package
- Contenido Backend plugins
- Since
- file available since contenido release <= 4.6 {@internal created unknown modified 2008-07-02, Frederic Schneider, add security fix $Id: class.content_allocation_tree.php 1044 2009-06-04 10:54:06Z OliverL $: }}
- Version
- 0.10.1
\pApiTree
Package: Default







Todo
addslashes to all string db inserts
check if default language exists if new entry is added (otherwise)
- Children
- \pApiContentAllocationArticle
- \pApiContentAllocationComplexList
- \pApiContentAllocationSelectBox
- \pApiContentAllocationTreeView
Properties

$_arrInFilters = array('urlencode', 'conHtmlSpecialChars', 'addslashes')Default value
array('urlencode', 'conHtmlSpecialChars', 'addslashes')Details- Type
- n/a

$_arrOutFilters = array('stripslashes', 'htmldecode', 'urldecode')Default value
array('stripslashes', 'htmldecode', 'urldecode')Details- Type
- n/a
Methods

_decreaseOrder( $parentId = false, $fromOrder) : voidParameters
| Name | Type | Description |
|---|---|---|
| $parentId | ||
| $fromOrder |

_increaseOrder( $parentId = false, $fromOrder) : voidParameters
| Name | Type | Description |
|---|---|---|
| $parentId | ||
| $fromOrder |

fetchLevel( $parentId = false, $showOffline = false) : voidParameters
| Name | Type | Description |
|---|---|---|
| $parentId | ||
| $showOffline |

fetchTree(mixed $parentId = false, int $level = 0, boolean $bUseTreeStatus = true) : voidParameters
Details
| Name | Type | Description |
|---|---|---|
| $parentId | mixed | |
| $level | int | |
| $bUseTreeStatus | boolean | (if true use expand/collapsed status of the tree, otherwise not) |
- Modified
- 27.10.2005 Willi Man

fetchTreeIds(mixed $parentId = false, int $level = 0, $showOffline = false) : arrayFetch content allocation tree Consider offline/online status
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $parentId | mixed | |
| $level | int | |
| $showOffline |
| Type | Description |
|---|---|
| array | with content allocation id's |
- Created
- 21.11.2005 Willi Man

setFilters( $arrInFilters = array(), $arrOutFilters = array()) : voidParameters
| Name | Type | Description |
|---|---|---|
| $arrInFilters | ||
| $arrOutFilters |