class Objectbrick extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
array $items
string $fieldname
Concrete $object
protected array $brickGetters

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

__construct(Concrete $object, string $fieldname)

No description

array
getItems(bool $withInheritedValues = false)

No description

$this
setItems($items)

No description

string
getFieldname()

No description

$this
setFieldname($fieldname)

No description

array
getBrickGetters()

No description

array
getAllowedBrickTypes()

No description

array
getItemDefinitions()

No description

save(Concrete $object)

No description

getObject()

No description

$this
setObject(AbstractObject $object)

No description

delete(Concrete $object)

No description

__wakeup()

No description

mixed
get(string $fieldName)

No description

mixed
set(string $fieldName, $value)

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

__construct(Concrete $object, string $fieldname)

Parameters

Concrete $object
string $fieldname

array getItems(bool $withInheritedValues = false)

Parameters

bool $withInheritedValues

Return Value

array

$this setItems($items)

Parameters

$items

Return Value

$this

string getFieldname()

Return Value

string

$this setFieldname($fieldname)

Parameters

$fieldname

Return Value

$this

array getBrickGetters()

Return Value

array

array getAllowedBrickTypes()

Return Value

array

array getItemDefinitions()

Return Value

array

save(Concrete $object)

Parameters

Concrete $object

AbstractObject getObject()

Return Value

AbstractObject

$this setObject(AbstractObject $object)

Parameters

AbstractObject $object

Return Value

$this

delete(Concrete $object)

Parameters

Concrete $object

__wakeup()

mixed get(string $fieldName)

Parameters

string $fieldName

Return Value

mixed

mixed set(string $fieldName, $value)

Parameters

string $fieldName
$value

Return Value

mixed