class Configuration extends AbstractModel

Class Configuration

Properties

int $id from AbstractModel
string $key
string $data
int $creationDate
int $modificationDate
int $shopId

Methods

static  null|AbstractModel
getById($id)

Get By Id.

static  boolean
isMultiShop()

No description

static  boolean
isMultiShopFK()

No description

static  AbstractModel
create()

Create new instance of Pimcore Object.

static  AbstractModel|null
getByShopId($id, null $shopId = null)

No description

static  null|AbstractModel
getByField( string $field, string $value, int $shopId = null)

Get Range by id.

static  AbstractListing
getList()

get listing class.

static  AbstractModel[]
getAll()

Get all objects form this type.

int
getId()

No description

setId( int $id)

No description

string
getCacheKey()

No description

save()

save model to database.

bool
delete()

delete model.

getLocalizedFields()

Get LocalizedFields Provider.

setLocalizedFields($localizedFields)

Get LocalizedFields Provider.

AbstractModel
setValue($key, $value)

Override setValue function to support localized fields.

string
__toString()

No description

array
__sleep()

Prepare object to goto sleep.

__wakeup()

Prepare object to wakeup.

static  mixed|null
get( string $key, int $shopId = null, bool $returnObject = false)

Get by Key.

static 
set($key, $data, $shopId = null)

set data for key.

static 
remove($key)

Remove all values from key

static  mixed|null|Zend_Config_Xml
getPluginConfig()

get Plugin Config.

static 
setPluginConfig( Zend_Config $config)

Set Plugin Config to \Zend_Registry.

static  bool
isCatalogMode()

Check if Catalog Mode is activated.

static  bool
isGuestCheckoutActivated()

Check if guest checkout mode is activated.

static  bool|mixed
multiShopEnabled()

Check if multishop feature is activated

static  array
getSystemKeys()

No description

static 
setSystemKeys( array $systemKeys)

No description

string
getKey()

No description

setKey( string $key)

No description

string
getData()

No description

setData( string $data)

No description

int
getCreationDate()

No description

setCreationDate( int $creationDate)

No description

int
getModificationDate()

No description

setModificationDate( int $modificationDate)

No description

int
getShopId()

No description

setShopId( int $shopId)

No description

Details

at line line 87
static null|AbstractModel getById($id)

Get By Id.

Parameters

$id

Return Value

null|AbstractModel

in AbstractModel at line line 80
static boolean isMultiShop()

Return Value

boolean

in AbstractModel at line line 94
static boolean isMultiShopFK()

Return Value

boolean

in AbstractModel at line line 112
static AbstractModel create()

Create new instance of Pimcore Object.

Return Value

AbstractModel

Exceptions

Exception

in AbstractModel at line line 122
static AbstractModel|null getByShopId($id, null $shopId = null)

Parameters

$id
null $shopId

Return Value

AbstractModel|null

in AbstractModel at line line 170
static null|AbstractModel getByField( string $field, string $value, int $shopId = null)

Get Range by id.

Parameters

string $field
string $value
int $shopId

Return Value

null|AbstractModel

in AbstractModel at line line 223
static AbstractListing getList()

get listing class.

Return Value

AbstractListing

Exceptions

Exception

in AbstractModel at line line 243
static AbstractModel[] getAll()

Get all objects form this type.

Return Value

AbstractModel[]

in AbstractModel at line line 253
int getId()

Return Value

int

in AbstractModel at line line 261
setId( int $id)

Parameters

int $id

in AbstractModel at line line 269
string getCacheKey()

Return Value

string

in AbstractModel at line line 277
save()

save model to database.

in AbstractModel at line line 294
bool delete()

delete model.

Return Value

bool

in AbstractModel at line line 310
LocalizedFields|null getLocalizedFields()

Get LocalizedFields Provider.

Return Value

LocalizedFields|null

in AbstractModel at line line 329
setLocalizedFields($localizedFields)

Get LocalizedFields Provider.

Parameters

$localizedFields

in AbstractModel at line line 342
AbstractModel setValue($key, $value)

Override setValue function to support localized fields.

Parameters

$key
$value

Return Value

AbstractModel

at line line 337
string __toString()

Return Value

string

in AbstractModel at line line 370
array __sleep()

Prepare object to goto sleep.

Return Value

array

in AbstractModel at line line 390
__wakeup()

Prepare object to wakeup.

at line line 121
static mixed|null get( string $key, int $shopId = null, bool $returnObject = false)

Get by Key.

Parameters

string $key
int $shopId
bool $returnObject

Return Value

mixed|null

at line line 176
static set($key, $data, $shopId = null)

set data for key.

Parameters

$key
$data
$shopId

at line line 195
static remove($key)

Remove all values from key

Parameters

$key

at line line 218
static mixed|null|Zend_Config_Xml getPluginConfig()

get Plugin Config.

Return Value

mixed|null|Zend_Config_Xml

Exceptions

Zend_Exception

at line line 246
static setPluginConfig( Zend_Config $config)

Set Plugin Config to \Zend_Registry.

Parameters

Zend_Config $config

at line line 256
static bool isCatalogMode()

Check if Catalog Mode is activated.

Return Value

bool

at line line 278
static bool isGuestCheckoutActivated()

Check if guest checkout mode is activated.

Return Value

bool

at line line 301
static bool|mixed multiShopEnabled()

Check if multishop feature is activated

Return Value

bool|mixed

Exceptions

Zend_Exception

at line line 321
static array getSystemKeys()

Return Value

array

at line line 329
static setSystemKeys( array $systemKeys)

Parameters

array $systemKeys

at line line 345
string getKey()

Return Value

string

at line line 353
setKey( string $key)

Parameters

string $key

at line line 361
string getData()

Return Value

string

at line line 369
setData( string $data)

Parameters

string $data

at line line 377
int getCreationDate()

Return Value

int

at line line 385
setCreationDate( int $creationDate)

Parameters

int $creationDate

at line line 393
int getModificationDate()

Return Value

int

at line line 401
setModificationDate( int $modificationDate)

Parameters

int $modificationDate

at line line 409
int getShopId()

Return Value

int

at line line 417
setShopId( int $shopId)

Parameters

int $shopId