phpDocumentor

GxLogoOption extends ImageUploadOption
in package

Class GxLogoOption

Table of Contents

ABSOLUTE_URL_PATTERN  = '#^(http|https)://#'
GM_LOGO_CONFIGURATION_KEY  = 'GM_LOGO_SHOP'
GM_LOGO_WEBPATH  = 'images/logos/'
$attributes  : ComponentOptionAttributeCollection
$configurationRepository  : SettingsRepository
$default  : mixed
$for  : string|null
$group  : string
$hidden  : bool
$holder  : mixed
$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
value()  : mixed
visible()  : mixed
withConfigurationRepository()  : $this
configurationRepository()  : SettingsRepository
holder()  : mixed
isValid()  : bool
parseValue()  : mixed
setId()  : void

Constants

ABSOLUTE_URL_PATTERN

protected mixed ABSOLUTE_URL_PATTERN = '#^(http|https)://#'

GM_LOGO_CONFIGURATION_KEY

protected string GM_LOGO_CONFIGURATION_KEY = 'GM_LOGO_SHOP'

GM_LOGO_WEBPATH

protected string GM_LOGO_WEBPATH = 'images/logos/'

Properties

Methods

__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

defaultValue()

public defaultValue() : mixed
Return values
mixed

group()

public group() : string|null
Return values
string|null

hidden()

public hidden() : bool|null
Return values
bool|null

initializeFromJsonObject()

public initializeFromJsonObject( $object) : void
Parameters
$object :
Tags
throws
ReflectionException
Return values
void

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

translatable()

public translatable() : bool|null
Return values
bool|null

withConfigurationRepository()

public withConfigurationRepository( $configurationRepository) : $this
Parameters
$configurationRepository :
Return values
$this

isValid()

protected abstract isValid( $value) : bool
Parameters
$value :
Return values
bool

parseValue()

protected abstract parseValue( $value) : mixed
Parameters
$value :
Return values
mixed

setId()

protected setId(string $id) : void
Parameters
$id : string
Return values
void

Search results