JFormFieldMeter

Extends \JFormFieldNumber

Form Field class for the Joomla Platform.

Provides a meter to show value in a range.

link

http://www.w3.org/TR/html-markup/input.text.html#input.text

since

3.2

package

Joomla.Platform

Methods

__get

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

__get(string $name) : mixed
inherited
since

3.2

Arguments

$name

stringThe property name for which to get the value.

Response

mixedThe property value or null.

__set

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

__set(string $name, mixed $value) : void
inherited
since

3.2

Arguments

$name

stringThe property name for which to set the value.

$value

mixedThe value of the property.

getInput

Method to get the field input markup.

getInput() : string
inherited
since

3.2

Response

stringThe field input markup.

getLayoutData

Method to get the data to be passed to the layout for rendering.

getLayoutData() : array
inherited
since

3.7

Response

array

setup

Method to attach a JForm object to the field.

setup(\SimpleXMLElement $element, mixed $value, string $group = null) : boolean
inherited
see \JFormField::setup()
since

3.2

Arguments

$element

\SimpleXMLElementThe SimpleXMLElement object representing the <field> tag for the form field object.

$value

mixedThe form field value to validate.

$group

stringThe field name group control value. This acts 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]".

Response

booleanTrue on success.

Properties

type

The form field type.

inherited
since

3.2

Type(s)

string

width

The width of the field increased or decreased.

since

3.2

Type(s)

string

active

Whether the field is active or not.

since

3.2

Type(s)

boolean

animated

Whether the field is animated or not.

since

3.2

Type(s)

boolean

color

The color of the field

since

3.2

Type(s)

boolean

layout

Name of the layout being used to render the field

inherited
since

3.7

Type(s)

string

max

The allowable maximum value of the field.

inherited
since

3.2

Type(s)

float

min

The allowable minimum value of the field.

inherited
since

3.2

Type(s)

float

step

The step by which value of the field increased or decreased.

inherited
since

3.2

Type(s)

float