PageRenderTime 3297ms queryFilters 0ms Sphinxql 3007ms GetByIds 241ms meta 0ms repositoryFilters 8ms languageFilters 0ms sourceFilters 1ms

52,877 results for 'php is_null repo:lyrixx/phpcr-utils' (3297 ms)

Source

Language

Repository

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
barangayedit.php https://bitbucket.org/joemarmatulac/ebutton | PHP | 1,181 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("Edit") ?>&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>
284</script>
285<?php include_once "footer.php" ?>
286<?php
user.php https://bitbucket.org/ogsteam/ogspy | PHP | 2,897 lines
1<?php
2/**
2/**
3 * user.php Fonctions concernant les utilisateurs
4 * @author Kyser
9 * @author Kyser
10 * @link $HeadURL: http://svn.ogsteam.fr/trunk/ogspy/includes/user.php $
11 * @version 3.04b ( $Rev: 7752 $ ) 
11 * @version 3.04b ( $Rev: 7752 $ ) 
12 * $Id: user.php 7752 2012-11-05 12:04:30Z darknoon $
13 */
32                1)
33                redirection("index.php?action=message&id_message=forbidden&info");
34
39                1)
40                redirection("index.php?action=message&id_message=forbidden&info");
41
jpgraph.php https://bitbucket.org/y_widyatama/ijepa2 | 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);
jpgraph.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 840 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 */
239		$yAxisLabel = $this->_chart->getYAxisLabel();
240		if (!is_null($yAxisLabel)) {
241			$title = $this->_getCaption($yAxisLabel);
AIT.php https://github.com/touv/ait.git | PHP | 2,472 lines
1<?php
2// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 encoding=utf-8 fdm=marker :
39require_once 'AIT/Item.php';
40require_once 'AIT/TagType.php';
41require_once 'AIT/Tag.php';
50 * @copyright 2009 Nicolas Thouvenin
51 * @license   http://opensource.org/licenses/lgpl-license.php LGPL
52 * @link      http://ait.touv.fr/
1054        try {
1055            if (is_null($t) and !is_null($i)) {
1056                $field = 'item_id';
1058            }
1059            elseif (!is_null($t) and is_null($i)) {
1060                $field = 'tag_id';
1737            }
1738            if (!is_null($offset) && !is_null($lines)) {
1739                $sql .= sprintf(' LIMIT %d,%d', (int)$offset, (int)$lines);
lightvc.php https://github.com/bencochran/yeti.git | PHP | 1,453 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	 * 
lightvc.php https://github.com/mamu/yeti.git | PHP | 1,448 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	 * 
person.php https://github.com/palfrey/phplib.git | PHP | 390 lines
1<?php
2/*
8 *
9 * $Id: person.php,v 1.28 2008-12-01 13:46:50 matthew Exp $
10 * 
12
13require_once 'utility.php';
14require_once 'stash.php';
14require_once 'stash.php';
15require_once 'rabx.php';
16require_once 'auth.php';
50            err('value passed to person constructor must be person ID or email address');
51        if (is_null($this->id))
52            err("No such person '$id'");
254        $P = person_if_signed_on();
255    if (!is_null($P) && (is_null($email) || strtolower($P->email()) == strtolower($email))) {
256        if (!is_null($name) && !$P->matches_name($name))
mpd.php https://github.com/jinzora/jinzora3.git | PHP | 1,714 lines
1<?php if (!defined(JZ_SECURE_ACCESS)) die ('Security breach detected.');
2	/**
117				</form>
118				<?php
119				exit();
141				// Ok, let's create the settings file
142				$content  = "<?". "php\n";
143				$content .= "$". "jbArr[0]['server'] = '". $_POST['edit_server']. "';\n";
150				// Now let's write it out IF we can
151				$filename = getcwd(). "/jukebox/settings.php";
152				if (is_writable($filename)){
159					</form>
160					<?php
161					exit();
165					echo "Or copy and paste the below information into the file at: ". getcwd(). "/jukebox/settings.php<br><br>";
166					echo str_replace("    ","&nbsp;&nbsp;&nbsp;&nbsp;",nl2br(str_replace("<?php", "&lt;php",$content)));
167					echo "<br><br>";
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21