Class jFormsControlChoice

Description

choice

Located in /forms/controls/jFormsControlChoice.class.php (line 19)

jFormsControl
   |
   --jFormsControlGroups
      |
      --jFormsControlChoice
Direct descendents
Class Description
jFormsControlSwitch switch
Variable Summary
mixed $items
mixed $itemsNames
mixed $type
Method Summary
void addChildControl ( $control, [ $itemValue = ''])
void check ()
void createItem ( $value,  $label)
void deactivateItem ( $value, [ $deactivation = true])
void isItemActivated ( $value)
void setValueFromRequest ( $request)
Variables
mixed $items = array() (line 27)

list of item. Each value is an array which contains corresponding controls of the item

an item could not have controls, in this case its value is an empty array

  • access: public
mixed $itemsNames = array() (line 29)
  • access: public
mixed $type = "choice" (line 21)
  • access: public

Redefinition of:
jFormsControlGroups::$type

Redefined in descendants as:

Inherited Variables

Inherited from jFormsControlGroups

jFormsControlGroups::$childControls

Inherited from jFormsControl

jFormsControl::$alertInvalid
jFormsControl::$alertRequired
jFormsControl::$container
jFormsControl::$datatype
jFormsControl::$defaultValue
jFormsControl::$form
jFormsControl::$help
jFormsControl::$hint
jFormsControl::$initialActivation
jFormsControl::$initialReadOnly
jFormsControl::$label
jFormsControl::$ref
jFormsControl::$required
Methods
addChildControl (line 74)
void addChildControl ( $control, [ $itemValue = ''])
  • $control
  • $itemValue

Redefinition of:
jFormsControlGroups::addChildControl()
check (line 31)
void check ()

Redefinition of:
jFormsControlGroups::check()
createItem (line 54)
void createItem ( $value,  $label)
  • $value
  • $label
deactivateItem (line 59)
void deactivateItem ( $value, [ $deactivation = true])
  • $value
  • $deactivation
isItemActivated (line 70)
void isItemActivated ( $value)
  • $value
setValueFromRequest (line 79)
void setValueFromRequest ( $request)
  • $request

Redefinition of:
jFormsControlGroups::setValueFromRequest()

Redefined in descendants as:

Inherited Methods

Inherited From jFormsControlGroups

jFormsControlGroups::addChildControl()
jFormsControlGroups::check()
jFormsControlGroups::deactivate()
jFormsControlGroups::getChildControls()
jFormsControlGroups::getDisplayValue()
jFormsControlGroups::setReadOnly()
jFormsControlGroups::setValueFromRequest()

Inherited From jFormsControl

jFormsControl::__construct()
jFormsControl::check()
jFormsControl::deactivate()
jFormsControl::getDisplayValue()
jFormsControl::isActivated()
jFormsControl::isContainer()
jFormsControl::isHtmlContent()
jFormsControl::isReadOnly()
jFormsControl::setData()
jFormsControl::setDataFromDao()
jFormsControl::setForm()
jFormsControl::setReadOnly()
jFormsControl::setValueFromRequest()

Documentation generated on Wed, 04 Jan 2017 22:54:46 +0100 by phpDocumentor 1.4.3