original_string: public function can_access() {
          if ($this->canaccess === null) {
              $this->canaccess = can_access_course($this->record);
          }
          return $this->canaccess;
      }
code: public function can_access() {
          if ($this->canaccess === null) {
              $this->canaccess = can_access_course($this->record);
          }
          return $this->canaccess;
      }
code_tokens: public function can_access ( ) { if ( $ this -> canaccess === null ) { $ this -> canaccess = can_access_course ( $ this -> record ) ; } return $ this -> canaccess ; }
docstring: Returns true if the current user can access this course.
  @return bool
docstring_tokens: Returns true if the current user can access this course .