Solutions Open Source

Référence de la classe webPageTree

Graphe d'héritage de webPageTree:

Inheritance graph
[légende]
Graphe de collaboration de webPageTree:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 webPageTree ()
 wrapIcon ($icon, &$row)
 wrapStop ($str, $row)
 wrapTitle ($title, $row, $bank=0)
 printTree ($treeArr= '')
 PMicon ($row, $a, $c, $nextCount, $exp)
 PMiconATagWrap ($icon, $cmd, $isExpand=true)
 getBrowsableTree ()
 getTree ($uid, $depth=999, $blankLineCode='', $subCSSclass='')

Attributs publics

 $ext_showPageId
 $ext_IconMode
 $ajaxStatus = false


Documentation des fonctions membres

webPageTree::webPageTree (  ) 

Calls init functions

Renvoie:
void

webPageTree::wrapIcon ( icon,
&$  row 
)

Wrapping icon in browse tree

Paramètres:
string Icon IMG code
array Data row for element.
Renvoie:
string Page icon

webPageTree::wrapStop ( str,
row 
)

Adds a red "+" to the input string, $str, if the field "php_tree_stop" in the $row (pages) is set

Paramètres:
string Input string, like a page title for the tree
array record row with "php_tree_stop" field
Renvoie:
string Modified string private

Réimplémentée à partir de t3lib_treeView.

webPageTree::wrapTitle ( title,
row,
bank = 0 
)

Wrapping $title in a-tags.

Paramètres:
string Title string
string Item record
integer Bank pointer (which mount point number)
Renvoie:
string private

Réimplémentée à partir de t3lib_treeView.

webPageTree::printTree ( treeArr = ''  ) 

Compiles the HTML code for displaying the structure found inside the ->tree array

Paramètres:
array "tree-array" - if blank string, the internal ->tree array is used.
Renvoie:
string The HTML code for the tree

Réimplémentée à partir de t3lib_treeView.

webPageTree::PMicon ( row,
a,
c,
nextCount,
exp 
)

Generate the plus/minus icon for the browsable tree.

Paramètres:
array record for the entry
integer The current entry number
integer The total number of entries. If equal to $a, a "bottom" element is returned.
integer The number of sub-elements to the current element.
boolean The element was expanded to render subelements if this flag is set.
Renvoie:
string Image tag with the plus/minus icon. private
Voir également:
t3lib_pageTree::PMicon()

Réimplémentée à partir de t3lib_treeView.

webPageTree::PMiconATagWrap ( icon,
cmd,
isExpand = true 
)

Wrap the plus/minus icon in a link

Paramètres:
string HTML string to wrap, probably an image tag.
string Command for 'PM' get var
Renvoie:
string Link-wrapped input string private

webPageTree::getBrowsableTree (  ) 

Will create and return the HTML code for a browsable tree Is based on the mounts found in the internal array ->MOUNTS (set in the constructor)

Renvoie:
string HTML code for the browsable tree

Réimplémentée à partir de t3lib_treeView.

webPageTree::getTree ( uid,
depth = 999,
blankLineCode = '',
subCSSclass = '' 
)

Fetches the data for the tree

Paramètres:
integer item id for which to select subitems (parent id)
integer Max depth (recursivity limit)
string ? (internal)
Renvoie:
integer The count of items on the level


Documentation des données membres

webPageTree::$ext_showPageId

webPageTree::$ext_IconMode

Réimplémentée à partir de t3lib_treeView.

webPageTree::$ajaxStatus = false


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:44:26 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3