Differential D14068 Diff 34734 src/applications/legalpad/phid/PhabricatorLegalpadDocumentPHIDType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/legalpad/phid/PhabricatorLegalpadDocumentPHIDType.php
| Show All 10 Lines | final class PhabricatorLegalpadDocumentPHIDType extends PhabricatorPHIDType { | ||||
| public function getTypeIcon() { | public function getTypeIcon() { | ||||
| return 'fa-file-text-o'; | return 'fa-file-text-o'; | ||||
| } | } | ||||
| public function newObject() { | public function newObject() { | ||||
| return new LegalpadDocument(); | return new LegalpadDocument(); | ||||
| } | } | ||||
| public function getPHIDTypeApplicationClass() { | |||||
| return 'PhabricatorLegalpadApplication'; | |||||
| } | |||||
| protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
| PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
| array $phids) { | array $phids) { | ||||
| return id(new LegalpadDocumentQuery()) | return id(new LegalpadDocumentQuery()) | ||||
| ->withPHIDs($phids) | ->withPHIDs($phids) | ||||
| ->needDocumentBodies(true); | ->needDocumentBodies(true); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines | |||||