Changeset View
Changeset View
Standalone View
Standalone View
src/applications/legalpad/query/LegalpadDocumentQuery.php
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | public function needViewerSignatures($need) { | ||||
$this->needViewerSignatures = $need; | $this->needViewerSignatures = $need; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function newResultObject() { | public function newResultObject() { | ||||
return new LegalpadDocument(); | return new LegalpadDocument(); | ||||
} | } | ||||
protected function loadPage() { | |||||
return $this->loadStandardPage($this->newResultObject()); | |||||
} | |||||
protected function willFilterPage(array $documents) { | protected function willFilterPage(array $documents) { | ||||
if ($this->needDocumentBodies) { | if ($this->needDocumentBodies) { | ||||
$documents = $this->loadDocumentBodies($documents); | $documents = $this->loadDocumentBodies($documents); | ||||
} | } | ||||
if ($this->needContributors) { | if ($this->needContributors) { | ||||
$documents = $this->loadContributors($documents); | $documents = $this->loadContributors($documents); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines |