public function toHtmlInternal($value = null)
    {
        $strOutput = "<optgroup label=\"{$this->__label}\">\n";
        foreach ($this->__options as $option) {
            $strOutput .= $option->toHtmlInternal($value);
        }
        $strOutput .= "</optgroup>\n";

        return $strOutput;
    }
public function toHtmlInternal($value = null)
    {
        $strOutput = "<optgroup label=\"{$this->__label}\">\n";
        foreach ($this->__options as $option) {
            $strOutput .= $option->toHtmlInternal($value);
        }
        $strOutput .= "</optgroup>\n";

        return $strOutput;
    }
public function toHtmlInternal ( $ value = null ) { $ strOutput = "<optgroup label=\"{$this->__label}\">\n" ; foreach ( $ this -> __options as $ option ) { $ strOutput .= $ option -> toHtmlInternal ( $ value ) ; } $ strOutput .= "</optgroup>\n" ; return $ strOutput ; }
Generte HTML output
@param string $value
@return string Generated HTML
Generte HTML output