MediaWiki  1.30.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 ( $id)
 
 doUpdate ()
 Perform the actual work. More...
 
- Public Member Functions inherited from DataUpdate
 __construct ()
 
 setTransactionTicket ( $ticket)
 

Private Attributes

string $id
 Gadget id. 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
mixed $ticket
 Result from LBFactory::getEmptyTransactionTicket() More...
 

Detailed Description

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

Definition at line 27 of file GadgetDefinitionDeletionUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

GadgetDefinitionDeletionUpdate::__construct (   $id)

Definition at line 34 of file GadgetDefinitionDeletionUpdate.php.

References $id.

Member Function Documentation

◆ doUpdate()

GadgetDefinitionDeletionUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 38 of file GadgetDefinitionDeletionUpdate.php.

References GadgetRepo\singleton().

Member Data Documentation

◆ $id

string GadgetDefinitionDeletionUpdate::$id
private

Gadget id.

Definition at line 32 of file GadgetDefinitionDeletionUpdate.php.

Referenced by __construct().


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