MIOLO25
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MTabbedForm
Diagrama de heranças da classe MTabbedForm
MForm MBaseForm MContainerControl MDiv MControl MControl MComponent MComponent TabbedForm

Membros públicos

 __construct ($title='', $action='')
 
 addField ()
 
 addPage ($form)
 
 setPages ($forms)
 
 goForward ()
 
 goBack ()
 
 getPage ($index)
 
 getCurrentPage ()
 
 setCurrentPage ($index)
 
 getFieldList ()
 
 eventHandler ()
 
 setPainterMethod ($method)
 
 generateHeader ()
 
 generateFooter ()
 
 generateJavascript ()
 
 generate ()
 
- Membros públicos herdados de MForm
 __construct ($title='', $action='', $close='', $icon='')
 
 getTitle ()
 
 setTitle ($title)
 
 setClose ($action)
 
 setIcon ($icon)
 
 getFooter ()
 
 setFooter ($footer)
 
 setHelp ($href)
 
 getData ()
 
 getAjaxData ()
 
 setData ($data)
 
 getFieldValue ($name, $value=false)
 
 setFieldValue ($name, $value)
 
 setFieldValidator ($name, $value)
 
GetField ($name)
 
GetButton ($name)
 
GetPage ()
 
 setPage ($page)
 
 setFieldAttr ($name, $attr, $value)
 
 getFieldAttr ($name, $attr, $index=NULL)
 
 setButtonAttr ($name, $attr, $value)
 
 setFieldCSS ($name, $top, $left, $width=NULL, $position='absolute')
 
 setFormCSS ($height=0, $width=0, $top=0, $left=0, $buttons=0, $position='absolute')
 
 setBackgroundColor ($bgcolor)
 
 setAlign ($value)
 
 setWidth ($width=NULL)
 
 setHeight ($height=NULL)
 
 generateInner ()
 
- Membros públicos herdados de MBaseForm
 __construct ($action='')
 
 __set ($name, $value)
 
 __get ($name)
 
 onLoad ()
 
 createFields ()
 
 isAjaxCall ()
 
 registerMethod ()
 
 addValidator ($validator)
 
 setValidators ($validators)
 
 setAjaxFields ($fields, $responseControl)
 
 isSubmitted ()
 
 setAlternate ($color0, $color1)
 
 setFocus ($fieldName)
 
 getFormFields ()
 
 getFormValue ($name, $value=NULL)
 
 setFormValue ($name, $value)
 
 onSubmit ($jscode)
 
 addJsCode ($jscode)
 
 setAction ($action)
 
 setFields ($fields)
 
 addField ($field, $hint=false)
 
 addFields ($fields)
 
 addButton ($button)
 
 setButtons ($buttons)
 
 setButtonLabel ( $index, $label)
 
 showReturn ( $state)
 
 setShowReturnButton ( $state)
 
 setShowPostButton ( $state)
 
 showReset ( $state)
 
 setShowResetButton ( $state)
 
 getShowHints ()
 
 setShowHints ( $state)
 
 showHints ( $state)
 
 clearFields ()
 
 clearField ($name)
 
 clearButtons ()
 
 validate ()
 
 error ( $err)
 
 addError ($err)
 
 hasErrors ()
 
 addInfo ($info)
 
 hasInfos ()
 
 addAlert ($alert)
 
 hasAlerts ()
 
 collectInput ($data)
 
 setData (MBusiness $data)
 
getField ($name)
 
getButton ($name)
 
getPage ()
 
 setResponse ($controls, $element='', $generateFormLayout=false)
 
 getCloseWindow ()
 
 setLabelWidth ($width)
 
 setFieldsReadOnly ($readOnly=true)
 
 setFieldReadOnly ($field, $readOnly=true)
 
 submit_button ()
 
 generateErrors ()
 
 generateInfos ()
 
 generateAlerts ()
 
 generateBody ()
 
 generateLayoutFields (&$hidden)
 
 getFieldValidator ($name)
 
 generateLayoutField ($f, &$hidden=array())
 
 setJsValidationEnabled ($jsValidationEnabled)
 
 getJsValidationEnabled ()
 
 generateButtons ()
 
 generateHiddenFields ($hidden)
 
 generateScript ()
 
- Membros públicos herdados de MContainerControl
 __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 MDiv
 addAttribute ($attr, $value)
 
