public function save() { $this->data->slotid = $this->get_parent()->get_id(); parent::save(); $scheddata = $this->get_scheduler()->get_data(); scheduler_update_grades($scheddata, $this->studentid); }
/** * Save any changes to the database */ public function save() { $this->data->schedulerid = $this->get_parent()->get_id(); parent::save(); $this->appointments->save_children(); $this->update_calendar(); }