PageRenderTime 572ms queryFilters 0ms Sphinxql 30ms app.CodeModel.GetByIds 115ms findMatchingLines 54ms GetByIds 169ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 3ms

60,014 results for 'php is_null repo:younggive/WordPress' (572 ms)

Source

Language

Repository

jpgraph.php https://bitbucket.org/rlm3/rlm3_staging | PHP | 856 lines
21 *
22 * @category	PHPExcel
23 * @package		PHPExcel_Chart_Renderer
23 * @package		PHPExcel_Chart_Renderer
24 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
25 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
29
30require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
31
37 * @package		PHPExcel_Chart_Renderer
38 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
39 */
237		$yAxisLabel = $this->_chart->getYAxisLabel();
238		if (!is_null($yAxisLabel)) {
239			$title = $this->_getCaption($yAxisLabel);
utility.php http://carrington.googlecode.com/svn/ | PHP | 1,432 lines
1<?php
2
9// Released under the GPL license
10// http://www.opensource.org/licenses/gpl-license.php
11//
27	if (!empty($str)) {
28		if (file_exists(CFCT_PATH.'error/exit.php')) {
29			include(CFCT_PATH.'error/exit.php');
45	if (!empty($str)) {
46		if (file_exists(CFCT_PATH.'misc/banner.php')) {
47			include(CFCT_PATH.'misc/banner.php');
102function cfct_default_file($dir) {
103	$fancy = $dir.'-default.php';
104	file_exists(CFCT_PATH.$dir.'/'.$fancy) ? $default = $fancy : $default = 'default.php';
234	// child theme path
235	$path = STYLESHEETPATH.'/'.$dir.'/'.$file.'.php';
236	// check for child theme first
DataService.php https://hg01.codeplex.com/odataphpproducer | PHP | 963 lines
1<?php
2/** 
17 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
18 * @license   New BSD license, (http://www.opensource.org/licenses/bsd-license.php)
19 * @version   SVN: 1.0
19 * @version   SVN: 1.0
20 * @link      http://odataphpproducer.codeplex.com
21 * 
48 * @package   ODataProducer
49 * @author    Anu T Chandy <odataphpproducer_alias@microsoft.com>
50 * @copyright 2011 Microsoft Corp. (http://www.microsoft.com)
732        if (!$resourceType->hasETagProperties()) {
733            if (!is_null($ifMatch) || !is_null($ifNoneMatch)) {
734                // No eTag properties but request has eTag headers, bad request
743
744        if (is_null($ifMatch) && is_null($ifNoneMatch)) {
745            // No request eTag header, we need to write the response 
Blob.php git://github.com/frapi/frapi.git | PHP | 1,401 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Blob.php 36457 2010-01-04 07:36:33Z unknown $
21 */
25 */
26// require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31// require_once 'Zend/Service/WindowsAzure/Credentials/SharedAccessSignature.php';
32
35 */
36// require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
37
40 */
41// require_once 'Zend/Http/Client.php';
42
commands.php http://fredistrano.googlecode.com/svn/trunk/ | PHP | 545 lines
1<?php 
2/* SVN FILE: $Id: commands.php 374 2009-10-12 21:49:11Z fbollon $ */
17 * @lastmodified	$Date: 2009-10-12 23:49:11 +0200 (Mon, 12 Oct 2009) $
18 * @license			http://www.opensource.org/licenses/mit-license.php The MIT License
19 */
20/**
21 * Wrap all used shell commands in a static PHP function
22 *
208		// Check
209		if ( is_null($path) || is_null($mode) ) {
210			$actionLog->error(sprintf(__('Forbidden NULL value for input parameter [%s;%s]',true),$path,$mode));	
383		// Check
384		if ( is_null($svnUrl) || is_null($path) || is_null($targetDir)) {
385			$actionLog->error(sprintf(__('Forbidden NULL value for input parameter [%s;%s;%s]',true),$svnUrl,$path,$targetDir));	
438		
439		if ( is_null($svnUrl) || is_null($path) || is_null($targetDir)) {
440			$actionLog->error(sprintf(__('Forbidden NULL value for input parameter [%s;%s;%s]',true),$svnUrl,$path,$targetDir));	
underscore.php git://github.com/brianhaveri/Underscore.php.git | PHP | 1,120 lines
1<?php
2
3/**
4 * Underscore.php v1.3.1
5 * Copyright (c) 2011 Brian Haveri
5 * Copyright (c) 2011 Brian Haveri
6 * Underscore.php is licensed under the MIT license
7 * Underscore.php was inspired by and borrowed from Underscore.js
7 * Underscore.php was inspired by and borrowed from Underscore.js
8 * For docs, license, tests, and downloads, see: http://brianhaveri.github.com/Underscore.php
9 */
17
18// Underscore.php
19class __ {
41    
42    if(is_null($collection)) return self::_wrap(null);
43    
ss_get_by_ssh.php http://mysql-cacti-templates.googlecode.com/svn/trunk/ | PHP | 1,486 lines
1076# You can test it like this, as root:
1077# su - cacti -c 'env -i php /var/www/cacti/scripts/ss_get_by_ssh.php --type diskstats --device sda4 --host 127.0.0.1 --items bj,bk,bl,bm,bn,bo,bp'
1078# ============================================================================
1137# You can test it like this, as root:
1138# su - cacti -c 'env -i php /var/www/cacti/scripts/ss_get_by_ssh.php --type openvz --host 127.0.0.1 --items bu,bv,bw,bx,by,bz,c0'
1139# ============================================================================
1194# You can test it like this, as root:
1195# su - cacti -c 'env -i php /var/www/cacti/scripts/ss_get_by_ssh.php --type redis --host 127.0.0.1 --items cy,cz,d2,d3
1196# ============================================================================
1261# You can test it like this, as root:
1262# su - cacti -c 'env -i php /var/www/cacti/scripts/ss_get_by_ssh.php --type jmx --host 127.0.0.1 --items d4,d5,d6,d7,d8,d9,da,db
1263# ============================================================================
1300# You can test it like this, as root:
1301# su - cacti -c 'env -i php /var/www/cacti/scripts/ss_get_by_ssh.php --type mongodb --host 127.0.0.1 --items dc,de,df,dg,dh,di,dj,dk,dl,dm,dn,do,dp,dq,dr,ds,dt,du
1302# ============================================================================
file_info_context_course.php git://github.com/moodle/moodle.git | PHP | 997 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
140        }
141        if (is_null($itemid)) {
142            return $this;
146
147        $filepath = is_null($filepath) ? '/' : $filepath;
148        $filename = is_null($filename) ? '.' : $filename;
156        }
157        $urlbase = $CFG->wwwroot.'/pluginfile.php';
158        return new file_info_stored($this->browser, $this->context, $storedfile, $urlbase, get_string('areacourseintro', 'repository'), false, true, true, false);
174        }
175        if (is_null($itemid)) {
176            return $this;
180
181        $filepath = is_null($filepath) ? '/' : $filepath;
182        $filename = is_null($filename) ? '.' : $filename;
Blob.php git://github.com/moodle/moodle.git | PHP | 1,402 lines
1<?php
2/**
25 */
26require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31require_once 'Zend/Service/WindowsAzure/Credentials/SharedAccessSignature.php';
32
35 */
36require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
37
40 */
41require_once 'Zend/Http/Client.php';
42
45 */
46require_once 'Zend/Http/Response.php';
47
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" );
BonDeLivraisonControleur.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 668 lines
1<?php
2//****************************************************************
12// Inclusion des classes
13include_once(CHEMIN_CLASSES_VIEW_MANAGER . "StockProduitReservationViewManager.php");
14include_once(CHEMIN_CLASSES_VIEW_MANAGER . "InfoBonLivraisonViewManager.php");
14include_once(CHEMIN_CLASSES_VIEW_MANAGER . "InfoBonLivraisonViewManager.php");
15include_once(CHEMIN_CLASSES_VIEW_MANAGER . "ProducteurViewManager.php");
16include_once(CHEMIN_CLASSES_VIEW_MANAGER . "TypePaiementVisibleViewManager.php");
17
18include_once(CHEMIN_CLASSES_VIEW_MANAGER . "StockLivraisonViewManager.php");
19
19
20include_once(CHEMIN_CLASSES_MANAGERS . "StockManager.php");
21include_once(CHEMIN_CLASSES_MANAGERS . "OperationManager.php");
29include_once(CHEMIN_CLASSES_UTILS . "CSV.php");
30include_once(CHEMIN_CLASSES_UTILS . "phpToPDF.php");
31
dbsource.inc http://perseph.googlecode.com/svn/trunk/ | PHP | 1,257 lines
1<?php
2/* ***** BEGIN LICENSE BLOCK *****
13					  
14@require_once 'MDB2.php';
15@require_once 'MDB2/Date.php';
15@require_once 'MDB2/Date.php';
16//@require_once 'Date.php';
17
73	 * 	custom text conversion, useful in cases where the backend/transport is not
74	 *		charset aware and you need special conversions. Refer to the alltests.php for an
75	 *		example of this.
330	 *
331	 * PHP: Should be "protected", but then can't have public in derived classes
332	 */
432	 * Helper function, since we don't know which encoding the DB has
433	 * this converets from DB encoding to PHP string encoding.
434	 *
phprpc_client.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 583 lines
5|                                                          |
6| phprpc_client.php                                        |
7|                                                          |
66    function keep_phprpc_cookie_in_session() {
67        global $_PHPRPC_COOKIES, $_PHPRPC_COOKIE;
68        $_SESSION['phprpc_cookies'] = $_PHPRPC_COOKIES;
281        }
282        $this->_warning = new PHPRPC_Error($phprpc_errno, $phprpc_errstr);
283        if (array_key_exists('phprpc_output', $result)) {
513        if (!is_null($this->_key) || ($this->_encryptMode == 0)) return true;
514        $request = "phprpc_encrypt=true&phprpc_keylen={$this->_keylen}";
515        $result = $this->_post($request);
576else {
577    class PHPRPC_Client extends _PHPRPC_Client {
578        function __call($function, $arguments) {
io.php http://sloodle.googlecode.com/svn/trunk/ | PHP | 1,193 lines
1<?php
2    // This file is part of the Sloodle project (www.sloodle.org) and is released under the GNU GPL v3.
21    /** Include our general library. */
22    require_once(SLOODLE_DIRROOT . '/lib/general.php');
23    
46    /**
47    * A helper class to validate and structure data for output according to the {@link http://slisweb.sjsu.edu/sl/index.php/Sloodle_communications_specification Sloodle communications specification}.
48    * @package sloodle
69        * Integer status code of the response.
70        * Refer to the {@link http://slisweb.sjsu.edu/sl/index.php/Sloodle_status_codes status codes} page on the Sloodle wiki for a reference.
71        * <b>Required.</b>
242            // Validate
243            if (is_string($par) == false && is_null($par) == false) {
244                $this->_internal_validation_error("Sloodle - LSL response: invalid status descriptor specified; should be a string or null", 0);
551            // Make sure that if the page number is specified, that the total is as well
552            if (is_null($this->page_number) xor is_null($this->page_total)) {
553                $this->_internal_validation_error("Sloodle - LSL response: script must specify both \"page_total\" *and* \"page_number\", or specify neither");
jpgraph.php https://PHPExcel.svn.codeplex.com/svn | PHP | 832 lines
21 *
22 * @category	PHPExcel
23 * @package		PHPExcel_Chart
23 * @package		PHPExcel_Chart
24 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
25 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
29
30require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
31
37 * @package		PHPExcel_Chart_Renderer
38 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
39 */
237		$yAxisLabel = $this->_chart->getYAxisLabel();
238		if (!is_null($yAxisLabel)) {
239			$title = $this->_getCaption($yAxisLabel);
phprpc_client.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 583 lines
5|                                                          |
6| phprpc_client.php                                        |
7|                                                          |
66    function keep_phprpc_cookie_in_session() {
67        global $_PHPRPC_COOKIES, $_PHPRPC_COOKIE;
68        $_SESSION['phprpc_cookies'] = $_PHPRPC_COOKIES;
281        }
282        $this->_warning = new PHPRPC_Error($phprpc_errno, $phprpc_errstr);
283        if (array_key_exists('phprpc_output', $result)) {
513        if (!is_null($this->_key) || ($this->_encryptMode == 0)) return true;
514        $request = "phprpc_encrypt=true&phprpc_keylen={$this->_keylen}";
515        $result = $this->_post($request);
576else {
577    class PHPRPC_Client extends _PHPRPC_Client {
578        function __call($function, $arguments) {
misc.php git://github.com/unirgy/buckyball.git | PHP | 3,899 lines
279     *
280     * @see http://www.php.net/manual/en/function.sprintf.php#94608
281     * @param string $format sprintf format string, with any number of named arguments
1073    *
1074    * @see http://us2.php.net/manual/en/function.parse-url.php#106731
1075    * @param array $p result of parse_url()
3742    /**
3743     * @see http://www.php.net/manual/en/function.htmlentities.php#106535
3744     */
3787     *
3788     * @see http://www.php.net/manual/en/function.hash-hmac.php#93440
3789     *
3832     *
3833     * @see http://www.php.net/manual/en/function.hash-hmac.php#109260
3834     *
controller.php git://github.com/unirgy/buckyball.git | PHP | 2,261 lines
1<?php
2/**
60        if (!empty($_SERVER['ORIG_SCRIPT_NAME'])) {
61            $_SERVER['ORIG_SCRIPT_NAME'] = str_replace('/index.php/index.php', '/index.php', $_SERVER['ORIG_SCRIPT_NAME']);
62        }
63        if (!empty($_SERVER['ORIG_SCRIPT_FILENAME'])) {
64            $_SERVER['ORIG_SCRIPT_FILENAME'] = str_replace('/index.php/index.php', '/index.php', $_SERVER['ORIG_SCRIPT_FILENAME']);
65        }
264    *
265    * If request is /folder1/folder2/index.php, return /folder1/folder2/
266    *
294    {
295        if (is_null($forceSecure)) {
296            $scheme = static::https() ? 'https:' : '';
321        $path = explode('/', ltrim($pathInfo, '/'));
322        if (is_null($length)) {
323            return isset($path[$offset]) ? $path[$offset] : null;
Blob.php git://github.com/centurion-project/Centurion.git | PHP | 1,401 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Blob.php 36457 2010-01-04 07:36:33Z unknown $
21 */
25 */
26//$1 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31//$1 'Zend/Service/WindowsAzure/Credentials/SharedAccessSignature.php';
32
35 */
36//$1 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
37
40 */
41//$1 'Zend/Http/Client.php';
42
Slim.php git://github.com/h9k/magirc.git | PHP | 1,232 lines
1<?php
2/**
2/**
3 * Slim - a micro PHP 5 framework
4 *
33
34//This determines which errors are reported by PHP. By default, all
35//errors (including E_STRICT) are reported.
44
45//This tells PHP to auto-load classes using Slim's autoloader; this will
46//only auto-load a class file located in the same directory as Slim.php
47//whose file name (excluding the final dot and extension) is the same
48//as its class name (case-sensitive). For example, "View.php" will be
49//loaded when Slim uses the "View" class for the first time.
51
52//PHP 5.3 will complain if you don't set a timezone. If you do not
53//specify your own timezone before requiring Slim, this tells PHP to use UTC.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21