MOptionList Class Reference

Inheritance diagram for MOptionList:

Inheritance graph
[legend]
Collaboration diagram for MOptionList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __construct ($name= '')
 setCssClassItem ($type, $class)
 getOptions ()
 addItem ($type, $control)
 addLink ($label, $link= '#', $target= '_self')
 addHyperLink ($hyperlink)
 addLinkButton ($linkbutton)
 addOption ($label, $module= 'main', $action= '', $item=null, $args=null)
 addUserOption ($transaction, $access, $label, $module= 'main', $action= '', $item= '', $args=null)
 addGroupOption ($transaction, $access, $label, $module= 'main', $action= '', $item= '', $args=null)
 addText ($text= '')
 addSeparator ($name=null)
 addMenu ($menu)
 addUserMenu ($transaction, $access, &$menu)
 addControl ($control)
 clear ()
 hasOptions ()
 generateUnorderedList ()

Protected Attributes

 $options
 $cssClassItem

Detailed Description

Definition at line 62 of file moptionlist.class.


Constructor & Destructor Documentation

MOptionList::__construct ( name = ''  ) 

Initialize some properties.

Parameters:
$name (string) a optional name for the control

Reimplemented from MControl.

Definition at line 68 of file moptionlist.class.

References MComponent::$name, and MControl::addStyleFile().

Here is the call graph for this function:


Member Function Documentation

MOptionList::setCssClassItem ( type,
class 
)

Definition at line 84 of file moptionlist.class.

MOptionList::getOptions (  ) 

Definition at line 90 of file moptionlist.class.

MOptionList::addItem ( type,
control 
)

Definition at line 96 of file moptionlist.class.

Referenced by addControl(), addHyperLink(), addLink(), addLinkButton(), addMenu(), addOption(), addSeparator(), and addText().

Here is the caller graph for this function:

MOptionList::addLink ( label,
link = '#',
target = '_self' 
)

Definition at line 102 of file moptionlist.class.

References addItem().

Here is the call graph for this function:

MOptionList::addHyperLink ( hyperlink  ) 

Definition at line 109 of file moptionlist.class.

References addItem().

Here is the call graph for this function:

MOptionList::addLinkButton ( linkbutton  ) 

Definition at line 115 of file moptionlist.class.

References addItem().

Here is the call graph for this function:

MOptionList::addOption ( label,
module = 'main',
action = '',
item = null,
args = null 
)

Definition at line 121 of file moptionlist.class.

References addItem().

Referenced by addGroupOption(), and addUserOption().

Here is the call graph for this function:

Here is the caller graph for this function:

MOptionList::addUserOption ( transaction,
access,
label,
module = 'main',
action = '',
item = '',
args = null 
)

Definition at line 129 of file moptionlist.class.

References addOption().

Here is the call graph for this function:

MOptionList::addGroupOption ( transaction,
access,
label,
module = 'main',
action = '',
item = '',
args = null 
)

Definition at line 137 of file moptionlist.class.

References addOption().

Here is the call graph for this function:

MOptionList::addText ( text = ''  ) 

Definition at line 146 of file moptionlist.class.

References addItem().

Here is the call graph for this function:

MOptionList::addSeparator ( name = null  ) 

Definition at line 154 of file moptionlist.class.

References addItem().

Here is the call graph for this function:

MOptionList::addMenu ( menu  ) 

Definition at line 160 of file moptionlist.class.

References addItem().

Referenced by addUserMenu().

Here is the call graph for this function:

Here is the caller graph for this function:

MOptionList::addUserMenu ( transaction,
access,
&$  menu 
)

Definition at line 166 of file moptionlist.class.

References addMenu().

Here is the call graph for this function:

MOptionList::addControl ( control  ) 

Reimplemented from MControl.

Definition at line 175 of file moptionlist.class.

References addItem().

Here is the call graph for this function:

MOptionList::clear (  ) 

Definition at line 181 of file moptionlist.class.

MOptionList::hasOptions (  ) 

Reimplemented in MDHTMLMenu2.

Definition at line 187 of file moptionlist.class.

Referenced by generateUnorderedList().

Here is the caller graph for this function:

MOptionList::generateUnorderedList (  ) 

Definition at line 193 of file moptionlist.class.

References MControl::generate(), and hasOptions().

Here is the call graph for this function:


Member Data Documentation

MOptionList::$options [protected]

Definition at line 64 of file moptionlist.class.

Referenced by NavigationBar::GenerateInner(), MNavigationBar::GenerateInner(), and MMenu::GenerateInner().

MOptionList::$cssClassItem [protected]

Definition at line 65 of file moptionlist.class.


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil