PageRenderTime 1279ms queryFilters 20ms Sphinxql 518ms GetByIds 555ms meta 0ms repositoryFilters 84ms languageFilters 0ms sourceFilters 40ms

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

Source

Language

Repository

BlobRestProxy.php https://hg.codeplex.com/bukuphpjs | PHP | 2,338 lines
1<?php
2
18 * @package   WindowsAzure\Blob
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 */
81 * @package   WindowsAzure\Blob
82 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
83 * @copyright 2012 Microsoft Corporation
85 * @version   Release: @package_version@
86 * @link      https://github.com/windowsazure/azure-sdk-for-php
87 */
338    {
339        if (!is_null($start) || !is_null($end)) {
340            $range      = $start . '-' . $end;
ca_list_items.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 626 lines
1<?php
2/** ---------------------------------------------------------------------
2/** ---------------------------------------------------------------------
3 * app/models/ca_list_items.php : table access class for table ca_list_items
4 * ----------------------------------------------------------------------
36 
37require_once(__CA_LIB_DIR__.'/ca/BundlableLabelableBaseModelWithAttributes.php');
38require_once(__CA_LIB_DIR__.'/ca/IHierarchy.php');
38require_once(__CA_LIB_DIR__.'/ca/IHierarchy.php');
39require_once(__CA_MODELS_DIR__.'/ca_lists.php');
40require_once(__CA_MODELS_DIR__.'/ca_places.php');
40require_once(__CA_MODELS_DIR__.'/ca_places.php');
41require_once(__CA_MODELS_DIR__.'/ca_locales.php');
42
50				'IDENTITY' => true, 'DISPLAY_WIDTH' => 10, 'DISPLAY_HEIGHT' => 1,
51				'IS_NULL' => false, 
52				'DEFAULT' => '',
ca_objects.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 1,171 lines
1<?php
2/** ---------------------------------------------------------------------
2/** ---------------------------------------------------------------------
3 * app/models/ca_objects.php : table access class for table ca_objects
4 * ----------------------------------------------------------------------
36
37require_once(__CA_LIB_DIR__."/ca/IBundleProvider.php");
38require_once(__CA_LIB_DIR__."/ca/BundlableLabelableBaseModelWithAttributes.php");
38require_once(__CA_LIB_DIR__."/ca/BundlableLabelableBaseModelWithAttributes.php");
39require_once(__CA_MODELS_DIR__."/ca_object_representations.php");
40require_once(__CA_MODELS_DIR__."/ca_objects_x_object_representations.php");
49				'IDENTITY' => true, 'DISPLAY_WIDTH' => 10, 'DISPLAY_HEIGHT' => 1,
50				'IS_NULL' => false, 
51				'DEFAULT' => '',
56				'DISPLAY_WIDTH' => 10, 'DISPLAY_HEIGHT' => 1,
57				'IS_NULL' => true, 
58				'DEFAULT' => '',
adodb-session.php https://bitbucket.org/tedbundyjr/adodb5.git | 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 https://bitbucket.org/davidmpaz/ezpdo.git | PHP | 909 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;
adodb-session.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | 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 https://bitbucket.org/nahedh/throughskysms.git | 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;
Document.php https://github.com/joedevon/Shanty-Mongo.git | PHP | 1,292 lines
1<?php
2require_once 'Shanty/Mongo/Exception.php';
2require_once 'Shanty/Mongo/Exception.php';
3require_once 'Shanty/Mongo/Collection.php';
4require_once 'Shanty/Mongo/Iterator/Default.php';
145	{
146		return !is_null($this->getId());
147	}
196	{
197		return (!is_null($this->getConfigAttribute('connectionGroup')) && !is_null($this->getConfigAttribute('db')) && !is_null($this->getConfigAttribute('collection')));
198	}
248	{
249		return is_null($this->getPathToDocument());
250	}
300	{
301		if (is_null($property)) return $this->_config['criteria'];
302		
Facebook.php https://github.com/A-Shevchenko/oauth-2---facebook---zend-framework-components.git | PHP | 855 lines
765        if (!is_null($limit)) $query['limit'] = $limit;
766        if (!is_null($offset) && !is_null($limit)) $query['offset'] = $offset;
767        if (!is_null($since) && !is_null($limit)) $query['since'] = $since;
770        // if both are null return null
771        if (is_null($objectFields) && is_null($objectConnections)) return array(null, $path);
772
773        // if only connections are null return query with fields list
774        if (!is_null($objectFields) && is_null($objectConnections)) {
775            // check if fields got specified
793        // a single field is ok if you pass it in the fields query but not a single connection
794        if (is_null($objectFields) && !is_null($objectConnections)) {
795            // check if fields got specified
808        // if none is null return query with connections and fields list
809        if (!is_null($objectFields) && !is_null($objectConnections)) {
810            $fieldsAndConnections = array();
Functions.php https://github.com/jcplat/console-seolan.git | PHP | 11,009 lines
5584			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
5585			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
5586
5635			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
5636				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
5637			} else {
5637			} else {
5638				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
5639			}
6381												  break;
6382			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6383												  break;
6420												  break;
6421			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6422												  break;
locallib.php https://github.com/KieranRBriggs/moodle-mod_hotpot.git | PHP | 2,024 lines
1<?php
2
32
33require_once(dirname(__FILE__).'/lib.php');     // we extend this library here
34require_once($CFG->libdir . '/gradelib.php');   // we use some rounding and comparing routines here
371        $this->course = $course;
372        if (is_null($context)) {
373            $this->context = hotpot_get_context(CONTEXT_MODULE, $this->cm->id);
376        }
377        if (is_null($attempt)) {
378            // do nothing
406        $editmode = optional_param('editmode', null, PARAM_BOOL);
407        if (! is_null($editmode)) {
408            $USER->editing = $editmode;
479        if ($sourcetype) {
480            $classes = self::get_classes('hotpotattempt', 'renderer.php', 'mod_', '_renderer');
481            foreach ($classes as $class) {
index.php https://github.com/cyrke/phpMyFAQ.git | PHP | 752 lines
104// Login via local DB or LDAP or SSO
105if (!is_null($faqusername) && !is_null($faqpassword)) {
106    $user = new PMF_User_CurrentUser($faqConfig);
249        }
250    } elseif (is_null($sid_get) || is_null($sid_cookie)) {
251        if (is_null($sid_cookie)) {
374    $includeTemplate = $action . '.tpl';
375    $includePhp      = $action . '.php';
376    $writeLangAdress = '?sid=' . $sid;
380        $includeTemplate = 'artikel.tpl';
381        $includePhp      = 'artikel.php';
382    } else {
488    'stickyRecordsHeader' => $PMF_LANG['stickyRecordsHeader'],
489    'copyright'           => 'powered by <a href="http://www.phpmyfaq.de" target="_blank">phpMyFAQ</a> ' .
490                             $faqConfig->get('main.currentVersion'),
view.php https://github.com/eviweb/moodle-mod_turnitintool.git | PHP | 424 lines
1<?php
2/**
10require_once("../../lib/form/text.php");
11require_once("../../lib/form/datetimeselector.php");
12require_once("../../lib/form/hidden.php");
157
158if (!is_null($param_do) AND $param_do=="tutors" AND !is_null($param_unenrol)) {
159    $tutors=turnitintool_remove_tiitutor($cm,$turnitintool,$param_unenrol);
167
168if (!is_null($param_do) AND $param_do=="tutors" AND !is_null($param_enroltutor)) {
169    $tutors=turnitintool_add_tiitutor($cm,$turnitintool,$param_enroltutor);
177
178if (!is_null($param_do) AND $param_do=="tutors" AND is_null($param_unenrol) AND is_null($param_enroltutor)) {
179    $tutors=turnitintool_get_tiitutors($cm,$turnitintool);
192
193if (!is_null($param_do) AND $turnitintool->autoupdates==1 AND $param_do=="allsubmissions" AND !is_null($param_anonid)) {
194    $loaderbar = new turnitintool_loaderbarclass(3);
limonade.php https://github.com/liana866/FileZ.git | PHP | 2,483 lines
1195 *   a function, an object method, a static method or a closure.
1196 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1197 *   to learn more about callbacks.
1798 *   or an object and the name of a method within the object
1799 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1800 *   to learn more about callbacks.
2427   * For PHP 5 < 5.3.0 (backward compatibility)
2428   * (from {@link http://www.php.net/manual/fr/function.array-replace.php#92549 this php doc. note})
2429   * 
2458
2459if(PHP_VERSION == '5.2.13' || PHP_VERSION == '5.3.2')
2460{
2461  # There is a bug with filter_var($site_url , FILTER_VALIDATE_URL); 
2462  # http://www.mail-archive.com/php-bugs@lists.php.net/msg134778.html
2463  function filter_var_url($str)
pipeline.class.php https://github.com/williamjmendoza/sigecost.git | PHP | 1,229 lines
1<?php
2
2
3require_once(HTML2PS_DIR.'utils_array.php');
4require_once(HTML2PS_DIR.'utils_graphic.php');
4require_once(HTML2PS_DIR.'utils_graphic.php');
5require_once(HTML2PS_DIR.'utils_url.php');
6require_once(HTML2PS_DIR.'utils_text.php');
6require_once(HTML2PS_DIR.'utils_text.php');
7require_once(HTML2PS_DIR.'utils_units.php');
8require_once(HTML2PS_DIR.'utils_number.php');
9
10require_once(HTML2PS_DIR.'value.color.php');
11
11
12require_once(HTML2PS_DIR.'config.parse.php');
13
index.php https://github.com/NHLH-ITM/phpMyFAQ-kindeditor.git | PHP | 769 lines
100// Login via local DB or LDAP or SSO
101if (!is_null($faqusername) && !is_null($faqpassword)) {
102
359    $includeTemplate = $action . '.tpl';
360    $includePhp      = $action . '.php';
361    $writeLangAdress = '?sid=' . $sid;
365        $includeTemplate = 'artikel.tpl';
366        $includePhp      = 'artikel.php';
367    } else {
368        $includeTemplate = 'main.tpl';
369        $includePhp      = 'main.php';
370    }
485    'userOnline'           => $usersOnline,
486    'copyright'            => 'powered by <a href="http://www.phpmyfaq.de" target="_blank">phpMyFAQ</a> ' .
487                              $faqConfig->get('main.currentVersion'),
Installer.php https://github.com/NHLH-ITM/phpMyFAQ-kindeditor.git | PHP | 907 lines
1<?php
2/**
13 * @author    Florian Anderiasch <florian@phpmyfaq.net>
14 * @copyright 2002-2014 phpMyFAQ Team
15 * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
403            $dbError = "No supported database detected! Please install one of the following database systems and " .
404                        "enable the corresponding PHP extension in php.ini:";
405            $dbError .= "<ul>";
413        if (! $this->_system->checkRequiredExtensions()) {
414            $extError  = "The following extensions are missing! Please enable the PHP extension(s) in php.ini.";
415            $extError .= "<ul>";
477    {
478        if (version_compare(PHP_VERSION, PMF_System::VERSION_MINIMUM_PHP, '<')) {
479            return false;
526        if ((@ini_get('safe_mode') == 'On' || @ini_get('safe_mode') === 1)) {
527            $errors[] = "The PHP safe mode is enabled. You may have problems when phpMyFAQ tries to write in some " .
528                        "directories.";
Table.php https://SqlCrudPHPWizard.svn.codeplex.com/svn | PHP | 974 lines
1<?php
2/**
43 */
44require_once 'Microsoft/WindowsAzure/SharedKeyCredentials.php';
45
48 */
49require_once 'Microsoft/WindowsAzure/SharedKeyLiteCredentials.php';
50
178		if (!function_exists('odbc_connect'))
179			throw new Microsoft_WindowsAzure_Exception('Function odbc_connect does not exist. Please enable the php_odbc.dll module in your php.ini.');
180		if ($this->_odbcConnectionString == '')
669		// Add continuation querystring parameters?
670		if (!is_null($nextPartitionKey) && !is_null($nextRowKey))
671		{
763			// More entities?
764			if (!is_null($response->getHeader('x-ms-continuation-NextPartitionKey')) && !is_null($response->getHeader('x-ms-continuation-NextRowKey')))
765			{
barangayadd.php https://bitbucket.org/joemarmatulac/ebutton | PHP | 1,222 lines
6<?php include_once "ewmysql8.php" ?>
7<?php include_once "phpfn8.php" ?>
8<?php include_once "barangayinfo.php" ?>
8<?php include_once "barangayinfo.php" ?>
9<?php include_once "userinfo.php" ?>
10<?php include_once "userfn8.php" ?>
144</script>
145<p class="phpmaker ewTitle"><?php echo $Language->Phrase("Add") ?>&nbsp;<?php echo $Language->Phrase("TblTypeTABLE") ?><?php echo $barangay->TableCaption() ?></p>
146<p class="phpmaker"><a href="<?php echo $barangay->getReturnUrl() ?>"><?php echo $Language->Phrase("GoBack") ?></a></p>
259		<td<?php echo $barangay->brgyaltitude->CellAttributes() ?>><span id="el_brgyaltitude">
260<input type="text" name="x_brgyaltitude" id="x_brgyaltitude" size="30" value="<?php echo $barangay->brgyaltitude->EditValue ?>"<?php echo $barangay->brgyaltitude->EditAttributes() ?>>
261</span><?php echo $barangay->brgyaltitude->CustomMsg ?></td>
283</script>
284<?php include_once "footer.php" ?>
285<?php
cityedit.php https://bitbucket.org/joemarmatulac/ebutton | PHP | 1,129 lines
6<?php include_once "ewmysql8.php" ?>
7<?php include_once "phpfn8.php" ?>
8<?php include_once "cityinfo.php" ?>
8<?php include_once "cityinfo.php" ?>
9<?php include_once "userinfo.php" ?>
10<?php include_once "userfn8.php" ?>
147</script>
148<p class="phpmaker ewTitle"><?php echo $Language->Phrase("Edit") ?>&nbsp;<?php echo $Language->Phrase("TblTypeTABLE") ?><?php echo $city->TableCaption() ?></p>
149<p class="phpmaker"><a href="<?php echo $city->getReturnUrl() ?>"><?php echo $Language->Phrase("GoBack") ?></a></p>
239?>
240<option value="<?php echo ew_HtmlEncode($arwrk[$rowcntwrk][0]) ?>"<?php echo $selwrk ?>>
241<?php echo $arwrk[$rowcntwrk][1] ?>
270</script>
271<?php include_once "footer.php" ?>
272<?php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21