Procedural File: function.areatree.php

Source Location: /CORE/addon/smarty/plugins/function.areatree.php

Page Details

BIGACE - a PHP and MySQL based Web CMS.

Copyright (C) Kevin Papst.

BIGACE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author:  Kevin Papst
Version:  $Id: function.areatree.php,v 1.4 2009/02/27 23:13:28 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License
Functions
helper_menus_recursive  [line 201]

void helper_menus_recursive( $startMenu, $level, $max, $menuarray, $pathToRootItems, $folded  )
Parameters:
   $startMenu: 
   $level: 
   $max: 
   $menuarray: 
   $pathToRootItems: 
   $folded: 


[ Top ]
smarty_function_areatree  [line 42]

void smarty_function_areatree( $params, &$smarty  )

Prints or fetches a Tree for the current area in the page tree

Parameter: language = the language to get the tree for, default is the current language from the session (the users language) css = the css class for the rendered link (<a>) node, default is empty hidden = show also hidden pages in the page tree, defult is false prefix = the html to be prepended to every item link in the areatree (will be printed before the <a href="...>itemnam</a> code of each item), default is empty suffix = the html to be appended to every item link in the areatree (will be printed after the <a href="...>itemnam</a> code of each item), default is empty selected = the css class for all items on the path to root, default is empty start = the initial value that will be prepended to the output of this tag, default is empty maxdepth = the maximum level depth to crawl into the page tree. No pages with a higher level value then the speicifed will be displayed in the areatree, default is 999 (all levels) assign = if set the output of this tag will be assigned to the variable instead of being printed to the output stream folded = check if only the subtree elements on path to root (and their siblings) should be shown or all items in subtree, default is false (=show all items in subtree) debug = if set to true, debug output will be printed out while rendering the areatree, default is false beforeLevelUp = the text/html that should be place before a level down step source code, default is empty beforeLevelDown = get the text/html that should be place before a level up step source code, default is empty

Parameters:
   $params: 
   &$smarty: 


[ Top ]