Lines Matching refs:col
89 foreach($cols as $col){
90 $col = trim($col);
91 if(!$col) continue;
92 $column = $this->dthlp->_column($col);
103 foreach($cols as $col){
104 $col = trim($col);
105 $data['headers'][] = $col;
329 foreach ($data['cols'] as &$col){
330 $key = $col['key'];
350 $type = $col['type'];
357 if ($type=='pageid') $col['type'] = 'title';
360 unset($col);
364 $col = $data['sort'][0];
366 if($col == '%pageid%'){
368 }elseif($col == '%class%'){
370 }elseif($col == '%title%'){
374 if(!$tables[$col]){
375 $tables[$col] = 'T'.(++$cnt);
376 …$select[] = "(GROUP_CONCAT(DISTINCT ?".$tables[$col]." ; SEPARATOR=\",\") AS ?".$tables[$col]."s)";
378 … .= sprintf('{ ?pageurl <%s%s> ?%s . }',$this->getConf('base_url'),urlencode($col),$tables[$col]);
380 $order = sprintf('ORDER BY %s(?%ss)',$data['sort'][1],$tables[$col]);
395 $col = $filter['key'];
401 if ($col == '%pageid%') $predicate = 'rdfs:label';
403 if ($col == '%class%') $predicate = 'spd:class';
405 if ($col == '%title%') $predicate = 'spd:title';
407 if(!$tables[$col]) $tables[$col] = 'T'.(++$cnt);
408 $predicate = sprintf('<%s%s>',$this->getConf('base_url'),urlencode($col));
424 …{ ?pageurl %s ?%s_value . FILTER regex(?%s_value,"^%s$") }',$predicate,$col,$col,addslashes(str_re…
427 …ageurl %s ?%s_value . FILTER (! regex(?%s_value,"^%s$")) }',$predicate,$col,$col,addslashes(str_re…
430 …tf('{ ?pageurl %s ?%s_value . FILTER (?%s_value %s "%s") }',$predicate,$col,$col,$filter['compare'…