MediaWiki  REL1_21
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 696 of file ChangesList.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 1144 of file ChangesList.php.

Add the JavaScript file for enhanced changeslist.

Returns:
String

Reimplemented from ChangesList.

Definition at line 704 of file ChangesList.php.

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

Returns:
String: HTML "<img>" tag

Definition at line 1167 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 1298 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 1272 of file ChangesList.php.

Enhanced RC group.

Returns:
string

Definition at line 865 of file ChangesList.php.

Enhanced RC ungrouped line.

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

Definition at line 1185 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 721 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 1157 of file ChangesList.php.

Generate HTML for a spacer image.

Returns:
String: HTML "<img>" tag

Definition at line 1175 of file ChangesList.php.


Member Data Documentation

EnhancedChangesList::$rc_cache [protected]

Definition at line 698 of file ChangesList.php.


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