class Dao extends AbstractDao (View source)

Traits

Constants

CACHEKEY

Properties

Listing $model
Connection $db from AbstractDao

Methods

$this
setModel(AbstractModel $model)

No description

from DaoTrait
assignVariablesToModel(array $data)

No description

from DaoTrait
configure()

No description

beginTransaction()

No description

commit()

No description

rollBack()

No description

array|mixed
getValidTableColumns(string $table, bool $cache = true)

No description

resetValidTableColumnsCache($table)

Clears the column information for the given table.

string
getOrder()

No description

string
getGroupBy()

No description

string
getOffsetLimit()

No description

string
getCondition()

No description

$this
addOrder(QueryBuilder $select)

No description

$this
addGroupBy(QueryBuilder $select)

No description

$this
addLimit(QueryBuilder $select)

No description

$this
addConditions(QueryBuilder $select)

No description

array
load()

Loads a list of gridconfigs for the specicified parameters, returns an array of GridConfig elements

int
getTotalCount()

No description

Details

$this setModel(AbstractModel $model)

Parameters

AbstractModel $model

Return Value

$this

protected assignVariablesToModel(array $data)

Parameters

array $data

configure()

beginTransaction()

commit()

rollBack()

array|mixed getValidTableColumns(string $table, bool $cache = true)

Parameters

string $table
bool $cache

Return Value

array|mixed

resetValidTableColumnsCache($table)

Clears the column information for the given table.

Parameters

$table

protected string getOrder()

Return Value

string

protected string getGroupBy()

Return Value

string

protected string getOffsetLimit()

Return Value

string

protected string getCondition()

Return Value

string

protected $this addOrder(QueryBuilder $select)

Parameters

QueryBuilder $select

Return Value

$this

protected $this addGroupBy(QueryBuilder $select)

Parameters

QueryBuilder $select

Return Value

$this

protected $this addLimit(QueryBuilder $select)

Parameters

QueryBuilder $select

Return Value

$this

protected $this addConditions(QueryBuilder $select)

Parameters

QueryBuilder $select

Return Value

$this

array load()

Loads a list of gridconfigs for the specicified parameters, returns an array of GridConfig elements

Return Value

array

int getTotalCount()

Return Value

int