Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/storage/PhabricatorOwnersPackage.php
| Show First 20 Lines • Show All 287 Lines • ▼ Show 20 Lines | public function isOwnerPHID($phid) { | ||||
| return isset($owner_phids[$phid]); | return isset($owner_phids[$phid]); | ||||
| } | } | ||||
| public function getMonogram() { | public function getMonogram() { | ||||
| return 'O'.$this->getID(); | return 'O'.$this->getID(); | ||||
| } | } | ||||
| public function getURI() { | |||||
| // TODO: Move these to "/O123" for consistency. | |||||
| return '/owners/package/'.$this->getID().'/'; | |||||
| } | |||||
| /* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
| public function getCapabilities() { | public function getCapabilities() { | ||||
| return array( | return array( | ||||
| PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
| PhabricatorPolicyCapability::CAN_EDIT, | PhabricatorPolicyCapability::CAN_EDIT, | ||||
| ▲ Show 20 Lines • Show All 165 Lines • Show Last 20 Lines | |||||