Class: base_topic_tree
Quellcode Position: Program_Root/base_topictree.php
Class base_topic_tree
Class Overview
|
Basic topic tree object Implementiert in Program_Root/base_topictree.php [Zeile 27] base_object | --base_db | --base_topic_treeAuthor(s):
|
[ Seitenanfang ]
Direct Derivates
| Abgeleitete Class | Description |
|---|---|
| papaya_alias_tree | Object to display a alias tree (n-dimensional) |
| papaya_topic_tree | object to show sitemap in edit area (n-dimensional) |
[ Seitenanfang ]
Inherited Properties And Methods
| Inherited Properties | Inherited Methods |
|---|---|
|
Abgeleitet von base_db |
Abgeleitet von base_db
Abgeleitet von base_object
|
[ Seitenanfang ]
Properties Summary
| mixed | $baselink | |
| mixed | $opened | |
| mixed | $paramname | |
| mixed | $params | |
| mixed | $sessionparamname | |
| mixed | $subtopic_count | |
| mixed | $topics |
[ Seitenanfang ]
Method Summary
| base_topic_tree() | Constructor | |
| void | execute() | execute - basic function for handling parameters |
| string | generatePrevPath() | Generate preview path |
| string | get() | Get |
| mixed | getButtons() | Get buttons |
| string | getPartTree() | Get part tree |
| string | getStaticSubTree() | Get stratic sub tree |
| string | getSubTree() | Get sub tree |
| string | getXML() | Get XML |
| string | getXMLElement() | Get XML element |
| string | getXMLSubTree() | Get XML sub tree |
| boolean | hasParent() | Is entry parent of $id ? | initialize() | Initialize parameters |
| void | load() | Load |
| void | loadSimplyAll() | Load simply all |
| void | openAll() | Open all |
| void | openPrevs() | Open previews |
| void | openSubIds() | Open sub ID's |
| array | optimizeList() | Connect all childs to the parents build and array of entries ids with no parents. |
| void | refreshPages() | Refresh pages |
| void | regeneratePath() | Regenerate path |
| boolean | topicEditable() | Is topic editable |
[ Seitenanfang ]
Methods
Constructor base_topic_tree [Zeile 43]
|
Constructor
Parameters:| string | $paramname: | optional, default value 'tt' |
API Tags:
| Access: | public |
[ Seitenanfang ]
execute [Zeile 79]
|
execute - basic function for handling parameters
API Tags:
| Access: | public |
Neu definiert in folgenden Ableitungen:
- papaya_alias_tree::execute() : Execute - base function for handlig parameters
- papaya_topic_tree::execute() : Execute - basic function for handling parameters
[ Seitenanfang ]
generatePrevPath [Zeile 329]
|
Generate preview path
Parameters:| integer | $id: |
API Tags:
| Access: | public |
[ Seitenanfang ]
get [Zeile 532]
|
Get
API Tags:
| Access: | public |
Neu definiert in folgenden Ableitungen:
[ Seitenanfang ]
getButtons [Zeile 766]
|
Get buttons
API Tags:
| Return: | boolean or array |
| Access: | public |
Neu definiert in folgenden Ableitungen:
- papaya_alias_tree::getButtons() : Get buttons
[ Seitenanfang ]
getPartTree [Zeile 450]
|
Get part tree
Parameters:| object | &$topic: | base_topic |
API Tags:
| Access: | public |
[ Seitenanfang ]
getStaticSubTree [Zeile 492]
|
Get stratic sub tree
Parameters:| array | $nodes: | |
| integer | $indent: | optional, default value 0 |
API Tags:
| Access: | public |
[ Seitenanfang ]
getSubTree [Zeile 556]
|
Get sub tree
Parameters:| array | $id_arr: | |
| integer | &$counter: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getXMLElement [Zeile 732]
|
Get XML element
Parameters:| integer | $id: | |
| integer | $indent: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getXMLSubTree [Zeile 713]
|
Get XML sub tree
Parameters:| integer | $id: | |
| integer | $indent: |
API Tags:
| Access: | public |
[ Seitenanfang ]
hasParent [Zeile 210]
|
Is entry parent of $id ?
Parameters:| integer | $id: |
API Tags:
| Access: | public |
[ Seitenanfang ]
initialize [Zeile 55]
|
Initialize parameters
Parameters:| mixed | $id: | optional, default value NULL |
API Tags:
| Access: | public |
[ Seitenanfang ]
load [Zeile 153]
|
Load
Parameters:| integer | $baseid: |
API Tags:
| Access: | public |
Neu definiert in folgenden Ableitungen:
- papaya_alias_tree::load() : Load
[ Seitenanfang ]
loadSimplyAll [Zeile 252]
|
Load simply all
API Tags:
| Access: | public |
[ Seitenanfang ]
openAll [Zeile 378]
|
Open all
Parameters:| integer | $id: | optional, default value 0 |
API Tags:
| Access: | public |
[ Seitenanfang ]
openPrevs [Zeile 349]
|
Open previews
Parameters:| integer | $id: |
API Tags:
| Access: | public |
[ Seitenanfang ]
openSubIds [Zeile 134]
|
Open sub ID's
Parameters:| integer | $baseid: |
API Tags:
| Access: | public |
[ Seitenanfang ]
optimizeList [Zeile 419]
|
Connect all childs to the parents build and array of entries ids with no parents.
Parameters:| interger | $baseid: | ID of Top Entry |
API Tags:
| Return: | list of base entry ids |
[ Seitenanfang ]
refreshPages [Zeile 782]
|
Refresh pages
API Tags:
| Access: | public |
[ Seitenanfang ]
regeneratePath [Zeile 274]
|
Regenerate path
API Tags:
| Access: | public |
[ Seitenanfang ]
topicEditable [Zeile 673]
|
Is topic editable
Parameters:| integer | $topic_id: |
API Tags:
| Access: | public |
[ Seitenanfang ]
