MediaWiki
master
|
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... | |
getAuthorActorField () | |
Get the DB field name storing actor ids. 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... | |
![]() | |
__construct (RevisionListBase $list, $row) | |
formatDate () | |
Get the date, formatted in user's language. More... | |
formatTime () | |
Get the time, formatted in user's language. More... | |
getAuthorActor () | |
Get the author actor ID. 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 | |
![]() | |
getLinkRenderer () | |
Returns an instance of LinkRenderer. More... | |
![]() | |
RevisionListBase | $list |
The parent. More... | |
stdClass | $row |
The database result row. More... | |
Item class for a logging table row with its associated change tags.
Definition at line 32 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::canView | ( | ) |
Returns true if the current user can view the item.
Reimplemented from RevisionItemBase.
Definition at line 53 of file ChangeTagsLogItem.php.
References LogPage\DELETED_RESTRICTED, and LogEventsList\userCan().
ChangeTagsLogItem::canViewContent | ( | ) |
Returns true if the current user can view the item text/file.
Reimplemented from RevisionItemBase.
Definition at line 59 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorActorField | ( | ) |
Get the DB field name storing actor ids.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 49 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorIdField | ( | ) |
Get the DB field name storing user ids.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 41 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorNameField | ( | ) |
Get the DB field name storing user names.
Override this function.
Reimplemented from RevisionItemBase.
Definition at line 45 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getHTML | ( | ) |
Reimplemented from RevisionItemBase.
Definition at line 74 of file ChangeTagsLogItem.php.
References $content, LogFormatter\FOR_THIS_USER, ChangeTags\formatSummaryRow(), getTags(), 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 33 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getTags | ( | ) |
Definition at line 66 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 37 of file ChangeTagsLogItem.php.