1
0
mirror of synced 2025-02-21 22:53:15 +03:00
This commit is contained in:
romanb 2007-10-17 19:44:49 +00:00
parent 3e7d9d227e
commit 48a1f48da9

@ -13,7 +13,7 @@ Doctrine_Manager::getInstance()->setAttribute(Doctrine::ATTR_VALIDATE, Doctrine:
</code> </code>
You can combine the following constants by using bitwise operations: VALIDATE_ALL, VALIDATE_TYPES, VALIDATE_LENGTHS, You can combine the following constants by using bitwise operations: VALIDATE_ALL, VALIDATE_TYPES, VALIDATE_LENGTHS,
VALIDATE_CONSTRAINTS, VALIDATE_NONE. For example to enbale all validations except length validations you would use: VALIDATE_CONSTRAINTS, VALIDATE_NONE. For example to enable all validations except length validations you would use:
<code> <code>
VALIDATE_ALL & ~VALIDATE_LENGTHS VALIDATE_ALL & ~VALIDATE_LENGTHS
</code> </code>