29 $this->columns = array();
31 if(!is_array($xml_columns))
33 $xml_columns = array($xml_columns);
36 foreach($xml_columns as $column)
38 if($column->name ===
'query')
40 $this->columns[] =
new QueryTag($column,
true);
56 $output_columns =
'array(' . PHP_EOL;
57 foreach($this->columns as $column)
59 $output_columns .= $column->getExpressionString() . PHP_EOL .
',';
61 $output_columns = substr($output_columns, 0, -1);
62 $output_columns .=
')';
63 return $output_columns;
74 foreach($this->columns as $column)
76 $arguments[] = $column->getArgument();
__construct($xml_columns)