Lines Matching refs:pages
11 * Helper functions for the include plugin and other plugins that want to include pages.
539 * Convert internal and local links depending on the included pages
543 * @param array $included_pages The array of pages that are included
577 // change links to included pages into local links
691 * Gives a list of pages for a given include statement
697 $pages = array();
707 if (!isHiddenPage($pagearray['id'])) // skip hidden pages
708 $pages[] = $pagearray['id'];
723 $pages[] = $pagearray['id'];
730 $pages[] = $page;
734 $pages = array_filter($pages, function ($page) use ($flags) {
740 if (count($pages) > 1) {
743 usort($pages, array($this, '_r_strnatcasecmp'));
745 natcasesort($pages);
749 foreach ($pages as $page) {
780 $pages = $ordered_pages;
785 foreach ($pages as $page) {
808 * This function generates the list of all included pages from a list of metadata
812 $pages = array();
819 $pages = array_merge($pages, $this->_get_included_pages($mode, $page, $sect, $parent_id, $flags));
821 return $pages;