class Predefined extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
int $id
string $name
string $description
string $key
string $type
string $data
string $config
string $ctype
bool $inheritable
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
getByKey(string $key)

No description

static Predefined
create()

No description

string
getKey()

No description

string
getName()

No description

string
getType()

No description

string
getData()

No description

$this
setKey(string $key)

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

string
getConfig()

No description

$this
setConfig(string $config)

No description

string
getCtype()

No description

$this
setCtype(string $ctype)

No description

string
getInheritable()

No description

$this
setInheritable(string $inheritable)

No description

$this
setDescription(string $description)

No description

string
getDescription()

No description

setCreationDate(int $creationDate)

No description

int
getCreationDate()

No description

setModificationDate(int $modificationDate)

No description

int
getModificationDate()

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 getByKey(string $key)

Parameters

string $key

Return Value

Predefined

static Predefined create()

Return Value

Predefined

string getKey()

Return Value

string

string getName()

Return Value

string

string getType()

Return Value

string

string getData()

Return Value

string

$this setKey(string $key)

Parameters

string $key

Return Value

$this

$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

string getConfig()

Return Value

string

$this setConfig(string $config)

Parameters

string $config

Return Value

$this

string getCtype()

Return Value

string

$this setCtype(string $ctype)

Parameters

string $ctype

Return Value

$this

string getInheritable()

Return Value

string

$this setInheritable(string $inheritable)

Parameters

string $inheritable

Return Value

$this

$this setDescription(string $description)

Parameters

string $description

Return Value

$this

string getDescription()

Return Value

string

setCreationDate(int $creationDate)

Parameters

int $creationDate

int getCreationDate()

Return Value

int

setModificationDate(int $modificationDate)

Parameters

int $modificationDate

int getModificationDate()

Return Value

int