getOldValue(); $new = $this->getNewValue(); switch ($this->getTransactionType()) { case self::TYPE_INTERFACE: if ($old) { $phids[] = $old; } if ($new) { $phids[] = $new; } break; } return $phids; } public function getTitle() { $author_phid = $this->getAuthorPHID(); $old = $this->getOldValue(); $new = $this->getNewValue(); switch ($this->getTransactionType()) { case self::TYPE_INTERFACE: if ($old === null) { return pht( '%s created this binding.', $this->renderHandleLink($author_phid)); } else { return pht( '%s changed this binding from %s to %s.', $this->renderHandleLink($author_phid), $this->renderHandleLink($old), $this->renderHandleLink($new)); } break; } return parent::getTitle(); } }