class Fieldcollection extends AbstractModel implements Iterator (View source)

Properties

protected AbstractDao $dao from AbstractModel
array $items
$fieldname

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(array $items = [], null $fieldname = null)

No description

array
getItems()

No description

$this
setItems($items)

No description

getFieldname()

No description

$this
setFieldname($fieldname)

No description

array
getItemDefinitions()

No description

save($object)

No description

bool
isEmpty()

No description

add($item)

No description

remove($index)

No description

get($index)

No description

int
getCount()

No description

rewind()

No description

mixed
current()

No description

mixed
key()

No description

mixed
next()

No description

bool
valid()

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(array $items = [], null $fieldname = null)

Parameters

array $items
null $fieldname

array getItems()

Return Value

array

$this setItems($items)

Parameters

$items

Return Value

$this

getFieldname()

$this setFieldname($fieldname)

Parameters

$fieldname

Return Value

$this

array getItemDefinitions()

Return Value

array

save($object)

Parameters

$object

Exceptions

Exception

bool isEmpty()

Return Value

bool

add($item)

Parameters

$item

remove($index)

Parameters

$index

get($index)

Parameters

$index

int getCount()

Return Value

int

rewind()

mixed current()

Return Value

mixed

mixed key()

Return Value

mixed

mixed next()

Return Value

mixed

bool valid()

Return Value

bool