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;
}