MediaWiki  master
HTMLCacheUpdate Class Reference

HTML file cache invalidation all the pages linking to a given title. More...

Inheritance diagram for HTMLCacheUpdate:
Collaboration diagram for HTMLCacheUpdate:

Public Member Functions

 __construct (Title $titleTo, $table, $causeAction='unknown', $causeAgent='unknown')
 doUpdate ()
 Perform the actual work. More...
- Public Member Functions inherited from DataUpdate
 __construct ()
 getCauseAction ()
 getCauseAgent ()
 setCause ( $action, $user)
 setTransactionTicket ( $ticket)

Private Attributes

string $table
Title $title

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

HTML file cache invalidation all the pages linking to a given title.

Since 1.34; Enqueue jobs from HTMLCacheUpdateJob::newForBacklinks instead

Definition at line 27 of file HTMLCacheUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

HTMLCacheUpdate::__construct ( Title  $titleTo,
  $causeAction = 'unknown',
  $causeAgent = 'unknown' 
string$causeActionTriggering action
string$causeAgentTriggering user

Definition at line 39 of file HTMLCacheUpdate.php.

References DataUpdate\$causeAction, DataUpdate\$causeAgent, and $table.

Member Function Documentation

◆ doUpdate()

HTMLCacheUpdate::doUpdate ( )

Member Data Documentation

◆ $table

string HTMLCacheUpdate::$table

Definition at line 31 of file HTMLCacheUpdate.php.

Referenced by __construct().

◆ $title

Title HTMLCacheUpdate::$title

Definition at line 29 of file HTMLCacheUpdate.php.

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