public function addLanguage($language)
{
$this->checkForOptions();
if (!strlen($language)) {
throw new eppException('No language specified for login attempt');
}
if ($this->options) {
$this->options->appendChild($this->createElement('lang', $language));
}
}