PageRenderTime 52ms CodeModel.GetById 22ms RepoModel.GetById 2ms app.codeStats 0ms

/content/code/trunk/administrator/components/com_artofcontent/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 | 2c6d116e65d4d117ec6c018a341382be MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: md5.php 484 2010-12-20 23:40:27Z eddieajau $
  4. * @package JXtended.Libraries
  5. * @subpackage Form
  6. * @copyright Copyright 2005 - 2010 New Life in IT Pty Ltd. All rights reserved.
  7. * @license GNU General Public License
  8. * @link http://www.theartofjoomla.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. }