function _save($id = null)
 {
     if ($_POST) {
         $_POST['next_time'] = $this->_model()->get_next_time($_POST);
     }
     parent::_save($id);
 }
Beispiel #2
0
 function _save($id = null)
 {
     parent::_save($id);
     $countrys = $this->_model()->query('SELECT * FROM country')->result_array();
     $this->_data['country_options'] = array('' => l('(Please select)'));
     foreach ($countrys as $co) {
         $this->_data['country_options'][$co['id']] = $co['name'];
     }
 }
Beispiel #3
0
 function __construct()
 {
     parent::__construct();
 }