Page MenuHomePhorge

PhabricatorPasteTitleTransaction.php
No OneTemporary

Size
744 B
Referenced Files
None
Subscribers
None

PhabricatorPasteTitleTransaction.php

<?php
final class PhabricatorPasteTitleTransaction
extends PhabricatorPasteTransactionType {
const TRANSACTIONTYPE = 'paste.title';
public function generateOldValue($object) {
return $object->getTitle();
}
public function applyInternalEffects($object, $value) {
$object->setTitle($value);
}
public function getTitle() {
return pht(
'%s updated the paste\'s title from "%s" to "%s".',
$this->renderAuthor(),
$this->getOldValue(),
$this->getNewValue());
}
public function getTitleForFeed() {
return pht(
'%s updated the title for %s from "%s" to "%s".',
$this->renderAuthor(),
$this->renderObject(),
$this->getOldValue(),
$this->getNewValue());
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jul 1, 11:42 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
288400
Default Alt Text
PhabricatorPasteTitleTransaction.php (744 B)

Event Timeline