PHP Класс FormLayout

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$layoutColumns be merged into the widget options.

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

Метод Описание
columns ( mixed $key = 'label', $end = false ) : string Generates a CSS class that is used for the layout columns.
widget ( $className, $properties = [], $captureOutput = false ) We override this method so we can pass through the layoutColumns from the 'form' into the widget.

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

columns() публичный Метод

Generates a CSS class that is used for the layout columns.
public columns ( mixed $key = 'label', $end = false ) : string
$key mixed The column key ('label', or 'field') or column value (integer).
Результат string The CSS class.

widget() публичный Метод

We override this method so we can pass through the layoutColumns from the 'form' into the widget.
public widget ( $className, $properties = [], $captureOutput = false )

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

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

be merged into the widget options.
public $layoutColumns