Constructs a translated array of month name abbreviations
bool $required: (optional) If FALSE, the returned array will include a blank value. Defaults to FALSE.
array An array of month abbreviations.
public static function monthNamesAbbr($required = FALSE) {
// Force the key to use the correct month value, rather than
// starting with zero.
$monthnames = array(
1 => t('Jan'),
2 => t('Feb'),
3 => t('Mar'),
4 => t('Apr'),
5 => t('May'),
6 => t('Jun'),
7 => t('Jul'),
8 => t('Aug'),
9 => t('Sep'),
10 => t('Oct'),
11 => t('Nov'),
12 => t('Dec'),
);
$none = array(
'' => '',
);
return !$required ? $none + $monthnames : $monthnames;
}