view _test/Resources/types.xml @ 199:e743a8481327

Added REST support for forms (with only get and post methods)
author sergey
date Mon, 23 Apr 2012 01:36:52 +0400
parents d1676be8afcc
children
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>