jDateTime::getMonthNames PHP Method

getMonthNames() private static method

Returns correct names for months
private static getMonthNames ( $month, $shorten = false, $len = 3 )
    private static function getMonthNames($month, $shorten = false, $len = 3)
    {
        // Convert
        $months = array('فروردین', 'اردیبهشت', 'خرداد', 'تیر', 'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند');
        $ret = $months[$month - 1];
        // Return
        return $shorten ? self::substr($ret, 0, $len) : $ret;
    }