view _test/Resources/types.xml @ 335:e8be9062ecf2

improved resource classes, contracts are deprecated
author cin
date Thu, 13 Jun 2013 20:13:24 +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>