PageRenderTime 371ms queryFilters 0ms Sphinxql 28ms app.CodeModel.GetByIds 120ms findMatchingLines 145ms GetByIds 265ms meta 0ms repositoryFilters 10ms languageFilters 1ms sourceFilters 3ms

60,014 results for 'php is_null repo:sebs/mosolar' (371 ms)

Source

Language

Repository

active_record.php https://github.com/jkinner/ringside.git | PHP | 3,257 lines
31/**
32 *  Load the {@link http://pear.php.net/manual/en/package.pear.php PEAR base class}
33 */
36/**
37 *  Load the {@link http://pear.php.net/manual/en/package.database.mdb2.php PEAR MDB2 package}
38 *  PEAR::DB is now deprecated.
72     *  see
73     *  {@link http://pear.php.net/manual/en/package.database.mdb2.php PEAR MDB2}
74     */
1125     *  @param string $sql  SQL for the query command
1126     *  @return $mdb2->query {@link http://pear.php.net/manual/en/package.database.mdb2.intro-query.php}
1127     *    Result set from query
2438     *  Call {@link 
2439     *  http://pear.php.net/manual/en/package.database.db.db-common.tableinfo.php
2440     *  DB_common::tableInfo()} to get a description of the table and
index.php https://github.com/max-koehler/phpMyFAQ.git | PHP | 689 lines
96$faqpassword = PMF_Filter::filterInput(INPUT_POST, 'faqpassword', FILTER_SANITIZE_STRING);
97if (!is_null($faqusername) && !is_null($faqpassword)) {
98    $user = new PMF_User_CurrentUser();
358    $inc_tpl         = $action . '.tpl';
359    $inc_php         = $action . ".php";
360    $writeLangAdress = "?" . PMF_Filter::getFilteredQueryString();
364        $inc_tpl = 'artikel.tpl';
365        $inc_php = 'artikel.php';
366    } else {
367        $inc_tpl = 'main.tpl';
368        $inc_php = 'main.php';
369    }
515    'stickyRecordsHeader' => $PMF_LANG['stickyRecordsHeader'],
516    'copyright'           => 'powered by <a href="http://www.phpmyfaq.de" target="_blank">phpMyFAQ</a> ' . 
517                             $faqconfig->get('main.currentVersion'));
Functions.php https://github.com/vykintasv/psiprogresas.git | PHP | 10,506 lines
5457			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
5458			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
5459
5508			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
5509				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
5510			} else {
5510			} else {
5511				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
5512			}
6245												  break;
6246			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6247												  break;
6284												  break;
6285			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6286												  break;
limonade.php https://github.com/cbrumelle/limonade.git | PHP | 2,376 lines
1006
1007      if($request_uri."index.php" == $base_path) $request_uri .= "index.php";
1008  	  $uri = str_replace($base_path, '', $request_uri);
1157 *   a function, an object method, a static method or a closure.
1158 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1159 *   to learn more about callbacks.
1675  static $_name = null;
1676  if(is_null($name) && !is_null($_name))
1677  {
1737 *   or an object and the name of a method within the object
1738 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1739 *   to learn more about callbacks.
2338   * For PHP 5 < 5.3.0 (backward compatibility)
2339   * (from {@link http://www.php.net/manual/fr/function.array-replace.php#92549 this php doc. note})
2340   * 
config.class.php https://github.com/multiscan/dokuwiki.git | PHP | 1,043 lines
1<?php
2/**
13    var $_name = 'conf';           // name of the config variable found in the files (overridden by $config['varname'])
14    var $_format = 'php';          // format of the config file, supported formats - php (overridden by $config['format'])
15    var $_heading = '';            // heading string written at top of config file - don't include comment indicators
154        if(@file_exists($file)){
155            $contents = @php_strip_whitespace($file);
156        }else{
181      $out = '';
182      if ($this->_format == 'php') {
183          $out .= '<'.'?php'."\n".
196      $out = '';
197      if ($this->_format == 'php') {
198 #         if ($this->_protected_file) {
950/**
951 *  Provide php_strip_whitespace (php5 function) functionality
952 *
functions.inc.php https://github.com/ifthisandthat/devbox.git | PHP | 1,604 lines
328        {
329            // Cannot open url. Either install curl-php or set allow_url_fopen = true in php.ini
330            return false;
670    {
671        if(is_null($url)) $url = $_SERVER['PHP_SELF'];
672        header("Location: $url");
851    {
852        if(!(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW']) && $_SERVER['PHP_AUTH_USER'] == $un && $_SERVER['PHP_AUTH_PW'] == $pw))
853        {
1371			// so we skip those and only do the long opening tags.
1372			$str = str_replace(array('<?php', '<?PHP'),  array('&lt;?php', '&lt;?PHP'), $str);
1373		} else {
1373		} else {
1374			$str = str_replace(array('<?php', '<?PHP', '<?', '?'.'>'),  array('&lt;?php', '&lt;?PHP', '&lt;?', '?&gt;'), $str);
1375		}
Issue.php https://github.com/joechrysler/Campsite.git | PHP | 1,069 lines
1<?php
2/**
8 */
9require_once($GLOBALS['g_campsiteDir'].'/db_connect.php');
10require_once($GLOBALS['g_campsiteDir'].'/classes/DatabaseObject.php');
10require_once($GLOBALS['g_campsiteDir'].'/classes/DatabaseObject.php');
11require_once($GLOBALS['g_campsiteDir'].'/classes/DbObjectArray.php');
12require_once($GLOBALS['g_campsiteDir'].'/classes/SQLSelectClause.php');
12require_once($GLOBALS['g_campsiteDir'].'/classes/SQLSelectClause.php');
13require_once($GLOBALS['g_campsiteDir'].'/classes/Log.php');
14require_once($GLOBALS['g_campsiteDir'].'/classes/Language.php');
14require_once($GLOBALS['g_campsiteDir'].'/classes/Language.php');
15require_once($GLOBALS['g_campsiteDir'].'/classes/Section.php');
16require_once($GLOBALS['g_campsiteDir'].'/classes/IssuePublish.php');
16require_once($GLOBALS['g_campsiteDir'].'/classes/IssuePublish.php');
17require_once($GLOBALS['g_campsiteDir'].'/classes/CampCacheList.php');
18require_once($GLOBALS['g_campsiteDir'].'/template_engine/classes/CampTemplate.php');
limonade.php https://github.com/jblanche/limonade.git | PHP | 2,566 lines
1280 *   a function, an object method, a static method or a closure.
1281 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1282 *   to learn more about callbacks.
1880 *   or an object and the name of a method within the object
1881 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1882 *   to learn more about callbacks.
2510   * For PHP 5 < 5.3.0 (backward compatibility)
2511   * (from {@link http://www.php.net/manual/fr/function.array-replace.php#92549 this php doc. note})
2512   * 
2541
2542if(PHP_VERSION == '5.2.13' || PHP_VERSION == '5.3.2')
2543{
2544  # There is a bug with filter_var($site_url , FILTER_VALIDATE_URL); 
2545  # http://www.mail-archive.com/php-bugs@lists.php.net/msg134778.html
2546  function filter_var_url($str)
plugin_api.php https://github.com/markkimsal/mantisbt.git | PHP | 927 lines
1<?php
2# MantisBT - A PHP based bugtracking system
28 *
29 * @uses access_api.php
30 * @uses config_api.php
30 * @uses config_api.php
31 * @uses constant_inc.php
32 * @uses database_api.php
32 * @uses database_api.php
33 * @uses error_api.php
34 * @uses event_api.php
34 * @uses event_api.php
35 * @uses helper_api.php
36 * @uses history_api.php
781			# Final check on the class
782			if( is_null( $t_plugin->name ) || is_null( $t_plugin->version ) ) {
783				return null;
QDateTime.class.php https://github.com/spekary/qcodo.git | PHP | 804 lines
11	 * provides a nice wrapper around the PHP DateTime class, which is included with
12	 * all versions of PHP >= 5.2.0.
13	 * 
13	 * 
14	 * For legacy PHP users (PHP < 5.2.0), please refer to QDateTime.legacy
15	 */
381			// If HOUR or MINUTE is NULL...
382			if (is_null($intHour) || is_null($intMinute)) {
383				parent::setTime($intHour, $intMinute, $intSecond);
391
392			if (is_null($intHour))
393				$this->blnTimeNull = true;
759/*
760	This is a reference to the documentation for hte PHP DateTime classes (as of PHP 5.2)
761
Functions.php https://bitbucket.org/joseph_b/mti-media-plic-redac-intranet | PHP | 9,538 lines
4718			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
4719			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
4720
4767			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
4768				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
4769			} else {
4769			} else {
4770				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
4771			}
5469												  break;
5470			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
5471												  break;
5507												  break;
5508			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
5509												  break;
Functions.php https://PHPExcel.svn.codeplex.com/svn | PHP | 9,540 lines
4718			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
4719			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
4720
4769			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
4770				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
4771			} else {
4771			} else {
4772				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
4773			}
5471												  break;
5472			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
5473												  break;
5509												  break;
5510			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
5511												  break;
Functions.php https://PHPExcel.svn.codeplex.com/svn | PHP | 12,056 lines
5901			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
5902			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
5903
5954			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
5955				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
5956			} else {
5956			} else {
5957				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
5958			}
6754												  break;
6755			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6756												  break;
6793												  break;
6794			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6795												  break;
Functions.php https://PHPExcel.svn.codeplex.com/svn | PHP | 11,481 lines
5724			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
5725			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
5726
5775			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
5776				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
5777			} else {
5777			} else {
5778				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
5779			}
6523												  break;
6524			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6525												  break;
6562												  break;
6563			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6564												  break;
mysqli_api.c git://github.com/infusion/PHP.git | C | 2,625 lines
126				bind[ofs].buffer = &Z_DVAL_PP(args[i]);
127				bind[ofs].is_null = &stmt->param.is_null[ofs];
128				break;
381				bind[ofs].buffer = stmt->result.buf[ofs].val;
382				bind[ofs].is_null = &stmt->result.is_null[ofs];
383				bind[ofs].buffer_length = stmt->result.buf[ofs].buflen;
439				bind[ofs].buffer = stmt->result.buf[ofs].val;
440				bind[ofs].is_null = &stmt->result.is_null[ofs];
441				bind[ofs].buffer_length = stmt->result.buf[ofs].buflen;
460		}
461		/* Don't free stmt->result.is_null because is_null & buf are one block of memory  */
462		efree(stmt->result.buf);
808		if (stmt->param.vars[i]) {
809			if ( !(stmt->param.is_null[i] = (stmt->param.vars[i]->type == IS_NULL)) ) {
810				zval *the_var = copies && copies[i]? copies[i]:stmt->param.vars[i];
config.class.php git://github.com/splitbrain/dokuwiki.git | PHP | 1,415 lines
1<?php
2/**
18        var $_name = 'conf';           // name of the config variable found in the files (overridden by $config['varname'])
19        var $_format = 'php';          // format of the config file, supported formats - php (overridden by $config['format'])
20        var $_heading = '';            // heading string written at top of config file - don't include comment indicators
199                if(file_exists($file)){
200                    $contents = @php_strip_whitespace($file);
201                }else{
238        /**
239         * Convert php string into value
240         *
272            $out = '';
273            if ($this->_format == 'php') {
274                $out .= '<'.'?php'."\n".
940            $valid = parent::update($input);
941            if ($valid && !(is_null($this->_min) && is_null($this->_max))) {
942                $numeric_local = (int) eval('return '.$this->_local.';');
Client.php http://grupal.googlecode.com/svn/trunk/ | PHP | 610 lines
1<?php
2/**
30 */
31 require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
32 
35 */
36 require_once 'Zend/Service/SqlAzure/Management/ServerInstance.php';
37 
40 */
41 require_once 'Zend/Service/SqlAzure/Management/FirewallRuleInstance.php';
42 
131		$this->_retryPolicy = $retryPolicy;
132		if (is_null($this->_retryPolicy)) {
133		    $this->_retryPolicy = Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract::noRetry();
356                }
357                if (is_null($location) && is_null($affinityGroup)) {
358                    require_once 'Zend/Service/SqlAzure/Management/Exception.php';
RPC.php http://gwtphp-derpc.googlecode.com/svn/trunk/ | PHP | 519 lines
2
3require_once PHPRPC_ROOT . 'classes.php';
4require_once PHPRPC_ROOT . 'primitives.php';
4require_once PHPRPC_ROOT . 'primitives.php';
5require_once PHPRPC_ROOT . 'primitives_serializers.php';
6require_once PHPRPC_ROOT . 'collections.php';
6require_once PHPRPC_ROOT . 'collections.php';
7require_once PHPRPC_ROOT . 'collections_serializers.php';
8require_once PHPRPC_ROOT . 'datetime.php';
8require_once PHPRPC_ROOT . 'datetime.php';
9require_once PHPRPC_ROOT . 'datetime_serializers.php';
10require_once PHPRPC_ROOT . 'serialization.php';
16require_once PHPRPC_ROOT . 'rpc/RPCServletUtils.php';
17require_once PHPRPC_ROOT . 'rpc/javaclasses.php';
18
mysqli_api.c git://github.com/php/php-src.git | C | 2,682 lines
208				bind[ofs].buffer = &Z_DVAL_P(param);
209				bind[ofs].is_null = &stmt->param.is_null[ofs];
210				break;
456				bind[ofs].buffer = stmt->result.buf[ofs].val;
457				bind[ofs].is_null = &stmt->result.is_null[ofs];
458				bind[ofs].is_unsigned = (stmt->stmt->fields[ofs].flags & UNSIGNED_FLAG) ? 1 : 0;
467				bind[ofs].buffer = stmt->result.buf[ofs].val;
468				bind[ofs].is_null = &stmt->result.is_null[ofs];
469				bind[ofs].buffer_length = stmt->result.buf[ofs].buflen;
525				bind[ofs].buffer = stmt->result.buf[ofs].val;
526				bind[ofs].is_null = &stmt->result.is_null[ofs];
527				bind[ofs].buffer_length = stmt->result.buf[ofs].buflen;
546		}
547		/* Don't free stmt->result.is_null because is_null & buf are one block of memory  */
548		efree(stmt->result.buf);
LinqToAzure.php https://PHPLinq.svn.codeplex.com/svn | PHP | 1,123 lines
50/** Register ILinqProvider */
51PHPLinq_Initiator::registerProvider('PHPLinq_LinqToAzure');
52
701	public function where($expression) {
702		$this->_where = !is_null($expression) ? new PHPLinq_Expression($expression, $this->_from) : null;
703		return $this;
734	public function takeWhile($expression) {
735		$this->_takeWhile = !is_null($expression) ? new PHPLinq_Expression($expression, $this->_from) : null;
736		return $this;
745	public function skipWhile($expression) {
746		$this->_skipWhile = !is_null($expression) ? new PHPLinq_Expression($expression, $this->_from) : null;
747		return $this;
804	public function distinct($expression) {
805		$this->_distinct = !is_null($expression) ? new PHPLinq_Expression($expression, $this->_from) : null;
806		return $this;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21