Lines Matching refs:instructions
167 $instructions = p_cached_instructions($file, false, $id);
170 $this->walk_instructions( $links, $id, $instructions );
177 public function walk_instructions( &$links, $id, $instructions ) { argument
180 if (!is_array($instructions)) {
186 foreach ($instructions as $ins) {
206 private function _getDataContainer( $id, $instructions ) { argument
210 'instructions' => $instructions[1],
212 'entryID' => !empty($instructions[1][0]) ? $instructions[1][0] : null,
213 'syntax' => $instructions[0],
214 'type' => $this->getInternalMediaType($instructions[0]),
292 $instructions = $this->renderer->instructions;
294 $this->_check_locallink( $data, $instructions);
299 private function _check_locallink( &$data, $instructions = null ) { argument
306 if ( is_null($instructions) ) {
307 $instructions = p_cached_instructions(wikiFN($data['pageID']), false, $data['pageID']);
310 if ( !is_null($instructions) ) {
311 $result = array_filter($instructions, function( $input ) use ( $data, $renderer ) {
339 $instructions = $event->data['instructions'];
350 …event->data['entryID'] = $this->renderer->_resolveInterWiki($instructions[2], $instructions[3], $e…
380 switch( $instructions[0] ) {
382 $event->data['entryID'] = $instructions[1][1];
386 if ( $instructions[1][1] == 'area' ) {
387 $event->data['type'] = $this->getInternalMediaType($instructions[1][4]);
388 $event->data['entryID'] = $instructions[1][6];
391 $event->data['type'] = $this->getInternalMediaType($instructions[1][1]);
392 $event->data['entryID'] = $instructions[1][2];
396 $event->data['entryID'] = $instructions[1]['mp3'];
400 if ( $instructions[1][0] === 1 ) {
401 $event->data['entryID'] = $instructions[1][1]['src'];
402 $event->data['exists'] = $instructions[1][1]['exist'];