MediaWiki  REL1_24
EnhancedChangesList Class Reference
Inheritance diagram for EnhancedChangesList:
Collaboration diagram for EnhancedChangesList:

List of all members.

Public Member Functions

 __construct ($obj)
 beginRecentChangesList ()
 Add the JavaScript file for enhanced changeslist.
 endRecentChangesList ()
 Returns text for the end of RC If enhanced RC is in use, returns pretty much all the text.
 recentChangesLine (&$baseRC, $watched=false)
 Format a line for enhanced recentchange (aka with javascript and block of lines).

Protected Member Functions

 addCacheEntry (RCCacheEntry $cacheEntry)
 Put accumulated information into the cache, for later display.
 makeCacheGroupingKey (RCCacheEntry $cacheEntry)
 recentChangesBlock ()
 If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML.
 recentChangesBlockGroup ($block)
 Enhanced RC group.
 recentChangesBlockLine ($rcObj)
 Enhanced RC ungrouped line.

Protected Attributes

RCCacheEntryFactory $cacheEntryFactory
array $rc_cache
 Array of array of RCCacheEntry.

Detailed Description

Definition at line 23 of file EnhancedChangesList.php.


Constructor & Destructor Documentation

Parameters:
IContextSource | Skin$obj

Reimplemented from ChangesList.

Definition at line 36 of file EnhancedChangesList.php.


Member Function Documentation

EnhancedChangesList::addCacheEntry ( RCCacheEntry cacheEntry) [protected]

Put accumulated information into the cache, for later display.

Page moves go on their own line.

Parameters:
RCCacheEntry$cacheEntry

Definition at line 121 of file EnhancedChangesList.php.

Add the JavaScript file for enhanced changeslist.

Returns:
string

Reimplemented from ChangesList.

Definition at line 62 of file EnhancedChangesList.php.

Returns text for the end of RC If enhanced RC is in use, returns pretty much all the text.

Returns:
string

Reimplemented from ChangesList.

Definition at line 590 of file EnhancedChangesList.php.

Todo:
use rc_source to group, if set; fallback to rc_type
Parameters:
RCCacheEntry$cacheEntry
Returns:
string

Definition at line 138 of file EnhancedChangesList.php.

If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML.

Returns:
string

Definition at line 564 of file EnhancedChangesList.php.

Enhanced RC group.

Parameters:
RCCacheEntry[]$block
Returns:
string

Definition at line 160 of file EnhancedChangesList.php.

Enhanced RC ungrouped line.

Parameters:
RecentChange | RCCacheEntry$rcObj
Returns:
string A HTML formatted line (generated using $r)

Definition at line 480 of file EnhancedChangesList.php.

EnhancedChangesList::recentChangesLine ( &$  baseRC,
watched = false 
)

Format a line for enhanced recentchange (aka with javascript and block of lines).

Parameters:
RecentChange$baseRC
bool$watched
Returns:
string

Definition at line 88 of file EnhancedChangesList.php.


Member Data Documentation

RCCacheEntryFactory EnhancedChangesList::$cacheEntryFactory [protected]

Definition at line 27 of file EnhancedChangesList.php.

array EnhancedChangesList::$rc_cache [protected]

Array of array of RCCacheEntry.

Reimplemented from ChangesList.

Definition at line 31 of file EnhancedChangesList.php.


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