Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/storage/PonderAnswerTransaction.php
| Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | switch ($this->getTransactionType()) { | ||||
| '%s edited %s.', | '%s edited %s.', | ||||
| $this->renderHandleLink($author_phid), | $this->renderHandleLink($author_phid), | ||||
| $this->renderHandleLink($object_phid)); | $this->renderHandleLink($object_phid)); | ||||
| } | } | ||||
| return parent::getTitle(); | return parent::getTitle(); | ||||
| } | } | ||||
| public function getTitleForFeed(PhabricatorFeedStory $story) { | public function getTitleForFeed() { | ||||
| $author_phid = $this->getAuthorPHID(); | $author_phid = $this->getAuthorPHID(); | ||||
| $object_phid = $this->getObjectPHID(); | $object_phid = $this->getObjectPHID(); | ||||
| switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
| case self::TYPE_CONTENT: | case self::TYPE_CONTENT: | ||||
| return pht( | return pht( | ||||
| '%s updated %s.', | '%s updated %s.', | ||||
| $this->renderHandleLink($author_phid), | $this->renderHandleLink($author_phid), | ||||
| $this->renderHandleLink($object_phid)); | $this->renderHandleLink($object_phid)); | ||||
| } | } | ||||
| return parent::getTitleForFeed($story); | return parent::getTitleForFeed(); | ||||
| } | } | ||||
| public function getBodyForFeed(PhabricatorFeedStory $story) { | public function getBodyForFeed(PhabricatorFeedStory $story) { | ||||
| $new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
| $body = null; | $body = null; | ||||
| switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
| Show All 29 Lines | |||||