Jet\Form_Definition_FieldOption

The class represents the definition of an extra parameter of a form field.

Overview of methods

Method Meaning of
public setup(
string $field_class,
string $name,
array $definition
)
Initial setting of the definition.
public getName(
) : string
Returns the name of the parameter.
public getType(
) : string
Returns the type of the parameter.
public getLabel(
) : string
Returns the parameter label.
public getGetter(
) : string
Returns the getter method of the parameter (the class method that represents the form field).
public getSetter(
) : string
Returns the setter method of the parameter (the class method that represents the form field).
Previous chapter
Creating a custom form field type
Next chapter
Working with data lists - Jet\DataListing