PHP Класс Carbon_Fields\Field\Textarea_Field

Наследование: extends Field
Показать файл Открыть проект

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

Свойство Тип Описание
$height
$rows

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

Метод Описание
set_height ( integer $height = 170 ) Set the height of the field.
set_rows ( integer $rows ) Change the number of rows of this field.
template ( ) Underscore template of this field.
to_json ( boolean $load ) : array Returns an array that holds the field data, suitable for JSON representation.

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

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

Deprecated in favor of set_rows()
Устаревший:
public set_height ( integer $height = 170 )
$height integer Height (in pixels)

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

Change the number of rows of this field.
public set_rows ( integer $rows )
$rows integer Number of rows

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

Underscore template of this field.
public template ( )

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

This data will be available in the Underscore template and the Backbone Model.
public to_json ( boolean $load ) : array
$load boolean Should the value be loaded from the database or use the value from the current instance.
Результат array

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

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

protected $height

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

protected $rows