35 $xml_columns = $xml_columns_tag->column;
36 $xml_queries = $xml_columns_tag->query;
38 $this->columns = array();
46 if(!is_array($xml_columns))
48 $xml_columns = array($xml_columns);
51 foreach($xml_columns as $column)
62 if(!is_array($xml_queries))
64 $xml_queries = array($xml_queries);
67 foreach($xml_queries as $column)
69 $this->columns[] =
new QueryTag($column, TRUE);
80 $output_columns =
'array(' . PHP_EOL;
81 foreach($this->columns as $column)
83 if(is_a($column,
'QueryTag'))
85 $output_columns .= $column->toString() . PHP_EOL .
',';
89 $output_columns .= $column->getExpressionString() . PHP_EOL .
',';
92 $output_columns = substr($output_columns, 0, -1);
93 $output_columns .=
')';
94 return $output_columns;
104 $arguments = array();
105 foreach($this->columns as $column)
107 if(is_a($column,
'QueryTag'))
109 $arguments = array_merge($arguments, $column->getArguments());
__construct($xml_columns_tag)