MediaWiki master
ChangeTagsRevisionItem Class Reference

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

Inherits MediaWiki\RevisionList\RevisionItem.

Collaboration diagram for ChangeTagsRevisionItem:

Public Member Functions

 getHTML ()
 
 getTags ()
 
- Public Member Functions inherited from MediaWiki\RevisionList\RevisionItem
 __construct (RevisionListBase $list, $row)
 
Parameters
RevisionListBase$list
stdClass$rowDB result row

 
 canView ()
 Returns true if the current user can view the item.
Returns
bool

 
 canViewContent ()
 Returns true if the current user can view the item text/file.
Returns
bool

 
 getAuthorIdField ()
 Get the DB field name storing user ids.Override this function.

Returns
string|false

 
 getAuthorNameField ()
 Get the DB field name storing user names.Override this function.

Returns
string|false

 
 getIdField ()
 Get the DB field name associated with the ID list.Override this function.

Returns
string|null

 
 getTimestampField ()
 Get the DB field name storing timestamps.Override this function.

Returns
string|false

 
 isDeleted ()
 
- Public Member Functions inherited from MediaWiki\RevisionList\RevisionItemBase
 formatDate ()
 Get the date, formatted in user's language.
 
 formatTime ()
 Get the time, formatted in user's language.
 
 getAuthorActor ()
 Get the author actor ID.
 
 getAuthorActorField ()
 Get the DB field name storing actor ids.
 
 getAuthorId ()
 Get the author user ID.
 
 getAuthorName ()
 Get the author user name.
 
 getId ()
 Get the ID, as it would appear in the ids URL parameter.
 
 getTimestamp ()
 Get the timestamp in MW 14-char form.
 

Additional Inherited Members

- Protected Member Functions inherited from MediaWiki\RevisionList\RevisionItem
 getDiffLink ()
 Get the HTML link to the diff.
 
 getRevisionLink ()
 Get the HTML link to the revision text.
 
 getRevisionRecord ()
 Get the RevisionRecord for the item.
 
- Protected Member Functions inherited from MediaWiki\RevisionList\RevisionItemBase
 getLinkRenderer ()
 Returns an instance of LinkRenderer.
 
- Protected Attributes inherited from MediaWiki\RevisionList\RevisionItem
RequestContext $context
 
RevisionRecord $revisionRecord
 
- Protected Attributes inherited from MediaWiki\RevisionList\RevisionItemBase
RevisionListBase $list
 The parent.
 
stdClass $row
 The database result row.
 

Detailed Description

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

Since
1.25

Definition at line 32 of file ChangeTagsRevisionItem.php.

Member Function Documentation

◆ getHTML()

ChangeTagsRevisionItem::getHTML ( )

◆ getTags()

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

Definition at line 36 of file ChangeTagsRevisionItem.php.

Referenced by getHTML().


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