PageRenderTime 467ms queryFilters 11ms Sphinxql 54ms app.CodeModel.GetByIds 318ms findMatchingLines 55ms GetByIds 373ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 2ms

60,014 results for 'php is_null repo:fuel/oil' (467 ms)

Source

Language

Repository

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()
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 */
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;
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) {
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) {
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
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}
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	 * 
Table.php https://PHPAzure.svn.codeplex.com/svn | PHP | 830 lines
1<?php
2/**
38 */
39require_once 'Microsoft/WindowsAzure/Credentials/CredentialsAbstract.php';
40
43 */
44require_once 'Microsoft/WindowsAzure/Credentials/SharedKey.php';
45
48 */
49require_once 'Microsoft/WindowsAzure/Credentials/SharedKeyLite.php';
50
538		// Add continuation querystring parameters?
539		if (!is_null($nextPartitionKey) && !is_null($nextRowKey)) {
540		    if ($queryString !== '') {
617			// More entities?
618		    if (!is_null($response->getHeader('x-ms-continuation-NextPartitionKey')) && !is_null($response->getHeader('x-ms-continuation-NextRowKey'))) {
619		        if (strpos($queryString, '$top') === false) {
Table.php https://PHPAzure.svn.codeplex.com/svn | PHP | 920 lines
1<?php
2/**
38 */
39require_once 'Microsoft/WindowsAzure/Credentials/CredentialsAbstract.php';
40
43 */
44require_once 'Microsoft/WindowsAzure/Credentials/SharedKey.php';
45
48 */
49require_once 'Microsoft/WindowsAzure/Credentials/SharedKeyLite.php';
50
579		// Add continuation querystring parameters?
580		if (!is_null($nextPartitionKey) && !is_null($nextRowKey)) {
581		    if ($queryString !== '') {
658			// More entities?
659		    if (!is_null($response->getHeader('x-ms-continuation-NextPartitionKey')) && !is_null($response->getHeader('x-ms-continuation-NextRowKey'))) {
660		        if (strpos($queryString, '$top') === false) {
Queue.php https://PHPAzure.svn.codeplex.com/svn | PHP | 583 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
Table.php https://PHPAzure.svn.codeplex.com/svn | PHP | 898 lines
1<?php
2/**
38 */
39require_once 'Microsoft/WindowsAzure/Credentials/CredentialsAbstract.php';
40
43 */
44require_once 'Microsoft/WindowsAzure/Credentials/SharedKey.php';
45
48 */
49require_once 'Microsoft/WindowsAzure/Credentials/SharedKeyLite.php';
50
566		// Add continuation querystring parameters?
567		if (!is_null($nextPartitionKey) && !is_null($nextRowKey)) {
568		    if ($queryString !== '') {
645			// More entities?
646		    if (!is_null($response->getHeader('x-ms-continuation-NextPartitionKey')) && !is_null($response->getHeader('x-ms-continuation-NextRowKey'))) {
647		        if (strpos($queryString, '$top') === false) {
Queue.php https://PHPAzure.svn.codeplex.com/svn | PHP | 569 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
Table.php http://stuffpack.googlecode.com/svn/ | PHP | 817 lines
1<?php
2/**
30 */
31require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
32
35 */
36require_once 'Zend/Service/WindowsAzure/Credentials/SharedKeyLite.php';
37
40 */
41require_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) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21