EnhancedChangesList Class Reference

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

Inherits ChangesList.

List of all members.

Public Member Functions

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

Protected Member Functions

 recentChangesBlockGroup ($block)
 Enhanced RC group.
 arrow ($dir, $alt='', $title='')
 Generate HTML for an arrow or placeholder graphic.
 sideArrow ()
 Generate HTML for a right- or left-facing arrow, depending on language direction.
 downArrow ()
 Generate HTML for a down-facing arrow depending on language direction.
 spacerArrow ()
 Generate HTML for a spacer image.
 spacerIndent ()
 Add a set of spaces.
 recentChangesBlockLine ($rcObj)
 Enhanced RC ungrouped line.
 recentChangesBlock ()
 If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML.


Detailed Description

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

Definition at line 450 of file ChangesList.php.


Member Function Documentation

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

Generate HTML for an arrow or placeholder graphic.

Parameters:
string $dir one of '', 'd', 'l', 'r'
string $alt text
string $title text
Returns:
string HTML tag

Definition at line 860 of file ChangesList.php.

References $title, and $wgStylePath.

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

EnhancedChangesList::beginRecentChangesList (  ) 

Add the JavaScript file for enhanced changeslist @ return string.

Reimplemented from ChangesList.

Definition at line 455 of file ChangesList.php.

References $script, $wgJsMimeType, $wgStylePath, $wgStyleVersion, and Xml::tags().

EnhancedChangesList::downArrow (  )  [protected]

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

Returns:
string HTML tag

Definition at line 884 of file ChangesList.php.

References arrow(), and wfMsg().

Referenced by recentChangesBlockGroup().

EnhancedChangesList::endRecentChangesList (  ) 

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

Reimplemented from ChangesList.

Definition at line 1002 of file ChangesList.php.

References recentChangesBlock().

EnhancedChangesList::recentChangesBlock (  )  [protected]

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

Definition at line 977 of file ChangesList.php.

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

Referenced by endRecentChangesList(), and recentChangesLine().

EnhancedChangesList::recentChangesBlockGroup ( block  )  [protected]

EnhancedChangesList::recentChangesBlockLine ( rcObj  )  [protected]

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

EnhancedChangesList::sideArrow (  )  [protected]

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

Returns:
string HTML tag

Definition at line 873 of file ChangesList.php.

References $wgContLang, arrow(), and wfMsg().

Referenced by recentChangesBlockGroup().

EnhancedChangesList::spacerArrow (  )  [protected]

Generate HTML for a spacer image.

Returns:
string HTML tag

Definition at line 892 of file ChangesList.php.

References arrow(), and codepointToUtf8().

Referenced by recentChangesBlockLine().

EnhancedChangesList::spacerIndent (  )  [protected]

Add a set of spaces.

Returns:
string HTML

tag

Definition at line 900 of file ChangesList.php.

Referenced by recentChangesBlockGroup().


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

Generated on Sat Sep 5 02:08:36 2009 for MediaWiki by  doxygen 1.5.9