view _test/Resources/types.xml @ 161:47c9877ccacc

Added a handler for rewriting a PATH_INFO value, useful with a json handlers
author wizard
date Tue, 28 Dec 2010 14:58:17 +0300
parents c289ed9662ca
children d1676be8afcc
line wrap: on
line source

<schema>
	<SimpleType type="email">
		<RegExp message="Неверный формат %Node.name_no%">^\w+(\.\w+)*@$\w+(\.\w+)+</RegExp>
	</SimpleType>
	<SimpleType type="scalar"/>
	<SimpleType type="date" inflate="DateTime">
		<Property name="timezone" optional="1"/>
		<Property name="locale" optional="1"/>
	</SimpleType>
</schema>