original_string: protected function load_activity_record() {
          global $DB;
          if (is_null($this->_cm)) {
              return;
          }
          $this->_module = $DB->get_record($this->_cm->modname, array('id' => $this->_cm->instance));
      }
code: protected function load_activity_record() {
          global $DB;
          if (is_null($this->_cm)) {
              return;
          }
          $this->_module = $DB->get_record($this->_cm->modname, array('id' => $this->_cm->instance));
      }
code_tokens: protected function load_activity_record ( ) { global $ DB ; if ( is_null ( $ this -> _cm ) ) { return ; } $ this -> _module = $ DB -> get_record ( $ this -> _cm -> modname , array ( 'id' => $ this -> _cm -> instance ) ) ; }
docstring: Loads the activity record for the current CM object associated with this
  page.
  
  This will load {@link moodle_page::$_module} with a row from the related
  module table in the database.
  For instance if {@link moodle_page::$_cm} is a forum then a row from the
  forum table will be loaded.
docstring_tokens: Loads the activity record for the current CM object associated with this page .