TYPO3
7.6
|
Public Member Functions | |
getUid () | |
setPid ($pid) | |
getPid () | |
_isNew () | |
_setProperty ($propertyName, $value) | |
_getProperty ($propertyName) | |
_getProperties () | |
_getCleanProperty ($propertyName) | |
A Domain Object Interface. All domain objects which should be persisted need to implement the below interface. Usually you will need to subclass and instead.
Definition at line 25 of file DomainObjectInterface.php.
_getCleanProperty | ( | $propertyName | ) |
Returns the clean value of the given property. The returned value will be NULL if the clean state was not memorized before, or if the clean value is NULL.
string | $propertyName | The name of the property to be memorized. |
Implemented in AbstractDomainObject.
_getProperties | ( | ) |
Returns a hash map of property names and property values
Implemented in AbstractDomainObject.
Referenced by DataMapper\thawProperties().
_getProperty | ( | $propertyName | ) |
Returns the property value of the given property name. Only for internal use.
string | $propertyName |
Implemented in AbstractDomainObject.
_isNew | ( | ) |
Returns TRUE if the object is new (the uid was not set, yet). Only for internal use
Implemented in AbstractDomainObject.
_setProperty | ( | $propertyName, | |
$value | |||
) |
Reconstitutes a property. Only for internal use.
string | $propertyName | |
string | $value |
Implemented in AbstractDomainObject.
Referenced by DataMapper\thawProperties().
getPid | ( | ) |
Getter for the pid.
Implemented in LogEntry, and AbstractDomainObject.
getUid | ( | ) |
setPid | ( | $pid | ) |
Setter for the pid.
int | $pid |
Implemented in LogEntry, and AbstractDomainObject.