- Membros públicos herdados de MControl
 setName ($name)
 
 setId ($id)
 
 getId ()
 
 getName ()
 
 getUniqueId ()
 
 setClass ($cssClass, $add=TRUE)
 
 insertClass ( $cssClass)
 
 addStyleFile ( $styleFile)
 
 getClass ()
 
 addStyle ($name, $value)
 
 setStyle ($style)
 
 getStyle ()
 
 getBoxStyle ()
 
 setPosition ($left, $top, $position='absolute')
 
 setColor ($value)
 
 setVisibility ($value)
 
 setFont ($value)
 
 setAttribute ( $name, $value=null)
 
 getAttribute ( $name)
 
 setAttributes ($attr)
 
 attributes ( $mergeDuplicates=false)
 
 getAttributes ( $mergeDuplicates=false)
 
 setReadOnly ($status)
 
 setEnabled ($state)
 
 setJsHint ( $hint)
 
 setHint ( $hint)
 
 setCaption ($caption)
 
 setHTMLTitle ($title)
 
 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 ()
 

Campos de Dados

 $nOrder
 
 $pages
 
 $activepage
 
 $currentpage
 
 $pagecount
 
 $pagewidth = 100
 
 $pageheight = 250
 
 $header
 
 $footer
 
 $painterMethod
 
- Campos de Dados herdados de MForm
 $formBox
 
 $title
 
 $help
 
 $footer
 
 $bgColor
 
 $align = NULL
 
- Campos de Dados herdados de MBaseForm
 $method
 
 $buttons
 
 $fields = array()
 
 $return
 
 $reset
 
 $styles
 
 $width
 
 $enctype
 
 $validations
 
 $defaultButton
 
 $errors
 
 $infos
 
 $alerts
 
 $layout
 
 $zebra = false
 
 $labelWidth = NULL
 
 $focus = ''
 
 $ajax
 
 $cp
 
 $cssForm = false
 
 $cssButtons
 
- 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

static $order = 0
 
- Atributos Públicos Estáticos herdados de MBaseForm
static $showHints = true
 
static $fieldNum = 0
 
- Atributos Públicos Estáticos herdados de MControl
static $_number = 0
 

Outros membros herdados

- Membros protegidos herdados de MBaseForm
 _getFormFieldValue ($field)
 
- Membros protegidos herdados de MContainerControl
 _AddControl ($control, $pos=0, $op='add')
 
- Membros protegidos herdados de MControl
 _addStyle ($name, $value)
 
- Atributos Protegidos herdados de MBaseForm
 $action
 

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $title = '',
$action = '' )

Documentação das funções

◆ addField()

addField ( )

◆ addPage()

addPage ( $form)

◆ eventHandler()

eventHandler ( )

Reimplementado de MControl.

◆ generate()

generate ( )

Reimplementado de MDiv.

◆ generateFooter()

generateFooter ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

Reimplementado de MForm.

◆ generateHeader()

generateHeader ( )

◆ generateJavascript()

generateJavascript ( )

◆ getCurrentPage()

getCurrentPage ( )

◆ getFieldList()

getFieldList ( )

Returns form fields list. This is a placeholder function to bu the form's field list. It is excpected, that the form returns a scalar list of all defined fields which carry a form field value. Thus, form elements of decorative purpose only should be omitted.

Derived classes such as TabbedForm override this function to provide the list of fields independently of the form's layout.

Retorna
(array) a scalar array of form fields

Reimplementado de MBaseForm.

◆ getPage()

getPage ( $index)

◆ goBack()

goBack ( )

◆ goForward()

goForward ( )

◆ setCurrentPage()

setCurrentPage ( $index)

◆ setPages()

setPages ( $forms)

◆ setPainterMethod()

setPainterMethod ( $method)

Documentação dos campos e atributos

◆ $activepage

$activepage

◆ $currentpage

$currentpage

◆ $footer

$footer

◆ $header

$header

◆ $nOrder

$nOrder

◆ $order

$order = 0
static

◆ $pagecount

$pagecount

◆ $pageheight

$pageheight = 250

◆ $pages

$pages

◆ $pagewidth

$pagewidth = 100

◆ $painterMethod

$painterMethod

A documentação para esta classe foi gerada a partir do seguinte ficheiro: