MIOLO20
|
Membros públicos | |
__construct ($name, $tabs=array(), $scrollToTop=true) | |
createTab ($id, $label, $controls=array(), $disabled=false) | |
getTabs () | |
setTabs ($tabs=array()) | |
addTab ($tab) | |
getTab ($tabId) | |
generate () | |
generateBootstrap () | |
![]() | |
__construct ($name='', $caption='', $controls='', $disposition='none', $border='css') | |
setScrollHeight ($height) | |
setBorder ($border) | |
generateInner () | |
![]() | |
__construct ($name=NULL, $controls=NULL, $disposition='none', $formMode=self::FORM_MODE_SHOW_ABOVE) | |
setClass ($cssClass, $add=true) | |
setSpaceHeight ($value) | |
setSpaceWidth ($value) | |
setDisposition ($disposition) | |
isShowLabel () | |
isShowChildLabel () | |
setShowChildLabel ($visible=true, $recursive=true) | |
setShowLabel ($visible=true, $recursive=true) | |
setControls ($controls, $recursive=false) | |
GenerateInner () | |
![]() | |
setValue ( $value) | |
getValue () | |
setLabel ( $label) | |
setAutoPostBack ( $value) | |
setAutoSubmit ( $isAuto=true) | |
getIsRequired () | |
setIsRequired ($isRequired) | |
getRequiredType () | |
getFieldForm () | |
setFieldForm (MForm $form) | |
generateLabel () | |
![]() | |
__construct ( $name=NULL) | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setReadOnly ($status) | |
setEnabled ($state) | |
setName ($name) | |
setId ($id) | |
setNameAndId ($name) | |
getId () | |
getName () | |
getUniqueId () | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
addAttribute ( $name, $value='') | |
setTooltip ($title, $placement=self::TOOLTIP_PLACEMENT_AUTO) | |
setAttribute ( $name, $value) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setFormMode ( $mode) | |
setJsHint ( $hint) | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
setCaption ($caption) | |
setInner ($inner) | |
getInner () | |
addControl ($control) | |
insertControl ($control, $pos=0, $width=null, $float=null) | |
setControl ($control, $pos=0) | |
setControls ($controls) | |
getControls () | |
getControl ($pos) | |
getControlById ($id) | |
findControlById ($id) | |
setControlById ($control, $id) | |
clearControls () | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
getBox () | |
setBoxId ( $id) | |
setBoxClass ( $cssClass, $add=true) | |
getBoxClass () | |
setBoxAttributes ($attr) | |
getBoxAttributes () | |
addBoxStyle ($name, $value='') | |
generateBox ( $content) | |
getRender ( $method) | |
getInnerToString () | |
![]() | |
SetName ($name) | |
GetName () | |
AddComponent ($component) | |
InsertComponent ($component, $pos=0) | |
SetComponent ($component, $pos) | |
SetComponents ($components) | |
GetComponents () | |
GetComponent ($pos) | |
ClearComponents () | |
Membros públicos estáticos | |
static | createStaticTab ($tabbedBaseGroupId, $id, $label, $controls=array(), $disabled=false) |
static | enableTab ($tabId, $tabbedBaseGroupId) |
static | disableTab ($tabId, $tabbedBaseGroupId) |
static | removeTab ($tabId, $tabbedBaseGroupId) |
static | updateTab ($tabId, $controls) |
Membros protegidos | |
getTabButton ($tab, $tabbedBaseGroupId, $selected=false) | |
![]() | |
_AddStyle ($name, $value) | |
Definido na linha 34 do ficheiro mtabbedbasegroup.class.
__construct | ( | $name, | |
$tabs = array(), | |||
$scrollToTop = true ) |
MTabbedBaseGroup constructor
string | $name | Id and name of the component |
array | $tabs | Array of MTab objects |
Definido na linha 44 do ficheiro mtabbedbasegroup.class.
addTab | ( | $tab | ) |
MTab | Tab to be added on tabs array |
Definido na linha 137 do ficheiro mtabbedbasegroup.class.
|
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 |
Definido na linha 93 do ficheiro mtabbedbasegroup.class.
createTab | ( | $id, | |
$label, | |||
$controls = array(), | |||
$disabled = 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 |
Definido na linha 67 do ficheiro mtabbedbasegroup.class.
|
static |
Disables tab
string | $tabId | |
string | $tabbedBaseGroupId |
Definido na linha 295 do ficheiro mtabbedbasegroup.class.
|
static |
Enables tab
string | $tabId | |
string | $tabbedBaseGroupId |
Definido na linha 282 do ficheiro mtabbedbasegroup.class.
generate | ( | ) |
Generates the tabs container
Reimplementado de MControl.
Definido na linha 188 do ficheiro mtabbedbasegroup.class.
generateBootstrap | ( | ) |
Definido na linha 225 do ficheiro mtabbedbasegroup.class.
getTab | ( | $tabId | ) |
string | Id of the tab to be getted from tabs array |
Definido na linha 145 do ficheiro mtabbedbasegroup.class.
|
protected |
Generates the tab buttons
Definido na linha 155 do ficheiro mtabbedbasegroup.class.
getTabs | ( | ) |
Definido na linha 121 do ficheiro mtabbedbasegroup.class.
|
static |
Removes a tab from the tab list
string | $tabId | |
string | $tabbedBaseGroupId |
Definido na linha 308 do ficheiro mtabbedbasegroup.class.
setTabs | ( | $tabs = array() | ) |
array | Array of MTab objects |
Definido na linha 129 do ficheiro mtabbedbasegroup.class.
|
static |
Updates tab content through ajax
string | $tabId | Id of the tab to put content |
array | $controls | Fields to put in the tab |
Definido na linha 319 do ficheiro mtabbedbasegroup.class.