MediaWiki
1.30.0
|
Item class for a logging table row with its associated change tags. More...
Public Member Functions | |
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... | |
getAuthorIdField () | |
Get the DB field name storing user ids. More... | |
getAuthorNameField () | |
Get the DB field name storing user names. More... | |
getHTML () | |
getIdField () | |
Get the DB field name associated with the ID list. More... | |
getTags () | |
getTimestampField () | |
Get the DB field name storing timestamps. More... | |
Public Member Functions inherited from RevisionItemBase | |
__construct ( $list, $row) | |
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... | |
getAuthorName () | |
Get the author user name. More... | |
getId () | |
Get the ID, as it would appear in the ids URL parameter. More... | |
getTimestamp () | |
Get the timestamp in MW 14-char form. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from RevisionItemBase | |
getLinkRenderer () | |
Returns an instance of LinkRenderer. More... | |
Protected Attributes inherited from RevisionItemBase | |
RevisionListBase | $list |
The parent. More... | |
$row | |
The database result row. More... | |
Item class for a logging table row with its associated change tags.
Definition at line 30 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::canView | ( | ) |
Returns true if the current user can view the item.
Reimplemented from RevisionItemBase.
Definition at line 47 of file ChangeTagsLogItem.php.
References Revision\DELETED_RESTRICTED, list, and LogEventsList\userCan().
ChangeTagsLogItem::canViewContent | ( | ) |
Returns true if the current user can view the item text/file.
Reimplemented from RevisionItemBase.
Definition at line 51 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorIdField | ( | ) |
Get the DB field name storing user ids.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 39 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorNameField | ( | ) |
Get the DB field name storing user names.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 43 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getHTML | ( | ) |
Reimplemented from RevisionItemBase.
Definition at line 66 of file ChangeTagsLogItem.php.
References $attribs, $title, LogPage\DELETED_COMMENT, LogFormatter\FOR_THIS_USER, ChangeTags\formatSummaryRow(), getTags(), SpecialPage\getTitleFor(), LogEventsList\isDeleted(), list, Title\makeTitle(), LogFormatter\newFromRow(), and Xml\tags().
ChangeTagsLogItem::getIdField | ( | ) |
Get the DB field name associated with the ID list.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 31 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getTags | ( | ) |
Definition at line 58 of file ChangeTagsLogItem.php.
Referenced by getHTML().
ChangeTagsLogItem::getTimestampField | ( | ) |
Get the DB field name storing timestamps.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 35 of file ChangeTagsLogItem.php.