PHP Класс FOF30\Form\Field\Components

Наследование: extends JFormFieldList, implements FOF30\Form\FieldInterface
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$client_ids string Override for the list of client IDs. Comma separated list, e.g. "0,1"
$item FOF30\Model\DataModel The item being rendered in a repeatable form field
$rowid integer A monotonically increasing number, denoting the row number in a repeatable view

Защищенные свойства (Protected)

Свойство Тип Описание
$form FOF30\Form\Form The Form object of the form attached to the form field.
$repeatable Repeatable field output
$static Static field output

Открытые методы

Метод Описание
__get ( string $name ) : mixed Method to get certain otherwise inaccessible properties from the form field object.
getFieldContents ( array $fieldOptions = [] ) : string Method to get the field input markup.
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).
translate ( stdClass $item, string $type ) : string Translate a list of objects with JText::_().

Защищенные методы

Метод Описание
getOptions ( ) : array Get a list of all installed components and also translates them.

Описание методов

__get() публичный метод

Method to get certain otherwise inaccessible properties from the form field object.
С версии: 2.1
public __get ( string $name ) : mixed
$name string The property name for which to the the value.
Результат mixed The property value or null.

getFieldContents() публичный метод

Method to get the field input markup.
public getFieldContents ( array $fieldOptions = [] ) : string
$fieldOptions array Options to be passed into the field
Результат string The field HTML

getOptions() защищенный метод

The manifest_cache is used to get the extension names, since JInstaller is also translating those names in stead of the name column. Else some of the translations fails.
С версии: 2.1
protected getOptions ( ) : array
Результат array An array of JHtml options.

getRepeatable() публичный метод

Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)
С версии: 2.1
public getRepeatable ( ) : string
Результат string The field HTML

getStatic() публичный метод

Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).
С версии: 2.1
public getStatic ( ) : string
Результат string The field HTML

translate() публичный метод

Translate a list of objects with JText::_().
С версии: 2.1
public translate ( stdClass $item, string $type ) : string
$item stdClass The component object
$type string The extension type (e.g. component)
Результат string $text The translated name of the extension

Описание свойств

$client_ids публичное свойство

Override for the list of client IDs. Comma separated list, e.g. "0,1"
public string $client_ids
Результат string

$form защищенное свойство

The Form object of the form attached to the form field.
protected Form,FOF30\Form $form
Результат FOF30\Form\Form

$item публичное свойство

The item being rendered in a repeatable form field
public DataModel,FOF30\Model $item
Результат FOF30\Model\DataModel

$repeatable защищенное свойство

Repeatable field output
protected $repeatable

$rowid публичное свойство

A monotonically increasing number, denoting the row number in a repeatable view
public int $rowid
Результат integer

$static защищенное свойство

Static field output
protected $static