Lines Matching defs:result
43 $result = array(
52 $match = $this->preprocess($match, $state, $pos, $handler, $result);
60 $header = $this->handleHeader($header, $result);
70 $result['data'][$this->util->getIsaKey(false)][] = array('value'=>$class,'type'=>'text', 'hint'=>null);
75 $result['entry'] = $header[2]??null;
76 $result['position'] = $pos;
77 if($result['entry'] != '') {
78 $result['title candidate'] = array('value'=>$result['entry'], 'type'=>'text', 'hint'=>null);
85 $this->handleBody($tree, $result);
92 msg(sprintf($this->syntax->getLang('error_entry_block'), ($tree['cs'][0]['tag']?sprintf($this->syntax->getLang('named_group'),utf8_tohtml(hsc($tree['cs'][0]['tag']))):$this->syntax->getLang('unnamed_group')), utf8_tohtml(hsc($result['entry']))),-1);
113 if(!isset($result['data'][$property])) {
114 $result['data'][$property] = array();
129 $result['data'][$property][] = array('value'=>$v,'type'=>$type,'hint'=>($hint?:null));
138 $buckets = $result['data'];
139 $result['data'] = array();
152 if(!isset($result['data'][$property])) {
153 $result['data'][$property] = array();
156 $result['data'][$property][] = $triple;
162 if(!empty($result['title candidate'])) {
163 $type = $this->util->loadType($result['title candidate']['type']);
164 $result['title candidate']['value'] = $type->normalize($result['title candidate']['value'], $result['title candidate']['hint']);
167 $footer = $this->handleFooter($footer, $result);
169 return $result;
180 * @param result array the result array passed to the render method
183 function preprocess($match, $state, $pos, &$handler, &$result) {
192 * @param result array the result array passed to the render method
195 function handleHeader($header, &$result) {
205 * @param result array the result array passed to the render method
207 function handleBody(&$tree, &$result) {
215 * @param result array the result array passed to the render method
218 function handleFooter($footer, &$result) {