Property | Type | Description | |
---|---|---|---|
$item | The item being rendered in a repeatable form field | ||
$rowid | integer | A monotonically increasing number, denoting the row number in a repeatable view |
Property | Type | Description | |
---|---|---|---|
$form | The Form object of the form attached to the form field. | ||
$repeatable | Repeatable field output | ||
$static | Static field output |
Method | Description | |
---|---|---|
__get ( string $name ) : mixed | Method to get certain otherwise inaccessible properties from the form field object. | |
getOptionName ( array $data, mixed $selected = null, string $optKey = 'value', string $optText = 'text', boolean $selectFirst = true ) : mixed | Gets the active option's label given an array of JHtml options | |
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). |
Method | Description | |
---|---|---|
getOptions ( ) : array | Method to get the field options. | |
parseFieldTags ( string $text ) : string | Replace string with tags that reference fields |
public static getOptionName ( array $data, mixed $selected = null, string $optKey = 'value', string $optText = 'text', boolean $selectFirst = true ) : mixed | ||
$data | array | The JHtml options to parse |
$selected | mixed | The currently selected value |
$optKey | string | Key name |
$optText | string | Value name |
$selectFirst | boolean | Should I automatically select the first option? |
return | mixed | The label of the currently selected option |
protected getOptions ( ) : array | ||
return | array | The field option objects. |
public getRepeatable ( ) : string | ||
return | string | The field HTML |
protected parseFieldTags ( string $text ) : string | ||
$text | string | Text to process |
return | string | Text with tags replace |
protected Form,FOF30\Form $form | ||
return |
public DataModel,FOF30\Model $item | ||
return |
public int $rowid | ||
return | integer |