BxOAuthFormEdit.php 943 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 OAuth2 OAuth2 server
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. require_once('BxOAuthFormAdd.php');
  12. class BxOAuthFormEdit extends BxOAuthFormAdd
  13. {
  14. function __construct ($aCustomForm = array())
  15. {
  16. $aCustomForm = array_replace_recursive(array(
  17. 'form_attrs' => array(
  18. 'id' => 'bx-oauth-edit',
  19. 'name' => 'bx-oauth-edit',
  20. ),
  21. 'inputs' => array(
  22. 'id' => array(
  23. 'type' => 'hidden',
  24. 'name' => 'id',
  25. 'value' => '',
  26. 'db' => array (
  27. 'pass' => 'Int',
  28. ),
  29. ),
  30. )
  31. ), $aCustomForm);
  32. parent::__construct($aCustomForm);
  33. }
  34. }
  35. /** @} */