Lines Matching defs:sect
183 $sect = '';
210 $sect = '';
237 $sect = $ins[$i][1][1][2];
247 $ins[$i] = $this->_footer($page, $sect, '', $flags, 0);
252 $ins_inc = $this->_get_instructions($page, $sect, $mode, $lvl, $flags);
297 function _get_instructions($page, $sect, $mode, $lvl, $flags)
299 $key = ($sect) ? $page . '#' . $sect : $page;
305 $this->_convert_instructions($ins, $lvl, $page, $sect, $flags);
323 function _convert_instructions(&$ins, $lvl, $page, $sect, $flags)
327 if (!empty($sect)) {
328 $this->_get_section($ins, $sect); // section required
353 if ($sect && !$sect_title) {
426 $this->_permalink($ins[$idx], $page, $sect, $flags);
458 $this->_editbtn($ins, $page, $sect, $sect_title);
463 $ins[] = $this->_footer($page, $sect, $sect_title, $flags, $footer_lvl);
501 function _footer($page, $sect, $sect_title, $flags, $footer_lvl)
505 $footer[1] = array('mediasyntax_footer', array($page, $sect, $sect_title, $flags, $this->toplevel_id, $footer_lvl));
514 function _editbtn(&$ins, $page, $sect, $sect_title)
518 $editbtn[1] = array('mediasyntax_editbtn', array($page, $sect, $sect_title, $this->toplevel_id));
527 function _permalink(&$ins, $page, $sect, $flags)
530 $ins[1] = array('mediasyntax_header', array($ins[1][0], $ins[1][1], $page, $sect, $flags));
538 function _get_section(&$ins, $sect)
549 if (cleanID($ins[$i][1][0]) == $sect) {