MediaWiki  1.34.0
GadgetDefinitionDeletionUpdate Class Reference

DataUpdate to run whenever a page in the Gadget definition is deleted. More...

Inheritance diagram for GadgetDefinitionDeletionUpdate:
Collaboration diagram for GadgetDefinitionDeletionUpdate:

Public Member Functions

 __construct (LinkTarget $target)
 
 doUpdate ()
 Perform the actual work. More...
 
- Public Member Functions inherited from DataUpdate
 __construct ()
 
 getCauseAction ()
 
 getCauseAgent ()
 
 setCause ( $action, $user)
 
 setTransactionTicket ( $ticket)
 

Private Attributes

LinkTarget $target
 Page that was deleted. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DataUpdate
static runUpdates (array $updates)
 Convenience method, calls doUpdate() on every DataUpdate in the array. More...
 
- Protected Attributes inherited from DataUpdate
string $causeAction = 'unknown'
 Short update cause action description. More...
 
string $causeAgent = 'unknown'
 Short update cause user description. More...
 
mixed $ticket
 Result from LBFactory::getEmptyTransactionTicket() More...
 

Detailed Description

DataUpdate to run whenever a page in the Gadget definition is deleted.

Definition at line 29 of file GadgetDefinitionDeletionUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

GadgetDefinitionDeletionUpdate::__construct ( LinkTarget  $target)

Definition at line 36 of file GadgetDefinitionDeletionUpdate.php.

References $target.

Member Function Documentation

◆ doUpdate()

GadgetDefinitionDeletionUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 40 of file GadgetDefinitionDeletionUpdate.php.

References GadgetRepo\singleton().

Member Data Documentation

◆ $target

LinkTarget GadgetDefinitionDeletionUpdate::$target
private

Page that was deleted.

Definition at line 34 of file GadgetDefinitionDeletionUpdate.php.

Referenced by __construct().


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