MediaWiki  1.28.1
ChangeTagsLogItem Class Reference

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

Inheritance diagram for ChangeTagsLogItem:
Collaboration diagram for ChangeTagsLogItem:

Public Member Functions

 canView ()
 
 canViewContent ()
 
 getAuthorIdField ()
 
 getAuthorNameField ()
 
 getHTML ()
 
 getIdField ()
 
 getTags ()
 
 getTimestampField ()
 
- 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 Attributes inherited from RevisionItemBase
RevisionListBase $list
 The parent. More...
 
 $row
 The database result row. More...
 

Detailed Description

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

Todo:
Abstract out a base class for this and RevDelLogItem, similar to the RevisionItem class but specifically for log items.
Since
1.25

Definition at line 28 of file ChangeTagsLogItem.php.

Member Function Documentation

ChangeTagsLogItem::canView ( )

Definition at line 45 of file ChangeTagsLogItem.php.

References Revision\DELETED_RESTRICTED, list, and LogEventsList\userCan().

ChangeTagsLogItem::canViewContent ( )

Definition at line 49 of file ChangeTagsLogItem.php.

ChangeTagsLogItem::getAuthorIdField ( )

Definition at line 37 of file ChangeTagsLogItem.php.

ChangeTagsLogItem::getAuthorNameField ( )

Definition at line 41 of file ChangeTagsLogItem.php.

ChangeTagsLogItem::getHTML ( )
ChangeTagsLogItem::getIdField ( )

Definition at line 29 of file ChangeTagsLogItem.php.

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

Definition at line 56 of file ChangeTagsLogItem.php.

Referenced by getHTML().

ChangeTagsLogItem::getTimestampField ( )

Definition at line 33 of file ChangeTagsLogItem.php.


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