public function set_from_input($_INPUT = array(), $pre = '')
 {
     try {
         if (parent::set_from_input($_INPUT, $pre)) {
             $this->set_principal($_INPUT[$pre . 'principal']);
             $this->set_instalment($_INPUT[$pre . 'instalment']);
             return true;
         } else {
             return false;
         }
     } catch (Exception $e) {
         throw new Exception(wfMessage('fm-exception-in')->text() . " " . __FILE__ . ": " . $e->getMessage());
     }
 }
 public function set_from_input($_INPUT = array(), $pre = '')
 {
     try {
         if (parent::set_from_input($_INPUT, $pre)) {
             if (isset($_INPUT[$pre . 'increasing'])) {
                 $this->set_increasing($_INPUT[$pre . 'increasing']);
             } else {
                 $this->set_increasing(false);
             }
             return true;
         } else {
             return false;
         }
     } catch (Exception $e) {
         throw new Exception(wfMessage('fm-exception-in')->text() . __FILE__ . ": " . $e->getMessage());
     }
 }
 public function set_from_input($_INPUT = array(), $pre = '')
 {
     try {
         if (parent::set_from_input($_INPUT, $pre)) {
             if (isset($_INPUT[$pre . 'escalation_delta'])) {
                 $this->set_escalation_delta($_INPUT[$pre . 'escalation_delta']);
             }
             if (isset($_INPUT[$pre . 'escalation_rate_effective'])) {
                 $this->set_escalation_rate_effective($_INPUT[$pre . 'escalation_rate_effective']);
             }
             $this->set_escalation_frequency($_INPUT[$pre . 'escalation_frequency']);
             return true;
         } else {
             return false;
         }
     } catch (Exception $e) {
         throw new Exception(wfMessage('fm-exception-in')->text() . __FILE__ . ": " . $e->getMessage());
     }
 }