original_string: public function load($areaid) {
          global $DB;
  
          $this->areacache = $DB->get_record('grading_areas', array('id' => $areaid), '*', MUST_EXIST);
          $this->context = context::instance_by_id($this->areacache->contextid, MUST_EXIST);
          $this->component = $this->areacache->component;
          $this->area = $this->areacache->areaname;
      }
code: public function load($areaid) {
          global $DB;
  
          $this->areacache = $DB->get_record('grading_areas', array('id' => $areaid), '*', MUST_EXIST);
          $this->context = context::instance_by_id($this->areacache->contextid, MUST_EXIST);
          $this->component = $this->areacache->component;
          $this->area = $this->areacache->areaname;
      }
code_tokens: public function load ( $ areaid ) { global $ DB ; $ this -> areacache = $ DB -> get_record ( 'grading_areas' , array ( 'id' => $ areaid ) , '*' , MUST_EXIST ) ; $ this -> context = context :: instance_by_id ( $ this -> areacache -> contextid , MUST_EXIST ) ; $ this -> component = $ this -> areacache -> component ; $ this -> area = $ this -> areacache -> areaname ; }
docstring: Loads the gradable area info from the database
  
  @param int $areaid
docstring_tokens: Loads the gradable area info from the database