Back to index

awl  0.53
Classes | Namespaces | Functions
MenuSet.php File Reference

Go to the source code of this file.

Classes

class  MenuOption
class  MenuSet

Namespaces

namespace  awl
 Authentication handling class.

Functions

 _CompareMenuSequence ($a, $b)
 _CompareMenuSequence is used in sorting the menu options into the sequence order

Function Documentation

_CompareMenuSequence ( a,
b 
)

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

Parameters:
objectref$aThe first menu option
objectref$bThe second menu option
Returns:
int ( $a == b ? 0 ( $a > b ? 1 : -1 ))

Definition at line 179 of file MenuSet.php.

                                        {
  dbg_error_log("MenuSet", ":_CompareMenuSequence: Comparing %d with %d", $a->sortkey, $b->sortkey);
  return ($a->sortkey - $b->sortkey);
}