コード例 #1
0
ファイル: reset_password_dao.php プロジェクト: vazahat/dudex
 /**
  * Returns an instance of class.
  *
  * @return OCSAFFILIATES_BOL_ResetPasswordDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
コード例 #2
0
ファイル: service.php プロジェクト: vazahat/dudex
 /**
  * @param $resetCodeId
  */
 public function deleteResetCode($resetCodeId)
 {
     $this->resetPasswordDao->deleteById($resetCodeId);
 }