}
/**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
+ /**
* Custom validation.
*
* @throws \coding_exception
}
/**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
+ /**
* Custom validation.
*
* @throws \coding_exception
return array($this->courseid, 'attendance', 'report', 'report.php?id=' . $this->objectid,
$this->objectid, $this->contextinstanceid);
}
+
+ /**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
}
}
/**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
+ /**
* Custom validation.
*
* @throws \coding_exception
}
/**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
+ /**
* Custom validation.
*
* @throws \coding_exception
}
/**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
+ /**
* Custom validation.
*
* @throws \coding_exception
}
/**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
+ /**
* Custom validation.
*
* @throws \coding_exception
return array($this->courseid, 'attendance', 'status added', $this->get_url(),
$this->other['acronym'].': '.$this->other['description'].' ('.$this->other['grade'].')', $this->contextinstanceid);
}
+
+ /**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
}
return array($this->courseid, 'attendance', 'status removed', $this->get_url(),
$this->other['acronym'] . ' - ' . $this->other['description'], $this->contextinstanceid);
}
+
+ /**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
}
return array($this->courseid, 'attendance', 'status updated', $this->get_url(),
$this->other['updated'], $this->contextinstanceid);
}
+
+ /**
+ * Get objectid mapping
+ *
+ * @return array of parameters for object mapping.
+ */
+ public static function get_objectid_mapping() {
+ return array('db' => 'attendance', 'restore' => 'attendance');
+ }
+
}