original_string: public function get_items() {
          global $DB;
  
          $items = $DB->get_records('tool_recyclebin_category', array(
              'categoryid' => $this->_categoryid
          ));
  
          foreach ($items as $item) {
              $item->name = get_course_display_name_for_list($item);
          }
  
          return $items;
      }
code: public function get_items() {
          global $DB;
  
          $items = $DB->get_records('tool_recyclebin_category', array(
              'categoryid' => $this->_categoryid
          ));
  
          foreach ($items as $item) {
              $item->name = get_course_display_name_for_list($item);
          }
  
          return $items;
      }
code_tokens: public function get_items ( ) { global $ DB ; $ items = $ DB -> get_records ( 'tool_recyclebin_category' , array ( 'categoryid' => $ this -> _categoryid ) ) ; foreach ( $ items as $ item ) { $ item -> name = get_course_display_name_for_list ( $ item ) ; } return $ items ; }
docstring: Returns a list of items in the recycle bin for this course.
  
  @return array the list of items.
docstring_tokens: Returns a list of items in the recycle bin for this course .