LongTextBoxOption
extends AbstractComponentOption
in package
Class LongTextBoxOption
Table of Contents
- $attributes : ComponentOptionAttributeCollection
- $configurationRepository : SettingsRepository
- $default : mixed
- $for : string|null
- $group : string
- $hidden : bool
- $id : string
- $label : string
- $labelId : string
- $pageNamespace : string|null
- $requiresReload : bool
- $selector : string
- $translatable : string|null
- $type : string
- $value : mixed
- $visible : null
- __clone() : mixed
- s * Clone the object
- __construct() : mixed
- AbstractOption constructor.
- attributes() : ComponentOptionAttributeCollection
- createFromJsonObject() : bool|OptionCollection|mixed
- defaultValue() : mixed
- for() : string|null
- group() : string|null
- hidden() : bool|null
- id() : string
- initializeFromJsonObject() : void
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- label() : string
- labelId() : string|null
- pageNamespace() : string|null
- requiresReload() : bool
- selector() : mixed
- setConfigurationRepository() : mixed
- translatable() : bool|null
- type() : string|null
- value() : mixed
- visible() : mixed
- withConfigurationRepository() : $this
- configurationRepository() : SettingsRepository
- isValid() : bool
- parseValue() : mixed
- setId() : void
Properties
$attributes
protected
ComponentOptionAttributeCollection
$attributes
$configurationRepository
protected
SettingsRepository
$configurationRepository
$default
protected
mixed
$default
$for
protected
string|null
$for
$group
protected
string
$group
$hidden
protected
bool
$hidden
= false
$id
protected
string
$id
$label
protected
string
$label
$labelId
protected
string
$labelId
$pageNamespace
protected
string|null
$pageNamespace
$requiresReload
protected
bool
$requiresReload
$selector
protected
string
$selector
$translatable
protected
string|null
$translatable
= false
$type
protected
string
$type
$value
protected
mixed
$value
$visible
protected
null
$visible
Methods
__clone()
s * Clone the object
public
__clone() : mixed
Return values
mixed —__construct()
AbstractOption constructor.
public
__construct([string $id = null ][, string $type = null ][, string $labelId = null ][, string $group = null ][, string $selector = null ][, string $for = null ][, bool $translatable = null ][, bool $requiresReload = null ][, $default = null ][, $value = null ][, null $visible = null ]) : mixed
Parameters
- $id : string = null
- $type : string = null
- $labelId : string = null
- $group : string = null
- $selector : string = null
- $for : string = null
- $translatable : bool = null
- $requiresReload : bool = null
- $default : = null
- $value : = null
- $visible : null = null
Return values
mixed —attributes()
public
attributes() : ComponentOptionAttributeCollection
Return values
ComponentOptionAttributeCollection —createFromJsonObject()
public
static createFromJsonObject( $jsonObject[, string $prefix = '' ][, SettingsRepository|null $configurationRepository = null ]) : bool|OptionCollection|mixed
Parameters
- $jsonObject :
- $prefix : string = ''
- $configurationRepository : SettingsRepository|null = null
Tags
Return values
bool|OptionCollection|mixed —defaultValue()
public
defaultValue() : mixed
Return values
mixed —for()
public
for() : string|null
Return values
string|null —group()
public
group() : string|null
Return values
string|null —hidden()
public
hidden() : bool|null
Return values
bool|null —id()
public
id() : string
Return values
string —initializeFromJsonObject()
public
initializeFromJsonObject( $object) : void
Parameters
Tags
Return values
void —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
label()
public
label() : string
Return values
string —labelId()
public
labelId() : string|null
Return values
string|null —pageNamespace()
public
pageNamespace() : string|null
Return values
string|null —requiresReload()
public
requiresReload() : bool
Return values
bool —selector()
public
selector() : mixed
Return values
mixed —setConfigurationRepository()
public
setConfigurationRepository(SettingsRepository $configurationRepository) : mixed
Parameters
- $configurationRepository : SettingsRepository
Return values
mixed —translatable()
public
translatable() : bool|null
Return values
bool|null —type()
public
type() : string|null
Tags
Return values
string|null —value()
public
value([Language|null $language = null ]) : mixed
Parameters
- $language : Language|null = null
Return values
mixed —visible()
public
visible() : mixed
Return values
mixed —withConfigurationRepository()
public
withConfigurationRepository( $configurationRepository) : $this
Parameters
Return values
$this —configurationRepository()
protected
configurationRepository() : SettingsRepository
Tags
Return values
SettingsRepository —isValid()
protected
isValid(mixed $value) : bool
Parameters
- $value : mixed
Tags
Return values
bool —parseValue()
protected
parseValue(mixed $value) : mixed
Parameters
- $value : mixed
Tags
Return values
mixed —setId()
protected
setId(string $id) : void
Parameters
- $id : string