public function LoadRelationships() { foreach ($this->mt as $mtField) { MtFieldWrapper::getMTTermsforEntity($mtField, $this->entity, $this, $this->{$this->keyName}); } foreach ($this->uf as $userField) { UserFieldWrapper::getUserTermsforEntity($userField, $this->entity, $this, $this->{$this->keyName}); } $this->LoadDocs(); $this->LoadGeometries(); }