All pastes #384037 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-03-06 19:57 UTC
rendered paste body
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
| This file is part of the Agavi package.                                    |
| Copyright (c) 2006 the Agavi Project.                                      |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
| AGAVI VALIDATORS CONFIGURATION                                             |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
-->
<configurations>
	<!-- custom validators and default parameters -->
	<configuration>
		<validators>

			<validator class="email" name="email_not_valid">
				<arguments>
					<argument>email</argument>
				</arguments>
				<errors>
					<error>Please supply a valid email address.</error>
				</errors>
			</validator>

		</validators>
	</configuration>
</configurations>