public function setID($id) { if (strrpos($this->_id, '.wsdl') === strlen($this->_id) - 5) { throw new TInvalidDataValueException('soapserver_id_invalid', $id); } $this->_id = $id; }