PHP Class Carbon_Fields\Field\Textarea_Field

Inheritance: extends Field
Afficher le fichier Open project: htmlburger/carbon-fields

Protected Properties

Свойство Type Description
$height
$rows

Méthodes publiques

Méthode Description
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.

Method Details

set_height() public méthode

Deprecated in favor of set_rows()
Deprecation:
public set_height ( integer $height = 170 )
$height integer Height (in pixels)

set_rows() public méthode

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

template() public méthode

Underscore template of this field.
public template ( )

to_json() public méthode

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.
Résultat array

Property Details

$height protected_oe property

protected $height

$rows protected_oe property

protected $rows