/** * Returns the current course module * @return cm_info */ public function get_cm() { return $this->structure->get_cm(); }