Prado\Web\UI\WebControls\TDatePicker::getCulturalOptions PHP Method

getCulturalOptions() protected method

Get javascript localization options, e.g. month and weekday names.
protected getCulturalOptions ( ) : array
return array localization options.
    protected function getCulturalOptions()
    {
        if ($this->getCurrentCulture() == 'en') {
            return array();
        }
        $date = $this->getLocalizedCalendarInfo();
        $options['MonthNames'] = $date->getMonthNames();
        $options['AbbreviatedMonthNames'] = $date->getAbbreviatedMonthNames();
        $options['ShortWeekDayNames'] = $date->getAbbreviatedDayNames();
        return $options;
    }