Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
Show First 20 Lines • Show All 1,098 Lines • ▼ Show 20 Lines | $status_info = array( | ||||
'value' => $status->getKey(), | 'value' => $status->getKey(), | ||||
'name' => $status->getDisplayName(), | 'name' => $status->getDisplayName(), | ||||
'closed' => $status->isClosedStatus(), | 'closed' => $status->isClosedStatus(), | ||||
'color.ansi' => $status->getANSIColor(), | 'color.ansi' => $status->getANSIColor(), | ||||
); | ); | ||||
return array( | return array( | ||||
'title' => $this->getTitle(), | 'title' => $this->getTitle(), | ||||
'uri' => PhabricatorEnv::getURI($this->getURI()), | |||||
'authorPHID' => $this->getAuthorPHID(), | 'authorPHID' => $this->getAuthorPHID(), | ||||
'status' => $status_info, | 'status' => $status_info, | ||||
'repositoryPHID' => $this->getRepositoryPHID(), | 'repositoryPHID' => $this->getRepositoryPHID(), | ||||
'diffPHID' => $this->getActiveDiffPHID(), | 'diffPHID' => $this->getActiveDiffPHID(), | ||||
'summary' => $this->getSummary(), | 'summary' => $this->getSummary(), | ||||
'testPlan' => $this->getTestPlan(), | 'testPlan' => $this->getTestPlan(), | ||||
'isDraft' => !$this->getShouldBroadcast(), | 'isDraft' => !$this->getShouldBroadcast(), | ||||
'holdAsDraft' => (bool)$this->getHoldAsDraft(), | 'holdAsDraft' => (bool)$this->getHoldAsDraft(), | ||||
Show All 28 Lines |