File/cms/menu/functions.phpinc

Description

Menu functions

NOTE: it is planed to replace this file with a class

Functions
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)
  • $DB
  • $menArr
MENU_getHref (line 46)

generates the <a href ..>tag

  • version: pk-03-12-14
void MENU_getHref ( $row,  $class,  $href)
  • $row
  • $class
  • $href
MENU_getPageQuery (line 318)

returns the sql query for the menu page

  • since: pk-04-08-25
string MENU_getPageQuery ([ $projId = 0], [ $menId = 0], [ $langId = 0])
  • $projId
  • $menId
  • $langId
MENU_getPath (line 268)
void MENU_getPath ( $DB,  $menArr, [ $menPath = FALSE])
  • $DB
  • $menArr
  • $menPath
MENU_populate (line 286)
void MENU_populate ( $DB,  $menId)
  • $DB
  • $menId
MENU_writeChildList (line 207)
void MENU_writeChildList ( $DB, [ $MEN_ID = 0], [ $PROJ_ID = 0], [ $LANG_ID = 0], [ $href = &quot;&quot;], [ $debug = FALSE])
  • $DB
  • $MEN_ID
  • $PROJ_ID
  • $LANG_ID
  • $href
  • $debug
MENU_writeItem (line 126)

return the HTML code for a menu item row

  • return: HTML code for a menu item row
  • version: pk-03-10-17
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 = &quot;&quot;], [ $debug = FALSE])
  • $DB
  • $menArr
  • $href
  • $debug
MENU_writeTreeTill (line 164)
void MENU_writeTreeTill ( $DB,  $menArr, [ $href = &quot;&quot;], [ $debug = FALSE])
  • $DB
  • $menArr
  • $href
  • $debug

Documentation generated on Thu, 08 Jan 2009 17:44:17 +0100 by phpDocumentor 1.4.0a2