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

List of all members.

Public Member Functions

 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

 arrow ($dir, $alt= '', $title= '')
 Generate HTML for an arrow or placeholder graphic.
 downArrow ()
 Generate HTML for a down-facing arrow depending on language direction.
 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.
 sideArrow ()
 Generate HTML for a right- or left-facing arrow, depending on language direction.
 spacerArrow ()
 Generate HTML for a spacer image.

Protected Attributes

 $rc_cache

Detailed Description

Definition at line 23 of file EnhancedChangesList.php.


Member Function Documentation

EnhancedChangesList::arrow ( dir,
alt = '',
title = '' 
) [protected]

Generate HTML for an arrow or placeholder graphic.

Parameters:
string$dirone of '', 'd', 'l', 'r'
string$alttext
string$titletext
Returns:
String: HTML "<img>" tag

Definition at line 502 of file EnhancedChangesList.php.

References $dir, $title, and global.

Referenced by downArrow(), sideArrow(), and spacerArrow().

Add the JavaScript file for enhanced changeslist.

Returns:
String

Reimplemented from ChangesList.

Definition at line 31 of file EnhancedChangesList.php.

References array(), and ContextSource\getOutput().

Generate HTML for a down-facing arrow depending on language direction.

Returns:
String: HTML "<img>" tag

Definition at line 525 of file EnhancedChangesList.php.

References arrow(), ContextSource\msg(), and text.

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 657 of file EnhancedChangesList.php.

References recentChangesBlock().

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 631 of file EnhancedChangesList.php.

References as, recentChangesBlockGroup(), recentChangesBlockLine(), wfProfileIn(), and wfProfileOut().

Referenced by endRecentChangesList(), and recentChangesLine().

Generate HTML for a right- or left-facing arrow, depending on language direction.

Returns:
String: HTML "<img>" tag

Definition at line 515 of file EnhancedChangesList.php.

References $dir, arrow(), ContextSource\getLanguage(), ContextSource\msg(), and text.

Generate HTML for a spacer image.

Returns:
String: HTML "<img>" tag

Definition at line 533 of file EnhancedChangesList.php.

References arrow(), and codepointToUtf8().


Member Data Documentation

EnhancedChangesList::$rc_cache [protected]

Definition at line 25 of file EnhancedChangesList.php.


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