original_string: public function get_item($itemid) {
          global $DB;
  
          $item = $DB->get_record('tool_recyclebin_category', array(
              'id' => $itemid
          ), '*', MUST_EXIST);
  
          $item->name = get_course_display_name_for_list($item);
  
          return $item;
      }
code: public function get_item($itemid) {
          global $DB;
  
          $item = $DB->get_record('tool_recyclebin_category', array(
              'id' => $itemid
          ), '*', MUST_EXIST);
  
          $item->name = get_course_display_name_for_list($item);
  
          return $item;
      }
code_tokens: public function get_item ( $ itemid ) { global $ DB ; $ item = $ DB -> get_record ( 'tool_recyclebin_category' , array ( 'id' => $ itemid ) , '*' , MUST_EXIST ) ; $ item -> name = get_course_display_name_for_list ( $ item ) ; return $ item ; }
docstring: Returns an item from the recycle bin.
  
  @param int $itemid Item ID to retrieve.
  @return \stdClass the item.
docstring_tokens: Returns an item from the recycle bin .