MediaWiki  1.27.2
ChangeTagsRevisionItem Class Reference

Item class for a live revision table row with its associated change tags. More...

Inheritance diagram for ChangeTagsRevisionItem:
Collaboration diagram for ChangeTagsRevisionItem:

Public Member Functions

 getHTML ()
 
 getTags ()
 
- Public Member Functions inherited from RevisionItem
 __construct ($list, $row)
 
 canView ()
 
 canViewContent ()
 
 getAuthorIdField ()
 
 getAuthorNameField ()
 
 getHTML ()
 
 getIdField ()
 
 getTimestampField ()
 
 isDeleted ()
 
- Public Member Functions inherited from RevisionItemBase
 __construct ($list, $row)
 
 canView ()
 Returns true if the current user can view the item. More...
 
 canViewContent ()
 Returns true if the current user can view the item text/file. More...
 
 formatDate ()
 Get the date, formatted in user's language. More...
 
 formatTime ()
 Get the time, formatted in user's language. More...
 
 getAuthorId ()
 Get the author user ID. More...
 
 getAuthorIdField ()
 Get the DB field name storing user ids. More...
 
 getAuthorName ()
 Get the author user name. More...
 
 getAuthorNameField ()
 Get the DB field name storing user names. More...
 
 getHTML ()
 Get the HTML of the list item. More...
 
 getId ()
 Get the ID, as it would appear in the ids URL parameter. More...
 
 getIdField ()
 Get the DB field name associated with the ID list. More...
 
 getTimestamp ()
 Get the timestamp in MW 14-char form. More...
 
 getTimestampField ()
 Get the DB field name storing timestamps. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RevisionItem
 getDiffLink ()
 Get the HTML link to the diff. More...
 
 getRevisionLink ()
 Get the HTML link to the revision text. More...
 
- Protected Attributes inherited from RevisionItem
RequestContext $context
 
Revision $revision
 
- Protected Attributes inherited from RevisionItemBase
RevisionListBase $list
 The parent. More...
 
 $row
 The database result row. More...
 

Detailed Description

Item class for a live revision table row with its associated change tags.

Since
1.25

Definition at line 26 of file ChangeTagsRevisionItem.php.

Member Function Documentation

ChangeTagsRevisionItem::getHTML ( )
Returns
string A HTML element representing this revision, showing change tags and everything

Definition at line 38 of file ChangeTagsRevisionItem.php.

References $attribs, $comment, $content, ChangeTags\formatSummaryRow(), RevisionItem\getDiffLink(), RevisionItem\getRevisionLink(), getTags(), RevisionItem\isDeleted(), list, Linker\revComment(), Linker\revUserLink(), and Xml\tags().

ChangeTagsRevisionItem::getTags ( )
Returns
string Comma-separated list of tags

Definition at line 30 of file ChangeTagsRevisionItem.php.

References row().

Referenced by getHTML().


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