예제 #1
0
 public function __construct(Application_Model_User_Profile $restaurant)
 {
     $this->_user = $restaurant;
     $this->_code = RM_User_Code_PasswordForgot::create($restaurant);
     $this->_code->save();
     parent::__construct();
 }
예제 #2
0
 public function __construct(Application_Model_User_Profile $profile)
 {
     $this->_profile = $profile;
     $this->_code = RM_User_Code_EmailConfirm::create($profile);
     $this->_code->save();
     parent::__construct();
 }