When using DomainObject::load with an array containing keys other then those supported by the DomainObject, this will result in a SQL error on save. This is because every key/val combination is added to the private _data array without checking it against the Schema. Easy way to circumvent would be to use $this->__set() on each key/val combination in the array passed to load()
When using
DomainObject::load
with an array containing keys other then those supported by the DomainObject, this will result in a SQL error on save. This is because every key/val combination is added to the private _data array without checking it against the Schema. Easy way to circumvent would be to use$this->__set()
on each key/val combination in the array passed toload()