PageRenderTime 46ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/xuser/code/trunk/administrator/components/com_artofuser/libraries/jxtended/form/rules/md5.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 41 lines | 8 code | 4 blank | 29 comment | 0 complexity | 8423470d887018ad37fc7f337742b25e MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: md5.php 353 2010-10-26 08:53:15Z eddieajau $
  4. * @package JXtended.Libraries
  5. * @subpackage Form
  6. * @copyright Copyright (C) 2008 - 2009 JXtended, LLC. All rights reserved.
  7. * @license GNU General Public License
  8. * @link http://jxtended.com
  9. */
  10. defined('JPATH_BASE') or die('Restricted Access');
  11. juimport('jxtended.form.formrule');
  12. /**
  13. * Form Rule class for JXtended Libraries.
  14. *
  15. * @package JXtended.Libraries
  16. * @subpackage Form
  17. * @since 1.1
  18. */
  19. class JFormRuleMd5 extends JFormRule
  20. {
  21. /**
  22. * The regular expression.
  23. *
  24. * @access protected
  25. * @var string
  26. * @since 1.1
  27. */
  28. var $_regex = '^[A-Z0-9]{32}$';
  29. /**
  30. * The regular expression modifiers.
  31. *
  32. * @access protected
  33. * @var string
  34. * @since 1.1
  35. */
  36. var $_modifiers = 'i';
  37. }