restrictedChars = $restrictedChars; parent::__construct($name, $title, $value); } function Field() { Requirements::javascript( SAPPHIRE_DIR . '/javascript/UniqueFields.js' ); if($this->maxLength){ $field = "id() . "\" name=\"{$this->name}\" value=\"" . $this->attrValue() . "\" maxlength=\"$this->maxLength\" />"; }else{ $field = "id() . "\" name=\"{$this->name}\" value=\"" . $this->attrValue() . "\" />"; } return $field."id()."]\" id=\"".$this->id()."-restricted-chars\" value=\"".$this->restrictedChars."\" />"; } } ?>