Interface ModelInterface.
__clone() : void
getId() : mixed
mixed
The Id for this model.getMeta(string $strMetaName) : mixed
string
The meta information to retrieve.
mixed
The set meta information or null if undefined.getPropertiesAsArray() : array
array
getProperty(string $strPropertyName) : mixed
string
The property name to be retrieved.
mixed
The value of the given property.getProviderName() : string
string
the name of the corresponding data provider.hasProperties() : boolean
boolean
true if any property has been stored, false otherwise.readFromPropertyValueBag(\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface $valueBag) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface
The value bag where to read from.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException |
When a property in the value bag has been marked as invalid. |
---|
setId(mixed $mixId) : void
mixed
Could be a integer, string or anything else - depends on the provider implementation.
setMeta(string $strMetaName, mixed $varValue) : void
string
The meta information name.
mixed
The meta information value to store.
setPropertiesAsArray(array $arrProperties) : void
array
The property values as name => value pairs.
setProperty(string $strPropertyName, mixed $varValue) : void
string
The property name to be set.
mixed
The value to be set.
writeToPropertyValueBag(\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface $valueBag) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface
The value bag where to write to.
CSS_CLASS
CSS_ROW_CLASS
GROUP_HEADER
GROUP_VALUE
HAS_CHILDREN
IS_CHANGED
LABEL_ARGS
LABEL_VALUE
OPERATION_BUTTONS
PARENT_ID
PARENT_PROVIDER_NAME