|
const | OP_INSERT = 'insert' |
|
const | OP_DELETE = 'delete' |
|
GNU GPL v2+
- Since
- 2.3
- Author
- mwjames
◆ __construct()
SMW\SQLStore\ChangeOp\ChangeOp::__construct |
( |
DIWikiPage |
$subject = null , |
|
|
array |
$diff = [] |
|
) |
| |
◆ addDataOp()
SMW\SQLStore\ChangeOp\ChangeOp::addDataOp |
( |
|
$hash, |
|
|
array |
$data |
|
) |
| |
◆ addDiffOp()
SMW\SQLStore\ChangeOp\ChangeOp::addDiffOp |
( |
array |
$insertOp, |
|
|
array |
$deleteOp |
|
) |
| |
- Since
- 2.3
- Parameters
-
array | $insertOp | |
array | $deleteOp | |
◆ addFixedPropertyRecord()
SMW\SQLStore\ChangeOp\ChangeOp::addFixedPropertyRecord |
( |
|
$tableName, |
|
|
array |
$fixedPropertyRecord |
|
) |
| |
- Since
- 2.3
- Parameters
-
array | $fixedPropertyRecord | |
◆ addPropertyList()
SMW\SQLStore\ChangeOp\ChangeOp::addPropertyList |
( |
|
$propertyList | ) |
|
◆ addTextItems()
SMW\SQLStore\ChangeOp\ChangeOp::addTextItems |
( |
|
$id, |
|
|
array |
$textItems |
|
) |
| |
◆ getChangedEntityIdListByType()
SMW\SQLStore\ChangeOp\ChangeOp::getChangedEntityIdListByType |
( |
|
$type = null | ) |
|
- Since
- 3.0
- Parameters
-
- Returns
- array
◆ getChangedEntityIdSummaryList()
SMW\SQLStore\ChangeOp\ChangeOp::getChangedEntityIdSummaryList |
( |
| ) |
|
◆ getCombinedIdListOfChangedEntities()
SMW\SQLStore\ChangeOp\ChangeOp::getCombinedIdListOfChangedEntities |
( |
| ) |
|
◆ getDataOps()
SMW\SQLStore\ChangeOp\ChangeOp::getDataOps |
( |
| ) |
|
◆ getFixedPropertyRecords()
SMW\SQLStore\ChangeOp\ChangeOp::getFixedPropertyRecords |
( |
| ) |
|
◆ getHash()
SMW\SQLStore\ChangeOp\ChangeOp::getHash |
( |
| ) |
|
◆ getIterator()
SMW\SQLStore\ChangeOp\ChangeOp::getIterator |
( |
| ) |
|
- Since
- 2.3
- Returns
- ArrayIterator
◆ getOrderedDiffByTable()
SMW\SQLStore\ChangeOp\ChangeOp::getOrderedDiffByTable |
( |
|
$table = null | ) |
|
Simplified (ordered by table) diff array to allow for an easier post-processing
- Since
- 2.3
- Returns
- array
◆ getPropertyList()
SMW\SQLStore\ChangeOp\ChangeOp::getPropertyList |
( |
| ) |
|
◆ getSubject()
SMW\SQLStore\ChangeOp\ChangeOp::getSubject |
( |
| ) |
|
◆ getTableChangeOps()
SMW\SQLStore\ChangeOp\ChangeOp::getTableChangeOps |
( |
|
$table = null | ) |
|
ChangeOp (TableChangeOp/FieldChangeOp) representation of the composite diff.
- Since
- 2.4
- Parameters
-
- Returns
- TableChangeOp[]|[]
◆ newChangeDiff()
SMW\SQLStore\ChangeOp\ChangeOp::newChangeDiff |
( |
| ) |
|
◆ setTextItemsFlag()
SMW\SQLStore\ChangeOp\ChangeOp::setTextItemsFlag |
( |
|
$textItemsFlag | ) |
|
◆ OP_INSERT
const SMW\SQLStore\ChangeOp\ChangeOp::OP_INSERT = 'insert' |
Type of change operations
The documentation for this class was generated from the following file: