PageRenderTime 307ms queryFilters 1ms Sphinxql 37ms app.CodeModel.GetByIds 164ms findMatchingLines 66ms GetByIds 230ms meta 0ms repositoryFilters 12ms languageFilters 5ms sourceFilters 5ms

60,014 results for 'php is_null repo:sebs/mosolar' (307 ms)

Source

Language

Repository

jpgraph.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 831 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);
Blob.php https://bitbucket.org/efdac/e-forest_platform.git | PHP | 1,401 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
jpgraph.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip.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);
pagelib.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 1,898 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
310     * @var int Sets the page to refresh after a given delay (in seconds) using
311     * meta refresh in {@link standard_head_html()} in outputlib.php
312     * If set to null(default) the page is not refreshed
370        global $SITE;
371        if (is_null($this->_course)) {
372            return $SITE;
394    protected function magic_get_activityrecord() {
395        if (is_null($this->_module) && !is_null($this->_cm)) {
396            $this->load_activity_record();
406    protected function magic_get_activityname() {
407        if (is_null($this->_cm)) {
408            return null;
443    protected function magic_get_context() {
444        if (is_null($this->_context)) {
445            if (CLI_SCRIPT or NO_MOODLE_COOKIES) {
gradelib.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 1,448 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
30require_once($CFG->libdir . '/grade/grade_category.php');
31require_once($CFG->libdir . '/grade/grade_item.php');
32require_once($CFG->libdir . '/grade/grade_grade.php');
32require_once($CFG->libdir . '/grade/grade_grade.php');
33require_once($CFG->libdir . '/grade/grade_scale.php');
34require_once($CFG->libdir . '/grade/grade_outcome.php');
71
72    if (is_null($courseid) or is_null($itemtype)) {
73        debugging('Missing courseid or itemtype');
238
239        if (is_null($grade_grade)) {
240            if (count($grades) == 0) {
986            //dont include default empty grades created when activities are created
987            if (!is_null($oldgrade->finalgrade) || !is_null($oldgrade->feedback)) {
988                $recoveredgrades = true;
file_info_context_course.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 876 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
102        }
103        if (is_null($itemid)) {
104            return $this;
108
109        $filepath = is_null($filepath) ? '/' : $filepath;
110        $filename = is_null($filename) ? '.' : $filename;
118        }
119        $urlbase = $CFG->wwwroot.'/pluginfile.php';
120        return new file_info_stored($this->browser, $this->context, $storedfile, $urlbase, get_string('areacourseintro', 'repository'), false, true, true, false);
136        }
137        if (is_null($itemid)) {
138            return $this;
142
143        $filepath = is_null($filepath) ? '/' : $filepath;
144        $filename = is_null($filename) ? '.' : $filename;
limonade.php https://bitbucket.org/mattijs/fizzy | PHP | 1,957 lines
1<?php
2                                                                  
13 *  @copyright Copyright (c) 2009 Fabrice Luraine
14 *  @license http://opensource.org/licenses/mit-license.php The MIT License
15 *  @package limonade
60define('E_LIM_HTTP',           32768);
61define('E_LIM_PHP',            65536);
62define('NOT_FOUND',            404);
161   $name = array_shift($args);
162   if(is_null($name)) return $options;
163   if(!empty($args))
201    $name = array_shift($args);
202    if(is_null($name))
203    {
845
846      if($request_uri."index.php" == $base_path) $request_uri .= "index.php";
847  	  $uri = str_replace($base_path, '', $request_uri);
treeMenu.inc.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 2,261 lines
1<?php
2/**
10 * @copyright 	2005-2009, TestLink community 
11 * @version    	CVS: $Id: treeMenu.inc.php,v 1.144 2010/08/21 13:38:25 asimon83 Exp $
12 * @link 		http://www.teamst.org/index.php
12 * @link 		http://www.teamst.org/index.php
13 * @uses 		config.inc.php
14 *
25 *                      wrong array indexes and little logic errors
26 *  20100701 - asimon - replaced is_null in renderTreeNode() by !isset 
27 *                      because of warnings in event log
66 */
67require_once(dirname(__FILE__)."/../../third_party/dBug/dBug.php");
68
182		$tck_map = null;  // means no filter
183		if(!is_null($my['filters']['filter_keywords']))
184		{
specview.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 1,066 lines
1<?php
2/**
206	
207	if( !$is_tplan_view_type && is_null($tproject_id) )
208	{
263	// Collect information related to linked testcase versions
264	if(!is_null($out) && count($out) > 0 && !is_null($out[0]) && count($a_tcid))
265	{
417	$testCaseSet = null;
418	if(!is_null($keywordsFilter) && !is_null($keywordsFilter->items))
419	{ 
425	// BUGID 3026 - added $testcaseFilter
426	if (!is_null($testCaseSet) && !is_null($testcaseFilter)) {
427		$testCaseSet = array_intersect($testCaseSet, array($testcaseFilter));
427		$testCaseSet = array_intersect($testCaseSet, array($testcaseFilter));
428	} else if (is_null($testCaseSet) && !is_null($testcaseFilter)) {
429		$testCaseSet = $testcaseFilter;
requirement_spec_mgr.class.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 1,752 lines
1<?php
2/**
220    $rs = null;
221    if(!is_null($recordset))
222    {
337	$rs = $this->db->get_recordset($sql);
338	if (!is_null($rs))
339	{
745      	$rs = $this->get_by_title($title,$tproject_id,$parent_id,$case_analysis);
746  		if(!is_null($rs) && (is_null($id) || !isset($rs[$id])))
747      	{
824    //   	$rs = $this->get_by_title($title,$tproject_id,$my_parent_id,$case_analysis);
825  	// 	if(!is_null($rs) && (is_null($id) || !isset($rs[$id])))
826    //   	{
836      	$rs = $this->getByDocID($doc_id,$tproject_id);
837  		if(!is_null($rs) && (is_null($id) || !isset($rs[$id])))
838      	{                                  
requirement_mgr.class.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 2,089 lines
1<?php
2/**
18 *	20100509 - franciscom - update() interface changes.
19 *  20100324 - asimon - BUGID 1748 - Moved init_relation_type_select here from reqView.php
20 *                                   as it is now used from multiple files.
49 *  20090401 - franciscom - BUGID 2316
50 *  20090315 - franciscom - added require_once '/attachments.inc.php' to avoid autoload() bug
51 *                          delete() - fixed delete order due to FK.
56// Needed to use extends tlObjectWithAttachments, If not present autoload fails.
57require_once( dirname(__FILE__) . '/attachments.inc.php');
58class requirement_mgr extends tlObjectWithAttachments
173    {
174    	if( !is_null($value) )
175    	{
607  		$rs = $this->getByDocID($reqdoc_id,$tproject_id);
608 		if(!is_null($rs) && (is_null($id) || !isset($rs[$id])))
609  		{
logger.class.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 1,076 lines
1<?php
2/**
14 * @copyright 2005-2009, TestLink community 
15 * @version CVS: $Id: logger.class.php,v 1.49 2010/08/23 21:43:24 franciscom Exp $
16 * @link http://www.teamst.org
30 *	20080315 - franciscom - discovered bug on tlTransaction->writeToDB thanks to POSTGRES
31 *	                        watchPHPErrors() - added new error to suppress
32 *	20080216 - franciscom - limit length of entryPoint
136	{
137	    if(is_null($logger))
138	    {
159	{
160	    if(is_null($logger))
161	    {
175	{
176		$status=is_null($logger) ? $this->doLogging : $this->loggers[$logger]->getEnableLoggingStatus();
177		return $status;
cfield_mgr.class.php https://bitbucket.org/pfernandez/testlink1.9.6 | PHP | 2,484 lines
821	$debugMsg = 'Class:' . __CLASS__ . ' - Method: ' . __FUNCTION__;
822    if( is_null($hash) && is_null($cf_map) )
823    {
1504    
1505    if( !is_null($node_id) && !is_null($execution_id) && !is_null($testplan_id) )
1506    {
1608  {
1609    if( is_null($hash) && is_null($cf_map) )
1610    {
2063  {
2064	if( is_null($hash) && is_null($cf_map) )
2065	{
2181    //                 that have custom field values at test plan level - BUGID 2410
2182    if( is_null($link_id) && !is_null($testplan_id))
2183    {
jpgraph.php https://bitbucket.org/moodle/moodle.git | PHP | 884 lines
2
3require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
4
25 * @package        PHPExcel_Chart_Renderer
26 * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
27 * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
565    {
566        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');
567
742        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php');
743        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php');
744        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php');
744        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php');
745        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');
746
class.attachments.php https://github.com/zackseuberling/k-r.git | PHP | 1,788 lines
605            // we only want our assets on edit screens
606            if( !empty( $this->instances_for_post_type ) && 'edit.php' != $hook && 'post.php' != $hook && 'post-new.php' != $hook )
607                return;
665
666            <div id="attachments-<?php echo $instance->name; ?>" class="attachments-parent-container<?php if( $instance->append == false ) : ?> attachments-prepend<?php endif; ?>">
667                <?php if( !empty( $instance->note ) ) : ?>
1151                ?>
1152                <div class="attachments-attachment-field attachments-attachment-field-<?php echo $instance; ?> attachments-attachment-field-<?php echo $field->type; ?> attachment-field-<?php echo $field->name; ?>">
1153                    <div class="attachment-label attachment-label-<?php echo $instance; ?>">
1197
1198                    <input type="hidden" name="attachments[<?php echo $instance; ?>][<?php echo $array_flag; ?>][id]" value="<?php echo isset( $attachment->id ) ? $attachment->id : '{{ attachments.id }}' ; ?>" />
1199
1688                <div class="message updated" id="message">
1689                    <p><?php _e( '<strong>Attachments has detected legacy Attachments data.</strong> A lot has changed since Attachments 1.x.' ,'attachments' ); ?> <a href="options-general.php?page=attachments&amp;overview=1"><?php _e( 'Find out more', 'attachments' ); ?>.</a></p>
1690                </div>
MetaBox.php https://bitbucket.org/todoubled/wp-myshopproducts | PHP | 2,328 lines
1<?php
2
608		<style type="text/css">
609			<?php if ($this->hide_editor): ?> #postdiv, #postdivrich { display:none; } <?php endif; ?>
610		</style>
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';
1025
1026			if ($uri AND in_array($file, array('post.php', 'post-new.php')))
1027			{
1039				{
1040					// because of the 'post.php' and 'post-new.php' checks above, we can default to 'post'
1041					return 'post';
underscore.php https://bitbucket.org/odogono/package_server | PHP | 1,055 lines
1<?php
2
3/**
4 * Underscore.php v1.0
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 __ {
38    
39    if(is_null($collection)) return self::_wrap(null);
40    
functions_autotag.inc https://bitbucket.org/tsuchi/box | PHP | 2,628 lines
1<?php
2/* Reminder: always indent with 4 spaces (no tabs). */
313// +---------------------------------------------------------------------------+
314// | public_html/category.php および 自動タグで使用
315// | ヘッダはコンフィギュレーション設定により表示されない場合があります
368    $idsary=array();
369    if (is_null($category_id) OR $category_id==0){
370        if (is_null($category_code)){
894    $exp="";
895    if (is_null($category_id) AND is_null($category_code) ){
896    }else{
1010
1011    if (is_null($category_id) AND is_null($category_code) ){
1012        $m="ALL";
1127    //-----
1128    if (is_null($id) AND (is_null($code))){
1129        $id=$_USER['uid'];
Cielo.php https://bitbucket.org/thallisphp/cielo | PHP | 482 lines
1<?php
2/**
7
8require_once 'dso/cielo/PaymentProduct.php';
9require_once 'dso/cielo/nodes/PaymentMethodNode.php';
9require_once 'dso/cielo/nodes/PaymentMethodNode.php';
10require_once 'dso/cielo/nodes/OrderDataNode.php';
11require_once 'dso/cielo/nodes/EcDataNode.php';
11require_once 'dso/cielo/nodes/EcDataNode.php';
12require_once 'dso/cielo/nodes/CardDataNode.php';
13require_once 'dso/cielo/request/AuthorizationRequest.php';
13require_once 'dso/cielo/request/AuthorizationRequest.php';
14require_once 'dso/cielo/request/TransactionRequest.php';
15require_once 'dso/cielo/request/CancellationRequest.php';
15require_once 'dso/cielo/request/CancellationRequest.php';
16require_once 'dso/cielo/request/CaptureRequest.php';
17require_once 'dso/cielo/request/QueryRequest.php';
pagelib.php https://github.com/mylescarrick/moodle.git | PHP | 1,906 lines
1<?php
2
197     * Sets the page to refresh after a given delay (in seconds) using meta refresh
198     * in {@link standard_head_html()} in outputlib.php
199     * If set to null(default) the page is not refreshed
261        global $SITE;
262        if (is_null($this->_course)) {
263            return $SITE;
286    protected function magic_get_activityrecord() {
287        if (is_null($this->_module) && !is_null($this->_cm)) {
288            $this->load_activity_record();
298    protected function magic_get_activityname() {
299        if (is_null($this->_cm)) {
300            return null;
335    protected function magic_get_context() {
336        if (is_null($this->_context)) {
337            if (CLI_SCRIPT or NO_MOODLE_COOKIES) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21