public function setHtmlFilter($data)
    {
        $role_id = isset($data['role_id']) ? $data['role_id'] : 0;
        $this->current_filter = $this->filter->getByRole($role_id);
    }
public function setHtmlFilter($data)
    {
        $role_id = isset($data['role_id']) ? $data['role_id'] : 0;
        $this->current_filter = $this->filter->getByRole($role_id);
    }
public function setHtmlFilter ( $ data ) { $ role_id = isset ( $ data [ 'role_id' ] ) ? $ data [ 'role_id' ] : 0 ; $ this -> current_filter = $ this -> filter -> getByRole ( $ role_id ) ; }
Sets HTML filter globally
@param array $data
Sets HTML filter globally