File/MenuSet.php

Description

Some intelligence and standardisation around presenting a menu hierarchy.

See the MenuSet class for examples as that is the primary interface.

Classes
Class Description
 class MenuOption Each menu option is an object.
 class MenuSet A MenuSet is a hierarchy of MenuOptions, some of which might be MenuSet objects themselves.
Includes
 require_once ("AWLUtilities.php") (line 15)
Functions
_CompareMenuSequence (line 179)

_CompareMenuSequence is used in sorting the menu options into the sequence order

  • return: ( $a == b ? 0 ( $a > b ? 1 : -1 ))
int _CompareMenuSequence (objectref $a, objectref $b)
  • objectref $a: The first menu option
  • objectref $b: The second menu option

Documentation generated on Thu, 15 Apr 2010 20:23:05 +1200 by phpDocumentor 1.3.2