PHP Class FOF30\Form\Field\Relation

Inheritance: extends GenericList
Datei anzeigen Open project: akeeba/fof

Public Methods

Method Description
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
getOptions ( ) : array Method to get the field options.
parseFieldTags ( string $text ) : string Replace string with tags that reference fields

Method Details

getOptions() protected method

Method to get the field options.
protected getOptions ( ) : array
return array The field option objects.

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

parseFieldTags() protected method

Replace string with tags that reference fields
protected parseFieldTags ( string $text ) : string
$text string Text to process
return string Text with tags replace