Пример #1
0
 protected function _applyEditedAttributeValue($type, $config, $params, $entity, $value)
 {
     parent::_applyEditedAttributeValue($type, $config, $params, $entity, $value);
     $entity->validate();
     // @todo catch exceptions and format them ? (not yet done in core)
     return $this;
 }
Пример #2
0
 protected function _applyEditedAttributeValue($type, $config, $params, $entity, $value)
 {
     parent::_applyEditedAttributeValue($type, $config, $params, $entity, $value);
     $entity->validate();
     // TODO catch exceptions and format them ?
     return $this;
 }