Class AbstractModel
Class AbstractModel. Abstract base class for data provider models. This class
implements the setter and getter for meta data.
-
DcGeneral\Data\AbstractModel
implements
DcGeneral\Data\ModelInterface
Methods summary
public
mixed
|
#
getMeta( string $strMetaName )
Fetch meta information from model.
Fetch meta information from model.
Parameters
- $strMetaName
string $strMetaName The meta information to retrieve.
Returns
mixed The set meta information or null if undefined.
Implementation of
|
public
|
#
setMeta( string $strMetaName, mixed $varValue )
Update meta information in the model.
Update meta information in the model.
Parameters
- $strMetaName
string $strMetaName The meta information name.
- $varValue
mixed $varValue The meta information value to store.
Implementation of
|
Methods inherited from DcGeneral\Data\ModelInterface
__clone(),
getId(),
getPropertiesAsArray(),
getProperty(),
getProviderName(),
hasProperties(),
readFromPropertyValueBag(),
setId(),
setPropertiesAsArray(),
setProperty(),
writeToPropertyValueBag()
|
Methods inherited from IteratorAggregate
getIterator()
|
Properties summary
protected
array
|
$arrMetaInformation
|
array() |
#
A list with all meta information.
A list with all meta information.
|