public function getItems() { $pages = $this->section->populateRecursivePages(array(), array('cID' => $this->section->getCollectionID()), $this->section->getCollectionParentID(), 0, false); // Add in all the stack pages found for the current locale. $list = new StackList(); $list->filterByLanguageSection($this->getSection()); $results = $list->get(); foreach ($results as $result) { $pages[] = array('cID' => $result->getCollectionID()); } return $pages; }
public function filterByLanguageSection(Concrete\Core\Multilingual\Page\Section\Section $ms) { return parent::filterByLanguageSection($ms); }