Class DefaultModel.
__clone() : void
getID() : string
stringThe ID for this model.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\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.
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.
setPropertyRaw(string $strPropertyName, mixed $varValue) : void
stringThe property name to be set.
mixedThe value to be set.
setProviderName(string $strProviderName) : void
stringThe name of the corresponding data provider.
writeToPropertyValueBag(\ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBagInterface $valueBag)
$arrProperties : array
$mixID : mixed
$strProviderName : string