

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 | |
Definition at line 109 of file mtoolbar.class.
| 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:

| 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 | ) |
| MToolBar::hideButton | ( | $ | name | ) |
| MToolBar::enableButton | ( | $ | name | ) |
| MToolBar::disableButton | ( | $ | name | ) |
| MToolBar::setIsPost | ( | $ | name, | |
| $ | post = true | |||
| ) |
| MToolBar::generateInner | ( | ) |
Reimplemented from MBaseGroup.
Definition at line 300 of file mtoolbar.class.
References getButtons().
Here is the call graph for this function:

| 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.