|
Class: Menu
Source Location: Program_Root/GUI/Menu.php
Menu is a class that is used to generate navigation systems on the fly on web sites, based on a self-referencial database table structure.
Author(s)
Version
- 2.6, 2003-06-18, $Id: Menu.php,v 1.7 2007/01/17 15:37:09 lux Exp $
Copyright
- Copyright (C) 2001-2003, Simian Systems Inc.
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$cache = false
[line 162]
$cacheLocation = 'cache/.menu'
[line 163]
$closedPic =
[line 181]
The path to the image to use for the'"closed' graphic in the collapsible display mode. Defaults to '/pix/false.gif'.
Tags:
$colours =
[line 227]
A list of background colours to use to differentiate between levels in the collapsible display mode. Starts at #ffffff (white) and goes down to #999999 (medium grey) and back.
Tags:
$error =
[line 172]
Contains the most recent error message if an error has occurred, false otherwise.
Tags:
$hideValue =
[line 217]
The value that the database column in $listcolumn is supposed to contain when a field is not to be shown. Defaults to 'no'.
Tags:
$idcolumn =
[line 105]
The name of the column in the database table that contains the primary key values.
Tags:
$includedJs =
[line 245]
Remembers whether or not the JavaScript for the collapsible display mode has been included yet or not.
Tags:
$initFunc =
[line 256]
The name of the JavaScript init() function for this menu. Different menus on the same page need separate init() functions. The default is 'saf_xbinit_' plus the name of the database table linked to this menu.
Tags:
$jsDir =
[line 236]
The directory to find the JavaScript for the collapsible view in. Default is '/js'.
Tags:
$listcolumn =
[line 132]
The name of the column in the database table that says whether or not to display each record as an item.
Tags:
$openedPic =
[line 190]
The path to the image to use for the'"opened' graphic in the collapsible display mode. Defaults to '/pix/true.gif'.
Tags:
$refcolumn =
[line 123]
The name of the column in the database table that makes a self-reference to the primary key, or id, column.
Tags:
$showcolumn =
[line 114]
The name of the column in the database table that is to be displayed.
Tags:
$sitelliteAllowed =
[line 160]
Specifies whether or not to use the global $sitellite object (from the Sitellite CMS-only package saf.App.Conf.Sitellite) to add automatic permission limits on the database query. For more information, see saf.App.Conf.Sitellite in DocReader.
Tags:
$sortcolumn =
[line 141]
The field to sort by, in case of a sort field. A sort field outweighs the default sorting alphabetically.
Tags:
$sortorder =
[line 149]
The sort order, either 'ASC' (ascending) or 'DESC' (descending).
Tags:
$table =
[line 96]
The name of the database table (if any) that this menu is being pulled from.
Tags:
$tree =
[line 87]
Contains a multi-dimensional array of MenuItem objects.
Tags:
$xpos =
[line 199]
The distance from the left edge of the browser window to display the menu in collapsible display mode. Default is 0.
Tags:
$ypos =
[line 208]
The distance from the top edge of the browser window to display the menu in collapsible display mode. Default is 0.
Tags:
Class Methods
|
|