Detailed Description
A PersistenceOperation instance holds data necessary to accomplish an operation on the persistent store.
Definition at line 21 of file PersistenceOperation.php.
Public Member Functions | |
__construct ($type, array $values, array $criteria) | |
getType () | |
getValues () | |
getCriteria () | |
__toString () | |
Protected Attributes | |
$type = null | |
$values = null | |
$criteria = null | |
Constructor & Destructor Documentation
◆ __construct()
__construct | ( | $type, | |
array | $values, | ||
array | $criteria | ||
) |
Constructor.
- Parameters
-
$type The type of PersistentObject on which the operation should be executed $values An array of attribute/value pairs to apply $criteria An array of criteria instances to select the objects on which the operation will be executed
Definition at line 35 of file PersistenceOperation.php.
Member Function Documentation
◆ getType()
getType | ( | ) |
Get the type of PersistentObject on which the operation should be executed.
- Returns
- String
Definition at line 45 of file PersistenceOperation.php.
◆ getValues()
getValues | ( | ) |
Get values to apply.
- Returns
- Array of attribute/value pairs
Definition at line 53 of file PersistenceOperation.php.
◆ getCriteria()
getCriteria | ( | ) |
Get criteria to match.
- Returns
- Array of Criteria instances
Definition at line 61 of file PersistenceOperation.php.
◆ __toString()
__toString | ( | ) |
Get a string representation of the operation.
- Returns
- String
Definition at line 69 of file PersistenceOperation.php.
Member Data Documentation
◆ $type
|
protected |
Definition at line 23 of file PersistenceOperation.php.
◆ $values
|
protected |
Definition at line 24 of file PersistenceOperation.php.
◆ $criteria
|
protected |
Definition at line 25 of file PersistenceOperation.php.