private function checkForOptions() { if (!$this->options) { $this->options = $this->createElement('options'); $this->login->appendChild($this->options); } }