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