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