Property | Type | Description | |
---|---|---|---|
$short | boolean | Whether the value is short enough to fit side by side with other values. | |
$title | string | The required title field of the field. | |
$value | string | The required value of the field. |
Method | Description | |
---|---|---|
__construct ( string $title, string $value ) | ||
create ( $title, $value ) | ||
displaySideBySide ( ) | ||
doNotDisplaySideBySide ( ) | ||
setTitle ( string $title ) | Set the title of the field. | |
setValue ( string $value ) | Set the value of the field. | |
toArray ( ) : array | Get the array representation of this attachment field. |
public __construct ( string $title, string $value ) | ||
$title | string | |
$value | string |
protected bool $short | ||
return | boolean |
protected string $title | ||
return | string |