Home
last modified time | relevance | path

Searched refs:instructions (Results 1 – 25 of 159) sorted by relevance

1234567

/plugin/creole/_test/
H A Dcreole.test.php31 $xhtml = p_render('xhtml', $instructions, $info);
46 $xhtml = p_render('xhtml', $instructions, $info);
61 $xhtml = p_render('xhtml', $instructions, $info);
77 $xhtml = p_render('xhtml', $instructions, $info);
93 $xhtml = p_render('xhtml', $instructions, $info);
109 $xhtml = p_render('xhtml', $instructions, $info);
125 $xhtml = p_render('xhtml', $instructions, $info);
141 $xhtml = p_render('xhtml', $instructions, $info);
157 $xhtml = p_render('xhtml', $instructions, $info);
173 $xhtml = p_render('xhtml', $instructions, $info);
[all …]
/plugin/multiorphan/action/
H A Dmultiorphan.php180 if (!is_array($instructions)) {
186 foreach ($instructions as $ins) {
210 'instructions' => $instructions[1],
212 'entryID' => !empty($instructions[1][0]) ? $instructions[1][0] : null,
213 'syntax' => $instructions[0],
292 $instructions = $this->renderer->instructions;
306 if ( is_null($instructions) ) {
310 if ( !is_null($instructions) ) {
339 $instructions = $event->data['instructions'];
350 …event->data['entryID'] = $this->renderer->_resolveInterWiki($instructions[2], $instructions[3], $e…
[all …]
H A DpluginSiteexport.php39 $instructions = $event->data['instructions'];
40 …if ( $event->data['syntax'] != 'plugin' || $instructions[0] != 'siteexport_toc' || !$this->plugin_…
41 …if ( !is_array($instructions[1]) || array_key_exists('start', $instructions[1]) ) { return false; }
43 $instructions = p_get_instructions($instructions[3]);
46 $this->plugin_orphan->walk_instructions( $links, $event->data['pageID'], $instructions );
H A DpluginBlog.php39 $instructions = $event->data['instructions'];
40 …if ( $event->data['syntax'] != 'plugin' || !in_array( $instructions[0], array( 'blog_blog', 'blog_…
44 $data = $this->plugin_blog->getBlog( $instructions[1][0] );
/plugin/combo/ComboStrap/
H A DRenderUtility.php28 $instructions = self::getInstructionsAndStripPEventually($content, $strip);
29 return p_render('xhtml', $instructions, $info);
41 $instructions = p_get_instructions($pageContent);
51 if ($instructions[1][0] == 'p_open') {
52 unset($instructions[1]);
60 while (($lastPBlockPosition = (sizeof($instructions) - $n)) >= 0) {
65 if ($instructions[$lastPBlockPosition][0] == 'p_close') {
66 unset($instructions[$lastPBlockPosition]);
76 return $instructions;
H A DTemplateUtility.php94 $instructions = [];
97 $instructions[] = $newCall->render($page)->toCallArray();
99 return $instructions;
111 $instructions = [];
114 $instructions[] = $newCall->renderFromData($array)->toCallArray();
116 return $instructions;
H A DCacheInstructionsByLogicalKey.php54 * @param array $instructions the instruction to be cached
58 public function storeCache($instructions): bool argument
64 return io_saveFile($this->getCacheFile(), serialize($instructions));
/plugin/multiorphan/inc/
H A DMultiOrphanDummyRenderer.php14 public $instructions = array(); variable in MultiOrphanDummyRenderer
20 * @param array $instructions
22 function nest($instructions) { argument
23 $this->instructions = array_merge($this->instructions, $instructions);
33 $this->instructions = array();
/plugin/yuriigantt/_test/Drivers/
H A Dembedded.test.php48 $instructions = $handler->calls;
52 $this->assertEquals('raw', $instructions[0][0]);
53 $this->assertEquals('plugin', $instructions[1][0]);
54 $this->assertEquals('yuriigantt', $instructions[1][1][0]);
55 $this->assertInstanceOf(stdClass::class, $instructions[1][1][1]);
56 $this->assertStringStartsWith('~~~~GANTT~~~~', $instructions[1][1][3]);
57 $this->assertStringEndsWith('~~~~~~~~~~~', $instructions[1][1][3]);
58 $this->assertEquals('raw', $instructions[2][0]);
59 $this->assertEquals("\n\n\nzzz\n", $instructions[2][1][0]);
63 foreach ($instructions as $instruction) {
/plugin/emoji/_test/
H A Demoji_unicode.test.php14 $instructions = p_get_instructions("x"
20 $foundemoji = $this->count_array_values('emoji', $this->flatten_array($instructions), true);
25 $instructions = p_get_instructions("x"
33 $foundemoji = $this->count_array_values('emoji', $this->flatten_array($instructions));
38 $instructions = p_get_instructions("x"
45 $foundemoji = $this->count_array_values('emoji', $this->flatten_array($instructions), true);
50 $instructions = p_get_instructions("x"
57 $foundemoji = $this->count_array_values('emoji', $this->flatten_array($instructions));
/plugin/struct/_test/
H A Doutput.test.php71 $instructions = p_cached_instructions(wikiFN($page), false, $page);
72 $this->assertEquals('document_start', $instructions[0][0]);
73 $this->assertEquals('header', $instructions[1][0]);
74 $this->assertEquals('plugin', $instructions[2][0]);
75 $this->assertEquals('struct_output', $instructions[2][1][0]);
117 $instructions = p_cached_instructions(wikiFN($page), false, $page);
118 $this->assertEquals('document_start', $instructions[0][0]);
119 $this->assertEquals('header', $instructions[1][0]);
120 …$this->assertEquals('plugin', $instructions[2][0], 'The struct data should be rendererd after the …
121 $this->assertEquals('struct_output', $instructions[2][1][0]);
/plugin/log/
H A Dsyntax.php53 $instructions = p_cached_instructions(wikiFN($logpage),false,$logpage);
56 $max = count($instructions);
64 switch ($instructions[$i][0]) {
68 $type = substr($instructions[$i][0], 4, 1);
74 $instructions = array_slice($instructions, $start, $i - $start + 1);
80 $instructions = array_slice($instructions, $start, $i - $start);
87 $instructions = $empty_list;
90 return array(array_merge($instructions,
/plugin/siteexport/syntax/
H A Dtoc.php201 … $instructions = $this->_convertInstructions($instructions, $addID = null, $renderer, $depth);
210 …$instructions = $this->_mergeWithHeaders($this->_initialHeaderStructure($instructions), $instructi…
660 $inCount = count($instructions);
668 …if (preg_match($tag, $instructions[$i][0]) && preg_match($tag, $instructions[$i+1][0]) && $instruc…
682 array_splice($instructions, $i, 2);
699 $inCount = count($instructions);
709 array_splice($instructions, $i, 1);
714 return $instructions;
723 $this->_cleanAllInstructions($instructions);
725 if (empty($instructions)) { return; }
[all …]
/plugin/wrap/_test/
H A Dwrap_syntax.test.php15 $instructions = p_get_instructions("<WRAP>\n==== Heading ====\n\nSome text\n</WRAP>");
91 $this->assertEquals($expected, $instructions);
95 $instructions = p_get_instructions("<WRAP>\nFoo\n\n</div> </block> Bar\n</WRAP>");
171 $this->assertEquals($expected, $instructions);
175 $instructions = p_get_instructions("<wrap>Foo </span> </inline> Bar</wrap>");
240 $this->assertEquals($expected, $instructions);
/plugin/webcomponent/
H A Dwebcomponent.php100 $instructions = p_get_instructions($doku_text);
101 $lastPBlockPosition = sizeof($instructions) - 2;
102 if ($instructions[1][0] == 'p_open') {
103 unset($instructions[1]);
105 if ($instructions[$lastPBlockPosition][0] == 'p_close') {
106 unset($instructions[$lastPBlockPosition]);
108 return p_render('xhtml', $instructions, $info);
/plugin/navi/
H A Dsyntax.php119 if (!$instructions) return [];
122 $max = count($instructions);
132 if ($instructions[$i][0] == 'listu_open') {
136 } elseif ($instructions[$i][0] == 'listu_close') {
140 unset($instructions[$i]);
143 } elseif ($instructions[$i][0] == 'internallink') {
145 $page = $instructions[$i][1][0];
150 'title' => $instructions[$i][1][1],
153 } elseif ($instructions[$i][0] == 'externallink') {
154 $url = $instructions[$i][1][0];
[all …]
/plugin/webcomponent/_test/
H A Dblockquote.test.php39 $instructions = p_get_instructions($doku_text);
40 $xhtml = p_render('xhtml', $instructions, $info);
58 $instructions = p_get_instructions($doku_text);
59 $xhtml = p_render('xhtml', $instructions, $info);
77 $instructions = p_get_instructions($doku_text);
78 $xhtml = p_render('xhtml', $instructions, $info);
H A Dcard.test.php35 $instructions = p_get_instructions($doku_text);
36 $xhtml = p_render('xhtml', $instructions, $info);
70 $instructions = p_get_instructions($doku_text.$doku_text);
71 $xhtml = p_render('xhtml', $instructions, $info);
/plugin/instructions/
H A Dplugin.info.txt1 base instructions
5 name instructions plugin
6 desc Special syntax for instructions
7 url http://dokuwiki.org/plugin:instructions
/plugin/strata/types/
H A Dwiki.php186 $instructions = $this->_instructions($value);
187 $instructions = array_slice($instructions, 2, -2);
190 if(!empty($instructions[0][0]) && $instructions[0][0]=='cdata') {
191 $instructions[0][1][0] = ltrim($instructions[0][1][0]);
195 $R->nest($instructions);
/plugin/dwinsect/
H A Dsyntax.php191 $instructions=p_get_instructions($wiki);
192 array_shift($instructions); //remove document open
193 array_shift($instructions); //remove paragraph open
194 array_pop($instructions); //remove document close
195 array_pop($instructions); //remove paragraph close
196 return array($state, array($instructions, false));
222 list($instructions, $error) = $result;
224 … $renderer->internallink("[*(".$instructions.")]"); // instructions contains the error-text
227 $renderer->nest($instructions);
/plugin/eventline/
H A DgetXmlData.php27 $instructions = $cache->retrieveCache();
29 $instructions = p_get_instructions(io_readfile($pagePath));
30 $cache->storeCache($instructions);
37 foreach ( $instructions as $instruction ) {
/plugin/webcomponent/syntax/
H A Dcard.php214 $instructions = p_get_instructions($parameters);
215 $lastPBlockPosition = sizeof($instructions) - 2;
216 if ($instructions[1][0] == 'p_open') {
217 unset($instructions[1]);
219 if ($instructions[$lastPBlockPosition][0] == 'p_close') {
220 unset($instructions[$lastPBlockPosition]);
222 $this->text .= p_render('xhtml', $instructions, $info);
/plugin/webcode/syntax/
H A Dbasis.php46 * @param array $instructions
51 private static function p_render($mode, array $instructions, array &$info) argument
53 if (is_null($instructions)) return '';
54 if ($instructions === false) return '';
70 foreach ($instructions as $instruction) {
391 $instructions = p_get_instructions($textToRender);
392 $xhtmlWebCode = self::p_render('xhtml', $instructions, $renderer->info);
410 $instructions = p_get_instructions($this->codes['dw']);
411 $renderer->doc .= self::p_render('xhtml', $instructions, $renderer->info);
/plugin/flowcharts/
H A Dsyntax.php74 $instructions = $this->p_get_instructions($match);
75 $xhtml = $this->p_render($instructions);
134 public function p_render($instructions) { argument
143 foreach ($instructions as $instruction) {

1234567