Lines Matching defs:context
29 $context = $this->getContext();
31 '[' . $context->getTable() . '.' . $context->getLabel() . '*~]=' . $value;
34 if (!$page) $page = cleanID($context->getLabel());
57 $context = $this->getContext();
58 $sql = $this->buildSQLFromContext($context);
82 * @param Column $context
86 protected function buildSQLFromContext(Column $context)
89 if ($context->isMulti()) {
92 FROM multi_{$context->getTable()} AS M, data_{$context->getTable()} AS D
95 AND M.colref = {$context->getColref()}\n";
98 $sql .= "SELECT DISTINCT col{$context->getColref()} AS value
99 FROM data_{$context->getTable()} AS D