Exemple #1
0
 public static function getMonthOfYearArray($short_name = FALSE)
 {
     if ($short_name == TRUE) {
         if (is_array(self::$short_month_of_year_arr) == FALSE) {
             self::$short_month_of_year_arr = self::_get_month_short_names();
         }
         return self::$short_month_of_year_arr;
     } else {
         if (is_array(self::$long_month_of_year_arr) == FALSE) {
             self::$long_month_of_year_arr = self::_get_month_long_names();
         }
         return self::$long_month_of_year_arr;
     }
 }