MarginGroupOption
extends AbstractComponentGroupOption
in package
Class MarginGroupOption
Table of Contents
- $attributes : ComponentOptionAttributeCollection
- $configurationRepository : SettingsRepository
- $default : mixed
- $for : string|null
- $group : string
- $hidden : bool
- $id : string
- $label : string
- $labelId : string
- $marginBottom : TextBox
- $marginLeft : TextBox
- $marginRight : TextBox
- $marginTop : TextBox
- $pageNamespace : string|null
- $requiresReload : bool
- $selector : string
- $translatable : string|null
- $type : string
- $value : mixed
- $visible : null
- __clone() : mixed
- __construct() : mixed
- MarginGroupOption constructor.
- attributes() : ComponentOptionAttributeCollection
- createFromJsonObject() : bool|OptionCollection|mixed
- defaultValue() : mixed
- for() : string|null
- getGroupOptions() : array<string|int, mixed>|mixed
- 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
- marginBottom() : TextBox
- marginLeft() : TextBox
- marginRight() : TextBox
- marginTop() : TextBox
- pageNamespace() : string|null
- requiresReload() : bool
- selector() : mixed
- setConfigurationRepository() : mixed
- translatable() : bool|null
- type() : string
- 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
$marginBottom
protected
TextBox
$marginBottom
$marginLeft
protected
TextBox
$marginLeft
$marginRight
protected
TextBox
$marginRight
$marginTop
protected
TextBox
$marginTop
$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()
public
__clone() : mixed
Return values
mixed —__construct()
MarginGroupOption constructor.
public
__construct() : mixed
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 —getGroupOptions()
public
getGroupOptions() : array<string|int, mixed>|mixed
Return values
array<string|int, mixed>|mixed —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 —marginBottom()
public
marginBottom() : TextBox
Return values
TextBox —marginLeft()
public
marginLeft() : TextBox
Return values
TextBox —marginRight()
public
marginRight() : TextBox
Return values
TextBox —marginTop()
public
marginTop() : TextBox
Return values
TextBox —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
Return values
string —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( $value) : bool
Parameters
Return values
bool —parseValue()
protected
parseValue( $value) : mixed
Parameters
Return values
mixed —setId()
protected
setId(string $id) : void
Parameters
- $id : string