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.
 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 592 of file ChangesList.php.


Member Function Documentation

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

Generate HTML for an arrow or placeholder graphic.

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

Definition at line 1029 of file ChangesList.php.

References $title, and $wgStylePath.

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

EnhancedChangesList::beginRecentChangesList (  ) 

Add the JavaScript file for enhanced changeslist.

Returns:
String

Reimplemented from ChangesList.

Definition at line 597 of file ChangesList.php.

References $script, $wgStylePath, $wgStyleVersion, and Html::linkedScript().

EnhancedChangesList::downArrow (  )  [protected]

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

Returns:
String: HTML tag

Definition at line 1053 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 1183 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 1158 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 1042 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 1061 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 1069 of file ChangesList.php.

Referenced by recentChangesBlockGroup().


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

Generated on Sat Apr 30 22:57:36 2011 for MediaWiki by  doxygen 1.5.9