Interface ModelInterface.
__clone() : void
getId() : mixed
mixedThe Id for this model.getMeta(string $strMetaName) : mixed
stringThe meta information to retrieve.
mixedThe set meta information or null if undefined.getPropertiesAsArray() : array
arraygetProperty(string $strPropertyName) : mixed
stringThe property name to be retrieved.
mixedThe value of the given property.getProviderName() : string
stringthe name of the corresponding data provider.hasProperties() : boolean
booleantrue if any property has been stored, false otherwise.readFromPropertyValueBag(\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface $valueBag) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterfaceThe 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
mixedCould be a integer, string or anything else - depends on the provider implementation.
setMeta(string $strMetaName, mixed $varValue) : void
stringThe meta information name.
mixedThe meta information value to store.
setPropertiesAsArray(array $arrProperties) : void
arrayThe property values as name => value pairs.
setProperty(string $strPropertyName, mixed $varValue) : void
stringThe property name to be set.
mixedThe value to be set.
writeToPropertyValueBag(\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface $valueBag) : \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface
\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterfaceThe 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