PageRenderTime 881ms queryFilters 0ms Sphinxql 436ms GetByIds 373ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 2ms

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

Source

Language

Repository

Date.php https://bitbucket.org/jfrubiom/zendframework-1.x.git | PHP | 4,957 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/freddixx/e-business-vcrm-plugin.git | PHP | 4,750 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 https://bitbucket.org/michalmatoga/ebpl.git | PHP | 4,955 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/acidel/buykoala.git | PHP | 4,954 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 https://bitbucket.org/skuda/rsslounge.git | PHP | 4,955 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/vmihailenco/vladimirwebdev | PHP | 4,810 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';
449            $format = Zend_Locale_Format::getDateFormat($locale) . ' ' . Zend_Locale_Format::getTimeFormat($locale);
450        } else if (((self::$_options['format_type'] == 'php') && ($type === null)) or ($type == 'php')) {
451            $format = Zend_Locale_Format::convertPhpToIsoFormat($format);
Date.php https://bitbucket.org/vmihailenco/zf-blog | PHP | 4,951 lines
1<?php
2/**
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');
244        foreach ($options as $name => $value) {
245            $name  = strtolower($name);
246
249                    case 'format_type' :
250                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
251                            
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://bitbucket.org/nosen/jelly2 | PHP | 4,955 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/hkurosawa/jelly2 | PHP | 4,955 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://github.com/selfchief/zf2.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);
parser.MyHTML.XVweb.class.php http://xvweb.googlecode.com/svn/trunk/ | PHP | 411 lines
1<?php
2class ParserMyHTML
33		"{{phpversion}}"=> phpversion(),
34		"{{phpos}}"=> PHP_OS,
35		"{{artver}}"=> (isset($this->Date['XVweb']->ReadArticleOut['Version']) ? $this->Date['XVweb']->ReadArticleOut['Version'] : "13"),
52				$this->allowedTags .= '<'.$PLGFunction['Tag'].'>';
53				$this->Date['TagsFunctions'][strtolower($PLGFunction['Tag'])] = $PLGFunction;
54			}
84	function OldHtmlToXHTMLFoo($match) {
85		if(isset($this->pattern[strtolower($match[1])]))
86		return str_replace("{match}", $match[0], $this->pattern[strtolower($match[1])]);
319	}
320		$this->text = phpQuery::newDocumentPHP($text);
321		foreach($this->text['include'] as $element)
365		foreach($this->text['code, php, delphi, cpp, java, java5, javascript, css'] as $element){
366				pq($element)->replaceWith($this->GeshiText( pq($element)->php() , (strtolower($element->tagName) == "code" ? pq($element)->attr('lang') : $element->tagName)));
367			}
Command.php https://bitbucket.org/ssellek/saywhatnation.bitbucket.git | PHP | 428 lines
37 */
38require_once dirname(__FILE__) . '/../AutoLoader.php';
39
43 * @copyright  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
44 * @license    http://phpazure.codeplex.com/license
45 */
116	 * 
117	 * @param array $argv PHP argument values.
118	 */
133		// Find a class that corresponds to the $argv[0] script name
134		$requiredHandlerName = str_replace('.bat', '', str_replace('.sh', '', str_replace('.php', '', strtolower(basename($argv[0])))));
135		$handler = null;
313								'description'    => (isset($parameterFor[3]) ? $parameterFor[3] : ''),
314								'required'       => (isset($parameterFor[3]) ? strpos(strtolower($parameterFor[3]), 'required') !== false && strpos(strtolower($parameterFor[3]), 'required if') === false : false),
315							);
Command.php https://bitbucket.org/priyadarshan_salkar/thinkshaddi.git | PHP | 399 lines
37 */
38require_once dirname(__FILE__) . '/../AutoLoader.php';
39
43 * @copyright  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
44 * @license    http://phpazure.codeplex.com/license
45 */
116	 * 
117	 * @param array $argv PHP argument values.
118	 */
133		// Find a class that corresponds to the $argv[0] script name
134		$requiredHandlerName = str_replace('.bat', '', str_replace('.sh', '', str_replace('.php', '', strtolower(basename($argv[0])))));
135		$handler = null;
284								'description'    => (isset($parameterFor[3]) ? $parameterFor[3] : ''),
285								'required'       => (isset($parameterFor[3]) ? strpos(strtolower($parameterFor[3]), 'required') !== false && strpos(strtolower($parameterFor[3]), 'required if') === false : false),
286							);
oxstrregular.php https://github.com/GM-Alex/oxideshop_ce.git | PHP | 394 lines
1<?php
2/**
71    /**
72     * PHP substr() function wrapper
73     *
89    /**
90     * PHP strpos() function wrapper
91     *
112    /**
113     * PHP strstr() function wrapper
114     *
125    /**
126     * PHP multi byte compliant strtolower() function wrapper
127     *
137    /**
138     * PHP strtolower() function wrapper
139     *
PackageFileManager.php https://github.com/wrobel/horde-glue.git | PHP | 1,761 lines
106        PEAR_PACKAGEFILEMANAGER_PHP_NOT_PACKAGE =>
107            'addDependency had PHP as a package, use type="php"',
108        PEAR_PACKAGEFILEMANAGER_CVS_PACKAGED =>
175 * // replace @PHP-BIN@ in this file with the path to php executable!  pretty neat
176 * $e = $test->addReplacement('pear-phpdoc', 'pear-config', '@PHP-BIN@', 'php_bin');
177 * if (PEAR::isError($e)) {
180 * }
181 * $e = $test->addReplacement('pear-phpdoc.bat', 'pear-config', '@PHP-BIN@', 'php_bin');
182 * if (PEAR::isError($e)) {
413     *           files to exclude entirely from the package.xml.  Wildcards are operating system
414     *           wildcards * and ?.  file*foo.php will exclude filefoo.php, fileabrfoo.php and
415     *           filewho_is_thisfoo.php.  file?foo.php will exclude fileafoo.php and will not
955        }
956        if ((strtolower($name) == 'php') && (strtolower($type) == 'pkg')) {
957            return $this->raiseError(PEAR_PACKAGEFILEMANAGER_PHP_NOT_PACKAGE);
PackageFileManager.php https://github.com/organicinternet/magento-design-training.git | PHP | 1,764 lines
173 *  'ignore' => array('TODO', 'tests/'), // ignore TODO, all files in tests/
174 *  'installexceptions' => array('phpdoc' => '/*'), // baseinstalldir ="/" for phpdoc
175 *  'dir_roles' => array('tutorials' => 'doc'),
192 * // replace @PHP-BIN@ in this file with the path to php executable!  pretty neat
193 * $e = $test->addReplacement('pear-phpdoc', 'pear-config', '@PHP-BIN@', 'php_bin');
194 * if (PEAR::isError($e)) {
197 * }
198 * $e = $test->addReplacement('pear-phpdoc.bat', 'pear-config', '@PHP-BIN@', 'php_bin');
199 * if (PEAR::isError($e)) {
430     *           wildcards * and ?.  file*foo.php will exclude filefoo.php, fileabrfoo.php and
431     *           filewho_is_thisfoo.php.  file?foo.php will exclude fileafoo.php and will not
432     *           exclude fileaafoo.php.  test/ will exclude all directories and subdirectories of
954        }
955        if ((strtolower($name) == 'php') && (strtolower($type) == 'pkg')) {
956            return $this->raiseError(PEAR_PACKAGEFILEMANAGER_PHP_NOT_PACKAGE);
index.php git://github.com/ryancramerdesign/ProcessWire.git | PHP | 250 lines
1<?php
2
61	/*
62	 * Allow for an optional /index.config.php file that can point to a different site configuration per domain/host.
63	 *
65	$siteDir = 'site'; 
66	$indexConfigFile = $rootPath . "/index.config.php"; 
67
85	 */
86	require("$rootPath/$coreDir/ProcessWire.php");
87
121	 */
122	include("$rootPath/$wireDir/config.php");
123	$configFile = "$rootPath/$siteDir/config.php";
155	if(!$config->dbName) { 
156		if(is_file("./install.php") && strtolower($_SERVER['REQUEST_URI']) == strtolower($rootURL)) {
157			require("./install.php");
pnTheme.class.php git://pkgs.fedoraproject.org/zikula | PHP | 553 lines
6 * @link http://www.zikula.org
7 * @version $Id: pnTheme.class.php 27383 2009-11-03 10:17:12Z drak $
8 * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
99            $type = FormUtil::getPassedValue('type', null, 'GETPOST');
100            if ($this->caching && strtolower($type) != 'admin') {
101                $modulesnocache = explode(',', pnModGetVar('Theme', 'modulesnocache'));
394            $this->pagetype = 'module';
395            if ((stristr($_SERVER['PHP_SELF'], 'admin.php') || strtolower($this->type) == 'admin')) {
396                $this->pagetype = 'admin';
463                $file = $pageconfigurations['*user']['file'];
464            } else if (!stristr($_SERVER['PHP_SELF'], 'user') && !stristr($_SERVER['PHP_SELF'], 'admin.php') && $this->home && isset($pageconfigurations['*home'])) {
465                $file = $pageconfigurations['*home']['file'];
465                $file = $pageconfigurations['*home']['file'];
466            } else if (stristr($_SERVER['PHP_SELF'], 'admin.php') && isset($pageconfigurations['*admin'])) {
467                $this->cachepage = false;
prado-cli.php https://bitbucket.org/freshflow/prado-fork-v3.10.git | PHP | 789 lines
44	}
45	include_once(dirname(__FILE__).'/3rdParty/PhpShell/php-shell-init.php');
46}
128		echo "usage: php prado-cli.php action <parameter> [optional]\n";
129		echo "example: php prado-cli.php -c mysite\n\n";
130		echo "actions:\n";
566		{
567			if(is_file($path.'/'.$entry) && (preg_match('/[^\s]*test[^\s]*\.php/', strtolower($entry))))
568			{
747{
748	class PHP_Shell_Extensions_ActiveRecord implements PHP_Shell_Extension {
749	    public function register()
785
786	include_once(dirname(__FILE__).'/3rdParty/PhpShell/php-shell-cmd.php');
787}
class.emailtemplatemanager.php https://github.com/korelogic/email_template_manager.git | PHP | 350 lines
4if(!defined('ETMDIR')) define('ETMDIR', EXTENSIONS . "/email_template_manager");
5require_once(TOOLKIT . '/class.manager.php');
6require_once(TOOLKIT . '/class.extensionmanager.php');
6require_once(TOOLKIT . '/class.extensionmanager.php');
7require_once('class.emailtemplate.php');
8
198	public static function getClassNameFromHandle($handle){
199		return sprintf('%sEmailTemplate', str_replace('-', '_', ucfirst(strtolower($handle))));
200	}
202	public static function getHandleFromFilename($filename){
203		return sscanf($filename, 'class.%[^.php].php');
204	}
206	public static function getFileNameFromHandle($handle){
207		return sprintf('class.%s.php', strtolower($handle));
208	}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21