Lines Matching refs:mode
160 * @param mode the rendering mode
165 function renderPredicate($mode, &$R, &$T, $p) { argument
167 $this->renderField($mode, $R, $T, $p, $typename, $hint);
175 * @param mode the rendering mode
183 function renderValue($mode, &$R, &$T, $value, $typename, $hint=null, &$type=null) { argument
188 $this->openValue($mode, $R, $typename);
189 $type->render($mode, $R, $T, $value, $hint);
190 $this->closeValue($mode, $R);
198 * @param mode the rendering mode
208 …function renderField($mode, &$R, &$T, $values, $typename, $hint=null, &$type=null, $field=null, $s… argument
217 $this->openField($mode, $R, $field);
220 $this->renderValue($mode, $R, $T, $value, $typename, $hint, $type);
223 $this->closeField($mode, $R);
226 function openField($mode, &$R, $field=null) { argument
227 …if($mode == 'xhtml') $R->doc .= '<span class="strata-field" '.(!empty($field)?'data-field="'.hsc($…
230 function closeField($mode, &$R) { argument
231 if($mode == 'xhtml') $R->doc .= '</span>';
234 function openValue($mode, &$R, $typename) { argument
235 if($mode == 'xhtml') $R->doc .= '<span class="strata-value strata-type-'.$typename.'">';
238 function closeValue($mode, &$R) { argument
239 if($mode == 'xhtml') $R->doc .= '</span>';
242 function renderCaptions($mode, &$R, $fields) { argument
243 if($mode == 'xhtml') {