Prado\Web\UI\WebControls\TDatePicker::renderCalendarMonthOptions PHP Метод

renderCalendarMonthOptions() защищенный Метод

Renders the month drop down list options.
protected renderCalendarMonthOptions ( $writer, $selected = null )
    protected function renderCalendarMonthOptions($writer, $selected = null)
    {
        $info = $this->getLocalizedCalendarInfo();
        $writer->addAttribute('id', $this->getClientID() . TControl::CLIENT_ID_SEPARATOR . 'month');
        $writer->addAttribute('name', $this->getUniqueID() . TControl::ID_SEPARATOR . 'month');
        $writer->addAttribute('class', 'datepicker_month_options');
        if ($this->getReadOnly() || !$this->getEnabled(true)) {
            $writer->addAttribute('disabled', 'disabled');
        }
        $writer->renderBeginTag('select');
        $this->renderDropDownListOptions($writer, $this->getLocalizedMonthNames($info), $selected - 1);
        $writer->renderEndTag();
    }