MediaWiki  REL1_20
EnhancedChangesList Class Reference

Generate a list of changes using an Enhanced system (uses javascript). More...

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

Generate a list of changes using an Enhanced system (uses javascript).

Definition at line 671 of file ChangesList.php.


Member Function Documentation

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

Generate HTML for an arrow or placeholder graphic.

Parameters:
$dirString: one of '', 'd', 'l', 'r'
$altString: text
$titleString: text
Returns:
String: HTML "<img>" tag

Definition at line 1110 of file ChangesList.php.

Add the JavaScript file for enhanced changeslist.

Returns:
String

Reimplemented from ChangesList.

Definition at line 679 of file ChangesList.php.

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

Returns:
String: HTML "<img>" tag

Definition at line 1133 of file ChangesList.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 1265 of file ChangesList.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 1239 of file ChangesList.php.

Enhanced RC group.

Returns:
string

Definition at line 840 of file ChangesList.php.

Enhanced RC ungrouped line.

Parameters:
$rcObjRecentChange
Returns:
String: a HTML formatted line (generated using $r)

Definition at line 1151 of file ChangesList.php.

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

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

Parameters:
$baseRCRecentChange
$watchedbool
Returns:
string

Definition at line 696 of file ChangesList.php.

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

Returns:
String: HTML "<img>" tag

Definition at line 1123 of file ChangesList.php.

Generate HTML for a spacer image.

Returns:
String: HTML "<img>" tag

Definition at line 1141 of file ChangesList.php.


Member Data Documentation

EnhancedChangesList::$rc_cache [protected]

Definition at line 673 of file ChangesList.php.


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