|
MIOLO26
|
Membros públicos | |
| __construct ($name='toolbar', $url='', $type=MToolbar::TYPE_ICON_ONLY) | |
| addButton ($name, $caption, $url, $jsHint, $enabled, $enabledImage, $disabledImage, $type=MToolBar::TYPE_ICON_ONLY) | |
| showButtons ($name) | |
| showButton ($name) | |
| hideButtons ($name) | |
| hideButton ($name) | |
| enableButtons ($name) | |
| enableButton ($name) | |
| disableButtons ($name) | |
| disableButton ($name) | |
| setType ($type=MToolBar::TYPE_ICON_ONLY) | |
| setWidth ($width) | |
| addControl ($control, $name=NULL) | |
| generateInner () | |
Membros públicos herdados de MBaseGroup | |
| __construct ( $name='', $caption='', $controls='', $disposition='none', $border='css', $formMode=MFormControl::FORM_MODE_SHOW_ABOVE) | |
| setScrollHeight ( $height) | |
| setBorder ( $border) | |
| generate () | |
Membros públicos herdados de MContainer | |
| __construct ($name=NULL, $controls=NULL, $disposition='none', $formMode=MFormControl::FORM_MODE_SHOW_ABOVE) | |
| setDisposition ($disposition) | |
| isShowLabel () | |
| isShowChildLabel () | |
| setShowChildLabel ( $visible=true, $recursive=true) | |
| setShowLabel ( $visible=true, $recursive=true) | |
| setControls ($controls, $recursive=false) | |
Membros públicos herdados de MContainerControl | |
| __construct ( $name=NULL) | |
| __clone () | |
| addControl ($control) | |
| insertControl ($control, $pos=0) | |
| setControl ($control, $pos=0) | |
| setControls ($controls) | |
| getControls () | |
| getControl ($pos) | |
| getControlById ($id) | |
| findControlById ($id) | |
| setControlById ($control, $id) | |
| clearControls () | |
Membros públicos herdados de MControl | |
| setName ($name) | |
| setId ($id) | |
| getId () | |
| getName () | |
| getUniqueId () | |
| __set ( $name, $value) | |
| __get ( $name) | |
| setClass ($cssClass, $add=TRUE) | |
| insertClass ( $cssClass) | |
| addStyleFile ( $styleFile) | |
| getClass () | |
| addStyle ($name, $value) | |
| setStyle ($style) | |
| getStyle () | |
| getBoxStyle () | |
| setPosition ($left, $top, $position='absolute') | |
| setHeight ($value) | |
| setColor ($value) | |
| setVisibility ($value) | |
| setFont ($value) | |
| getBox () | |
| setBoxId ( $id) | |
| setBoxClass ( $cssClass, $add=true) | |
| getBoxClass () | |
| setBoxAttributes ($attr) | |
| getBoxAttributes () | |
| generateBox ( $content) | |
| addAttribute ( $name, $value='') | |
| setAttribute ( $name, $value) | |
| getAttribute ( $name) | |
| setAttributes ($attr) | |
| attributes ( $mergeDuplicates=false) | |
| getAttributes ( $mergeDuplicates=false) | |
| setReadOnly ($status) | |
| setEnabled ($state) | |
| setJsHint ( $hint) | |
| setHint ( $hint) | |
| setCaption ($caption) | |
| setHTMLTitle ($title) | |
| addBoxStyle ($name, $value) | |
| eventHandler () | |
| attachEventHandler ( $name, $handler, $param=NULL) | |
| addEvent ($event, $handler, $preventDefault=true) | |
| hasEvent ($event) | |
| generateEvent () | |
| setContent ($inner) | |
| setInner ($inner) | |
| getInner () | |
| getRender ( $method) | |
| getInnerToString () | |
| getCSSP () | |
| __toString () | |
Membros públicos herdados de MComponent | |
| getManager () | |
Atributos Protegidos | |
| $toolBarButtons | |
| $width | |
Outros membros herdados | |
Atributos Públicos Estáticos herdados de MControl | |
| static | $_number = 0 |
Membros protegidos herdados de MContainerControl | |
| _AddControl ($control, $pos=0, $op='add') | |
Membros protegidos herdados de MControl | |
| _addStyle ($name, $value) | |
Class MToolBar.
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Organization:
SOLIS - Cooperativa de Solções Livres
The MIOLO2 AND SAGU2 Development Team
Copyright:
Copyright (c) 2005 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
| __construct | ( | $name = 'toolbar', | |
| $url = '', | |||
| $type = MToolbar::TYPE_ICON_ONLY ) |
MToolbar constructor
| string | $name | Toolbar name |
| string | $url | Default URL |
| string | $type | Buttons type: MToolBar::TYPE_ICON_ONLY, MToolBar::TYPE_ICON_TEXT or MToolBar::TYPE_TEXT_ONLY |
| addButton | ( | $name, | |
| $caption, | |||
| $url, | |||
| $jsHint, | |||
| $enabled, | |||
| $enabledImage, | |||
| $disabledImage, | |||
| $type = MToolBar::TYPE_ICON_ONLY ) |
Adds a custom button.
| string | $name | MToolbarButton name. |
| string | $caption | Caption description. |
| string | $url | Button action. |
| string | $jsHint | Button Javascript hint. |
| boolean | $enable | Button status. |
| string | $enabledImage | Complete image URL. |
| string | $disabledImage | Complete image URL. |
| string | $method | |
| string | $type | Button type: MToolBar::TYPE_ICON_ONLY, MToolBar::TYPE_ICON_TEXT or MToolBar::TYPE_TEXT_ONLY. |
| addControl | ( | $control, | |
| $name = NULL ) |
Add custom control to toolbar
| object | $control | MControl instance. |
| string | $name | Control name. |
| disableButton | ( | $name | ) |
Disables one or more buttons
| mixed | $name | Button's name (string or array). |
| disableButtons | ( | $name | ) |
Disables one or more buttons
| mixed | $name | Button's name (string or array). |
| enableButton | ( | $name | ) |
Enables one or more buttons
| mixed | $name | Button's name (string or array). |
| enableButtons | ( | $name | ) |
Enables one or more buttons
| mixed | $name | Button's name (string or array). |
| generateInner | ( | ) |
Generate inner content.
Reimplementado de MBaseGroup.
| hideButton | ( | $name | ) |
Hides one or more buttons
| mixed | $name | Button's name (string or array). |
| hideButtons | ( | $name | ) |
Hides one or more buttons
| mixed | $name | Button's name (string or array). |
| setType | ( | $type = MToolBar::TYPE_ICON_ONLY | ) |
Set button's type
| string | $type | Button type: MToolBar::TYPE_ICON_ONLY, MToolBar::TYPE_ICON_TEXT or MToolBar::TYPE_TEXT_ONLY |
| setWidth | ( | $width | ) |
| showButton | ( | $name | ) |
Shows one or more buttons
| mixed | $name | Button's name (string or array). |
| showButtons | ( | $name | ) |
Shows one or more buttons
| $name | (string or array) Button's name |
|
protected |
|
protected |
| const BUTTON_DELETE = 'tbBtnDelete' |
| const BUTTON_EXIT = 'tbBtnExit' |
| const BUTTON_NEW = 'tbBtnNew' |
Button's name constants
| const BUTTON_PRINT = 'tbBtnPrint' |
| const BUTTON_RESET = 'tbBtnReset' |
| const BUTTON_SAVE = 'tbBtnSave' |
| const BUTTON_SEARCH = 'tbBtnSearch' |
| const TYPE_ICON_ONLY = 'icon-only' |
Toolbar button types
| const TYPE_ICON_TEXT = 'icon-text' |
| const TYPE_TEXT_ONLY = 'text-only' |