Lines Matching refs:sect

237     function _get_instructions($page, $sect, $mode, $lvl, $flags, $root_id = null, $included_pages = array()) {
238 $key = ($sect) ? $page . '#' . $sect : $page;
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()) {
297 if(!empty($sect)) {
298 $this->_get_section($ins, $sect); // section required
326 if($sect && !$sect_title) {
425 $this->_permalink($ins[$idx], $page, $sect, $flags);
464 $this->_editbtn($ins, $page, $sect, $sect_title, ($flags['redirect'] ? $root_id : false), $include_secid);
469 $ins[] = $this->_footer($page, $sect, $sect_title, $flags, $footer_lvl, $root_id);
508 function _footer($page, $sect, $sect_title, $flags, $footer_lvl, $root_id) {
511 $footer[1] = array('include_footer', array($page, $sect, $sect_title, $flags, $root_id, $footer_lvl));
520 function _editbtn(&$ins, $page, $sect, $sect_title, $root_id, $hid = '') {
521 $title = ($sect) ? $sect_title : $page;
533 function _permalink(&$ins, $page, $sect, $flags) {
535 $ins[1] = array('include_header', array($ins[1][0], $ins[1][1], $ins[1][2], $page, $sect, $flags));
621 function _get_section(&$ins, $sect) {
634 if (sectionID($ins[$i][1][0], $check) == $sect) {
695 function _get_included_pages($mode, $page, $sect, $parent_id, $flags) {
720 $sect = '';
816 $sect = $instruction['sect'];
819 $pages = array_merge($pages, $this->_get_included_pages($mode, $page, $sect, $parent_id, $flags));