Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/phid/PhrictionPHIDTypeDocument.php
Show All 19 Lines | public function newObject() { | ||||
return new PhrictionDocument(); | return new PhrictionDocument(); | ||||
} | } | ||||
protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
array $phids) { | array $phids) { | ||||
return id(new PhrictionDocumentQuery()) | return id(new PhrictionDocumentQuery()) | ||||
->needContent(true) | ->withPHIDs($phids) | ||||
->withPHIDs($phids); | ->needContent(true); | ||||
} | } | ||||
public function loadHandles( | public function loadHandles( | ||||
PhabricatorHandleQuery $query, | PhabricatorHandleQuery $query, | ||||
array $handles, | array $handles, | ||||
array $objects) { | array $objects) { | ||||
foreach ($handles as $phid => $handle) { | foreach ($handles as $phid => $handle) { | ||||
Show All 17 Lines |