array( 'order' => self::SORT_ASC ), 'services_severity' => array( 'columns' => array( 'services_severity', 'servicegroup_alias ASC' ), 'order' => self::SORT_DESC ), 'services_total' => array( 'columns' => array( 'services_total', 'servicegroup_alias ASC' ), 'order' => self::SORT_ASC ) ); } /** * {@inheritdoc} */ public function isValidFilterTarget($column) { if ($column[0] === '_' && preg_match('/^_(?:host|service)_/', $column) ) { return true; } else { return parent::isValidFilterTarget($column); } } }