MIOLO25
|
Membros públicos | |
__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) | |
generateFooter () | |
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) | |
getFieldList () | |
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) | |
generate () | |
generate () | |
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) | |
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 () | |
Campos de Dados | |
$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 | |
Outros membros herdados | |
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 |
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 | |
A class for forms, extending from MBaseForm. This class acts as a Decorator for MBaseForm, adding a outer box for the form.
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Organization:
SOLIS - Cooperativa de Soluções Livres
Copyright:
Copyright (c) 2006-2011 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
__construct | ( | $title = '', | |
$action = '', | |||
$close = '', | |||
$icon = '' ) |
This is the constructor of the Form class. It takes a title and an action url as optional parameters. The action URL is typically obtained by calling the MIOLO->getActionURL()
method.
$title | (string) the form's title string |
$action | (string) the URL for the forms ACTION attribute. |
Reimplementado de MDiv.
Reimplementado em MStepByStepForm, Form, MFormDialog, MCompoundForm e MCSSForm.
generateFooter | ( | ) |
Brief Description. Complete Description.
Reimplementado de MBaseForm.
Reimplementado em MTabbedForm.
generateInner | ( | ) |
Reimplementado de MBaseForm.
Reimplementado em MCompoundForm.
getAjaxData | ( | ) |
& GetButton | ( | $name | ) |
Get a reference for a button
getData | ( | ) |
& GetField | ( | $name | ) |
Get a reference for a form field
getFieldAttr | ( | $name, | |
$attr, | |||
$index = NULL ) |
Get a form field's attribute value
Reimplementado de MBaseForm.
getFieldValue | ( | $name, | |
$value = false ) |
Obtains a form field's value
Reimplementado de MBaseForm.
getFooter | ( | ) |
Obtains the content title of this form's footer. Observe, that this can be anything other as a simple text string too, such as array of strings and an object implementing the Generate()
method.
& GetPage | ( | ) |
Get a reference for page
getTitle | ( | ) |
Obtains the content of this form's title. Observe, that this can be anything other as a simple text string too, such as array of strings and an object implementing the Generate()
method.
setAlign | ( | $value | ) |
setBackgroundColor | ( | $bgcolor | ) |
setButtonAttr | ( | $name, | |
$attr, | |||
$value ) |
Set a form field's attribute a value
Reimplementado de MBaseForm.
setClose | ( | $action | ) |
Sets the form's close action
(string) | $action Form action |
setData | ( | $data | ) |
setFieldAttr | ( | $name, | |
$attr, | |||
$value ) |
Set a form field's attribute a value
Reimplementado de MBaseForm.
setFieldCSS | ( | $name, | |
$top, | |||
$left, | |||
$width = NULL, | |||
$position = 'absolute' ) |
Set CSS for the field.
(string) | $name |
(integer) | $top |
(integer) | $left |
(integer) | $width |
(string) | $position |
setFieldValidator | ( | $name, | |
$value ) |
Set a form field's validator
Reimplementado de MBaseForm.
setFieldValue | ( | $name, | |
$value ) |
Set a form field's value
Reimplementado de MBaseForm.
setFooter | ( | $footer | ) |
Form's footer. Sets the form's footer content.
$footer | (tipo) Footer content |
setFormCSS | ( | $height = 0, | |
$width = 0, | |||
$top = 0, | |||
$left = 0, | |||
$buttons = 0, | |||
$position = 'absolute' ) |
Set form CSS
(integer) | $height |
(integer) | $width |
(integer) | $top |
(integer) | $left |
(integer) | $buttons |
(string) | $position |
setHelp | ( | $href | ) |
Sets an URL to a help document. This document will be opened via JavaScript in a new window. If this URL is set, the form will display a help button in it's title bar.
(string) | $href URL |
setIcon | ( | $icon | ) |
Sets the form's icon
(string) | $icon Icon URL |
setPage | ( | $page | ) |
Set reference for page
Reimplementado de MBaseForm.
setTitle | ( | $title | ) |
Set the form's title
(string) | $title Form title |
setWidth | ( | $width = NULL | ) |
Reimplementado de MControl.
Reimplementado em MDOMPDFReport.
$align = NULL |