|
MIOLO26
|
Membros públicos | |
| __construct ($name, $tabs=array(), $animate=TRUE, $navigable=FALSE) | |
| createTab ($id, $label, $controls=array(), $ajaxAction=NULL, $disabled=FALSE, $isInitial=FALSE) | |
| getTabs () | |
| getControls () | |
| setTabs ($tabs=array()) | |
| addTab ($tab) | |
| getTab ($tabId) | |
| setInitialTab ($id) | |
| setAnimate ($animate) | |
| getAnimate () | |
| setNavigable ($navigable) | |
| getNavigable () | |
| generate () | |
Membros públicos herdados de MBaseGroup | |
| __construct ( $name='', $caption='', $controls='', $disposition='none', $border='css', $formMode=MFormControl::FORM_MODE_SHOW_ABOVE) | |
| setScrollHeight ( $height) | |
| setBorder ( $border) | |
| generateInner () | |
Membros públicos herdados de MContainer | |
| 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) | |
| 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') | |
| setWidth ($value) | |
| 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 () | |
Membros públicos estáticos | |
| static | createStaticTab ($tabbedBaseGroupId, $id, $label, $controls=array(), $ajaxAction=NULL, $disabled=false) |
| static | enableTab ($tabId, $tabbedBaseGroupId) |
| static | disableTab ($tabId, $tabbedBaseGroupId) |
| static | removeTab ($tabId, $tabbedBaseGroupId) |
| static | updateTab ($tabId, $controls) |
Membros protegidos estáticos | |
| static | getTabButton ($tab, $tabbedBaseGroupId, $selected=FALSE) |
Outros membros herdados | |
Campos de Dados herdados de MBaseGroup | |
| $borderType | |
| $scrollable | |
| $scrollHeight | |
Campos de Dados herdados de MContainer | |
| $disposition | |
| $formMode | |
| $showLabel | |
| $showChildLabel = true | |
Campos de Dados herdados de MContainerControl | |
| $controls | |
| $controlsId | |
Campos de Dados herdados de MControl | |
| $id | |
| $uniqueId | |
| $enabled | |
| $style | |
| $attrs | |
| $attributes | |
| $maintainState | |
| $readonly | |
| $visible | |
| $caption | |
| $jsHint | |
| $hint | |
| $cssp | |
| $inner | |
| $parent | |
| $eventHandlers | |
| $painter | |
| $event | |
| $formId | |
| const | ALIGN_CENTER = 'center' |
| const | ALIGN_LEFT = 'left' |
| const | ALIGN_RIGHT = 'right' |
| const | FORM_MODE_WHOLE_ROW = 0 |
| const | FORM_MODE_SHOW_SIDE = 1 |
| const | FORM_MODE_SHOW_ABOVE = 2 |
| const | FORM_MODE_SHOW_NBSP = 3 |
| $formMode | |
Campos de Dados herdados de MComponent | |
| $manager | |
| $page | |
| $owner | |
| $name | |
| $className | |
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) | |
| __construct | ( | $name, | |
| $tabs = array(), | |||
| $animate = TRUE, | |||
| $navigable = FALSE ) |
MTabbedBaseGroup constructor
| string | $name | Id and name of the component |
| array | $tabs | Array of MTab objects |
| boolean | $animate | Set if the tabs must be animated. |
| boolean | $navigable | Sets whether navigable. |
Reimplementado de MContainer.
| addTab | ( | $tab | ) |
| MTab | Tab to be added on tabs array |
|
static |
Statically creates a tab and adds it to the container Usefull for ajax requests
Note: Use it only if you really need it. If not in an ajax request, you should use the createTab method instead.
| string | $tabbedBaseGroupId | Id of the MTabbedBaseGroup |
| string | $id | Id of the tab |
| string | $label | Label of the tab |
| array | $controls | Fields of the tab |
| string | $ajaxAction | An ajax action to be called when the tab is selected |
| boolean | $disabled | Informs whether the tab is disabled or not |
| createTab | ( | $id, | |
| $label, | |||
| $controls = array(), | |||
| $ajaxAction = NULL, | |||
| $disabled = FALSE, | |||
| $isInitial = FALSE ) |
Creates a tab and adds it to the container.
| string | $id | Id of the tab. |
| string | $label | Label of the tab. |
| array | $controls | Fields of the tab. |
| string | $ajaxAction | An ajax action to be called when the tab is selected. |
| boolean | $disabled | Informs whether the tab is disabled or not. |
| boolean | $isInitial | Defines if the tab must be the initial. |
|
static |
Disable tab.
| string | $tabId | |
| string | $tabbedBaseGroupId |
|
static |
Enable tab.
| string | $tabId | |
| string | $tabbedBaseGroupId |
| generate | ( | ) |
| getAnimate | ( | ) |
| getControls | ( | ) |
Reimplementado de MContainerControl.
| getNavigable | ( | ) |
| getTab | ( | $tabId | ) |
| string | Id of the tab to be getted from tabs array |
|
staticprotected |
Generates the tab buttons
| getTabs | ( | ) |
|
static |
Removes a tab from the tab list
| string | $tabId | |
| string | $tabbedBaseGroupId |
| setAnimate | ( | $animate | ) |
| boolean | $animate | Set if the tabs must be animated. |
| setInitialTab | ( | $id | ) |
| string | $id | Set the id of the intitial tab. |
| setNavigable | ( | $navigable | ) |
| boolean | $navigable | Sets whether navigable. |
| setTabs | ( | $tabs = array() | ) |
| array | Array of MTab objects |
|
static |
Updates tab content through ajax
| string | $tabId | Id of the tab to put content |
| array | $controls | Fields to put in the tab |