Class JFormFieldCategory

Description

Form Field class for the Joomla Platform.

Supports an HTML select list of categories

  • since: 11.1

Located in /libraries/legacy/form/field/category.php (line 22)

JFormField
   |
   --JFormFieldList
      |
      --JFormFieldCategory
Variable Summary
 string $type
Method Summary
 array getOptions ()
Variables
Methods
getOptions (line 42)

Method to get the field options for category Use the extension attribute in a form to specify the.specific extension for which categories should be displayed.

Use the show_root attribute to specify whether to show the global category root in the list.

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

Redefinition of:
JFormFieldList::getOptions()
Method to get the field options.

Inherited Methods

Inherited From JFormFieldList

 JFormFieldList::getInput()
 JFormFieldList::getOptions()

Inherited From JFormField

 JFormField::__construct()
 JFormField::getAttribute()
 JFormField::getControlGroup()
 JFormField::getFieldName()
 JFormField::getId()
 JFormField::getInput()
 JFormField::getLabel()
 JFormField::getName()
 JFormField::getTitle()
 JFormField::setForm()
 JFormField::setup()
 JFormField::setValue()
 JFormField::__get()
 JFormField::__set()

Documentation generated on Tue, 19 Nov 2013 14:55:22 +0100 by phpDocumentor 1.4.3