Lines Matching refs:col
111 foreach($cols as $col) {
112 $col = trim($col);
113 if(!$col) continue;
114 $column = $this->dthlp->_column($col);
129 foreach($cols as $col) {
130 $col = trim(strtolower($col));
131 if($col[0] == 'c') {
132 $col = 'center';
133 } elseif($col[0] == 'r') {
134 $col = 'right';
136 $col = 'left';
138 $dataau['align'][] = $col;
143 foreach($cols as $col) {
144 $col = trim($col);
145 $dataau['widths'][] = $col;
282 foreach($clist as $index => $col) {
284 $class .= ' ' . hsc(sectionID($col, $class_names_cache));
575 foreach($dataau['cols'] as &$col) {
576 $key = $col['key'];
593 $type = $col['type'];
609 unset($col);
613 $col = $dataau['sort'][0];
615 if($col == '%pageid%') {
617 } elseif($col == '%class%') {
619 } elseif($col == '%title%') {
621 } elseif($col == '%lastmod%') {
625 if(!$tables[$col]) {
626 $tables[$col] = 'T' . (++$cnt);
627 … $from .= ' LEFT JOIN dataau AS ' . $tables[$col] . ' ON ' . $tables[$col] . '.pid = W1.pid';
628 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->quote_string($col);
631 $order = 'ORDER BY ' . $tables[$col] . '.value ' . $dataau['sort'][1];
645 $col = $filter['key'];
648 if($col == '%pageid%') {
650 } elseif($col == '%class%') {
652 } elseif($col == '%title%') {
654 } elseif($col == '%lastmod%') {
662 $from2 .= ' AND ' . $table . ".key = " . $sqlite->quote_string($col);