SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 595 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Properties
_active : int ID of the current menu item
_default : int ID of the default homepage menu item
_items : array Array of menu items (stdClass objects)
Appendix
[ 439 ]
Constructors
__construct( ) : JMenu
Builds a new JMenu object and loads all of the published menu items for every menu.
Methods
authorize( id : int, accessid : int=0 ) : boolean
Checks the user group has rights to view the menu item.
Parameters id Menu item ID
[accessed] Legacy group ID
Returns true if authorized to view the menu item
&getActive( ) : boolean
Gets the current menu item. Gets the default menu item if the current item is not set.
Returns Active menu item; returns null on failure
&getDefault( ) : object
Gets the default menu item (homepage).
Returns Default menu item object
static &getInstance( ) : JMenu
Gets the global instance of JMenu, creating it if it does not exist.
Returns Global instance of JMenu
&getItem( id : int ) : object
Gets a menu item based on id. If the menu item does not exist, returns null.


Pages:
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6