Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/storage/PhabricatorProject.php
| <?php | <?php | ||||
| final class PhabricatorProject extends PhabricatorProjectDAO | final class PhabricatorProject extends PhabricatorProjectDAO | ||||
| implements | implements | ||||
| PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
| PhabricatorFlaggableInterface, | PhabricatorFlaggableInterface, | ||||
| PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
| PhabricatorExtendedPolicyInterface, | PhabricatorExtendedPolicyInterface, | ||||
| PhabricatorCustomFieldInterface, | PhabricatorCustomFieldInterface, | ||||
| PhabricatorDestructibleInterface, | PhabricatorDestructibleInterface, | ||||
| PhabricatorFulltextInterface, | PhabricatorFulltextInterface, | ||||
| PhabricatorConduitResultInterface { | PhabricatorConduitResultInterface, | ||||
| PhabricatorColumnProxyInterface { | |||||
| protected $name; | protected $name; | ||||
| protected $status = PhabricatorProjectStatus::STATUS_ACTIVE; | protected $status = PhabricatorProjectStatus::STATUS_ACTIVE; | ||||
| protected $authorPHID; | protected $authorPHID; | ||||
| protected $primarySlug; | protected $primarySlug; | ||||
| protected $profileImagePHID; | protected $profileImagePHID; | ||||
| protected $icon; | protected $icon; | ||||
| protected $color; | protected $color; | ||||
| ▲ Show 20 Lines • Show All 637 Lines • ▼ Show 20 Lines | public function getConduitSearchAttachments() { | ||||
| return array( | return array( | ||||
| id(new PhabricatorProjectsMembersSearchEngineAttachment()) | id(new PhabricatorProjectsMembersSearchEngineAttachment()) | ||||
| ->setAttachmentKey('members'), | ->setAttachmentKey('members'), | ||||
| id(new PhabricatorProjectsWatchersSearchEngineAttachment()) | id(new PhabricatorProjectsWatchersSearchEngineAttachment()) | ||||
| ->setAttachmentKey('watchers'), | ->setAttachmentKey('watchers'), | ||||
| ); | ); | ||||
| } | } | ||||
| /* -( PhabricatorColumnProxyInterface )------------------------------------ */ | |||||
| public function getProxyColumnName() { | |||||
| return $this->getName(); | |||||
| } | |||||
| public function getProxyColumnIcon() { | |||||
| return $this->getDisplayIconIcon(); | |||||
| } | |||||
| public function getProxyColumnClass() { | |||||
| if ($this->isMilestone()) { | |||||
| return 'phui-workboard-column-milestone'; | |||||
| } | |||||
| return null; | |||||
| } | |||||
| } | } | ||||