MediaWiki  1.23.2
RCCacheEntry Class Reference
Inheritance diagram for RCCacheEntry:
Collaboration diagram for RCCacheEntry:

Static Public Member Functions

static newFromParent ( $rc)
- Static Public Member Functions inherited from RecentChange
static cleanupForIRC ( $text)
static getEngine ( $uri)
 Gets the stream engine object for a given URI from $wgRCEngines. More...
static isInRCLifespan ( $timestamp, $tolerance=0)
 Check whether the given timestamp is new enough to have a RC row with a given tolerance as the recentchanges table might not be cleared out regularly (so older entries might exist) or rows which will be deleted soon shouldn't be included. More...
static markPatrolled ( $change, $auto=false)
 Mark a given change as patrolled. More...
static newFromConds ( $conds, $fname=__METHOD__, $options=array())
 Find the first recent change matching some specific conditions. More...
static newFromCurRow ( $row)
 No uses left in Gerrit on 2013-11-19. More...
static newFromId ( $rcid)
 Obtain the recent change with a given rc_id value. More...
static newFromRow ( $row)
static newLogEntry ( $timestamp, &$title, &$user, $actionComment, $ip, $type, $action, $target, $logComment, $params, $newId=0, $actionCommentIRC='')
static notifyEdit ( $timestamp, &$title, $minor, &$user, $comment, $oldId, $lastTimestamp, $bot, $ip='', $oldSize=0, $newSize=0, $newId=0, $patrol=0)
 Makes an entry in the database corresponding to an edit. More...
static notifyLog ( $timestamp, &$title, &$user, $actionComment, $ip, $type, $action, $target, $logComment, $params, $newId=0, $actionCommentIRC='')
static notifyNew ( $timestamp, &$title, $minor, &$user, $comment, $bot, $ip='', $size=0, $newId=0, $patrol=0)
 Makes an entry in the database corresponding to page creation Note: the title object must be loaded with the new id using resetArticleID() More...
static purgeExpiredChanges ()
 Purge expired changes from the recentchanges table. More...
static selectFields ()
 Return the list of recentchanges fields that should be selected to create a new recentchanges object. More...
static sendToUDP ( $line, $address='', $prefix='', $port='')
 Send some text to UDP. More...

Public Attributes

- Public Attributes inherited from RecentChange
int $counter = -1
 Line number of recent change. More...
 $mAttribs = array()
 $mExtra = array()
Title $mTitle = false
 $numberofWatchingusers = 0
const SRC_EDIT = 'mw.edit'
const SRC_EXTERNAL = 'mw.external'
const SRC_LOG = 'mw.log'
const SRC_NEW = ''

Additional Inherited Members

- Public Member Functions inherited from RecentChange
 diffLinkTrail ( $forceCur)
 Gets the end part of the diff URL associated with this object Blank if no diff link should be displayed. More...
 doMarkPatrolled (User $user, $auto=false)
 Mark this RecentChange as patrolled. More...
 getAttribute ( $name)
 Get an attribute value. More...
 getAttributes ()
 getCharacterDifference ( $old=0, $new=0)
 Returns the change size (HTML). More...
 getPerformer ()
 Get the User object of the person who performed this change. More...
getTitle ()
 loadFromCurRow ( $row)
 Makes a pseudo-RC entry from a cur row. More...
 loadFromRow ( $row)
 Initialises the members of this object from a mysql row object. More...
 notifyRC2UDP ()
 notifyRCFeeds ()
 Notify all the feeds about the change. More...
 reallyMarkPatrolled ()
 Mark this RecentChange patrolled, without error checking. More...
 save ( $noudp=false)
 Writes the data in this object to the database. More...
 setAttribs ( $attribs)
 setExtra ( $extra)

Detailed Description

Definition at line 21 of file RCCacheEntry.php.

Member Function Documentation

◆ newFromParent()

static RCCacheEntry::newFromParent (   $rc)

Definition at line 36 of file RCCacheEntry.php.

Referenced by RCCacheEntryFactory\newFromRecentChange().

Member Data Documentation

◆ $curlink


Definition at line 22 of file RCCacheEntry.php.

◆ $difflink


Definition at line 23 of file RCCacheEntry.php.

◆ $lastlink


Definition at line 24 of file RCCacheEntry.php.

◆ $link


Definition at line 25 of file RCCacheEntry.php.

◆ $timestamp


Definition at line 26 of file RCCacheEntry.php.

◆ $unpatrolled


Definition at line 27 of file RCCacheEntry.php.

◆ $userlink


Definition at line 28 of file RCCacheEntry.php.

◆ $usertalklink


Definition at line 29 of file RCCacheEntry.php.

◆ $watched


Definition at line 30 of file RCCacheEntry.php.

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