class GridConfigFavourite extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
int $ownerId
int $classId
int $objectId
int $gridConfigId
string $searchType

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

getByOwnerAndClassAndObjectId($ownerId, $classId, $objectId = null, $searchType = '')

No description

save()

No description

delete()

Delete this favourite

int
getOwnerId()

No description

setOwnerId(int $ownerId)

No description

string
getClassId()

No description

setClassId(int $classId)

No description

int
getGridConfigId()

No description

setGridConfigId(int $gridConfigId)

No description

string
getSearchType()

No description

setSearchType(string $searchType)

No description

int
getObjectId()

No description

setObjectId(int $objectId)

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 GridConfigFavourite getByOwnerAndClassAndObjectId($ownerId, $classId, $objectId = null, $searchType = '')

Parameters

$ownerId
$classId
$objectId
$searchType

Return Value

GridConfigFavourite

save()

Exceptions

Exception

delete()

Delete this favourite

int getOwnerId()

Return Value

int

setOwnerId(int $ownerId)

Parameters

int $ownerId

string getClassId()

Return Value

string

setClassId(int $classId)

Parameters

int $classId

int getGridConfigId()

Return Value

int

setGridConfigId(int $gridConfigId)

Parameters

int $gridConfigId

string getSearchType()

Return Value

string

setSearchType(string $searchType)

Parameters

string $searchType

int getObjectId()

Return Value

int

setObjectId(int $objectId)

Parameters

int $objectId