MIOLO20
|
Membros públicos | |
__construct ($item, $title, $columns=NULL, $fields=NULL, $opts=array('edit', 'remove'), $checkTransaction=NULL) | |
setUpdateButton ($show) | |
setHideButtonsOnAdd ($hide) | |
setShowButtons ($showButtons) | |
getShowButtons () | |
setOverFlowWidth ($width, $type='auto') | |
setDefaultValueFields ($fields) | |
setFields ($fields) | |
setColumns ($columns) | |
setFieldValidators ($fields, $validators) | |
setValidators ($validators=null) | |
getFieldValidator ($name, $validators) | |
addAction ($phpFunction, $img, $imgModule) | |
setDataThis ($data) | |
getDataThis ($subDetail=null) | |
clearDataThis () | |
addDataThis ($data) | |
__call ($name, $arguments) | |
removeData ($arrayItem) | |
generateRequiredLabels ($requireds, $fields=NULL) | |
generate ($doNothing=false, $itemForce=NULL, $isStaticCall=false) | |
update ($data=NULL, $itemForce) | |
checkRemovedItem ($field, $line) | |
prepareArgs ($formData) | |
sumFields ($fields, $float=false) | |
addActionEvent ($action, $function, $class=null) | |
![]() | |
__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 () | |
generate () | |
![]() | |
SetName ($name) | |
GetName () | |
AddComponent ($component) | |
InsertComponent ($component, $pos=0) | |
SetComponent ($component, $pos) | |
SetComponents ($components) | |
GetComponents () | |
GetComponent ($pos) | |
ClearComponents () | |
Membros públicos estáticos | |
static | setSessionValue ($var, $value, $itemForce=null) |
static | getSessionValue ($var, $itemForce=null) |
static | getUpdateButton ($itemForce=null) |
static | getHideButtonsOnAdd ($itemForce=null) |
static | setValidatorsAjax ($validators, $item) |
static | getValidators ($itemForce=null) |
static | getDataStatic ($item=NULL) |
static | getDataItem ($arrayItem, $itemForce=NULL) |
static | defineData ($arrayItem, $obj, $item=NULL) |
static | addDataStatic ($data, $itemForce=NULL) |
static | setDataStatic ($data, $itemForce=NULL) |
static | __callStatic ($name, $arguments) |
static | clearDataStatic ($itemForce=NULL) |
static | parseMultiTextValue ($value) |
static | jsGetFieldValues () |
Membros protegidos | |
processNamesArray ($field) | |
![]() | |
_AddStyle ($name, $value) | |
Membros protegidos estáticos | |
static | generateActionString ($i, $itemForce=NULL) |
Atributos Protegidos | |
$updateButton = false | |
Outros membros herdados | |
![]() | |
static | $_number = 0 |
Definido na linha 32 do ficheiro msubdetail.class.
__construct | ( | $item, | |
$title, | |||
$columns = NULL, | |||
$fields = NULL, | |||
$opts = array('edit','remove'), | |||
$checkTransaction = NULL ) |
MSubDetail constructor.
@global MIOLO $MIOLO MIOLO instance.
string | $item | Id. |
string | $title | Title. |
array | $columns | Array of MGridColumn. |
array | $fields | Array of MControl. |
array | $opts | Array of options. |
string | $checkTransaction | Transaction name. |
Definido na linha 159 do ficheiro msubdetail.class.
__call | ( | $name, | |
$arguments ) |
Definido na linha 826 do ficheiro msubdetail.class.
|
static |
Definido na linha 846 do ficheiro msubdetail.class.
addAction | ( | $phpFunction, | |
$img, | |||
$imgModule ) |
Definido na linha 631 do ficheiro msubdetail.class.
addActionEvent | ( | $action, | |
$function, | |||
$class = null ) |
Definido na linha 1282 do ficheiro msubdetail.class.
|
static |
addData some item to session/Table (You can pass an array or one item) It is a recursive function.
Definido na linha 757 do ficheiro msubdetail.class.
addDataThis | ( | $data | ) |
Definido na linha 821 do ficheiro msubdetail.class.
checkRemovedItem | ( | $field, | |
$line ) |
Definido na linha 1209 do ficheiro msubdetail.class.
|
static |
Definido na linha 866 do ficheiro msubdetail.class.
clearDataThis | ( | ) |
Definido na linha 816 do ficheiro msubdetail.class.
|
static |
Set one item to table
arrayItem | the index to be seted |
$obj | the object to put into table |
Definido na linha 745 do ficheiro msubdetail.class.
generate | ( | $doNothing = false, | |
$itemForce = NULL, | |||
$isStaticCall = false ) |
Definido na linha 927 do ficheiro msubdetail.class.
|
staticprotected |
Definido na linha 646 do ficheiro msubdetail.class.
generateRequiredLabels | ( | $requireds, | |
$fields = NULL ) |
Definido na linha 892 do ficheiro msubdetail.class.
|
static |
getDataItem one item from table
arrayItem | the index of the item you wanna take |
Definido na linha 717 do ficheiro msubdetail.class.
|
static |
getDataItem all itens of table/session, organized with arrayItem Each time you call this function the session is cleanned up and rewritten
Definido na linha 684 do ficheiro msubdetail.class.
getDataThis | ( | $subDetail = null | ) |
Definido na linha 807 do ficheiro msubdetail.class.
getFieldValidator | ( | $name, | |
$validators ) |
Get the field validator.
string | $name | Field name. |
array | $validators | Array of validators. |
Definido na linha 615 do ficheiro msubdetail.class.
|
static |
Definido na linha 390 do ficheiro msubdetail.class.
|
static |
Definido na linha 371 do ficheiro msubdetail.class.
getShowButtons | ( | ) |
Definido na linha 401 do ficheiro msubdetail.class.
|
static |
Definido na linha 384 do ficheiro msubdetail.class.
|
static |
|
static |
Definido na linha 1303 do ficheiro msubdetail.class.
|
static |
Definido na linha 1289 do ficheiro msubdetail.class.
prepareArgs | ( | $formData | ) |
Definido na linha 1218 do ficheiro msubdetail.class.
|
protected |
Definido na linha 418 do ficheiro msubdetail.class.
removeData | ( | $arrayItem | ) |
removeData some item from Table, you need an Id. This id can be found is $item->arrayItem
Definido na linha 884 do ficheiro msubdetail.class.
setColumns | ( | $columns | ) |
Definido na linha 488 do ficheiro msubdetail.class.
|
static |
Define the Data of the field. It will clearData e add the passed data
(array) | the array of objects with all data |
Definido na linha 790 do ficheiro msubdetail.class.
setDataThis | ( | $data | ) |
Definido na linha 802 do ficheiro msubdetail.class.
setDefaultValueFields | ( | $fields | ) |
Store the default values of the fields on defaultValueFields attributes (recursive).
array | $fields | Fields array. |
Definido na linha 447 do ficheiro msubdetail.class.
setFields | ( | $fields | ) |
Definido na linha 472 do ficheiro msubdetail.class.
setFieldValidators | ( | $fields, | |
$validators ) |
Iterate through the fields to generate their validator to make the masks work.
Definido na linha 531 do ficheiro msubdetail.class.
setHideButtonsOnAdd | ( | $hide | ) |
boolean | $show | Set update button visibility |
Definido na linha 348 do ficheiro msubdetail.class.
setOverFlowWidth | ( | $width, | |
$type = 'auto' ) |
Make the table flow inside a div.
integer | $width | in pixels (without 'px'); |
string | $type | the type of overflow, see CSS overflow declaration |
Definido na linha 412 do ficheiro msubdetail.class.
|
static |
Definido na linha 359 do ficheiro msubdetail.class.
setShowButtons | ( | $showButtons | ) |
Definido na linha 396 do ficheiro msubdetail.class.
setUpdateButton | ( | $show | ) |
boolean | $show | Set update button visibility |
Definido na linha 339 do ficheiro msubdetail.class.
setValidators | ( | $validators = null | ) |
|
static |
Set validators on Ajax calls.
array | $validators | Validators array. |
string | $item | SubDetail id. |
Definido na linha 585 do ficheiro msubdetail.class.
sumFields | ( | $fields, | |
$float = false ) |
Definido na linha 1268 do ficheiro msubdetail.class.
update | ( | $data = NULL, | |
$itemForce ) |
Update the visual Component with some data. Make a ajax response
array | $data | array of object |
string | $itemForce | the name of the table |
Definido na linha 1200 do ficheiro msubdetail.class.
$actionCelWidth = false |
Definido na linha 46 do ficheiro msubdetail.class.
$cleanFields = true |
Definido na linha 44 do ficheiro msubdetail.class.
$cleanHiddenF = false |
Definido na linha 45 do ficheiro msubdetail.class.
$defaultValueFields = array() |
Definido na linha 52 do ficheiro msubdetail.class.
$gValidator |
Definido na linha 49 do ficheiro msubdetail.class.
$title = '' |
Definido na linha 37 do ficheiro msubdetail.class.
$TotalFields |
Definido na linha 51 do ficheiro msubdetail.class.
$transaction = NULL |
Definido na linha 47 do ficheiro msubdetail.class.
|
protected |
Definido na linha 48 do ficheiro msubdetail.class.
const EVENT_ADD = 'add' |
Definido na linha 144 do ficheiro msubdetail.class.
const EVENT_EDIT = 'edit' |
Definido na linha 145 do ficheiro msubdetail.class.
const EVENT_REMOVE = 'remove' |
Definido na linha 146 do ficheiro msubdetail.class.
const HIDDEN_FIELD_PREFIX_NAME = "MSubDetail" |
Definido na linha 143 do ficheiro msubdetail.class.
const jsGetFieldValues |
Definido na linha 54 do ficheiro msubdetail.class.