class Predefined extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
int $id
string $name
string $description
string $key
string $type
string $targetSubtype
string $data
string $config
string $ctype
string $language
int $creationDate
int $modificationDate

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 Predefined
getById(int $id)

No description

static Predefined
getByName(string $name, string $language = '')

No description

static Predefined
create()

No description

string
getName()

No description

string
getType()

No description

string
getData()

No description

$this
setName(string $name)

No description

$this
setType(string $type)

No description

$this
setData(string $data)

No description

int
getId()

No description

$this
setId(int $id)

No description

$this
setDescription(string $description)

No description

string
getDescription()

No description

$this
setCreationDate($creationDate)

No description

int
getCreationDate()

No description

$this
setModificationDate($modificationDate)

No description

int
getModificationDate()

No description

setLanguage(string $language)

No description

string
getLanguage()

No description

setTargetSubtype(string $targetSubtype)

No description

string
getTargetSubtype()

No description

string
getConfig()

No description

setConfig(string $config)

No description

minimize()

No description

expand()

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 Predefined getById(int $id)

Parameters

int $id

Return Value

Predefined

static Predefined getByName(string $name, string $language = '')

Parameters

string $name
string $language

Return Value

Predefined

static Predefined create()

Return Value

Predefined

string getName()

Return Value

string

string getType()

Return Value

string

string getData()

Return Value

string

$this setName(string $name)

Parameters

string $name

Return Value

$this

$this setType(string $type)

Parameters

string $type

Return Value

$this

$this setData(string $data)

Parameters

string $data

Return Value

$this

int getId()

Return Value

int

$this setId(int $id)

Parameters

int $id

Return Value

$this

$this setDescription(string $description)

Parameters

string $description

Return Value

$this

string getDescription()

Return Value

string

$this setCreationDate($creationDate)

Parameters

$creationDate

Return Value

$this

int getCreationDate()

Return Value

int

$this setModificationDate($modificationDate)

Parameters

$modificationDate

Return Value

$this

int getModificationDate()

Return Value

int

setLanguage(string $language)

Parameters

string $language

string getLanguage()

Return Value

string

setTargetSubtype(string $targetSubtype)

Parameters

string $targetSubtype

string getTargetSubtype()

Return Value

string

string getConfig()

Return Value

string

setConfig(string $config)

Parameters

string $config

minimize()

expand()