Differential D21862 Diff 52129 src/applications/transactions/editengine/PhabricatorEditEngineSubtype.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editengine/PhabricatorEditEngineSubtype.php
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | public function setMutations($mutations) { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getMutations() { | public function getMutations() { | ||||
return $this->mutations; | return $this->mutations; | ||||
} | } | ||||
public function hasTagView() { | public function hasTagView() { | ||||
if ($this->getTagText() === null) { | |||||
return false; | |||||
} | |||||
return (bool)strlen($this->getTagText()); | return (bool)strlen($this->getTagText()); | ||||
} | } | ||||
public function newTagView() { | public function newTagView() { | ||||
$view = id(new PHUITagView()) | $view = id(new PHUITagView()) | ||||
->setType(PHUITagView::TYPE_OUTLINE) | ->setType(PHUITagView::TYPE_OUTLINE) | ||||
->setName($this->getTagText()); | ->setName($this->getTagText()); | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |