Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
protected function update_plan($planid, $number, $userid, $templateid, $status, $duedate) { $plan = array('id' => $planid, 'name' => 'name' . $number, 'description' => 'description' . $number, 'descriptionformat' => FORMAT_HTML, 'userid' => $userid, 'templateid' => $templateid, 'status' => $status, 'duedate' => $duedate); $result = external::update_plan($plan); return external_api::clean_returnvalue(external::update_plan_returns(), $result); }