Inherits RevDel_RevisionItem.
Public Member Functions | |
__construct ($list, $row) | |
getId () | |
Get the ID, as it would appear in the ids URL parameter. | |
setBits ($bits) | |
Set the visibility of the item. | |
Protected Member Functions | |
getRevisionLink () | |
Get the HTML link to the revision text. | |
getDiffLink () | |
Get the HTML link to the diff. |
Definition at line 1374 of file SpecialRevisiondelete.php.
RevDel_ArchiveItem::__construct | ( | $ | list, | |
$ | row | |||
) |
$list | RevDel_List | |
$row | DB result row |
Reimplemented from RevDel_RevisionItem.
Definition at line 1375 of file SpecialRevisiondelete.php.
References RevDel_Item::$list, RevDel_Item::$row, and Revision::newFromArchiveRow().
RevDel_ArchiveItem::getDiffLink | ( | ) | [protected] |
Get the HTML link to the diff.
Overridden by RevDel_ArchiveItem
Reimplemented from RevDel_RevisionItem.
Definition at line 1415 of file SpecialRevisiondelete.php.
References RevDel_RevisionItem::canViewContent(), SpecialPage::getTitleFor(), RevDel_RevisionItem::isDeleted(), and wfMsgHtml().
RevDel_ArchiveItem::getId | ( | ) |
Get the ID, as it would appear in the ids URL parameter.
Reimplemented from RevDel_Item.
Definition at line 1381 of file SpecialRevisiondelete.php.
RevDel_ArchiveItem::getRevisionLink | ( | ) | [protected] |
Get the HTML link to the revision text.
Overridden by RevDel_ArchiveItem.
Reimplemented from RevDel_RevisionItem.
Definition at line 1401 of file SpecialRevisiondelete.php.
References $wgLang, RevDel_RevisionItem::canViewContent(), SpecialPage::getTitleFor(), and RevDel_RevisionItem::isDeleted().
RevDel_ArchiveItem::setBits | ( | $ | newBits | ) |
Set the visibility of the item.
This should do any necessary DB queries.
The DB update query should have a condition which forces it to only update if the value in the DB matches the value fetched earlier with the SELECT. If the update fails because it did not match, the function should return false. This prevents concurrency problems.
Reimplemented from RevDel_RevisionItem.
Definition at line 1386 of file SpecialRevisiondelete.php.
References $dbw, RevDel_RevisionItem::getBits(), and wfGetDB().