PageRenderTime 2062ms queryFilters 0ms Sphinxql 454ms GetByIds 1535ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 1ms

442,724 results for 'php strtolower' (2062 ms)

Source

Language

Repository

Date.php git://github.com/silverstripe/sapphire.git | PHP | 4,958 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
461            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
462        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
463            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://yurishop.googlecode.com/svn/trunk/ | PHP | 4,955 lines
1<?php
2/**
25#require_once 'Zend/Date/DateObject.php';
26#require_once 'Zend/Locale.php';
27#require_once 'Zend/Locale/Format.php';
27#require_once 'Zend/Locale/Format.php';
28#require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            #require_once 'Zend/Date/Exception.php';
461            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
462        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
463            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php git://github.com/frapi/frapi.git | PHP | 4,862 lines
1<?php
2/**
25// require_once 'Zend/Date/DateObject.php';
26// require_once 'Zend/Locale.php';
27// require_once 'Zend/Locale/Format.php';
27// require_once 'Zend/Locale/Format.php';
28// require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            // require_once 'Zend/Date/Exception.php';
459            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
460        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
461            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
45    private static $_Options = array(
46        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
47        'fix_dst'      => true,       // fix dst on summer/winter time change
240                    case 'format_type' :
241                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
242                            require_once 'Zend/Date/Exception.php';
427            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
428        } else if (((self::$_Options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
429            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
244                    case 'format_type' :
245                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
246                            require_once 'Zend/Date/Exception.php';
424            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
425        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
426            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php git://github.com/moodle/moodle.git | PHP | 4,954 lines
1<?php
2/**
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
125     * string, integer, array and so on. Also parts of dates or time are supported
126     * Always set the default timezone: http://php.net/date_default_timezone_set
127     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
460            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
461        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
462            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 4,773 lines
1<?php
2/**
25// require_once 'Zend/Date/DateObject.php';
26// require_once 'Zend/Locale.php';
27// require_once 'Zend/Locale/Format.php';
27// require_once 'Zend/Locale/Format.php';
28// require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
248                    case 'format_type' :
249                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
250                            // require_once 'Zend/Date/Exception.php';
448            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
449        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
450            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php git://github.com/zendframework/zf2.git | PHP | 4,874 lines
1<?php
2/**
128     * string, integer, array and so on. Also parts of dates or time are supported
129     * Always set the default timezone: http://php.net/date_default_timezone_set
130     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
247        foreach ($options as $name => $value) {
248            $name  = strtolower($name);
249
252                    case 'format_type' :
253                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
254                            throw new Exception\InvalidArgumentException("Unknown format type ($value) for dates, only 'iso' and 'php' supported"); /*, 0, null, $value */
403     * Additionally format tokens but non ISO conform are:
404     * SS - day suffix, eee - php number of weekday(0-6), ddd - number of days per month
405     * l - Leap year, B - swatch internet time, I - daylight saving time, X - timezone offset in seconds
457            $format = Format::getDateFormat($locale) . ' ' . Format::getTimeFormat($locale);
458        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
459            $format = Format::convertPhpToIsoFormat($format);
Date.php http://vaselinengine.googlecode.com/svn/trunk/ | PHP | 4,560 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
227                    case 'format_type' :
228                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
229                            require_once 'Zend/Date/Exception.php';
407            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
408        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
409            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://flextrine2.googlecode.com/svn/trunk/ | PHP | 4,954 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
460            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
461        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
462            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 4,773 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
248                    case 'format_type' :
249                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
250                            require_once 'Zend/Date/Exception.php';
448            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
449        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
450            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php http://railoapacheportable.googlecode.com/svn/trunk/ | PHP | 4,731 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
232                    case 'format_type' :
233                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
234                            require_once 'Zend/Date/Exception.php';
412            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
413        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
414            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
test3.php git://github.com/kvz/phpjs.git | PHP | 4,663 lines
1<?php
2/**
41    private static $_options = array(
42        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
43        'fix_dst'      => true,       // fix dst on summer/winter time change
143     * string, integer, array and so on. Also parts of dates or time are supported
144     * Always set the default timezone: http://php.net/date_default_timezone_set
145     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
229        foreach ($options as $name => $value) {
230            $name  = strtolower($name);
231
234                    case 'format_type' :
235                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
236                            #require_once 'Zend/Date/Exception.php';
414            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
415        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
416            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php git://github.com/eryx/php-framework-benchmark.git | PHP | 4,861 lines
1<?php
2/**
131     * string, integer, array and so on. Also parts of dates or time are supported
132     * Always set the default timezone: http://php.net/date_default_timezone_set
133     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
250        foreach ($options as $name => $value) {
251            $name  = strtolower($name);
252
255                    case 'format_type' :
256                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
257                            throw new Exception\InvalidArgumentException("Unknown format type ($value) for dates, only 'iso' and 'php' supported"); /*, 0, null, $value */
406     * Additionally format tokens but non ISO conform are:
407     * SS - day suffix, eee - php number of weekday(0-6), ddd - number of days per month
408     * l - Leap year, B - swatch internet time, I - daylight saving time, X - timezone offset in seconds
460            $format = Format::getDateFormat($locale) . ' ' . Format::getTimeFormat($locale);
461        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
462            $format = Format::convertPhpToIsoFormat($format);
Date.php git://github.com/centurion-project/Centurion.git | PHP | 4,952 lines
1<?php
2/**
26//$1 'Zend/Locale.php';
27//$1 'Zend/Locale/Format.php';
28//$1 'Zend/Locale/Math.php';
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
125     * string, integer, array and so on. Also parts of dates or time are supported
126     * Always set the default timezone: http://php.net/date_default_timezone_set
127     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            //$1 'Zend/Date/Exception.php';
460            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
461        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
462            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 4,923 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
459            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
460        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
461            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php https://git01.codeplex.com/aengine2 | PHP | 4,871 lines
1<?php
2/**
125     * string, integer, array and so on. Also parts of dates or time are supported
126     * Always set the default timezone: http://php.net/date_default_timezone_set
127     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
244        foreach ($options as $name => $value) {
245            $name  = strtolower($name);
246
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            throw new Exception\InvalidArgumentException("Unknown format type ($value) for dates, only 'iso' and 'php' supported"); /*, 0, null, $value */
400     * Additionally format tokens but non ISO conform are:
401     * SS - day suffix, eee - php number of weekday(0-6), ddd - number of days per month
402     * l - Leap year, B - swatch internet time, I - daylight saving time, X - timezone offset in seconds
454            $format = Format::getDateFormat($locale) . ' ' . Format::getTimeFormat($locale);
455        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
456            $format = Format::convertPhpToIsoFormat($format);
Date.php https://bitbucket.org/svenax/zendframework.git | PHP | 4,957 lines
1<?php
2/**
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
125     * string, integer, array and so on. Also parts of dates or time are supported
126     * Always set the default timezone: http://php.net/date_default_timezone_set
127     * For example, in your bootstrap: date_default_timezone_set('America/Los_Angeles');
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
461            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
462        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
463            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 4,954 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
461            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
462        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
463            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php https://bitbucket.org/Flightan/phpic.git | PHP | 4,951 lines
1<?php
2/**
25require_once 'Zend/Date/DateObject.php';
26require_once 'Zend/Locale.php';
27require_once 'Zend/Locale/Format.php';
27require_once 'Zend/Locale/Format.php';
28require_once 'Zend/Locale/Math.php';
29
44    private static $_options = array(
45        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
46        'fix_dst'      => true,       // fix dst on summer/winter time change
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            require_once 'Zend/Date/Exception.php';
459            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
460        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
461            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21