コード例 #1
0
 function create()
 {
     $mail_id = parent::create();
     if ($mail_id === false) {
         return false;
     }
     $this->_send_mail();
     return $mail_id;
 }
コード例 #2
0
 function create($is_root = false)
 {
     $crypted_password = user::get_crypted_password($this->get_identifier(), $this->get_attribute('password'));
     $this->set_attribute('password', $crypted_password);
     return parent::create($is_root);
 }