getName() . '" id="' . $this->getId() . '" '; $html .= 'value="' . $this->escapeHtml($this->getValue()) . '" '; $html .= 'class="' . $this->getClass() . '" ' . $this->getExtraParams() . '/> '; $calendarYearsRange = $this->getYearsRange(); $changeMonth = $this->getChangeMonth(); $changeYear = $this->getChangeYear(); $maxDate = $this->getMaxDate(); $showOn = $this->getShowOn(); $firstDay = $this->getFirstDay(); $html .= ''; return $html; } /** * Convert special characters to HTML entities * * @return string */ public function getEscapedValue() { if ($this->getFormat() && $this->getValue()) { return strftime($this->getFormat(), strtotime($this->getValue())); } return htmlspecialchars($this->getValue()); } /** * Produce and return block's html output * * {@inheritdoc} * * @return string */ public function getHtml() { return $this->toHtml(); } }