dmBridge PHP API
DMCPMenuSection Class Reference

A menu section contains one or more menu items, represented by DMCPMenuItem. More...

Public Member Functions


Detailed Description

A menu section contains one or more menu items, represented by DMCPMenuItem.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 14 of file DMCPMenuSection.php.


Constructor & Destructor Documentation

DMCPMenuSection::__construct ( title)
Parameters:
stringtitle

Definition at line 26 of file DMCPMenuSection.php.


Member Function Documentation

DMCPMenuSection::addMenuItem ( DMCPMenuItem item)
Parameters:
DMCPMenuItemitem

Definition at line 49 of file DMCPMenuSection.php.

DMCPMenuSection::getMenuItems ( )
Returns:
string The URI to which the menu item is hyperlinked.

Definition at line 56 of file DMCPMenuSection.php.

DMCPMenuSection::getTitle ( )
Returns:
string The title of the menu item.

Definition at line 63 of file DMCPMenuSection.php.

DMCPMenuSection::isFromModule ( )
Returns:
boolean Whether the section is being provided by a module.

Definition at line 33 of file DMCPMenuSection.php.

DMCPMenuSection::setFromModule ( bool)
Parameters:
booleanbool Whether the section is being provided by a module. This will be set automatically as necessary and there is no reason to invoke it manually.

Definition at line 42 of file DMCPMenuSection.php.

DMCPMenuSection::setTitle ( title)
Parameters:
stringtitle The title of the menu item.

Definition at line 70 of file DMCPMenuSection.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables