Safety note on DataObject::validation_enabled

This commit is contained in:
Ingo Schommer 2013-09-12 15:26:52 +02:00
parent f803704d91
commit 5e0315dc62

View File

@ -167,6 +167,11 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
/**
* Set whether DataObjects should be validated before they are written.
*
* Caution: Validation can contain safeguards against invalid/malicious data,
* and check permission levels (e.g. on {@link Group}). Therefore it is recommended
* to only disable validation for very specific use cases.
*
* @param $enable bool
* @see DataObject::validate()
*/