original_string: protected function setUserRole($role_id)
      {
          $this->data_role = array();
  
          if (is_numeric($role_id)) {
  
              $this->data_role = $this->role->get($role_id);
  
              if (empty($this->data_role)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code: protected function setUserRole($role_id)
      {
          $this->data_role = array();
  
          if (is_numeric($role_id)) {
  
              $this->data_role = $this->role->get($role_id);
  
              if (empty($this->data_role)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code_tokens: protected function setUserRole ( $ role_id ) { $ this -> data_role = array ( ) ; if ( is_numeric ( $ role_id ) ) { $ this -> data_role = $ this -> role -> get ( $ role_id ) ; if ( empty ( $ this -> data_role ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
docstring: Returns a user role data
  @param integer|null $role_id
docstring_tokens: Returns a user role data