Elgg
Version master
|
Subscribe all content owners to their own content. More...
Public Member Functions | |
getVersion () | |
needsIncrementOffset () | |
shouldBeSkipped () | |
countItems () | |
run (Result $result, $offset) | |
Public Member Functions inherited from Elgg\Upgrade\Batch | |
__construct (protected?\ElggUpgrade $upgrade=null) | |
Constructs a upgrade batch. More... | |
getVersion () | |
Version of the upgrade. More... | |
shouldBeSkipped () | |
Should this upgrade be skipped? More... | |
needsIncrementOffset () | |
Should the run() method receive an offset representing all processed items? More... | |
countItems () | |
The total number of items to process during the upgrade. More... | |
run (Result $result, $offset) | |
Runs upgrade on a single batch of items. More... | |
getUpgrade () | |
Returns the related upgrade entity. More... | |
Protected Member Functions | |
getOptions (array $options=[]) | |
Get query options. More... | |
Additional Inherited Members | |
Public Attributes inherited from Elgg\Upgrade\Batch | |
const | UNKNOWN_COUNT = -1 |
countItems() should return this if it doesn't know how many items remain. More... | |
Subscribe all content owners to their own content.
Definition at line 16 of file ContentOwnerSubscriptions.php.
Elgg\Upgrades\ContentOwnerSubscriptions::countItems | ( | ) |
Definition at line 47 of file ContentOwnerSubscriptions.php.
|
protected |
Get query options.
array | $options | additional options |
Definition at line 109 of file ContentOwnerSubscriptions.php.
Elgg\Upgrades\ContentOwnerSubscriptions::getVersion | ( | ) |
Definition at line 21 of file ContentOwnerSubscriptions.php.
Elgg\Upgrades\ContentOwnerSubscriptions::needsIncrementOffset | ( | ) |
Definition at line 28 of file ContentOwnerSubscriptions.php.
Elgg\Upgrades\ContentOwnerSubscriptions::run | ( | Result | $result, |
$offset | |||
) |
Definition at line 54 of file ContentOwnerSubscriptions.php.
Elgg\Upgrades\ContentOwnerSubscriptions::shouldBeSkipped | ( | ) |
Definition at line 35 of file ContentOwnerSubscriptions.php.