original_string: public function get_item_category() {
          if (!$this->is_course_item() and !$this->is_category_item()) {
              return false;
          }
          return grade_category::fetch(array('id'=>$this->iteminstance));
      }
code: public function get_item_category() {
          if (!$this->is_course_item() and !$this->is_category_item()) {
              return false;
          }
          return grade_category::fetch(array('id'=>$this->iteminstance));
      }
code_tokens: public function get_item_category ( ) { if ( ! $ this -> is_course_item ( ) and ! $ this -> is_category_item ( ) ) { return false ; } return grade_category :: fetch ( array ( 'id' => $ this -> iteminstance ) ) ; }
docstring: Returns the grade_category for a grade category grade item
  
  @return grade_category|bool Returns a grade_category instance if applicable or false otherwise
docstring_tokens: Returns the grade_category for a grade category grade item