Class jFormsControl

Description

base class for all jforms control

  • abstract:

Located in /forms/jFormsControl.class.php (line 16)


	
			
Direct descendents
Class Description
jFormsControlOutput
jFormsControlCaptcha captcha control
jFormsControlGroups abstract classes for controls which contain other controls
jFormsControlReset
jFormsControlDatasource base class for controls which uses a datasource to fill their contents.
jFormsControlInput
jFormsControlDate
jFormsControlSecret
jFormsControlHtmlEditor
jFormsControlCheckbox
jFormsControlUpload
jFormsControlSecretConfirm
jFormsControlTextarea
Variable Summary
mixed $container
mixed $datatype
mixed $form
mixed $help
mixed $hint
mixed $label
mixed $ref
mixed $required
mixed $type
Method Summary
jFormsControl __construct ( $ref)
void check ()
void deactivate ([ $deactivation = true])
void getDisplayValue ( $value)
boolean isActivated ()
void isContainer ()
boolean isReadOnly ()
void setData ( $value)
void setDataFromDao ( $value,  $daoDatatype)
void setForm ( $form)
void setReadOnly ([ $r = true])
void setValueFromRequest ( $request)
Variables
mixed $alertInvalid = '' (line 25)
  • access: public
mixed $alertRequired = '' (line 26)
  • access: public
mixed $container (line 32)
  • access: protected
mixed $datatype (line 19)
  • access: public
mixed $form (line 31)
  • access: protected
mixed $help = '' (line 23)
  • access: public
mixed $hint = '' (line 24)
  • access: public
mixed $initialActivation = true (line 29)
  • access: public
mixed $initialReadOnly = false (line 28)
  • access: public
mixed $label = '' (line 21)
  • access: public
mixed $ref = '' (line 18)
  • access: public
mixed $required = false (line 20)
  • access: public

Redefined in descendants as:
Methods
Constructor __construct (line 35)
jFormsControl __construct ( $ref)
  • $ref

Redefined in descendants as:
deactivate (line 89)
  • access: public
void deactivate ([ $deactivation = true])
  • $deactivation

Redefined in descendants as:
isActivated (line 97)

check if the control is activated

  • return: true if it is activated
  • access: public
boolean isActivated ()
isContainer (line 52)

says if the control can have multiple values

void isContainer ()

Redefined in descendants as:
isReadOnly (line 105)

check if the control is readonly

  • return: true if it is readonly
  • access: public
boolean isReadOnly ()
setData (line 69)
void setData ( $value)
  • $value

Redefined in descendants as:
setDataFromDao (line 81)
void setDataFromDao ( $value,  $daoDatatype)
  • $value
  • $daoDatatype

Redefined in descendants as:
setForm (line 40)
void setForm ( $form)
  • $form
setReadOnly (line 73)
void setReadOnly ([ $r = true])
  • $r

Redefined in descendants as:

Documentation generated on Thu, 22 Mar 2012 22:15:53 +0100 by phpDocumentor 1.4.3