PHP Class FOF30\Form\Field\Button

Inheritance: extends Text, implements FOF30\Form\FieldInterface
Show file Open project: akeeba/fof Class Usage Examples

Protected Properties

Property Type Description
$form FOF30\Form\Form The Form object of the form attached to the form field.
$repeatable Repeatable field output
$static Static field output

Public Methods

Method Description
getInput ( ) : string Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).
getRepeatable ( ) : string Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)
getStatic ( ) : string Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).

Protected Methods

Method Description
getTitle ( ) : string Method to get the field title.

Method Details

getInput() public method

Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).
Since: 2.0
public getInput ( ) : string
return string The field HTML

getRepeatable() public method

Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)
Since: 2.0
public getRepeatable ( ) : string
return string The field HTML

getStatic() public method

Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).
Since: 2.0
public getStatic ( ) : string
return string The field HTML

getTitle() protected method

Method to get the field title.
protected getTitle ( ) : string
return string The field title.

Property Details

$form protected property

The Form object of the form attached to the form field.
protected Form,FOF30\Form $form
return FOF30\Form\Form

$repeatable protected property

Repeatable field output
protected $repeatable

$static protected property

Static field output
protected $static