CloneableInstantiable
Methods |
public __construct(array $attributes) Instantiate a new AttachmentField.
|
public getShort() Get whether this field is short enough for displaying side-by-side with other fields.
|
public getTitle() Get the title of the field.
|
public getValue() Get the value of the field.
|
public setShort( $value) Set whether this field is short enough for displaying side-by-side with other fields.
|
public setTitle( $title) Set the title of the field.
|
public setValue( $value) Set the value of the field.
|
public toArray() Get the array representation of this attachment field.
|
Properties |
protected static $availableAttributes = ['title' => 'title', 'value' => 'value', 'short' => 'short'] Internal attribute to property map.
|
protected $short = false Whether the value is short enough to fit side by side with other values.
|
protected $title = NULL The required title field of the field.
|
protected $value = NULL The required value of the field.
|
Methods |
Properties |
protected static $availableAttributes = ['title' => 'title', 'value' => 'value', 'short' => 'short'] Internal attribute to property map.
|