MFormControl Class Reference

Inheritance diagram for MFormControl:

Inheritance graph
[legend]
Collaboration diagram for MFormControl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __construct ($name, $value= '', $label= '', $color= '', $hint= '')
 setValue ($value)
 getValue ()
 setLabel ($label)
 setAutoPostBack ($value)
 setAutoSubmit ($isAuto=true)
 generateLabel ()

Public Attributes

 $label
 $value
 $hint
 $form
 $formName
 $showLabel
 $autoPostBack

Detailed Description

Definition at line 3 of file mformcontrol.class.


Constructor & Destructor Documentation

MFormControl::__construct ( name,
value = '',
label = '',
color = '',
hint = '' 
)

Reimplemented in MBaseGroup, MLinkButtonGroup, MFileField, MCurrencyField, MBaseLabel, MLink, MImageLink, MListControl, MMASKValidator, MRegExpValidator, MOption, and MBasePanel.

Definition at line 13 of file mformcontrol.class.

References $hint, $label, MComponent::$name, $value, MControl::addStyleFile(), and setValue().

Here is the call graph for this function:


Member Function Documentation

MFormControl::setValue ( value  ) 

Reimplemented in MRadioButtonGroup, MCurrencyField, MIndexedControl, and MInputGrid.

Definition at line 33 of file mformcontrol.class.

References $value.

Referenced by __construct(), and MSelection::__construct().

Here is the caller graph for this function:

MFormControl::getValue (  ) 

Reimplemented in MCheckBoxGroup, MRadioButtonGroup, MCurrencyField, and MInputGrid.

Definition at line 39 of file mformcontrol.class.

Referenced by MSelection::GenerateInner().

Here is the caller graph for this function:

MFormControl::setLabel ( label  ) 

Definition at line 45 of file mformcontrol.class.

References $label.

MFormControl::setAutoPostBack ( value  ) 

Definition at line 51 of file mformcontrol.class.

References $value.

MFormControl::setAutoSubmit ( isAuto = true  ) 

Definition at line 56 of file mformcontrol.class.

MFormControl::generateLabel (  ) 

Definition at line 61 of file mformcontrol.class.

References $label, MControl::FORM_MODE_SHOW_ABOVE, MControl::FORM_MODE_SHOW_NBSP, and MUtil::removeSpaceChars().

Referenced by MLink::generateInner(), MTextLabel::generateInner(), MTextField::generateInner(), MRadioButton::generateInner(), MCheckBox::generateInner(), MInputButton::generateInner(), and MButton::generateInner().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

MFormControl::$label

Reimplemented in Option.

Definition at line 5 of file mformcontrol.class.

Referenced by MOption::__construct(), MDATETimeDMYValidator::__construct(), mFloatValidator::__construct(), MIntegerValidator::__construct(), MRegExpValidator::__construct(), MRangeValidator::__construct(), MCompareValidator::__construct(), MDATEYMDValidator::__construct(), MDATEDMYValidator::__construct(), MCNPJValidator::__construct(), MCPFValidator::__construct(), MTIMEValidator::__construct(), MPHONEValidator::__construct(), MCEPValidator::__construct(), MPasswordValidator::__construct(), MEmailValidator::__construct(), MMASKValidator::__construct(), MRequiredValidator::__construct(), MMultiTextField3::__construct(), MMultiTextField2::__construct(), MMultiSelectionField::__construct(), MInputGrid::__construct(), MInputGridColumn::__construct(), MIndexedControl::__construct(), MHtmlArea::__construct(), __construct(), MLookupTextFieldAjax::__construct(), MLookupFieldAjax::__construct(), MActiveLookup::__construct(), MLookupFieldValue::__construct(), MLookupTextField1::__construct(), MLookupField1::__construct(), MComboBox::__construct(), MMultiSelection::__construct(), MSelection::__construct(), MListControl::__construct(), MImageLink::__construct(), MActionHyperLink::__construct(), MLinkButton::__construct(), MLink::__construct(), MTextLabel::__construct(), MBaseLabel::__construct(), MCurrencyField::__construct(), MCalendarField::__construct(), MFileField::__construct(), MMultiLineField::__construct(), MPasswordField::__construct(), MTextField::__construct(), MImage::__construct(), MLinkButtonGroup::__construct(), MRadioButtonGroup::__construct(), MCheckBoxGroup::__construct(), MButtonWindow::__construct(), MOpenWindow::__construct(), MChoiceControl::__construct(), MButton::__construct(), TextField::__construct(), MActionPanel::_getControl(), MActionPanel::addAction(), MInputGrid::addColumn(), MActionPanel::addGroupAction(), MActionPanel::addUserAction(), MIndexedControl::generateInner(), MActiveLookup::GenerateInner(), generateLabel(), MListControl::GenerateOptions(), MActionPanel::InsertAction(), MActionPanel::insertGroupAction(), MActionPanel::insertUserAction(), setLabel(), and MTextField::setValidator().

