class Localizedfield extends AbstractModel (View source)

Constants

STRICT_DISABLED

STRICT_ENABLED

Properties

protected AbstractDao $dao from AbstractModel
array $items
Concrete $object
ClassDefinition $class
mixed $context
protected int $objectId

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

initDao(null $key = null, bool $forceDetection = false)

No description

static string|null
locateDaoClass(string $modelClass)

No description

$this
setValues(array $data = [])

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

__clone()

No description

array
getObjectVars()

returns object values without the dao

array
__debugInfo()

No description

void
beginTransaction()

No description

void
commit()

No description

void
rollBack()

No description

void
configure()

No description

array
getValidTableColumns(string $table, bool $cache)

No description

void
resetValidTableColumnsCache(string $table)

No description

static 
setGetFallbackValues(bool $getFallbackValues)

No description

static bool
getGetFallbackValues()

No description

static bool
isStrictMode()

No description

static 
setStrictMode(bool $strictMode)

No description

static bool
doGetFallbackValues()

No description

__construct(array $items = null)

No description

addItem($item)

No description

$this
setItems(array $items)

No description

array
getItems()

No description

$this
setObject(Concrete $object)

No description

getObject()

No description

$this
setClass(ClassDefinition $class)

No description

getClass()

No description

string
getLanguage(null $language = null)

No description

bool
languageExists($language)

No description

mixed
getLocalizedValue($name, null $language = null, bool $ignoreFallbackLanguage = false)

No description

$this
setLocalizedValue($name, $value, null $language = null)

No description

mixed
getContext()

No description

setContext(mixed $context)

No description

Details

Dao getDao()

Return Value

Dao

AbstractModel setDao($dao)

Parameters

$dao

Return Value

AbstractModel

AbstractDao getResource() deprecated

deprecated

Return Value

AbstractDao

initDao(null $key = null, bool $forceDetection = false)

Parameters

null $key
bool $forceDetection

Exceptions

Exception

static string|null locateDaoClass(string $modelClass)

Parameters

string $modelClass

Return Value

string|null

$this setValues(array $data = [])

Parameters

array $data

Return Value

$this

$this setValue($key, $value)

Parameters

$key
$value

Return Value

$this

array __sleep()

Return Value

array

mixed __call($method, $args)

Parameters

$method
$args

Return Value

mixed

Exceptions

Exception

__clone()

array getObjectVars()

returns object values without the dao

Return Value

array

array __debugInfo()

Return Value

array

void beginTransaction()

Return Value

void

void commit()

Return Value

void

void rollBack()

Return Value

void

void configure()

Return Value

void

array getValidTableColumns(string $table, bool $cache)

Parameters

string $table
bool $cache

Return Value

array

void resetValidTableColumnsCache(string $table)

Parameters

string $table

Return Value

void

static setGetFallbackValues(bool $getFallbackValues)

Parameters

bool $getFallbackValues

static bool getGetFallbackValues()

Return Value

bool

static bool isStrictMode()

Return Value

bool

static setStrictMode(bool $strictMode)

Parameters

bool $strictMode

static bool doGetFallbackValues()

Return Value

bool

__construct(array $items = null)

Parameters

array $items

addItem($item)

Parameters

$item

$this setItems(array $items)

Parameters

array $items

Return Value

$this

array getItems()

Return Value

array

$this setObject(Concrete $object)

Parameters

Concrete $object

Return Value

$this

Exceptions

Exception

Concrete getObject()

Return Value

Concrete

$this setClass(ClassDefinition $class)

Parameters

ClassDefinition $class

Return Value

$this

ClassDefinition getClass()

Return Value

ClassDefinition

string getLanguage(null $language = null)

Parameters

null $language

Return Value

string

Exceptions

Exception

bool languageExists($language)

Parameters

$language

Return Value

bool

mixed getLocalizedValue($name, null $language = null, bool $ignoreFallbackLanguage = false)

Parameters

$name
null $language
bool $ignoreFallbackLanguage

Return Value

mixed

$this setLocalizedValue($name, $value, null $language = null)

Parameters

$name
$value
null $language

Return Value

$this

Exceptions

Exception

mixed getContext()

Return Value

mixed

setContext(mixed $context)

Parameters

mixed $context