Lines Matching refs:instructions

53      * * or an instructions (template)
90 * @var FetcherMarkup - the parent (a instructions run may run inside a path run, ie {@link \syntax_plugin_combo_iterator)
208 * This is needed for instructions or markup run
238 public function deleteRootPElementsIfRequested(array &$instructions): void
251 if ($instructions[1][0] !== 'p_open') {
254 unset($instructions[1]);
262 while (($lastPBlockPosition = (sizeof($instructions) - $n)) >= 0) {
267 if ($instructions[$lastPBlockPosition][0] == 'p_close') {
268 unset($instructions[$lastPBlockPosition]);
573 * function to get the instructions
578 $instructions = $this->getInstructions();
582 * because the instructions may have been created by dokuwiki
586 self::deleteRootPElementsIfRequested($instructions);
596 $markupRenderer = MarkupRenderer::createFromMarkupInstructions($instructions, $this)
601 if ($output === null && !empty($instructions)) {
609 $output = $this->markupDynamicRender->processInstructions($instructions);
961 * * of the {@link self::getInstructions() instructions},
998 * @return array - the markup instructions
1123 * Derived TOC from instructions
1138 $instructions = $this->getInstructions();
1139 $callStack = CallStack::createFromInstructions($instructions);
1161 * where we can just pass our own instructions.
1242 // get instructions (from string or file)
1243 $instructions = $this->getInstructions();
1274 // Loop through the instructions
1275 foreach ($instructions as $instruction) {
1352 * Process the instructions
1368 $instructions = $markupRenderer->getOutput();
1374 $this->instructionsCache->storeCache($instructions);
1376 $this->processedInstructions = $instructions;
1379 throw new ExceptionRuntimeInternal("An error has occurred while processing the instructions. Error: {$e->getMessage()}", self::CANONICAL, 1, $e);