Lines Matching defs:included_pages
237 function _get_instructions($page, $sect, $mode, $lvl, $flags, $root_id = null, $included_pages = array()) {
275 $this->_convert_instructions($ins, $lvl, $page, $sect, $flags, $root_id, $included_pages);
293 function _convert_instructions(&$ins, $lvl, $page, $sect, $flags, $root_id, $included_pages = array()) {
315 $this->adapt_links($ins, $page, $included_pages);
353 $this->adapt_links($ins[$i][1][0], $page, $included_pages);
543 * @param array $included_pages The array of pages that are included
545 private function adapt_links(&$ins, $page, $included_pages = null) {
576 if ($ins[$i][0] == 'internallink' && !empty($included_pages)) {
590 if (array_key_exists($link_id, $included_pages)) {
599 $ins[$i][1] = array('include_locallink', array($included_pages[$link_id]['hid'], $ins[$i][1][1], $ins[$i][1][0]));
607 if ($included_pages == null || !array_key_exists($page, $included_pages)) {