MediaWiki master
|
Item class for a logging table row with its associated change tags. More...
Inherits MediaWiki\RevisionList\RevisionItemBase.
Public Member Functions | |
canView () | |
Returns true if the current user can view the item. | |
canViewContent () | |
Returns true if the current user can view the item text/file. | |
getAuthorActorField () | |
Get the DB field name storing actor ids. | |
getAuthorIdField () | |
Get the DB field name storing user ids. | |
getAuthorNameField () | |
Get the DB field name storing user names. | |
getHTML () | |
getIdField () | |
Get the DB field name associated with the ID list. | |
getTags () | |
getTimestampField () | |
Get the DB field name storing timestamps. | |
Public Member Functions inherited from MediaWiki\RevisionList\RevisionItemBase | |
__construct (RevisionListBase $list, $row) | |
formatDate () | |
Get the date, formatted in user's language. | |
formatTime () | |
Get the time, formatted in user's language. | |
getAuthorActor () | |
Get the author actor ID. | |
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\RevisionItemBase | |
getLinkRenderer () | |
Returns an instance of LinkRenderer. | |
Protected Attributes inherited from MediaWiki\RevisionList\RevisionItemBase | |
RevisionListBase | $list |
The parent. | |
stdClass | $row |
The database result row. | |
Item class for a logging table row with its associated change tags.
Definition at line 36 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::canView | ( | ) |
Returns true if the current user can view the item.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 57 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::canViewContent | ( | ) |
Returns true if the current user can view the item text/file.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 63 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorActorField | ( | ) |
Get the DB field name storing actor ids.
Override this function.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 53 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorIdField | ( | ) |
Get the DB field name storing user ids.
Override this function.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 45 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getAuthorNameField | ( | ) |
Get the DB field name storing user names.
Override this function.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 49 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getHTML | ( | ) |
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 78 of file ChangeTagsLogItem.php.
References ChangeTags\formatSummaryRow(), and getTags().
ChangeTagsLogItem::getIdField | ( | ) |
Get the DB field name associated with the ID list.
Override this function.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 37 of file ChangeTagsLogItem.php.
ChangeTagsLogItem::getTags | ( | ) |
Definition at line 70 of file ChangeTagsLogItem.php.
Referenced by getHTML().
ChangeTagsLogItem::getTimestampField | ( | ) |
Get the DB field name storing timestamps.
Override this function.
Reimplemented from MediaWiki\RevisionList\RevisionItemBase.
Definition at line 41 of file ChangeTagsLogItem.php.