original_string: private function get_gradebook_data_for_user($userid) {
          if (isset($this->gradinginfo->items[0]) && $this->gradinginfo->items[0]->grades[$userid]) {
              return $this->gradinginfo->items[0]->grades[$userid];
          }
          return false;
      }
code: private function get_gradebook_data_for_user($userid) {
          if (isset($this->gradinginfo->items[0]) && $this->gradinginfo->items[0]->grades[$userid]) {
              return $this->gradinginfo->items[0]->grades[$userid];
          }
          return false;
      }
code_tokens: private function get_gradebook_data_for_user ( $ userid ) { if ( isset ( $ this -> gradinginfo -> items [ 0 ] ) && $ this -> gradinginfo -> items [ 0 ] -> grades [ $ userid ] ) { return $ this -> gradinginfo -> items [ 0 ] -> grades [ $ userid ] ; } return false ; }
docstring: Return a users grades from the listing of all grade data for this assignment.
  
  @param int $userid
  @return mixed stdClass or false
docstring_tokens: Return a users grades from the listing of all grade data for this assignment .