MFormControl::$value

Reimplemented in MCompareValidator, and Option.

Definition at line 6 of file mformcontrol.class.

Referenced by MOption::__construct(), MMultiTextField3::__construct(), MMultiTextField2::__construct(), MInputGridColumn::__construct(), MHtmlArea::__construct(), __construct(), MLookupTextFieldAjax::__construct(), MLookupFieldAjax::__construct(), MActiveLookup::__construct(), MLookupFieldValue::__construct(), MLookupTextField1::__construct(), MLookupField1::__construct(), MComboBox::__construct(), MSelection::__construct(), MBaseLabel::__construct(), MCurrencyField::__construct(), MCalendarField::__construct(), MFileField::__construct(), MMultiLineField::__construct(), MPasswordField::__construct(), MTextField::__construct(), MChoiceControl::__construct(), TextField::__construct(), MButton::__set(), MInputGrid::addColumn(), MUnOrderedList::addOption(), MOrderedList::addOption(), MUnOrderedList::addOptions(), MOrderedList::addOptions(), MListControl::GenerateOptions(), MToolBar::getArrayAsUrl(), MMultiTextField3::GetCodeValue(), MMultiTextField2::getCodeValue(), MMultiSelectionField::GetCodeValue(), MInputGrid::getFieldValue(), MSelection::GetOption(), MCurrencyField::getValue(), MRadioButtonGroup::getValue(), MCheckBoxGroup::getValue(), setAutoPostBack(), MBaseLabel::setBold(), MMultiTextField3::SetCodeValue(), MMultiTextField2::setCodeValue(), MMultiSelectionField::SetCodeValue(), MSelection::SetCols(), MInputGrid::setFieldValue(), MSelection::SetOption(), MContainer::setSpaceHeight(), MContainer::setSpaceWidth(), MTextField::setValidator(), MInputGrid::setValue(), MIndexedControl::setValue(), setValue(), and MCurrencyField::setValue().

MFormControl::$hint

Definition at line 7 of file mformcontrol.class.

Referenced by MMultiTextField3::__construct(), MMultiTextField2::__construct(), MMultiSelectionField::__construct(), MHtmlArea::__construct(), __construct(), MLookupTextFieldAjax::__construct(), MLookupFieldAjax::__construct(), MActiveLookup::__construct(), MLookupFieldValue::__construct(), MLookupTextField1::__construct(), MLookupField1::__construct(), MComboBox::__construct(), MMultiSelection::__construct(), MSelection::__construct(), MListControl::__construct(), MBaseLabel::__construct(), MCurrencyField::__construct(), MCalendarField::__construct(), MFileField::__construct(), MMultiLineField::__construct(), MPasswordField::__construct(), MTextField::__construct(), MRadioButtonGroup::__construct(), MChoiceControl::__construct(), TextField::__construct(), and MToolBar::addButton().

MFormControl::$form

Definition at line 8 of file mformcontrol.class.

Referenced by MLookupFieldAjax::__construct(), MLookupField1::__construct(), MActiveLookup::GenerateInner(), MImageButton::generateLink(), and MLinkButton::generateLink().

MFormControl::$formName

Definition at line 9 of file mformcontrol.class.

MFormControl::$showLabel

Reimplemented in MContainer.

Definition at line 10 of file mformcontrol.class.

MFormControl::$autoPostBack

Reimplemented in MSelection.

Definition at line 11 of file mformcontrol.class.


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil