MIOLO20
|
Membros públicos | |
__construct ($name, $content, $class=NULL, $attributes=NULL, $collapsedHeight=null, $title=null) | |
getBox () | |
setBox ($box) | |
getCollapsedHeight () | |
setCollapsedHeight ($collapsedHeight) | |
getContent2 () | |
setContent2 ($content) | |
getExpandButton () | |
setExpandButton ($expandButton) | |
getExpandedOnLoad () | |
setExpandedOnLoad ($expandedOnLoad) | |
generate () | |
![]() | |
__construct ( $name=NULL, $content='', $class=NULL, $attributes=NULL) | |
![]() | |
__construct ( $name=NULL) | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setReadOnly ($status) | |
setEnabled ($state) | |
setName ($name) | |
setId ($id) | |
setNameAndId ($name) | |
getId () | |
getName () | |
getUniqueId () | |
setClass ( $cssClass, $add=true) | |
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) | |
setBoxId ( $id) | |
setBoxClass ( $cssClass, $add=true) | |
getBoxClass () | |
setBoxAttributes ($attr) | |
getBoxAttributes () | |
addBoxStyle ($name, $value='') | |
generateBox ( $content) | |
getRender ( $method) | |
getInnerToString () | |
generateInner () | |
![]() | |
SetName ($name) | |
GetName () | |
AddComponent ($component) | |
InsertComponent ($component, $pos=0) | |
SetComponent ($component, $pos) | |
SetComponents ($components) | |
GetComponents () | |
GetComponent ($pos) | |
ClearComponents () | |
Campos de Dados | |
const | STYLE_COLLAPSED = 'mExpandDivButton mExpandDivButtonCollapsed' |
const | STYLE_EXPANDED = 'mExpandDivButton mExpandDivButtonExpanded' |
const | STYLE_TEXT = 'mExpandDivText' |
![]() | |
const | FORM_MODE_WHOLE_ROW = 0 |
const | FORM_MODE_SHOW_SIDE = 1 |
const | FORM_MODE_SHOW_ABOVE = 2 |
const | FORM_MODE_SHOW_NBSP = 3 |
const | CLASS_CAPTION = 'm-caption' |
const | CLASS_CAPTION_REQUIRED = 'm-caption-required' |
const | TOOLTIP_PLACEMENT_BOTTOM = 'bottom' |
const | TOOLTIP_PLACEMENT_TOP = 'top' |
const | TOOLTIP_PLACEMENT_LEFT = 'left' |
const | TOOLTIP_PLACEMENT_RIGHT = 'right' |
const | TOOLTIP_PLACEMENT_AUTO = 'auto' |
$id | |
$uniqueId | |
$cssClass | |
$enabled | |
$style | |
$visible | |
$attrs | |
$attributes | |
$formMode | |
$maintainState | |
$readonly | |
$caption | |
$jsHint | |
$inner | |
$controlBox | |
$box | |
$cssp | |
$parent | |
$controls | |
$controlsId | |
$eventHandlers | |
$painter | |
![]() | |
$manager | |
$page | |
$owner | |
$components | |
$componentCount | |
$name | |
$className | |
Outros membros herdados | |
![]() | |
static | $_number = 0 |
![]() | |
_AddStyle ($name, $value) | |
Definido na linha 29 do ficheiro mexpanddiv.class.
__construct | ( | $name, | |
$content, | |||
$class = NULL, | |||
$attributes = NULL, | |||
$collapsedHeight = null, | |||
$title = null ) |
MExpandDiv constructor.
string | $name | Name. |
sring | $content | Content. |
string | $class | Style class name. |
array | $attributes | Attributes array. |
integer | $collapsedHeight | Height of the div collapsed. |
Definido na linha 72 do ficheiro mexpanddiv.class.
generate | ( | ) |
Reimplementado de MControl.
Definido na linha 189 do ficheiro mexpanddiv.class.
getBox | ( | ) |
Reimplementado de MControl.
Definido na linha 104 do ficheiro mexpanddiv.class.
getCollapsedHeight | ( | ) |
Definido na linha 120 do ficheiro mexpanddiv.class.
getContent2 | ( | ) |
Definido na linha 136 do ficheiro mexpanddiv.class.
getExpandButton | ( | ) |
Definido na linha 157 do ficheiro mexpanddiv.class.
getExpandedOnLoad | ( | ) |
Definido na linha 173 do ficheiro mexpanddiv.class.
setBox | ( | $box | ) |
object | $box | Set the MDiv instance to contain the content. |
Definido na linha 112 do ficheiro mexpanddiv.class.
setCollapsedHeight | ( | $collapsedHeight | ) |
integer | $collapsedHeight | Set the div height when collapsed. |
Definido na linha 128 do ficheiro mexpanddiv.class.
setContent2 | ( | $content | ) |
Set the div content. Removes line breaks from the beginning and the end of the content and then change them to '
'.
string | $content | Div content. |
Definido na linha 148 do ficheiro mexpanddiv.class.
setExpandButton | ( | $expandButton | ) |
object | $expandButton | Set MDiv instance which represents the expand/collapse button. |
Definido na linha 165 do ficheiro mexpanddiv.class.
setExpandedOnLoad | ( | $expandedOnLoad | ) |
boolean | $expandedOnLoad | Set if the div must be expanded by default. |
Definido na linha 181 do ficheiro mexpanddiv.class.
const STYLE_COLLAPSED = 'mExpandDivButton mExpandDivButtonCollapsed' |
CSS classes used by the component.
Definido na linha 34 do ficheiro mexpanddiv.class.
const STYLE_EXPANDED = 'mExpandDivButton mExpandDivButtonExpanded' |
Definido na linha 35 do ficheiro mexpanddiv.class.
const STYLE_TEXT = 'mExpandDivText' |
Definido na linha 36 do ficheiro mexpanddiv.class.