PageRenderTime 2033ms queryFilters 59ms Sphinxql 700ms GetByIds 1297ms meta 0ms repositoryFilters 3ms languageFilters 1ms sourceFilters 1ms

206,208 results for 'php is_null repo:lyrixx/phpcr-utils' (2033 ms)

Source

Language

Repository

mssql.php https://bitbucket.org/chamilo/chamilo/ | PHP | 1,133 lines
1<?php
2// vim: set et ts=4 sw=4 fdm=marker:
10// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
11// | API as well as database abstraction for PHP applications.            |
12// | This LICENSE is in the BSD license style.                            |
45//
46// $Id: mssql.php 137 2009-11-09 13:24:37Z vanpouckesven $
47//
73
74        $this->phptype = 'mssql';
75        $this->dbsyntax = 'mssql';
115    {
116        if (is_null($connection)) {
117            $connection = $this->connection;
320            return $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
321                'extension '.$this->phptype.' is not compiled into PHP', __FUNCTION__);
322        }
UriProcessor.php https://hg01.codeplex.com/odataphpproducer | PHP | 766 lines
1<?php
2/** 
12 * @package   ODataProducer_UriProcessor
13 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
14 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
14 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
15 * @license   New BSD license, (http://www.opensource.org/licenses/bsd-license.php)
16 * @version   SVN: 1.0
16 * @version   SVN: 1.0
17 * @link      http://odataphpproducer.codeplex.com
18 * 
43 * @package   ODataProducer_UriProcessor
44 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
45 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
396                $skip = $this->_requestDescription->getSkipCount();
397                if (!is_null($top) && !is_null($skip)) {
398                    $result = array_slice($result, $skip, $top);
QueryProcessor.php https://hg01.codeplex.com/odataphpproducer | PHP | 670 lines
1<?php
2/** 
4 * 
5 * PHP version 5.3
6 * 
8 * @package   ODataProducer_UriProcessor_QueryProcessor
9 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
10 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
10 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
11 * @license   New BSD license, (http://www.opensource.org/licenses/bsd-license.php)
12 * @version   SVN: 1.0
12 * @version   SVN: 1.0
13 * @link      http://odataphpproducer.codeplex.com
14 * 
36 * @package   ODataProducer_UriProcessor_QueryProcessor
37 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
38 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
ObjectModelSerializerBase.php https://hg01.codeplex.com/odataphpproducer | PHP | 777 lines
1<?php
2/** 
8 * @package   ODataProducer_ObjectModel
9 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
10 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
10 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
11 * @license   New BSD license, (http://www.opensource.org/licenses/bsd-license.php)
12 * @version   SVN: 1.0
12 * @version   SVN: 1.0
13 * @link      http://odataphpproducer.codeplex.com
14 * 
34 * @package   ODataProducer_ObjectModel
35 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
36 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
462        $skipToken = $internalOrderByInfo->buildSkipTokenValue($lastObject);
463        $this->assert(!is_null($skipToken), '!is_null($skipToken)');
464        $queryParameterString = null;
Queue.php git://github.com/frapi/frapi.git | PHP | 547 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Blob.php 24241 2009-07-22 09:43:13Z unknown $
21 */
25 */
26// require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31// require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
32
35 */
36// require_once 'Zend/Http/Client.php';
37
40 */
41// require_once 'Zend/Http/Response.php';
42
Client.php git://github.com/spotweb/spotweb.git | PHP | 2,293 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
6 *
7 * PHP versions 4 and 5
8 *
64 * @license    http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 W3C� SOFTWARE NOTICE AND LICENSE
65 * @version    SVN: $Id: Client.php 306619 2010-12-24 12:16:07Z heino $
66 * @link       http://pear.php.net/package/Net_NNTP
69
70// Warn about PHP bugs
71if (version_compare(PHP_VERSION, '5.2.11', 'eq') === 1) {
71if (version_compare(PHP_VERSION, '5.2.11', 'eq') === 1) {
72    trigger_error('PHP bug #16657 breaks feof() on socket streams! Connection consistency might be compromised: ' . PHP_VERSION, E_USER_WARNING);
73}
77 */
78//require_once 'Net/NNTP/Error.php';
79require_once './NNTP/Protocol/Responsecode.php';
phpthumb.class.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 4,092 lines
224
225		$php_sapi_name = strtolower(function_exists('php_sapi_name') ? php_sapi_name() : '');
226		if ($php_sapi_name == 'cli') {
672	function CleanUpCacheDirectory() {
673		$this->DebugMessage('CleanUpCacheDirectory() set to purge ('.(is_null($this->config_cache_maxage) ? 'NULL' : number_format($this->config_cache_maxage / 86400, 1)).' days; '.(is_null($this->config_cache_maxsize) ? 'NULL' : number_format($this->config_cache_maxsize / 1048576, 2)).' MB; '.(is_null($this->config_cache_maxfiles) ? 'NULL' : number_format($this->config_cache_maxfiles)).' files)', __FILE__, __LINE__);
674
681		$phpThumbCacheStats_filename = $this->config_cache_directory.DIRECTORY_SEPARATOR.'phpThumbCacheStats.txt';
682		if (file_exists($phpThumbCacheStats_filename) && is_readable($phpThumbCacheStats_filename) && (filemtime($phpThumbCacheStats_filename) >= (time() - 3600))) {
683			$this->DebugMessage('CleanUpCacheDirectory() skipped because "'.$phpThumbCacheStats_filename.'" is recently modified', __FILE__, __LINE__);
4029			} else {
4030				$ErrorMessage = 'Failed to fopen('.$tempnam.', "wb") in '.__FILE__.' on line '.__LINE__."\n".'You may need to set $PHPTHUMB_CONFIG[temp_directory] in phpThumb.config.php';
4031				if ($this->issafemode) {
4038		} else {
4039			$ErrorMessage = 'Failed to generate phpThumb_tempnam() in '.__FILE__.' on line '.__LINE__."\n".'You may need to set $PHPTHUMB_CONFIG[temp_directory] in phpThumb.config.php';
4040			if ($this->issafemode) {
adodb-session2.php git://github.com/movabletype/movabletype.git | PHP | 939 lines
1<?php
2
60if (!defined('_ADODB_LAYER')) {
61	require realpath(dirname(__FILE__) . '/../adodb.inc.php');
62}
69/*
70	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821
71
88/*
89	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
90	Since adodb 4.61.
121    Generate database table for session data
122    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
123    @return 0 if failure, 1 if errors, 2 if successful.
152
153		if (!is_null($lock)) $_lock = $lock;
154		return $lock;
ESAPI.php http://owasp-esapi-php.googlecode.com/svn/trunk/ | PHP | 444 lines
1<?php
2/**
7 * 
8 * PHP version 5.2
9 *
19 * @copyright 2009-2010 The OWASP Foundation
20 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD license
21 * @version   SVN: $Id$
21 * @version   SVN: $Id$
22 * @link      http://www.owasp.org/index.php/ESAPI
23 */
38 * @copyright 2009-2010 The OWASP Foundation
39 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD license
40 * @version   Release: @package_version@
40 * @version   Release: @package_version@
41 * @link      http://www.owasp.org/index.php/ESAPI
42 */
oci_native_moodle_database.php git://github.com/moodle/moodle.git | PHP | 1,855 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
28require_once(__DIR__.'/oci_native_moodle_recordset.php');
29require_once(__DIR__.'/oci_native_moodle_temptables.php');
30
34 * One complete reference for PHP + OCI:
35 * http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html
36 *
55    /**
56     * Detects if all needed PHP stuff installed.
57     * Note: can be used before connect()
61        if (!extension_loaded('oci8')) {
62            return get_string('ociextensionisnotpresentinphp', 'install');
63        }
991                        $params[$key] = $this->oracle_dirty_hack($tablename, $columnname, $params[$key]);
992                        // Because of PHP7 bug (https://bugs.php.net/bug.php?id=72524) it seems that it's
993                        // impossible to bind NULL values in a reliable way, let's use empty string
Queue.php git://github.com/moodle/moodle.git | PHP | 548 lines
1<?php
2/**
25 */
26require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
32
35 */
36require_once 'Zend/Http/Client.php';
37
40 */
41require_once 'Zend/Http/Response.php';
42
45 */
46require_once 'Zend/Service/WindowsAzure/Storage.php';
47
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,459 lines
193      // cases.  Thanks, PHP.
194      // see: http://bugs.php.net/bug.php?id=52731
195      // also: tracker $3053349
346    if(strpos(php_self(), '?')) {
347        $path = substr(php_self(), 0, strpos(php_self(), '?'));
348    } else {
976  * for $start and $length as needed - see the PHP manual for more
977  * information:  http://www.php.net/manual/function.substr.php
978  *
1070  * for $start and $length as needed - see the PHP manual for more
1071  * information:  http://www.php.net/manual/function.substr-replace.php
1072  *
1457
1458$PHP_SELF = php_self();
1459
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,441 lines
1<?php
2
30 * referenced by the include of global.php, etc. before it's defined.
31 * For that reason, bring in global.php AFTER we define the version strings.
32 */
336    if(strpos(php_self(), '?')) {
337        $path = substr(php_self(), 0, strpos(php_self(), '?'));
338    } else {
965  * for $start and $length as needed - see the PHP manual for more
966  * information:  http://www.php.net/manual/function.substr.php
967  *
1059  * for $start and $length as needed - see the PHP manual for more
1060  * information:  http://www.php.net/manual/function.substr-replace.php
1061  *
1439
1440$PHP_SELF = php_self();
1441
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,449 lines
1<?php
2
30 * referenced by the include of global.php, etc. before it's defined.
31 * For that reason, bring in global.php AFTER we define the version strings.
32 */
337    if(strpos(php_self(), '?')) {
338        $path = substr(php_self(), 0, strpos(php_self(), '?'));
339    } else {
966  * for $start and $length as needed - see the PHP manual for more
967  * information:  http://www.php.net/manual/function.substr.php
968  *
1060  * for $start and $length as needed - see the PHP manual for more
1061  * information:  http://www.php.net/manual/function.substr-replace.php
1062  *
1447
1448$PHP_SELF = php_self();
1449
strings.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,480 lines
193      // cases.  Thanks, PHP.
194      // see: http://bugs.php.net/bug.php?id=52731
195      // also: tracker $3053349
346    if(strpos(php_self(), '?')) {
347        $path = substr(php_self(), 0, strpos(php_self(), '?'));
348    } else {
976  * for $start and $length as needed - see the PHP manual for more
977  * information:  http://www.php.net/manual/function.substr.php
978  *
1070  * for $start and $length as needed - see the PHP manual for more
1071  * information:  http://www.php.net/manual/function.substr-replace.php
1072  *
1478
1479$PHP_SELF = php_self();
1480
adodb-session2.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 949 lines
1<?php
2
58if (!defined('_ADODB_LAYER')) {
59	require realpath(dirname(__FILE__) . '/../adodb.inc.php');
60}
67/* 
68	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821 
69	
86/*
87	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
88	Since adodb 4.61.
119    Generate database table for session data
120    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
121    @return 0 if failure, 1 if errors, 2 if successful.
150	
151		if (!is_null($lock)) $_lock = $lock;
152		return $lock;
lightvc.php http://flextrine2.googlecode.com/svn/trunk/ | PHP | 1,424 lines
45	protected static $controllerPaths = array();
46	protected static $controllerSuffix = '.php'; // e.g. _controller.php
47	protected static $controllerViewPaths = array();
47	protected static $controllerViewPaths = array();
48	protected static $controllerViewSuffix = '.php'; // e.g. .tpl.php
49	protected static $layoutViewPaths = array();
49	protected static $layoutViewPaths = array();
50	protected static $layoutViewSuffix = '.php'; // e.g. .tpl.php
51	protected static $elementViewPaths = array();
51	protected static $elementViewPaths = array();
52	protected static $elementViewSuffix = '.php'; // e.g. .tpl.php
53	protected static $viewClassName = 'Lvc_View'; // e.g. AppView
636	 * 
637	 *     'redirect' => a replacement string that will be used to redirect to.  You can have parts of the original url mapped into the new one (like IDs).  See http://www.php.net/manual/en/function.preg-replace.php's documentation for the replacement parameter.
638	 * 
Queue.php https://PHPAzure.svn.codeplex.com/svn | PHP | 561 lines
1<?php
2/**
32 * @license    http://todo     name_todo
33 * @version    $Id: Blob.php 24241 2009-07-22 09:43:13Z unknown $
34 */
38 */
39require_once 'Microsoft/WindowsAzure/Credentials/SharedKey.php';
40
43 */
44require_once 'Microsoft/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
45
48 */
49require_once 'Microsoft/Http/Client.php';
50
53 */
54require_once 'Microsoft/Http/Response.php';
55
LinqToObjects.php https://PHPLinq.svn.codeplex.com/svn | PHP | 831 lines
41/** PHPLinq_Initiator */
42require_once('PHPLinq/Initiator.php');
43
44/** Register ILinqProvider */
45PHPLinq_Initiator::registerProvider('PHPLinq_LinqToObjects');
46
52 * @package    PHPLinq
53 * @copyright  Copyright (c) 2008 PHPLinq (http://www.codeplex.com/PHPLinq)
54 */
54 */
55class PHPLinq_LinqToObjects implements PHPLinq_ILinqProvider {
56	/**
160	 * @param string $name
161	 * @param PHPLinq_ILinqProvider $parentProvider Optional parent PHPLinq_ILinqProvider instance, used with join conditions
162	 * @return PHPLinq_ILinqProvider
Queue.php http://stuffpack.googlecode.com/svn/ | PHP | 548 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Queue.php 20833 2010-02-02 14:06:51Z matthew $
21 */
25 */
26require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
32
35 */
36require_once 'Zend/Http/Client.php';
37
40 */
41require_once 'Zend/Http/Response.php';
42
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21