BxBaseFormConfirmEmail.php 729 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup UnaBaseView UNA Base Representation Classes
  7. * @{
  8. */
  9. bx_import('BxTemplFormView');
  10. class BxFormConfirmEmailCheckerHelper extends BxDolFormCheckerHelper
  11. {
  12. /**
  13. * Check if key exists
  14. */
  15. function checkCodeExist ($s)
  16. {
  17. $oKey = BxDolKey::getInstance();
  18. return $oKey && $oKey->isKeyExists(trim($s));
  19. }
  20. }
  21. /**
  22. * Email Confirmation Form.
  23. */
  24. class BxBaseFormConfirmEmail extends BxTemplFormView
  25. {
  26. public function __construct($aInfo, $oTemplate)
  27. {
  28. parent::__construct($aInfo, $oTemplate);
  29. }
  30. }
  31. /** @} */