MediaWiki REL1_34
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.
 
- Public Member Functions inherited from DataUpdate
 __construct ()
 
 getCauseAction ()
 
 getCauseAgent ()
 
 setCause ( $action, $user)
 
 setTransactionTicket ( $ticket)
 

Private Attributes

LinkTarget $target
 Page that was deleted.
 

Additional Inherited Members

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

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: