Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phid/PhabricatorObjectHandle.php
| Show All 23 Lines | final class PhabricatorObjectHandle | ||||
| private $timestamp; | private $timestamp; | ||||
| private $status = self::STATUS_OPEN; | private $status = self::STATUS_OPEN; | ||||
| private $availability = self::AVAILABILITY_FULL; | private $availability = self::AVAILABILITY_FULL; | ||||
| private $complete; | private $complete; | ||||
| private $objectName; | private $objectName; | ||||
| private $policyFiltered; | private $policyFiltered; | ||||
| private $subtitle; | private $subtitle; | ||||
| private $tokenIcon; | private $tokenIcon; | ||||
| private $commandLineObjectName; | |||||
| public function setIcon($icon) { | public function setIcon($icon) { | ||||
| $this->icon = $icon; | $this->icon = $icon; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getIcon() { | public function getIcon() { | ||||
| if ($this->getPolicyFiltered()) { | if ($this->getPolicyFiltered()) { | ||||
| ▲ Show 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | final class PhabricatorObjectHandle | ||||
| public function getFullName() { | public function getFullName() { | ||||
| if ($this->fullName !== null) { | if ($this->fullName !== null) { | ||||
| return $this->fullName; | return $this->fullName; | ||||
| } | } | ||||
| return $this->getName(); | return $this->getName(); | ||||
| } | } | ||||
| public function setCommandLineObjectName($command_line_object_name) { | |||||
| $this->commandLineObjectName = $command_line_object_name; | |||||
| return $this; | |||||
| } | |||||
| public function getCommandLineObjectName() { | |||||
| if ($this->commandLineObjectName !== null) { | |||||
| return $this->commandLineObjectName; | |||||
| } | |||||
| return $this->getObjectName(); | |||||
| } | |||||
| public function setTitle($title) { | public function setTitle($title) { | ||||
| $this->title = $title; | $this->title = $title; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getTitle() { | public function getTitle() { | ||||
| return $this->title; | return $this->title; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 175 Lines • Show Last 20 Lines | |||||