Livestatus\Query: return available columns

This commit is contained in:
Thomas Gelf 2014-11-16 16:28:52 +01:00
parent 7b6b9b8574
commit d7141392a5
1 changed files with 10 additions and 0 deletions

View File

@ -160,6 +160,16 @@ class Query extends SimpleQuery
return $lql;
}
/**
* Get all available columns
*
* @return array
*/
public function getAvailableColumns()
{
return $this->available_columns;
}
protected function columnsToString()
{
$columns = array();