public function setContactId($contactid) { $this->contactobject->appendChild($this->createElement('contact:id', $contactid)); }