Class JFormFieldTemplatestyle

Description

Form Field class for the Joomla CMS.

Supports a select grouped list of template styles

  • since: 1.6

Located in /libraries/cms/form/field/templatestyle.php (line 22)

JFormField
   |
   --JFormFieldGroupedList
      |
      --JFormFieldTemplatestyle
Variable Summary
 mixed $clientName
 mixed $template
 string $type
Method Summary
 array getGroups ()
 boolean setup (SimpleXMLElement $element, mixed $value, [string $group = null])
 mixed __get (string $name)
 void __set (string $name, mixed $value)
Variables
Methods
getGroups (line 130)

Method to get the list of template style options grouped by template.

Use the client attribute to specify a specific client. Use the template attribute to specify a specific template

  • return: The field option objects as a nested array in groups.
  • since: 1.6
  • access: protected
array getGroups ()

Redefinition of:
JFormFieldGroupedList::getGroups()
Method to get the field option groups.
setup (line 107)

Method to attach a JForm object to the field.

boolean setup (SimpleXMLElement $element, mixed $value, [string $group = null])
  • SimpleXMLElement $element: The SimpleXMLElement object representing the <field /> tag for the form field object.
  • mixed $value: The form field value to validate.
  • string $group: The field name group control value. This acts as as an array container for the field. For example if the field has name="foo" and the group value is set to "bar" then the full field name would end up being "bar[foo]".

Redefinition of:
JFormField::setup()
Method to attach a JForm object to the field.
__get (line 57)

Method to get certain otherwise inaccessible properties from the form field object.

  • return: The property value or null.
  • since: 3.2
  • access: public
mixed __get (string $name)
  • string $name: The property name for which to the the value.

Redefinition of:
JFormField::__get()
Method to get certain otherwise inaccessible properties from the form field object.
__set (line 79)

Method to set certain otherwise inaccessible properties of the form field object.

  • since: 3.2
  • access: public
void __set (string $name, mixed $value)
  • string $name: The property name for which to the the value.
  • mixed $value: The value of the property.

Redefinition of:
JFormField::__set()
Method to set certain otherwise inaccessible properties of the form field object.

Inherited Methods

Inherited From JFormFieldGroupedList

 JFormFieldGroupedList::getGroups()
 JFormFieldGroupedList::getInput()

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 15:15:39 +0100 by phpDocumentor 1.4.3