/** * Apply filter to the grid * @param Grid $grid * @throws SystemException */ public function apply(Grid $grid) { if ($this->data) { $grid->addFilterCondition((string) $this->data); } }