PageRenderTime 2622ms queryFilters 53ms Sphinxql 476ms GetByIds 2085ms meta 0ms repositoryFilters 5ms languageFilters 1ms sourceFilters 2ms

442,724 results for 'php strtolower repo:HabariMag/habarimag-old' (2622 ms)

Source

Language

Repository

Date.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 4,772 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);
Command.php https://PHPAzure.svn.codeplex.com/svn | PHP | 428 lines
37 */
38require_once dirname(__FILE__) . '/../AutoLoader.php';
39
43 * @copyright  Copyright (c) 2009 - 2012, 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://PHPAzure.svn.codeplex.com/svn | PHP | 427 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;
312								'description'    => (isset($parameterFor[3]) ? $parameterFor[3] : ''),
313								'required'       => (isset($parameterFor[3]) ? strpos(strtolower($parameterFor[3]), 'required') !== false && strpos(strtolower($parameterFor[3]), 'required if') === false : false),
314							);
Dispatcher.php https://github.com/cokarmando/PrestaShop.git | PHP | 772 lines
1<?php
2/*
274					$controllers = Dispatcher::getControllers(_PS_MODULE_DIR_.$module_name.'/controllers/front/');
275					if (isset($controllers[strtolower($this->controller)]))
276					{
276					{
277						include_once(_PS_MODULE_DIR_.$module_name.'/controllers/front/'.$this->controller.'.php');
278						$controller_class = $module_name.$this->controller.'ModuleFrontController';
302						{
303							// Controllers in modules can be named AdminXXX.php or AdminXXXController.php
304							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
304							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
305							$controller_class = $controllers[strtolower($this->controller)].(strpos($controllers[strtolower($this->controller)], 'Controller') ? '' : 'Controller');
306						}
762				{
763					$key = str_replace(array('controller.php', '.php'), '', strtolower($controller_filename));
764					$controllers[$key] = basename($controller_filename, '.php');
Dispatcher.php https://github.com/wonxshelond/PrestaShop.git | PHP | 773 lines
1<?php
2/*
275					$controllers = Dispatcher::getControllers(_PS_MODULE_DIR_.$module_name.'/controllers/front/');
276					if (isset($controllers[strtolower($this->controller)]))
277					{
277					{
278						include_once(_PS_MODULE_DIR_.$module_name.'/controllers/front/'.$this->controller.'.php');
279						$controller_class = $module_name.$this->controller.'ModuleFrontController';
303						{
304							// Controllers in modules can be named AdminXXX.php or AdminXXXController.php
305							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
305							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
306							$controller_class = $controllers[strtolower($this->controller)].(strpos($controllers[strtolower($this->controller)], 'Controller') ? '' : 'Controller');
307						}
763				{
764					$key = str_replace(array('controller.php', '.php'), '', strtolower($controller_filename));
765					$controllers[$key] = basename($controller_filename, '.php');
Dispatcher.php https://github.com/MyBB-Services/PrestaShop.git | PHP | 775 lines
1<?php
2/*
274					$controllers = Dispatcher::getControllers(_PS_MODULE_DIR_.$module_name.'/controllers/front/');
275					if (isset($controllers[strtolower($this->controller)]))
276					{
276					{
277						include_once(_PS_MODULE_DIR_.$module_name.'/controllers/front/'.$this->controller.'.php');
278						$controller_class = $module_name.$this->controller.'ModuleFrontController';
302						{
303							// Controllers in modules can be named AdminXXX.php or AdminXXXController.php
304							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
304							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
305							$controller_class = $controllers[strtolower($this->controller)].(strpos($controllers[strtolower($this->controller)], 'Controller') ? '' : 'Controller');
306						}
765				{
766					$key = str_replace(array('controller.php', '.php'), '', strtolower($controller_filename));
767					$controllers[$key] = basename($controller_filename, '.php');
Dispatcher.php https://github.com/netplayer/PrestaShop.git | PHP | 876 lines
1<?php
2/*
291					$controllers = Dispatcher::getControllers(_PS_MODULE_DIR_.$module_name.'/controllers/front/');
292					if (isset($controllers[strtolower($this->controller)]))
293					{
293					{
294						include_once(_PS_MODULE_DIR_.$module_name.'/controllers/front/'.$this->controller.'.php');
295						$controller_class = $module_name.$this->controller.'ModuleFrontController';
322						{
323							// Controllers in modules can be named AdminXXX.php or AdminXXXController.php
324							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
324							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
325							$controller_class = $controllers[strtolower($this->controller)].(strpos($controllers[strtolower($this->controller)], 'Controller') ? '' : 'Controller');
326						}
866				{
867					$key = str_replace(array('controller.php', '.php'), '', strtolower($controller_filename));
868					$controllers[$key] = basename($controller_filename, '.php');
prado-cli.php http://prado3.googlecode.com/svn/trunk/ | PHP | 882 lines
35	}
36	include_once(dirname(__FILE__).'/3rdParty/PhpShell/php-shell-init.php');
37}
125		echo "usage: php prado-cli.php action <parameter> [optional]\n";
126		echo "example: php prado-cli.php -c mysite\n\n";
127		echo "actions:\n";
564		{
565			if(is_file($path.'/'.$entry) && (preg_match('/[^\s]*test[^\s]*\.php/', strtolower($entry))))
566			{
841{
842	class PHP_Shell_Extensions_ActiveRecord implements PHP_Shell_Extension {
843	    public function register()
879
880	include_once(dirname(__FILE__).'/3rdParty/PhpShell/php-shell-cmd.php');
881}
Dispatcher.php https://gitlab.com/mtellezgalindo/PrestaShop.git | PHP | 877 lines
1<?php
2/*
291					$controllers = Dispatcher::getControllers(_PS_MODULE_DIR_.$module_name.'/controllers/front/');
292					if (isset($controllers[strtolower($this->controller)]))
293					{
293					{
294						include_once(_PS_MODULE_DIR_.$module_name.'/controllers/front/'.$this->controller.'.php');
295						$controller_class = $module_name.$this->controller.'ModuleFrontController';
322						{
323							// Controllers in modules can be named AdminXXX.php or AdminXXXController.php
324							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
324							include_once(_PS_MODULE_DIR_.$tab->module.'/controllers/admin/'.$controllers[strtolower($this->controller)].'.php');
325							$controller_class = $controllers[strtolower($this->controller)].(strpos($controllers[strtolower($this->controller)], 'Controller') ? '' : 'Controller');
326						}
868				{
869					$key = str_replace(array('controller.php', '.php'), '', strtolower($controller_filename));
870					$controllers[$key] = basename($controller_filename, '.php');
lib.php https://bitbucket.org/riyogarta/bams.git | PHP | 576 lines
437		while($opath=mysql_fetch_object($nresult)) {
438			$ainfo=b_readinit(str_replace('.php','.init.php',strtolower($opath->cpath)));
439			$amoduls[]=trim(strtolower($ainfo['name']));
454	$breturn=true;
455	$ainfo=b_readinit(str_replace('.php','.init.php',strtolower($cpath)));
456	$cmodul=trim(strtolower($ainfo['name']));
459	while($opath=mysql_fetch_object($nresult)) {
460		$ainfo=b_readinit(str_replace('.php','.init.php',strtolower($opath->cpath)));
461		if(trim($ainfo['dependency'])<>'')
485				$csql='select cpath from '.PREFIX.'moduls where cpath like \'%'.substr($ctemp,0,strpos($ctemp,'_')).'.php\'';
486				$initfile=str_replace('./','./admin/',str_replace('.php','.init.php',strtolower(b_fetch($csql))));
487				$GLOBALS['bv_pathextension']=dirname($initfile).'/';
558while($omoduls=mysql_fetch_object($nresult)) {
559	$cfile=str_replace('.php','.lib.php',strtolower($omoduls->cpath));
560	/*
Date.php https://github.com/udonmai/YouGit.git | 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 https://github.com/emreiser/miniform.git | 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);
test3.php https://github.com/evangelia-mitsopoulou/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);
test3.php https://github.com/beardedlinuxgeek/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 https://bitbucket.org/rtsukui/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/ostric/e-learning.git | PHP | 4,704 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 https://github.com/o2sources/nicknames.git | PHP | 4,704 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 https://github.com/jverkoey/snaapilookup.git | PHP | 4,690 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 https://github.com/gsabareesh/e-learning.git | PHP | 4,704 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 https://github.com/sluther/portsensor.git | PHP | 4,576 lines
1<?php
2/**
26require_once 'Zend/Date/DateObject.php';
27require_once 'Zend/Date/Exception.php';
28require_once 'Zend/Locale.php';
28require_once 'Zend/Locale.php';
29require_once 'Zend/Locale/Format.php';
30require_once 'Zend/Locale/Math.php';
47    private static $_Options = array(
48        'format_type'  => 'iso',      // format for date strings 'iso' or 'php'
49        'fix_dst'      => true,       // fix dst on summer/winter time change
234                    case 'format_type' :
235                        if ((strtolower($value) != 'php') && (strtolower($value) != 'iso')) {
236                            throw new Zend_Date_Exception("Unknown format type ($value) for dates, only 'iso' and 'php' supported", $value);
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);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21