|
const | TYPE_INSERT = 0 |
|
const | TYPE_UPDATE = 1 |
|
const | TYPE_DELETE = 2 |
|
◆ __construct()
SWLPropertyChange::__construct |
( |
|
$oldValue, |
|
|
|
$newValue |
|
) |
| |
◆ getNewValue()
SWLPropertyChange::getNewValue |
( |
| ) |
|
returns the new value, or null if there is none.
- Returns
- SMWDataItem or null
◆ getOldValue()
SWLPropertyChange::getOldValue |
( |
| ) |
|
Retruns the old value, or null if there is none.
- Returns
- SMWDataItem or null
◆ getSerialization()
SWLPropertyChange::getSerialization |
( |
| ) |
|
Returns a serialized version of the change, suitable to do equal comparisions but not to unserialize.
- Returns
- string
◆ getType()
SWLPropertyChange::getType |
( |
| ) |
|
Returns the type of the change.
- Returns
- element of the SWLPropertyChange::TYPE_ enum
◆ newFromSerialization()
static SWLPropertyChange::newFromSerialization |
( |
SMWDIProperty |
$property, |
|
|
|
$oldValue, |
|
|
|
$newValue |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: