Lines Matching refs:cols
920 $cols = array_map( create_function( '$a','return $a[definition];' ),
926 $sql = "CREATE TABLE {$this->table}\n(\n\t" . implode( ",\n\t", $cols ).
1199 $cols = $this->__columnsList( false );
1200 $cols = implode( ',', $cols );
1208 $cols, $this->table, $idColumn );
1480 $cols = array();
1497 $cols[] = $colName;
1501 if ( !$visibleOnly || empty( $cols ) )
1504 $cols[] = $colName;
1506 foreach ( $cols as $index => $name )
1508 $cols[$index] = $meta[$name]['options']['aliasing'] . ' AS ' .
1513 array_unshift( $cols, $idCol );
1516 return $cols;
1589 list( $filter, $parameters, $order, $cols ) = $config;
1619 $cols = array();
1640 $cols = array_merge( $columns, $cols );
1642 $cols[] = $columns;
1644 $columns = implode( ',', $cols );
1778 $cols = $this->__columnsList( true, $isPrintVersion );
1779 $rows = $this->__recordsList( $cols, true, $skip, $num, $customQuery );
1783 $code = $this->__renderTable( $idCol, $cols, $rows, $count, $num,
1795 public function __renderTable( $idCol, $cols, $rows, $count, $num, $skip, argument
1943 foreach ( $cols as $column )
2624 $cols = array( $idCol );
2648 $cols[] = $this->meta[$col]['options']['aliasing'] . ' AS ' . $col;
2650 $cols[] = $col;
2664 return array( $filter, $parameters, $order, $cols );
2675 list( $filter, $parameters, $order, $cols ) = $config;
2679 $st = $this->db->prepare( 'SELECT ' . implode( ',', $cols ) .
2715 list( $filter, $parameters, $order, $cols ) = $config;
2719 $st = $this->db->prepare( 'SELECT ' . implode( ',', $cols ) .