Lines Matching defs:result

42         $result = array(
51 $match = $this->preprocess($match, $state, $pos, $handler, $result);
59 $header = $this->handleHeader($header, $result);
69 $result['data'][$this->util->getIsaKey(false)][] = array('value'=>$class,'type'=>'text', 'hint'=>null);
74 $result['entry'] = $header[2]??null;
75 $result['position'] = $pos;
76 if($result['entry'] != '') {
77 $result['title candidate'] = array('value'=>$result['entry'], 'type'=>'text', 'hint'=>null);
84 $this->handleBody($tree, $result);
91 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);
112 if(!isset($result['data'][$property])) {
113 $result['data'][$property] = array();
128 $result['data'][$property][] = array('value'=>$v,'type'=>$type,'hint'=>($hint?:null));
137 $buckets = $result['data'];
138 $result['data'] = array();
151 if(!isset($result['data'][$property])) {
152 $result['data'][$property] = array();
155 $result['data'][$property][] = $triple;
161 if(!empty($result['title candidate'])) {
162 $type = $this->util->loadType($result['title candidate']['type']);
163 $result['title candidate']['value'] = $type->normalize($result['title candidate']['value'], $result['title candidate']['hint']);
166 $footer = $this->handleFooter($footer, $result);
168 return $result;
179 * @param result array the result array passed to the render method
182 function preprocess($match, $state, $pos, &$handler, &$result) {
191 * @param result array the result array passed to the render method
194 function handleHeader($header, &$result) {
204 * @param result array the result array passed to the render method
206 function handleBody(&$tree, &$result) {
214 * @param result array the result array passed to the render method
217 function handleFooter($footer, &$result) {