MToolBar Class Reference

Inheritance diagram for MToolBar:

Inheritance graph
[legend]
Collaboration diagram for MToolBar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __construct ($name='ToolBar', $url='')
 getArrayAsUrl ($var)
 getButtons ()
 addButton ($name, $caption, $url, $hint, $enabled, $enabledImage, $disabledImage)
 showButton ($name)
 hideButton ($name)
 enableButton ($name)
 disableButton ($name)
 setIsPost ($name, $post=true)
 generateInner ()

Public Attributes

const BUTTON_BACK = 'tbBtnBack'
const BUTTON_NEW = 'tbBtnNew'
const BUTTON_SAVE = 'tbBtnSave'
const BUTTON_DELETE = 'tbBtnDelete'
const BUTTON_SEARCH = 'tbBtnSearch'
const BUTTON_PRINT = 'tbBtnPrint'
const BUTTON_EXIT = 'tbBtnExit'
const BUTTON_RESET = 'tbBtnReset'

Private Attributes

 $toolBarButtons

Detailed Description

Definition at line 109 of file mtoolbar.class.


Constructor & Destructor Documentation

MToolBar::__construct ( name = 'ToolBar',
url = '' 
)

Definition at line 126 of file mtoolbar.class.

References MComponent::$name, _M(), MIOLO::_REQUEST(), getArrayAsUrl(), MIOLO::getInstance(), and MContainer::setShowChildLabel().

Here is the call graph for this function:


Member Function Documentation

MToolBar::getArrayAsUrl ( var  ) 

Definition at line 236 of file mtoolbar.class.

References MFormControl::$value.

Referenced by __construct().

Here is the caller graph for this function:

MToolBar::getButtons (  ) 

Definition at line 253 of file mtoolbar.class.

Referenced by generateInner().

Here is the caller graph for this function:

MToolBar::addButton ( name,
caption,
url,
hint,
enabled,
enabledImage,
disabledImage 
)

Definition at line 270 of file mtoolbar.class.

References MControl::$caption, MControl::$enabled, MFormControl::$hint, and MComponent::$name.

MToolBar::showButton ( name  ) 

Definition at line 275 of file mtoolbar.class.

References MComponent::$name.

MToolBar::hideButton ( name  ) 

Definition at line 280 of file mtoolbar.class.

References MComponent::$name.

MToolBar::enableButton ( name  ) 

Definition at line 285 of file mtoolbar.class.

References MComponent::$name.

MToolBar::disableButton ( name  ) 

Definition at line 290 of file mtoolbar.class.

References MComponent::$name.

MToolBar::setIsPost ( name,
post = true 
)

Definition at line 295 of file mtoolbar.class.

References MComponent::$name.

MToolBar::generateInner (  ) 

Reimplemented from MBaseGroup.

Definition at line 300 of file mtoolbar.class.

References getButtons().

Here is the call graph for this function:


Member Data Documentation

const MToolBar::BUTTON_BACK = 'tbBtnBack'

Definition at line 111 of file mtoolbar.class.

const MToolBar::BUTTON_NEW = 'tbBtnNew'

Definition at line 112 of file mtoolbar.class.

const MToolBar::BUTTON_SAVE = 'tbBtnSave'

Definition at line 113 of file mtoolbar.class.

const MToolBar::BUTTON_DELETE = 'tbBtnDelete'

Definition at line 114 of file mtoolbar.class.

const MToolBar::BUTTON_SEARCH = 'tbBtnSearch'

Definition at line 115 of file mtoolbar.class.

const MToolBar::BUTTON_PRINT = 'tbBtnPrint'

Definition at line 116 of file mtoolbar.class.

const MToolBar::BUTTON_EXIT = 'tbBtnExit'

Definition at line 117 of file mtoolbar.class.

const MToolBar::BUTTON_RESET = 'tbBtnReset'

Definition at line 118 of file mtoolbar.class.

MToolBar::$toolBarButtons [private]

Definition at line 120 of file mtoolbar.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