Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/query/PhrictionDocumentQuery.php
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | public function withAncestorPaths(array $paths) { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function needContent($need_content) { | public function needContent($need_content) { | ||||
$this->needContent = $need_content; | $this->needContent = $need_content; | ||||
return $this; | return $this; | ||||
} | } | ||||
protected function loadPage() { | |||||
return $this->loadStandardPage($this->newResultObject()); | |||||
} | |||||
public function newResultObject() { | public function newResultObject() { | ||||
return new PhrictionDocument(); | return new PhrictionDocument(); | ||||
} | } | ||||
protected function willFilterPage(array $documents) { | protected function willFilterPage(array $documents) { | ||||
if ($documents) { | if ($documents) { | ||||
$ancestor_slugs = array(); | $ancestor_slugs = array(); | ||||
▲ Show 20 Lines • Show All 326 Lines • Show Last 20 Lines |