contenido\plugins\content_allocation\classes\class.content_allocation_tree.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertypublic$_arrInFilters = array('urlencode', 'conHtmlSpecialChars', 'addslashes')
Default valuearray('urlencode', 'conHtmlSpecialChars', 'addslashes')Details
Type
n/a
>VPropertypublic$_arrOutFilters = array('stripslashes', 'htmldecode', 'urldecode')
Default valuearray('stripslashes', 'htmldecode', 'urldecode')Details
Type
n/a
>VPropertypublic$client = 1
Default value1Details
Type
n/a
>VPropertypublic$db = null
Default valuenullDetails
Type
n/a
>VPropertypublic$defaultLang = 1
Default value1Details
Type
n/a
>VPropertypublic$lang = 1
Default value1Details
Type
n/a
>VPropertypublic$logger = null
Default valuenullDetails
Type
n/a
>VPropertypublic$table = null
Default valuenullDetails
Type
n/a
>VPropertypublic$treeStatus = array()
Default valuearray()Details
Type
n/a
>VPropertypublic$user = null
Default valuenullDetails
Type
n/a
>VPropertypublic$uuid = null
Default valuenullDetails
Type
n/a

Methods

methodpublic_decreaseOrder( $parentId = false,  $fromOrder) : void

Parameters
NameTypeDescription
$parentId
$fromOrder
methodpublic_fetchItemNameLang( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublic_fetchMaxOrder( $parentId = false) : void

Parameters
NameTypeDescription
$parentId
methodpublic_inFilter( $data) : void

Parameters
NameTypeDescription
$data
methodpublic_increaseOrder( $parentId = false,  $fromOrder) : void

Parameters
NameTypeDescription
$parentId
$fromOrder
methodpublic_outFilter( $data) : void

Parameters
NameTypeDescription
$data
methodpublic_switchOnOffline( $idpica_alloc,  $status) : void

Parameters
NameTypeDescription
$idpica_alloc
$status
methodpublicdeleteItem( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicfetchItem( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicfetchLevel( $parentId = false,  $showOffline = false) : void

Parameters
NameTypeDescription
$parentId
$showOffline
methodpublicfetchParent( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicfetchParents() : void

methodpublicfetchTree(mixed $parentId = false, int $level = 0, boolean $bUseTreeStatus = true) : void

Parameters
NameTypeDescription
$parentIdmixed
$levelint
$bUseTreeStatusboolean

(if true use expand/collapsed status of the tree, otherwise not)

Details
Modified
27.10.2005 Willi Man  
methodpublicfetchTreeIds(mixed $parentId = false, int $level = 0,  $showOffline = false) : array

Fetch content allocation tree Consider offline/online status

Parameters
NameTypeDescription
$parentIdmixed
$levelint
$showOffline
Returns
TypeDescription
arraywith content allocation id's
Details
Created
21.11.2005 Willi Man  
methodpublicitemMoveDown() : void

methodpublicitemMoveUp( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicloadTreeStatus() : void

methodpublicpApiTree( $uuid) : void

Parameters
NameTypeDescription
$uuid
methodpublicsetFilters( $arrInFilters = array(),  $arrOutFilters = array()) : void

Parameters
NameTypeDescription
$arrInFilters
$arrOutFilters
methodpublicsetOffline( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicsetOnline( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicsetTreeStatus( $idpica_alloc) : void

Parameters
NameTypeDescription
$idpica_alloc
methodpublicstoreItem( $treeItem) : void

Parameters
NameTypeDescription
$treeItem
Documentation was generated by phpDocumentor 2.0.0a12.