Class JFormFieldCheckboxes

Description

Form Field class for the Joomla Platform.

Displays options as a list of check boxes. Multiselect may be forced to be true.

Located in /libraries/joomla/form/fields/checkboxes.php (line 22)

JFormField
   |
   --JFormFieldCheckboxes
Variable Summary
boolean $forceMultiple
string $type
Method Summary
string getInput ()
array getOptions ()
Variables
boolean $forceMultiple = true (line 38)

Flag to tell the field to always be in multiple values mode.

  • since: 11.1
  • access: protected
string $type = 'Checkboxes' (line 30)

The form field type.

  • since: 11.1
  • access: protected

Redefinition of:
JFormField::$type
The form field type.

Inherited Variables

Inherited from JFormField

JFormField::$count
JFormField::$description
JFormField::$element
JFormField::$fieldname
JFormField::$form
JFormField::$formControl
JFormField::$generated_fieldname
JFormField::$group
JFormField::$hidden
JFormField::$id
JFormField::$input
JFormField::$label
JFormField::$labelClass
JFormField::$multiple
JFormField::$name
JFormField::$required
JFormField::$translateDescription
JFormField::$translateLabel
JFormField::$validate
JFormField::$value
Methods
getInput (line 47)

Method to get the field input markup for check boxes.

  • return: The field input markup.
  • since: 11.1
  • access: protected
string getInput ()

Redefinition of:
JFormField::getInput()
Method to get the field input markup.
getOptions (line 96)

Method to get the field options.

  • return: The field option objects.
  • since: 11.1
  • access: protected
array getOptions ()

Inherited Methods

Inherited From JFormField

JFormField::__construct()
JFormField::getFieldName()
JFormField::getId()
JFormField::getInput()
JFormField::getLabel()
JFormField::getName()
JFormField::getTitle()
JFormField::setForm()
JFormField::setup()
JFormField::__get()

Documentation generated on Mon, 25 Jun 2012 13:53:01 -0500 by phpDocumentor 1.4.4