Lines Matching refs:instructions
117 $instructions = p_cached_instructions(wikiFN($controlPage), false, $controlPage);
118 if (!$instructions) return [];
121 $max = count($instructions);
131 if ($instructions[$i][0] == 'listu_open') {
135 } elseif ($instructions[$i][0] == 'listu_close') {
139 unset($instructions[$i]);
140 } elseif ($instructions[$i][0] == 'listitem_close') {
142 } elseif ($instructions[$i][0] == 'internallink') {
144 $page = $instructions[$i][1][0];
149 'title' => $instructions[$i][1][1],
152 } elseif ($instructions[$i][0] == 'externallink') {
153 $url = $instructions[$i][1][0];
157 'title' => $instructions[$i][1][1],