Lines Matching refs:this

29         $this->dthlp = plugin_load('helper', 'data');
61 $this->Lexer->addSpecialPattern(
82 if (!$this->dthlp->ready()) return null;
96 'rownumbers' => (bool)$this->getConf('rownumbers'),
124 $column = $this->dthlp->column($col);
134 $cols = $this->parseValues($line[1]);
167 $column = $this->dthlp->column($line[1]);
185 $flt = $this->dthlp->parseFilter($line[1]);
228 $data['sql'] = $this->buildSQL($data);
231 $data['cur_param'] = $this->dthlp->getPurrentParam(false);
252 if (!$this->dthlp->ready()) return false;
253 $sqlite = $this->dthlp->getDB();
259 $this->sums = [];
261 if ($this->hasRequestFilter() || isset($_REQUEST['dataofs'])) {
262 $this->updateSQLwithQuery($data); // handles request params
264 $this->dthlp->replacePlaceholdersInSQL($data);
272 $this->nullList($data, $clist, $renderer);
298 $renderer->doc .= $this->preList($clist, $data);
302 $renderer->doc .= $this->before_item;
305 $renderer->doc .= sprintf($this->before_val, 'class="' . $classes[0] . '"');
307 $renderer->doc .= $this->after_val;
313 $renderer->doc .= sprintf($this->beforeVal($data, $num_rn), 'class="' . $classes[$num_rn] . '"');
314 $renderer->doc .= $this->dthlp->formatData(
319 $renderer->doc .= $this->afterVal($data, $num_rn);
329 if (!isset($this->sums[$num])) {
330 $this->sums[$num] = 0;
332 $this->sums[$num] += $nval;
335 $renderer->doc .= $this->after_item;
337 $renderer->doc .= $this->postList($data, $cnt);
351 return $this->before_val;
363 return $this->after_val;
379 $cur_params = $this->dthlp->getPurrentParam();
384 $filters = $this->dthlp->getFilters();
400 $text .= '<h4>' . sprintf($this->getLang('tablefilteredby'), hsc(implode(' & ', $fltrs))) . '</h4>';
402 '<a href="' . wl($ID) . '">' . $this->getLang('tableresetfilter') . '</a>' .
436 '" title="' . $this->getLang('sort') . '">' . hsc($head) . '</a>';
486 $R->doc .= $this->preList($clist, $data);
489 $R->cdata($this->getLang('none'));
515 if (!empty($this->sums[$i])) {
516 $text .= '∑ ' . $this->sums[$i];
536 $params = $this->dthlp->a2ua('dataflt', $_REQUEST['dataflt']);
543 '" title="' . $this->getLang('prev') .
544 '" class="prev">' . $this->getLang('prev') . '</a>';
553 $params = $this->dthlp->a2ua('dataflt', $_REQUEST['dataflt']);
560 '" title="' . $this->getLang('next') .
561 '" class="next">' . $this->getLang('next') . '</a>';
586 $sqlite = $this->dthlp->getDB();
653 $use_dataresolve = $this->getConf('use_dataresolve');
724 if ($this->hasRequestFilter()) {
734 $data['filter'] = array_merge($data['filter'], $this->dthlp->getFilters());
736 // Rebuild SQL FIXME do this smarter & faster
737 $data['sql'] = $this->buildSQL($data);