abstract class AbstractDao implements DaoInterface (View source)

Traits

Constants

CACHEKEY

Properties

protected AbstractModel $model from DaoTrait
Connection $db

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.

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