public static function getWeekDays()
    {
        static $weekdays = null;
        if ($weekdays == null) {
            $weekdays   = array();
            for ($i = 0; $i < 7; $i++) {
                $weekdays[$i] = strftime('%A', mktime(0, 0, 0, 1, $i, 2001));
            }
        }
        return $weekdays;
    }
public static function getWeekDays()
    {
        static $weekdays = null;
        if ($weekdays == null) {
            $weekdays   = array();
            for ($i = 0; $i < 7; $i++) {
                $weekdays[$i] = strftime('%A', mktime(0, 0, 0, 1, $i, 2001));
            }
        }
        return $weekdays;
    }
public static function getWeekDays ( ) { static $ weekdays = null ; if ( $ weekdays == null ) { $ weekdays = array ( ) ; for ( $ i = 0 ; $ i < 7 ; $ i ++ ) { $ weekdays [ $ i ] = strftime ( '%A' , mktime ( 0 , 0 , 0 , 1 , $ i , 2001 ) ) ; } } return $ weekdays ; }
Returns an array of week days

Used to take advantage of the setlocale function to
return language specific week days.

@returns array  an array of week day names
Returns an array of week days