Lines Matching refs:instruction
50 function _normalize_internallink($instruction) {
54 $parts = explode('?', $instruction[0] ,2);
70 return $this->_linkSyntax($instruction, $id.'#'.$hash);
76 function _normalize_locallink($instruction) {
80 return $this->_linkSyntax($instruction, $ID.'#'.$instruction[0]);
86 function _normalize_media($instruction) {
90 if(isset($instruction['type'])) {
91 $media = $instruction;
93 list($src, $title, $align, $width, $height, $cache, $linking) = $instruction;
154 function _linkSyntax($instruction, $newLink) {
156 $parts = explode('?', $instruction[0],2);
165 if(isset($instruction[1])) {
166 if(is_array($instruction[1])) {
167 if($instruction[1]['type'] == 'internalmedia') {
168 $title='|'.$this->_normalize_media($instruction[1]);
170 $title='|'.$this->_mediaSyntax($instruction[1]);
173 $title = '|'.$instruction[1];