PageRenderTime 15ms queryFilters 0ms Sphinxql 499ms GetByIds 130ms meta 0ms repositoryFilters 8ms languageFilters 0ms sourceFilters 1ms

206,208 results for 'php is_null repo:sebs/mosolar' (15 ms)

Source

Language

Repository

adodb-session.php https://code.google.com/p/agcdr/ | PHP | 934 lines
1<?php
2
28if (!defined('_ADODB_LAYER')) {
29	require realpath(dirname(__FILE__) . '/../adodb.inc.php');
30}
37/* 
38	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821 
39	
56/*
57	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
58	Since adodb 4.61.
89    Generate database table for session data
90    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
91    @return 0 if failure, 1 if errors, 2 if successful.
120	
121		if (!is_null($lock)) $_lock = $lock;
122		return $lock;
adodb-session.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 910 lines
1<?php
2
28if (!defined('_ADODB_LAYER')) {
29	require_once realpath(dirname(__FILE__) . '/../adodb.inc.php');
30}
37/* 
38	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821 
39	
56/*
57	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
58	Since adodb 4.61.
89    Generate database table for session data
90    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
91    @return 0 if failure, 1 if errors, 2 if successful.
120	
121		if (!is_null($lock)) $_lock = $lock;
122		return $lock;
utility.php git://github.com/lojjic/PIE.git | PHP | 821 lines
1<?php
2
9// Released under the GPL license
10// http://www.opensource.org/licenses/gpl-license.php
11//
21	if (!empty($str)) {
22		if (file_exists(CFCT_PATH.'error/exit.php')) {
23			include(CFCT_PATH.'error/exit.php');
33	if (!empty($str)) {
34		if (file_exists(CFCT_PATH.'misc/banner.php')) {
35			include(CFCT_PATH.'misc/banner.php');
72function cfct_default_file($dir) {
73	$fancy = $dir.'-default.php';
74	file_exists(CFCT_PATH.$dir.'/'.$fancy) ? $default = $fancy : $default = 'default.php';
180	// child theme path
181	$path = STYLESHEETPATH.'/'.$dir.'/'.$file.'.php';
182	// check for child theme first
course.class.php https://bitbucket.org/chamilo/chamilo-app-weblcms/ | PHP | 1,478 lines
1<?php
2
140
141        if (!is_null($titular_id))
142        {
192    {
193        if (is_null($this->settings))
194        {
199                $settings->set_course_id($this->get_id());
200                if (!is_null($this->get_id()))
201                    $settings->create();
214    {
215        if (is_null($this->layout))
216        {
240                {
241                    require_once Path :: get_application_path() . 'weblcms/tool/' . $tool->name . '/php/' . $tool->name . '_tool.class.php';
242                }
PHPReportsUtil.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 403 lines
10	*																										*
11	*	This function will return if there is a PHPReports path in the PHP			*
12	*	ini_get("include_path").																	*
176	*	http://www.gingerall.com/charlie/ga/xml/p_sab.xml									*
177	*	http://www.php.net/manual/en/ref.xslt.php												*
178	*	Used on PHP4 or installed from the PECL modules.									*
201	*	Uses libxslt																					*
202	*	http://www.php.net/manual/en/ref.xsl.php												*
203	*																										*
319			$this->_aMsgs["NOXMLTRANS"]["default"]		= "COL parameter <b>%s</b> not found on XML translation.";
320			$this->_aMsgs["NOXSLT"]["default"]			= "There is no XSLT processor available. Check if you compiled PHP with <b>--enable-xslt</b> and the <a href=\"http://www.gingerall.com/charlie/ga/xml/p_sab.xml\">Sablotron</a> library (for <a href=\"http://www.php.net/manual/en/ref.xslt.php\">PHP4</a>) or with <b>--enable-xsl</b> (for <a href=\"http://www.php.net/manual/en/ref.xsl.php\">PHP5</a>).";
321			$this->_aMsgs["NOPATH"]["default"]			= "Seems that you didn't specified the phpReports path on the PHP <b>include_path</b> statement or <b>php.ini</b>. I don't know there the classes are.";
351			$this->_aMsgs["NOXMLTRANS"]["pt_BR"]		= "O par?metro <b>%s</b> de COL n?o foi encontrado na tradu??o para XML.";
352			$this->_aMsgs["NOXSLT"]["pt_BR"]				= "N?o h? um processador XSLT dispon?vel. Verifique se voc? compilou o PHP com <b>--enable-xslt</b> e a library <a href=\"http://www.gingerall.com/charlie/ga/xml/p_sab.xml\">Sablotron</a> (para o <a href=\"http://www.php.net/manual/en/ref.xslt.php\">PHP4</a>) ou com <b>--enable-xsl</b> (para o <a href=\"http://www.php.net/manual/en/ref.xsl.php\">PHP5</a>).";
353			$this->_aMsgs["NOPATH"]["pt_BR"]				= "Parece que voc? n?o especificou o path do phpReports com o comando <b>include_path</b> ou no <b>php.ini</b>. N?o sei onde as classes est?o.";
advmultiselect.php https://bitbucket.org/chamilo/chamilo/ | PHP | 954 lines
1<?php
2/**
31 *
32 * PHP versions 4 and 5
33 *
37 * @copyright 2005-2008 Laurent Laville
38 * @license   http://www.opensource.org/licenses/bsd-license.php  BSD
39 * @version   CVS: $Id: advmultiselect.php 137 2009-11-09 13:24:37Z vanpouckesven $
39 * @version   CVS: $Id: advmultiselect.php 137 2009-11-09 13:24:37Z vanpouckesven $
40 * @link      http://pear.php.net/package/HTML_QuickForm_advmultiselect
41 * @since     File available since Release 0.4.0
43
44require_once 'HTML/QuickForm/select.php';
45
56 * @copyright 2005-2008 Laurent Laville
57 * @license   http://www.opensource.org/licenses/bsd-license.php  BSD
58 * @version   Release: @package_version@
ExpressionParser2Test.php https://hg01.codeplex.com/odataphpproducer | PHP | 110 lines
1<?php
2use ODataProducer\Providers\Metadata\ResourceProperty;
2use ODataProducer\Providers\Metadata\ResourceProperty;
3require_once 'PHPUnit\Framework\Assert.php';
4require_once 'PHPUnit\Framework\Test.php';
4require_once 'PHPUnit\Framework\Test.php';
5require_once 'PHPUnit\Framework\SelfDescribing.php';
6require_once 'PHPUnit\Framework\TestCase.php';
6require_once 'PHPUnit\Framework\TestCase.php';
7require_once 'PHPUnit\Framework\TestSuite.php';
8require_once 'ODataProducer\Common\ClassAutoLoader.php';
8require_once 'ODataProducer\Common\ClassAutoLoader.php';
9require_once (dirname(__FILE__) . "\..\..\..\Resources\NorthWindMetadata.php");
10use ODataProducer\UriProcessor\QueryProcessor\ExpressionParser\ExpressionParser2;
12ODataProducer\Common\ClassAutoLoader::register();
13class PHPExpressionProviderTest extends PHPUnit_Framework_TestCase
14{
SkipTokenParserTest.php https://hg01.codeplex.com/odataphpproducer | PHP | 569 lines
1<?php
2use ODataProducer\Providers\Metadata\ResourceProperty;
8use ODataProducer\UriProcessor\QueryProcessor\SkipTokenParser\SkipTokenParser;
9require_once 'PHPUnit\Framework\Assert.php';
10require_once 'PHPUnit\Framework\Test.php';
10require_once 'PHPUnit\Framework\Test.php';
11require_once 'PHPUnit\Framework\SelfDescribing.php';
12require_once 'PHPUnit\Framework\TestCase.php';
12require_once 'PHPUnit\Framework\TestCase.php';
13require_once 'PHPUnit\Framework\TestSuite.php';
14require_once 'ODataProducer\Common\ClassAutoLoader.php';
14require_once 'ODataProducer\Common\ClassAutoLoader.php';
15require_once (dirname(__FILE__) . "\..\..\..\Resources\NorthWindMetadata.php");
16ODataProducer\Common\ClassAutoLoader::register();
16ODataProducer\Common\ClassAutoLoader::register();
17class TestSkipTokenParser extends PHPUnit_Framework_TestCase
18{
Consumer.php git://github.com/frapi/frapi.git | PHP | 272 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Consumer.php 20232 2010-01-12 17:56:33Z matthew $
20 */
22/** Zend_Oauth */
23// require_once 'Zend/Oauth.php';
24
25/** Zend_Uri */
26// require_once 'Zend/Uri.php';
27
28/** Zend_Oauth_Http_RequestToken */
29// require_once 'Zend/Oauth/Http/RequestToken.php';
30
31/** Zend_Oauth_Http_UserAuthorization */
32// require_once 'Zend/Oauth/Http/UserAuthorization.php';
33
Table.php git://github.com/frapi/frapi.git | PHP | 816 lines
1<?php
2/**
30 */
31// require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
32
35 */
36// require_once 'Zend/Service/WindowsAzure/Credentials/SharedKeyLite.php';
37
40 */
41// require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
42
525		// Add continuation querystring parameters?
526		if (!is_null($nextPartitionKey) && !is_null($nextRowKey)) {
527		    if ($queryString !== '') {
604			// More entities?
605		    if (!is_null($response->getHeader('x-ms-continuation-NextPartitionKey')) && !is_null($response->getHeader('x-ms-continuation-NextRowKey'))) {
606		        if (strpos($queryString, '$top') === false) {
WebModePayloadSink.php http://gwtphp-derpc.googlecode.com/svn/trunk/ | PHP | 791 lines
1<?php
2/*
20
21require_once PHPRPC_ROOT . 'derpc/ast.php';
22require_once PHPRPC_ROOT . 'classes.php';
22require_once PHPRPC_ROOT . 'classes.php';
23require_once PHPRPC_ROOT . 'stream.php';
24require_once PHPRPC_ROOT . 'exception.php';
25
26require_once PHPRPC_ROOT . 'derpc/EscapeUtil.php';
27
116		$clinitName = $this->clientOracle->getMethodId($x->getClass(), '$clinit', array());
117		assert(!is_null($clinitName));
118		
221		
222		if (is_null($seedName)) {
223			throw new IncompatibleRemoteServiceException('The client cannot create type ' . $x->getTargetClass()->getName());
qdmail.php https://bitbucket.org/seezoo/seezoo/ | PHP | 4,120 lines
5 *
6 * PHP versions 4 and 5 (PHP4.3 upper)
7 *
1369	function addressField( $addr = null , $name = null ){
1370		if( is_null($addr) && is_null($name) ){
1371			return array( $this->tokey['_ADDR'] , $this->tokey['_NAME'] );
3470		'php4'=>'application/x-httpd-php',
3471		'php3'=>'application/x-httpd-php',
3472		'phtml'=>'application/x-httpd-php',
3472		'phtml'=>'application/x-httpd-php',
3473		'phps'=>'application/x-httpd-php-source',
3474		'js'=>'application/x-javascript',
3482	function iniGather(){
3483		$ret  = 'OS '.PHP_OS.' ; PHP Version '.PHP_VERSION.' ; '.$this->name.' version '.$this->version;
3484		$ret .= $this->LFC.'php.ini status: mb_language = '.mb_language()
adodb-session.php git://github.com/movabletype/movabletype.git | PHP | 934 lines
1<?php
2
30if (!defined('_ADODB_LAYER')) {
31	require realpath(dirname(__FILE__) . '/../adodb.inc.php');
32}
39/*
40	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821
41
58/*
59	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
60	Since adodb 4.61.
91    Generate database table for session data
92    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
93    @return 0 if failure, 1 if errors, 2 if successful.
122
123		if (!is_null($lock)) $_lock = $lock;
124		return $lock;
App.php http://becontent.googlecode.com/svn/trunk/ | PHP | 1,147 lines
1<?php
2
25 */
26require_once 'Zend/Gdata/Feed.php';
27
30 */
31require_once 'Zend/Http/Client.php';
32
35 */
36require_once 'Zend/Version.php';
37
40 */
41require_once 'Zend/Gdata/App/MediaSource.php';
42
244        if (!$client instanceof Zend_Http_Client) {
245            require_once 'Zend/Gdata/App/HttpException.php';
246            throw new Zend_Gdata_App_HttpException('Argument is not an instance of Zend_Http_Client.');
gradelib.php git://github.com/moodle/moodle.git | PHP | 1,642 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
32require_once($CFG->libdir . '/grade/grade_category.php');
33require_once($CFG->libdir . '/grade/grade_item.php');
34require_once($CFG->libdir . '/grade/grade_grade.php');
34require_once($CFG->libdir . '/grade/grade_grade.php');
35require_once($CFG->libdir . '/grade/grade_scale.php');
36require_once($CFG->libdir . '/grade/grade_outcome.php');
73
74    if (is_null($courseid) or is_null($itemtype)) {
75        debugging('Missing courseid or itemtype');
240
241        if (is_null($grade_grade)) {
242            if (count($grades) == 0) {
1114            //dont include default empty grades created when activities are created
1115            if (!is_null($oldgrade->finalgrade) || !is_null($oldgrade->feedback)) {
1116                $recoveredgrades = true;
filelib.php git://github.com/moodle/moodle.git | PHP | 5,050 lines
165
166    if (is_null($itemid) or is_null($context)) {
167        $contextid = null;
444            // this happens when developers forget to post process the text
445            $text = str_replace("\"$CFG->wwwroot/draftfile.php", "\"$CFG->wwwroot/brokenfile.php#", $text);
446        }
2792 * @link http://php.net/manual/en/function.is-executable.php
2793 * @link https://bugs.php.net/bug.php?id=41062
2794 * @param string $filename Path to the file.
3557    public static function mock_response($response) {
3558        if ((defined('PHPUNIT_TEST') && PHPUNIT_TEST)) {
3559            array_push(self::$mockresponses, $response);
3575
3576        if ((defined('PHPUNIT_TEST') && PHPUNIT_TEST)) {
3577            if ($mockresponse = array_pop(self::$mockresponses)) {
Table.php git://github.com/moodle/moodle.git | PHP | 817 lines
1<?php
2/**
35 */
36require_once 'Zend/Service/WindowsAzure/Credentials/SharedKeyLite.php';
37
40 */
41require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
42
45 */
46require_once 'Zend/Http/Client.php';
47
525		// Add continuation querystring parameters?
526		if (!is_null($nextPartitionKey) && !is_null($nextRowKey)) {
527		    if ($queryString !== '') {
604			// More entities?
605		    if (!is_null($response->getHeader('x-ms-continuation-NextPartitionKey')) && !is_null($response->getHeader('x-ms-continuation-NextRowKey'))) {
606		        if (strpos($queryString, '$top') === false) {
Ethna_Controller.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 2,213 lines
1<?php
2// vim: foldmethod=marker
6 *  @author     Masaki Fujimoto <fujimoto@php.net>
7 *  @license    http://www.opensource.org/licenses/bsd-license.php The BSD License
8 *  @package    Ethna
8 *  @package    Ethna
9 *  @version    $Id: Ethna_Controller.php 866 2009-06-17 17:01:20Z mumumu-org $
10 */
17 *
18 *  @author     Masaki Fujimoto <fujimoto@php.net>
19 *  @access     public
70    var $ext = array(
71        'php'           => 'php',
72        'tpl'           => 'tpl',
317        //    ??????????????
318        //    @see http://www.php.net/manual/en/language.variables.php
319        if (preg_match('/^[a-zA-Z][a-zA-Z0-9]*$/', $id) === 0) {
AchatService.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 884 lines
1<?php
2//****************************************************************
5// Date de creation : 22/07/2011
6// Fichier : AchatService.php
7//
12// Inclusion des classes
13/*include_once(CHEMIN_CLASSES_MANAGERS . "ReservationManager.php");
14include_once(CHEMIN_CLASSES_MANAGERS . "HistoriqueReservationManager.php");
14include_once(CHEMIN_CLASSES_MANAGERS . "HistoriqueReservationManager.php");
15include_once(CHEMIN_CLASSES_VALIDATEUR . "ReservationValid.php");
16include_once(CHEMIN_CLASSES_SERVICE . "CompteService.php" );*/
16include_once(CHEMIN_CLASSES_SERVICE . "CompteService.php" );*/
17include_once(CHEMIN_CLASSES_VO . "AchatVO.php");
18include_once(CHEMIN_CLASSES_VO . "ListeAchatReservationVO.php");
18include_once(CHEMIN_CLASSES_VO . "ListeAchatReservationVO.php");
19include_once(CHEMIN_CLASSES_SERVICE . "StockService.php" );
20include_once(CHEMIN_CLASSES_SERVICE . "DetailOperationService.php" );
q.php http://enaj.googlecode.com/svn/trunk/ | PHP | 980 lines
1<?php
2// $Id: q.php 2361 2009-04-01 15:36:05Z dualface $
4/**
5 * ?? QeePHP ??????????????
6 *
6 *
7 * @link http://qeephp.com/
8 * @copyright Copyright (c) 2006-2009 Qeeyuan Inc. {@link http://www.qeeyuan.com}
8 * @copyright Copyright (c) 2006-2009 Qeeyuan Inc. {@link http://www.qeeyuan.com}
9 * @license New BSD License {@link http://qeephp.com/license/}
10 * @version $Id: q.php 2361 2009-04-01 15:36:05Z dualface $
14/**
15 * QeePHP ?????????
16 */
31{
32    require Q_DIR . '/_config/qeephp_class_files.php';
33}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21