[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Holders of revision list for a single page 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.
File Size: | 393 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 4 times |
Includes or requires: | 0 files |
RevisionList:: (3 methods):
getType()
doQuery()
newItem()
RevisionItem:: (11 methods):
__construct()
getIdField()
getTimestampField()
getAuthorIdField()
getAuthorNameField()
canView()
canViewContent()
isDeleted()
getRevisionLink()
getDiffLink()
getHTML()
Class: RevisionList - X-Ref
Class: RevisionItem - X-Ref
Item class for a live revision table row__construct( $list, $row ) X-Ref |
No description |
getIdField() X-Ref |
No description |
getTimestampField() X-Ref |
No description |
getAuthorIdField() X-Ref |
No description |
getAuthorNameField() X-Ref |
No description |
canView() X-Ref |
No description |
canViewContent() X-Ref |
No description |
isDeleted() X-Ref |
No description |
getRevisionLink() X-Ref |
Get the HTML link to the revision text. Overridden by RevDelArchiveItem. return: string |
getDiffLink() X-Ref |
Get the HTML link to the diff. Overridden by RevDelArchiveItem return: string |
getHTML() X-Ref |
No description |
__construct( IContextSource $context, Title $title ) X-Ref |
Construct a revision list for a given title param: IContextSource $context param: Title $title |
filterByIds( array $ids ) X-Ref |
Select items only where the ID is any of the specified values param: array $ids |
getType() X-Ref |
Get the internal type name of this list. Equal to the table name. Override this function. return: null |
initCurrent() X-Ref |
Initialise the current iteration pointer |
reset() X-Ref |
Start iteration. This must be called before current() or next(). return: Revision First list item |
current() X-Ref |
Get the current list item, or false if we are at the end return: Revision |
next() X-Ref |
Move the iteration pointer to the next list item, and return it. return: Revision |
length() X-Ref |
Get the number of items in the list. return: int |
__construct( $list, $row ) X-Ref |
param: RevisionListBase $list param: object $row DB result row |
getIdField() X-Ref |
Get the DB field name associated with the ID list. Override this function. return: null |
getTimestampField() X-Ref |
Get the DB field name storing timestamps. Override this function. return: bool |
getAuthorIdField() X-Ref |
Get the DB field name storing user ids. Override this function. return: bool |
getAuthorNameField() X-Ref |
Get the DB field name storing user names. Override this function. return: bool |
getId() X-Ref |
Get the ID, as it would appear in the ids URL parameter return: int |
formatDate() X-Ref |
Get the date, formatted in user's language return: string |
formatTime() X-Ref |
Get the time, formatted in user's language return: string |
getTimestamp() X-Ref |
Get the timestamp in MW 14-char form return: mixed |
getAuthorId() X-Ref |
Get the author user ID return: int |
getAuthorName() X-Ref |
Get the author user name return: string |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |