/** * function processData * <pre> * Processes the data for this form. Because this page is made up of * sub-pages we just need to figure out the appropriate processData() call * on a sub-page. * </pre> * Precondition: sub-page objects must be initialized * @return [void] */ function processData() { $personal_form_id = $this->active_subPage->processData(); if ($personal_form_id != '') { $this->personal_form_id = $personal_form_id; //NOTE: may replace a non-empty value.. } // Flag the requirement for the director to be notified of this change $scheduleFormManager = new RowManager_StaffScheduleManager($this->personal_form_id); $scheduleFormManager->setToNotify(true); $scheduleFormManager->updateDBTable(); // Compose Notification E-mail // $message = $this->composeNotificationMessage(); // $this->sendEmailToDirector(); }