PageRenderTime 5490ms queryFilters 0ms Sphinxql 2793ms GetByIds 2613ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 1ms

206,208 results for 'php is_null repo:connvoi/dev' (5490 ms)

Source

Language

Repository

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
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# ============================================================================
pagelib.php git://github.com/moodle/moodle.git | PHP | 2,084 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
320     * @var int Sets the page to refresh after a given delay (in seconds) using
321     * meta refresh in {@link standard_head_html()} in outputlib.php
322     * If set to null(default) the page is not refreshed
417        global $SITE;
418        if (is_null($this->_course)) {
419            return $SITE;
441    protected function magic_get_activityrecord() {
442        if (is_null($this->_module) && !is_null($this->_cm)) {
443            $this->load_activity_record();
453    protected function magic_get_activityname() {
454        if (is_null($this->_cm)) {
455            return null;
491        global $CFG;
492        if (is_null($this->_context)) {
493            if (CLI_SCRIPT or NO_MOODLE_COOKIES) {
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
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
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) {
context.php http://enaj.googlecode.com/svn/trunk/ | PHP | 1,396 lines
1<?php
2// $Id: context.php 2421 2009-04-14 08:59:23Z jerry $
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: context.php 2421 2009-04-14 08:59:23Z jerry $
16 *
17 * ?????????? QeePHP ????????????
18 * QContext ????????????????? URL ??????
24 *
25 * @code php
26 * if (isset($context['title']))
32 * @author YuLei Liao <liaoyulei@qeeyuan.com>
33 * @version $Id: context.php 2421 2009-04-14 08:59:23Z jerry $
34 * @package core
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);
FLEA.php http://ipmanger.googlecode.com/svn/trunk/ | PHP | 2,032 lines
13 *
14 * ????? FleaPHP ???????????? FleaPHP ???
15 * ??????????? require('FLEA.php') ??????
36
37// ???? PHP4 ? PHP5 ???
38if (substr(PHP_VERSION, 0, 1) == '5') {
1386 *
1387 * FleaPHP ???? PHP4????????????????????????????????
1388 * FleaPHP ?????????????
1797/**
1798 * PHP4 ? PHP5 ????????
1799 */
1814     *
1815     * ? PHP5 ??FLEA_Exception ??? PHP ??? Exception ??
1816     * ? PHP4 ???????????
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     *
Sailthru_Client.php git://github.com/sailthru/sailthru-php5-client.git | PHP | 1,644 lines
1<?php
2
6 * Response from server depends on the format being queried
7 * if 'json' format is requested, client will recieve JSON object and 'php' is requested, client will recieve PHP array
8 * XML format is also available but not has not been tested thoroughly
42     * User agent making request to Sailthru API server
43     * Even, if you modify user-agent, please try to include 'PHP5' somewhere in the user-agent
44     * @var String
62
63    private $httpHeaders = [ "User-Agent: Sailthru API PHP5 Client" ];
64
71     * Instantiate a new client; constructor optionally takes overrides for api_uri and whether
72     * to share the version of PHP that is being used.
73     *
251     * @param string $list the mailing list name to send to
252     * @param string $schedule_time when the blast should send. Dates in the past will be scheduled for immediate delivery. Any English textual datetime format known to PHP's strtotime function is acceptable, such as 2009-03-18 23:57:22 UTC, now (immediate delivery), +3 hours (3 hours from now), or February 14, 9:30 EST. Be sure to specify a timezone if you use an exact time.
253     * @param string $from_name the name appearing in the "From" of the email
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.
YahooOAuthApplication.class.php git://github.com/yahoo/yos-social-php5.git | PHP | 482 lines
1<?php
2
3/**
4 * Yahoo! PHP5 SDK
5 *
10 *
11 * Hosted on GitHub: http://github.com/yahoo/yos-social-php5/tree/master
12 *
12 *
13 * @package    yos-social-php5
14 * @subpackage yahoo
39
40require_once 'YahooCurl.class.php';
41require_once 'YahooYQLQuery.class.php';
41require_once 'YahooYQLQuery.class.php';
42require_once 'YahooOAuthApplicationException.class.php';
43require_once 'YahooOAuthAccessToken.class.php';
Blob.php git://github.com/nfabre/deepzoom.php.git | PHP | 1,400 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Blob.php 20923 2010-02-05 07:16:14Z maartenba $
21 */
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
MetaBox.php git://github.com/beingzoe/wpplugin-kitchen-sink-html5-base.git | PHP | 2,237 lines
1<?php
2
608		<style type="text/css">
609			<?php if ($this->hide_editor): ?> #postdiv, #postdivrich { display:none; } <?php endif; ?>
610		</style>
658
659				var mb_id = '<?php echo $this->id; ?>';
660				var mb = $('#' + mb_id + '_metabox');
661
662				<?php if (WPALCHEMY_LOCK_TOP == $this->lock): ?>
663				<?php if ('side' == $this->context): ?>
668				}
669				<?php else: ?>
670				var id = 'wpalchemy-content-top';
994
995		if ($uri AND in_array($file, array('post.php', 'post-new.php')))
996		{
QueueServiceFunctionalTest.php git://github.com/WindowsAzure/azure-sdk-for-php.git | PHP | 1,363 lines
18 * @package   Tests\Functional\WindowsAzure\Queue
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
20 * @copyright 2012 Microsoft Corporation
870            }
871            else if (!is_null($options->getVisibilityTimeoutInSeconds()) && !is_null($options->getTimeToLiveInSeconds()) && $options->getVisibilityTimeoutInSeconds() > 0 && $options->getTimeToLiveInSeconds() <= $options->getVisibilityTimeoutInSeconds()) {
872                $this->assertEquals(400, $e->getCode(), 'getCode');
1120        // Default is 1 message
1121        $effectiveNumOfMessages = (is_null($options) || is_null($options->getNumberOfMessages()) ? 1 : $options ->getNumberOfMessages());
1122        $effectiveNumOfMessages = ($effectiveNumOfMessages < 0 ? 0 : $effectiveNumOfMessages);
1124        // Default is 30 seconds
1125        $effectiveVisTimeout = (is_null($options) || is_null($options->getVisibilityTimeoutInSeconds()) ? 30 : $options ->getVisibilityTimeoutInSeconds());
1126        $effectiveVisTimeout = ($effectiveVisTimeout < 0 ? 0 : $effectiveVisTimeout);
1234        // Default is 1 message
1235        $effectiveNumOfMessages = (is_null($options) || is_null($options->getNumberOfMessages()) ? 1 : $options ->getNumberOfMessages());
1236        $effectiveNumOfMessages = ($effectiveNumOfMessages < 0 ? 0 : $effectiveNumOfMessages);
TableRestProxy.php git://github.com/WindowsAzure/azure-sdk-for-php.git | PHP | 1,299 lines
1<?php
2
14 * 
15 * PHP version 5
16 *
18 * @package   WindowsAzure\Table
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
20 * @copyright 2012 Microsoft Corporation
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
22 * @link      https://github.com/windowsazure/azure-sdk-for-php
23 */
56 * @package   WindowsAzure\Table
57 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
58 * @copyright 2012 Microsoft Corporation
60 * @version   Release: @package_version@
61 * @link      https://github.com/windowsazure/azure-sdk-for-php
62 */
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21