function setOwner($owner, $ownerBaseClass = null)
 {
     parent::setOwner($owner, $ownerBaseClass);
     // setting translatable fields by inspecting owner - this should really be done in the constructor
     if ($this->owner && $this->translatableFields === null) {
         $this->translatableFields = array_merge(array_keys($this->owner->inheritedDatabaseFields()), array_keys($this->owner->has_many()), array_keys($this->owner->many_many()));
     }
 }
 function setOwner(Object $owner)
 {
     parent::setOwner($owner);
     // setting translatable fields by inspecting owner - this should really be done in the constructor
     $this->translatableFields = array_merge(array_keys($this->owner->inheritedDatabaseFields()), array_keys($this->owner->has_many()), array_keys($this->owner->many_many()));
 }