/components/com_validation/constraints/md5.php
PHP | 18 lines | 12 code | 1 blank | 5 comment | 0 complexity | b3b30a2a3680d70473765e51bbde4a06 MD5 | raw file
- <?php
- /**
- * Created By: Oli Griffiths
- * Date: 11/12/2012
- * Time: 12:03
- */
- defined('KOOWA') or die('Protected resource');
- class ComValidationConstraintMd5 extends ComValidationConstraintDefault
- {
- protected function _initialize(KConfig $config)
- {
- $config->append(array(
- 'message' => '{{ target }} must be a valid MD5 hash, "{{ value }}" given',
- ));
- parent::_initialize($config);
- }
- }