[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/changes/ -> EnhancedChangesList.php (summary)

(no description)

File Size: 595 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

EnhancedChangesList:: (9 methods):
  __construct()
  beginRecentChangesList()
  recentChangesLine()
  addCacheEntry()
  makeCacheGroupingKey()
  recentChangesBlockGroup()
  recentChangesBlockLine()
  recentChangesBlock()
  endRecentChangesList()


Class: EnhancedChangesList  - X-Ref

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

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
http://www.gnu.org/copyleft/gpl.html

__construct( $obj )   X-Ref

param: IContextSource|Skin $obj

beginRecentChangesList()   X-Ref
Add the JavaScript file for enhanced changeslist

return: string

recentChangesLine( &$baseRC, $watched = false )   X-Ref
Format a line for enhanced recentchange (aka with javascript and block of lines).

param: RecentChange $baseRC
param: bool $watched
return: string

addCacheEntry( RCCacheEntry $cacheEntry )   X-Ref
Put accumulated information into the cache, for later display.
Page moves go on their own line.

param: RCCacheEntry $cacheEntry

makeCacheGroupingKey( RCCacheEntry $cacheEntry )   X-Ref

param: RCCacheEntry $cacheEntry
return: string

recentChangesBlockGroup( $block )   X-Ref
Enhanced RC group

param: RCCacheEntry[] $block
return: string

recentChangesBlockLine( $rcObj )   X-Ref
Enhanced RC ungrouped line.

param: RecentChange|RCCacheEntry $rcObj
return: string A HTML formatted line (generated using $r)

recentChangesBlock()   X-Ref
If enhanced RC is in use, this function takes the previously cached
RC lines, arranges them, and outputs the HTML

return: string

endRecentChangesList()   X-Ref
Returns text for the end of RC
If enhanced RC is in use, returns pretty much all the text

return: string



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1