PHP 클래스 Carbon_Fields\Field\Textarea_Field

상속: extends Field
파일 보기 프로젝트 열기: htmlburger/carbon-fields

보호된 프로퍼티들

프로퍼티 타입 설명
$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