MENU_getArray (line
19)
void
MENU_getArray
( $DB, &$menArr, [ $parent = 0], [ $project = 0], [ $intend = ""], [ $level = 0], [ $index = ""], [ $debug = FALSE])
-
$DB
-
&$menArr
-
$parent
-
$project
-
$intend
-
$level
-
$index
-
$debug
MENU_getFirstLevel (line
255)
void
MENU_getFirstLevel
( $DB, $menArr)
MENU_getHref (line
46)
generates the <a href ..>tag
void
MENU_getHref
( $row, $class, $href)
MENU_getPageQuery (line
318)
returns the sql query for the menu page
string
MENU_getPageQuery
([ $projId = 0], [ $menId = 0], [ $langId = 0])
MENU_getPath (line
268)
void
MENU_getPath
( $DB, $menArr, [ $menPath = FALSE])
MENU_populate (line
286)
void
MENU_populate
( $DB, $menId)
MENU_writeChildList (line
207)
void
MENU_writeChildList
( $DB, [ $MEN_ID = 0], [ $PROJ_ID = 0], [ $LANG_ID = 0], [ $href = ""], [ $debug = FALSE])
-
$DB
-
$MEN_ID
-
$PROJ_ID
-
$LANG_ID
-
$href
-
$debug
MENU_writeItem (line
126)
return the HTML code for a menu item row
string
MENU_writeItem
(array $row, string $class, string $href)
-
array
$row: menu (db)row values
-
string
$class: css class of the <a> tag
-
string
$href: cms main url
MENU_writeTreeFrom (line
230)
void
MENU_writeTreeFrom
( $DB, $menArr, [ $href = ""], [ $debug = FALSE])
MENU_writeTreeTill (line
164)
void
MENU_writeTreeTill
( $DB, $menArr, [ $href = ""], [ $debug = FALSE])