Elgg  Version 5.1
Public Member Functions | List of all members
Elgg\Upgrades\MigrateACLNotificationPreferences Class Reference

Migrate the old access collection notification preferences to the new logic The old settings are from the Notifications plugin. More...

Inheritance diagram for Elgg\Upgrades\MigrateACLNotificationPreferences:
Elgg\Upgrade\AsynchronousUpgrade Elgg\Upgrade\Batch

Public Member Functions

 getVersion ()
 
 needsIncrementOffset ()
 
 shouldBeSkipped ()
 
 countItems ()
 
 run (Result $result, $offset)
 
- Public Member Functions inherited from Elgg\Upgrade\Batch
 __construct (\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...
 

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...
 
- Protected Attributes inherited from Elgg\Upgrade\Batch
 $upgrade
 

Detailed Description

Migrate the old access collection notification preferences to the new logic The old settings are from the Notifications plugin.

Since
4.0

Definition at line 15 of file MigrateACLNotificationPreferences.php.

Member Function Documentation

Elgg\Upgrades\MigrateACLNotificationPreferences::countItems ( )

Definition at line 41 of file MigrateACLNotificationPreferences.php.

Elgg\Upgrades\MigrateACLNotificationPreferences::getVersion ( )

Definition at line 20 of file MigrateACLNotificationPreferences.php.

Elgg\Upgrades\MigrateACLNotificationPreferences::needsIncrementOffset ( )

Definition at line 27 of file MigrateACLNotificationPreferences.php.

Elgg\Upgrades\MigrateACLNotificationPreferences::run ( Result  $result,
  $offset 
)

Definition at line 56 of file MigrateACLNotificationPreferences.php.

Elgg\Upgrades\MigrateACLNotificationPreferences::shouldBeSkipped ( )

Definition at line 34 of file MigrateACLNotificationPreferences.php.


The documentation for this class was generated from the following file: