Lines Matching defs:level
430 return '<li class="level' . $item['level'] . '">';
437 * Each item in the array has to have a 'level' property
452 * @param bool $forcewrapper (optional) Trigger building a wrapper ul if the first level is
463 $start_level = $firstElement['level'];
464 $level = $start_level;
470 $lifunc = static fn($item) => '<li class="level' . $item['level'] . '">';
474 if ($item['level'] > $level) {
476 for ($i = 0; $i < ($item['level'] - $level); $i++) {
481 $level = $item['level'];
482 } elseif ($item['level'] < $level) {
485 while ($level > $item['level'] && $open > 0) {
488 $level--;
511 // Trigger building a wrapper ul if the first level is
871 * @param int $level - nesting level
875 function html_mktocitem($link, $text, $level, $hash = '#')
881 'level' => $level