arse/includes/form/package.inc.php
Emmanuel BENOîT 62a4d0a391 E-mail validator
Added an e-mail validator to the form package. The validator is really
primitive and will only accept a small subset of email addresses, but I
needed one *now*.
2012-02-06 00:10:24 +01:00

25 lines
739 B
PHP

<?php
$package[ 'requires' ][] = 'box';
$package[ 'files' ][] = 'field';
$package[ 'files' ][] = 'form';
$package[ 'files' ][] = 'view';
$package[ 'files' ][] = 'ctrl';
$package[ 'files' ][] = 'modifiers';
$package[ 'files' ][] = 'validators';
$package[ 'views' ][] = 'form';
$package[ 'ctrls' ][] = 'form';
$package[ 'extras' ][] = 'Field';
$package[ 'extras' ][] = 'FieldModifier';
$package[ 'extras' ][] = 'FieldValidator';
$package[ 'extras' ][] = 'Form';
$package[ 'extras' ][] = 'FormAware';
$package[ 'extras' ][] = 'Modifier_TrimString';
$package[ 'extras' ][] = 'Validator_StringLength';
$package[ 'extras' ][] = 'Validator_InArray';
$package[ 'extras' ][] = 'Validator_IntValue';
$package[ 'extras' ][] = 'Validator_Email';