public static function getMonthNames()
    {
        static $months;
        if (!isset($months)) {
            $months = array();
            for ($i = 1; $i < 13; $i++) {
                $months[$i] = strftime('%B', mktime(0, 0, 0, $i, 1, 2001));
            }
        }
        return $months;
    }
public static function getMonthNames()
    {
        static $months;
        if (!isset($months)) {
            $months = array();
            for ($i = 1; $i < 13; $i++) {
                $months[$i] = strftime('%B', mktime(0, 0, 0, $i, 1, 2001));
            }
        }
        return $months;
    }
public static function getMonthNames ( ) { static $ months ; if ( ! isset ( $ months ) ) { $ months = array ( ) ; for ( $ i = 1 ; $ i < 13 ; $ i ++ ) { $ months [ $ i ] = strftime ( '%B' , mktime ( 0 , 0 , 0 , $ i , 1 , 2001 ) ) ; } } return $ months ; }
Returns an array of month names

Used to take advantage of the setlocale function to return
language specific month names.

@returns array  an array of month names
Returns an array of month names