100+ results results for 'php is_null repo:magedeveloper/frosted-mysql-library' (1277 ms)
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 447 { 448 if (is_null($type)) { 449 $this->_loadWebsiteCollection();HelperForm.php https://gitlab.com/ivandevp/petshop | PHP | 337 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2016 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 70 $this->tpl = $this->createTemplate($this->base_tpl); 71 if (is_null($this->submit_action)) { 72 $this->submit_action = 'submitAdd'.$this->table; 253 'required_fields' => $this->getFieldsRequired(), 254 'vat_number' => Module::isInstalled('vatnumber') && file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'), 255 'module_dir' => _MODULE_DIR_,Currency.php https://gitlab.com/blingbang2016/shop | PHP | 357 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 183 { 184 if (is_null($toCurrency)) { 185 return $price;translations.php https://gitlab.com/Gashler/dp | PHP | 275 lines
1<?php 2/** 4 * 5 * @version $Id: translations.php 718 2012-10-31 00:32:02Z nbachiyski $ 6 * @package pomo 9 10require_once dirname(__FILE__) . '/entry.php'; 11 143 function gettext_select_plural_form($count) { 144 if (!isset($this->_gettext_select_plural_form) || is_null($this->_gettext_select_plural_form)) { 145 list( $nplurals, $expression ) = $this->nplurals_and_expression_from_header($this->get_header('Plural-Forms')); 175 * Adds parantheses to the inner parts of ternary operators in 176 * plural expressions, because PHP evaluates ternary oerators from left to right 177 *PostgresGrammar.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 568 lines
1<?php 2 549 { 550 if (! is_null($column->default)) { 551 return ' default '.$this->getDefaultValue($column->default);Store.php https://gitlab.com/hatemdigify/digifyblog | PHP | 707 lines
1<?php 2 315 foreach ($keys as $value) { 316 if (is_null($this->get($value))) { 317 return false; 353 354 return is_null($key) ? count($old) > 0 : ! is_null($old); 355 }VariableCommentSniff.php https://gitlab.com/yousafsyed/easternglamor | PHP | 345 lines
42 * @version Release: @package_version@ 43 * @link http://pear.php.net/package/PHP_CodeSniffer 44 */ 314 * 315 * @param PHP_CodeSniffer_File $phpcsFile The PHP_CodeSniffer file where this token was found. 316 * @param int $stackPtr The position where the double quoted 320 */ 321 protected function processVariable(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 322 { 331 * 332 * @param PHP_CodeSniffer_File $phpcsFile The PHP_CodeSniffer file where this token was found. 333 * @param int $stackPtr The position where the double quoted 337 */ 338 protected function processVariableInString(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 339 {Grammar.php https://gitlab.com/chekiBoy/stilldesign.test | PHP | 459 lines
1<?php 2 102 // the affected columns, which will get something like "cascade", etc. 103 if (! is_null($command->onDelete)) { 104 $sql .= " on delete {$command->onDelete}"; 106 107 if (! is_null($command->onUpdate)) { 108 $sql .= " on update {$command->onUpdate}"; 335 foreach ($fluent->getAttributes() as $key => $value) { 336 if (! is_null($option = $this->mapFluentOptionToDoctrine($key))) { 337 if (method_exists($column, $method = 'set'.ucfirst($option))) {install-helper.php https://gitlab.com/Gashler/dp | PHP | 198 lines
1<?php 2/** 38/** Load WordPress Bootstrap */ 39require_once(dirname(dirname(__FILE__)).'/wp-load.php'); 40 160 * @param string $col_type Column type 161 * @param bool $is_null Optional. Check is null. 162 * @param mixed $key Optional. Key info. 166 */ 167function check_column($table_name, $col_name, $col_type, $is_null = null, $key = null, $default = null, $extra = null) { 168 global $wpdb; 178 } 179 if (($is_null != null) && ($row->Null != $is_null)) { 180 ++$diffs;class.wsdlcache.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 209 lines
1<?php 2/* 14* @author Ingo Fischer <ingo@apollon.de> 15* @version $Id: class.wsdlcache.php,v 1.7 2007/04/17 16:34:03 snichol Exp $ 16* @access public 108 $this->releaseMutex($filename); 109 return (!is_null($s)) ? unserialize($s) : null; 110 } else {class-wp-hook.php https://gitlab.com/VTTE/sitios-vtte | PHP | 510 lines
392 * 393 * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php 394 * 406 * 407 * @link https://www.php.net/manual/en/arrayaccess.offsetget.php 408 * 420 * 421 * @link https://www.php.net/manual/en/arrayaccess.offsetset.php 422 * 438 * 439 * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php 440 * 451 * 452 * @link https://www.php.net/manual/en/iterator.current.php 453 *DB_result.php https://gitlab.com/betanurlaila/UI_onlineshop | PHP | 666 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 216 217 is_null($this->row_data) OR $this->data_seek(0); 218 $this->custom_result_object[$class_name] = array(); 259 260 is_null($this->row_data) OR $this->data_seek(0); 261 while ($row = $this->_fetch_object()) 300 301 is_null($this->row_data) OR $this->data_seek(0); 302 while ($row = $this->_fetch_assoc())Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
1<?php 2 82 83 if (is_null($source)) 84 { 206 { 207 if (empty($vars) && is_null($datasource)) 208 { 224 { 225 if (is_null($datasource)) 226 { 237 238 if (is_null($datasource)) 239 {SQLite3.php https://gitlab.com/dmsapiens/physicians | PHP | 322 lines
2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_CachedObjectStorage 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_CachedObjectStorage 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { 37 115 if ($cellResult === FALSE) { 116 throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); 117 }tcpdf_adapter.cls.php https://gitlab.com/stevie007/frontiertrading | PHP | 498 lines
1<?php 2/** 2/** 3 * DOMPDF - PHP5 HTML to PDF renderer 4 * 25 * Alternatively, you may distribute this software under the terms of the 26 * PHP License, version 3.0 or later. A copy of this license should have 27 * been distributed with this file in the file LICENSE.PHP . If this is not 27 * been distributed with this file in the file LICENSE.PHP . If this is not 28 * the case, you can obtain a copy at http://www.php.net/license/3_0.txt. 29 * 39 40/* $Id: tcpdf_adapter.cls.php 311 2010-09-05 20:02:01Z fabien.menager $ */ 41 41 42require_once(DOMPDF_LIB_DIR . '/tcpdf/tcpdf.php'); 43CacheBase.php https://gitlab.com/x0139/sstu.gov39.ru | PHP | 368 lines
3/** 4 * PHPExcel_CachedObjectStorage_CacheBase 5 * 21 * 22 * @category PHPExcel 23 * @package PHPExcel_CachedObjectStorage 23 * @package PHPExcel_CachedObjectStorage 24 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel) 25 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 81 * 82 * @return PHPExcel_Worksheet 83 */ 311 * 312 * @param PHPExcel_Worksheet $parent The new worksheet 313 * @return voidclass-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
1<?php 2/** 296 297 if ( ! is_null( $dest_path ) && $_dest_path = realpath( $dest_path ) ) 298 $dir = $_dest_path;columns.php https://gitlab.com/VTTE/sitios-vtte | PHP | 448 lines
1<?php 2// exit if accessed directly 173 174 <?php wp_nonce_field( 'post_views_count', 'pvc_nonce' ); ?> 175 176 <span id="post-views-display"> 177 <?php echo __( 'Post Views', 'post-views-counter' ) . ': <b>' . number_format_i18n( $count ) . '</b>'; ?> 178 </span> 179 180 <?php 181 // restrict editing 185 ?> 186 <a href="#post-views" class="edit-post-views hide-if-no-js"><?php _e( 'Edit', 'post-views-counter' ); ?></a> 187 189 190 <p><?php _e( 'Adjust the views count for this post.', 'post-views-counter' ); ?></p> 191 <input type="hidden" name="current_post_views" id="post-views-current" value="<?php echo $count; ?>" />helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 332 lines
1<?php 2/** 2/** 3* @version $Id: helper.php 10027 2008-02-12 21:13:18Z ian $ 4* @package Joomla.Framework 6* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. 7* @license GNU/GPL, see LICENSE.php 8* Joomla! is free software. This version may have been modified pursuant 11* other free or open source software licenses. 12* See COPYRIGHT.php for copyright notices and details. 13*/ 72 //If no client id has been passed return the whole array 73 if(is_null($id)) { 74 return $clients; 121 case 'front': 122 $result = JApplicationHelper::_checkPath( DS.'components'.DS. $user_option .DS. $name .'.php', 0 ); 123 break;Cache.php https://gitlab.com/goolic/PrestaShop | PHP | 400 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 258 259 if (is_null($this->sql_tables_cached)) { 260 $this->sql_tables_cached = $this->get(Tools::encryptIV(self::SQL_TABLES_NAME)); 323 { 324 if (is_null($this->sql_tables_cached)) { 325 $this->sql_tables_cached = $this->get(Tools::encryptIV(self::SQL_TABLES_NAME)); 362 { 363 // PHP is not efficient at storing array 364 // Better delete the whole cache if there areinstall.php https://gitlab.com/matthisstenius/wordpress-intranet | PHP | 259 lines
20 <h2>Error: PHP is not running</h2> 21 <p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p> 22</body> 66<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>"> 67<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 68 152$mysql_version = $wpdb->db_version(); 153$php_compat = version_compare( $php_version, $required_php_version, '>=' ); 154$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); 156if ( !$mysql_compat && !$php_compat ) 157 $compat = sprintf( __( 'You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); 158elseif ( !$php_compat ) 158elseif ( !$php_compat ) 159 $compat = sprintf( __( 'You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_php_version, $php_version ); 160elseif ( !$mysql_compat )error_report.lib.php https://gitlab.com/luyxtran264/myproject | PHP | 364 lines
16 */ 17if (is_readable('js/line_counts.php')) { 18 include_once 'js/line_counts.php'; 60 "configuration_storage" => 61 is_null($relParams['db']) ? "disabled" : 62 "enabled", 62 "enabled", 63 "php_version" => phpversion() 64 ); 83 } 84 } elseif ($exception_type == 'php') { 85 $errors = array(); 85 $errors = array(); 86 // create php error report 87 $i = 0;class.jetpack-xmlrpc-server.php https://gitlab.com/endomorphosis/falkenstein | PHP | 367 lines
1<?php 2 132 function error( $error = null ) { 133 if ( !is_null( $error ) ) { 134 $this->error = $error; 298 $url = (string) $json_api_args[1]; 299 $post_body = is_null( $json_api_args[2] ) ? null : (string) $json_api_args[2]; 300 $my_id = (int) $json_api_args[3]; 342 // needed? 343 require_once ABSPATH . 'wp-admin/includes/admin.php'; 344 344 345 require_once dirname( __FILE__ ) . '/class.json-api.php'; 346 $api = WPCOM_JSON_API::init( $method, $url, $post_body ); 347 $api->token_details['user'] = $user_details; 348 require_once dirname( __FILE__ ) . '/class.json-api-endpoints.php'; 349MethodProphecySpec.php https://gitlab.com/alamgircsejnu/AMS-Project-Laravel | PHP | 342 lines
1<?php 2 4 5use PhpSpec\ObjectBehavior; 6use Prophecy\Argument\ArgumentsWildcard; 57 58 function its_constructor_does_not_touch_third_argument_if_it_is_null($objectProphecy) 59 {class-wc-shortcode-my-account.php https://gitlab.com/hotrainer/zarmani | PHP | 363 lines
1<?php 2/** 32 // Check cart class is loaded or abort 33 if ( is_null( WC()->cart ) ) { 34 return; 50 51 wc_get_template( 'myaccount/form-login.php' ); 52 90 91 wc_get_template( 'myaccount/my-account.php', array( 92 'current_user' => get_user_by( 'id', get_current_user_id() ), 266 if ( empty( $wp_hasher ) ) { 267 require_once ABSPATH . 'wp-includes/class-phpass.php'; 268 $wp_hasher = new PasswordHash( 8, true ); 310 if ( empty( $wp_hasher ) ) { 311 require_once ABSPATH . 'wp-includes/class-phpass.php'; 312 $wp_hasher = new PasswordHash( 8, true );Orderable.php https://gitlab.com/che234/adn | PHP | 366 lines
1<?php 2/** 2/** 3 * @version $Id: Orderable.php 30067 2016-03-08 13:44:25Z matias $ 4 * @author RocketTheme http://www.rockettheme.com 219 foreach ($this->_options['orderableBy'] as $orderBy) { 220 if (is_null($record->{$orderBy})) { 221 $query->andWhere($orderBy . ' IS NULL'); 273 foreach ($this->_options['orderableBy'] as $orderBy) { 274 if (is_null($record->{$orderBy})) { 275 $query->andWhere('r.' . $orderBy . ' IS NULL'); 302 foreach ($order_by_vals as $order_by_col => $order_by_val) { 303 if (is_null($order_by_val)) { 304 $query->andWhere($order_by_col . ' IS NULL'); 327 foreach ($order_by_vals as $order_by_col => $order_by_val) { 328 if (is_null($order_by_val)) { 329 $query->andWhere($order_by_col . ' IS NULL');Abstract.php https://gitlab.com/blingbang2016/shop | PHP | 302 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 53 { 54 if (is_null($this->_collection)) { 55 $this->setCollection(Mage::getModel('reports/grouped_collection')); 61 { 62 if (is_null($this->_aggregatedColumns)) { 63 foreach ($this->getColumns() as $column) { 257 { 258 if (is_null($this->_currentCurrencyCode)) { 259 $this->_currentCurrencyCode = (count($this->_storeIds) > 0)http.php https://gitlab.com/Gashler/dp | PHP | 519 lines
1<?php 2/** 24 25 if ( is_null($http) ) 26 $http = new WP_Http(); 319 if ( $url && !isset( $capabilities['ssl'] ) ) { 320 $scheme = parse_url( $url, PHP_URL_SCHEME ); 321 if ( 'https' == $scheme || 'ssl' == $scheme ) {translations.php https://gitlab.com/Henaway/CLFC | PHP | 275 lines
1<?php 2/** 4 * 5 * @version $Id: translations.php 718 2012-10-31 00:32:02Z nbachiyski $ 6 * @package pomo 9 10require_once dirname(__FILE__) . '/entry.php'; 11 143 function gettext_select_plural_form($count) { 144 if (!isset($this->_gettext_select_plural_form) || is_null($this->_gettext_select_plural_form)) { 145 list( $nplurals, $expression ) = $this->nplurals_and_expression_from_header($this->get_header('Plural-Forms')); 175 * Adds parentheses to the inner parts of ternary operators in 176 * plural expressions, because PHP evaluates ternary oerators from left to right 177 *GetTransacEmailsList.php https://gitlab.com/VTTE/sitios-vtte | PHP | 301 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 263 { 264 if (is_null($offset)) { 265 $this->container[] = $value;Validator.php https://gitlab.com/hop23typhu/list-theme | PHP | 206 lines
1<?php 2 39 $this->aliases = array(); 40 // PHP is a bit lax with integer <=> string conversions in 41 // arrays, so we don't use the identical !== comparison 91 92 if (!is_null($d->allowed) || !empty($d->valueAliases)) { 93 // allowed and valueAliases require that we be dealing with 112 public function validateDirectiveAllowed($d) { 113 if (is_null($d->allowed)) return; 114 $this->with($d, 'allowed') 131 public function validateDirectiveValueAliases($d) { 132 if (is_null($d->valueAliases)) return; 133 $this->with($d, 'valueAliases') 142 } 143 if (!is_null($d->allowed)) { 144 foreach ($d->valueAliases as $alias => $real) {URI.php https://gitlab.com/piotrbilski/yiiPriceWatcher | PHP | 314 lines
59 { 60 $this->scheme = is_null($scheme) || ctype_lower($scheme) ? $scheme : strtolower($scheme); 61 $this->userinfo = $userinfo; 127 // and it is our default scheme. 128 if (!is_null($this->scheme) && is_null($this->host) || $this->host === '') { 129 // support for relative paths is pretty abysmal when the 137 // validate username 138 if (!is_null($this->userinfo)) { 139 $encoder = new HTMLPurifier_PercentEncoder($chars_sub_delims . ':'); 175 } 176 } elseif (!is_null($this->scheme)) { 177 // path-rootless (hier) 202 203 if (!is_null($this->query)) { 204 $this->query = $qf_encoder->encode($this->query);Logical.php https://gitlab.com/devtoannh/cafe | PHP | 288 lines
22 * @package PHPExcel_Calculation 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 260 public static function STATEMENT_IF($condition = TRUE, $returnIfTrue = 0, $returnIfFalse = FALSE) { 261 $condition = (is_null($condition)) ? TRUE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($condition); 262 $returnIfTrue = (is_null($returnIfTrue)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfTrue); 262 $returnIfTrue = (is_null($returnIfTrue)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfTrue); 263 $returnIfFalse = (is_null($returnIfFalse)) ? FALSE : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfFalse); 264 282 $testValue = (is_null($testValue)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($testValue); 283 $errorpart = (is_null($errorpart)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($errorpart); 284class.jetpack-xmlrpc-server.php https://gitlab.com/ibnukipa/cakra | PHP | 429 lines
1<?php 2 153 function error( $error = null ) { 154 if ( !is_null( $error ) ) { 155 $this->error = $error; 340 $url = (string) $json_api_args[1]; 341 $post_body = is_null( $json_api_args[2] ) ? null : (string) $json_api_args[2]; 342 $user_details = (array) $json_api_args[4]; 404 // needed? 405 require_once ABSPATH . 'wp-admin/includes/admin.php'; 406 406 407 require_once JETPACK__PLUGIN_DIR . 'class.json-api.php'; 408 $api = WPCOM_JSON_API::init( $method, $url, $post_body ); 409 $api->token_details['user'] = $user_details; 410 require_once JETPACK__PLUGIN_DIR . 'class.json-api-endpoints.php'; 411User_agent.php https://gitlab.com/dhayu-shadow/dhayu | PHP | 550 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 66 67 if ( ! is_null($this->agent)) 68 { 87 { 88 if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php')) 89 { 89 { 90 include(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php'); 91 } 91 } 92 elseif (is_file(APPPATH.'config/user_agents.php')) 93 {Dispatcher.php https://gitlab.com/kimting254/wbms | PHP | 486 lines
1<?php namespace Illuminate\Events; 2 222 // listeners. Otherwise we will add the response on the response list. 223 if ( ! is_null($response) && $halt) 224 {rendererbase.php https://gitlab.com/JrLucena/moodle | PHP | 271 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 151 $qa->get_last_qt_data()); 152 if (is_null($a->outof)) { 153 return '';stoplist.php https://gitlab.com/alexprowars/bitrix | PHP | 272 lines
1<?php 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/classes/general/stoplist.php"); 120 S.MASK_1, S.MASK_2, S.MASK_3, S.MASK_4, 121 S.USER_AGENT, S.USER_AGENT_IS_NULL, 122 S.URL_TO, S.URL_FROM, S.MESSAGE, S.MESSAGE_LID, 213 or length(USER_AGENT)<=0 or USER_AGENT is null) 214 and ($user_agent_len=0 or USER_AGENT_IS_NULL<>'Y') 215 and (upper('$url_from') like concat('%',upper(URL_FROM),'%')Mobile.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 457 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 4/** 5 * PHP versions 4 and 5 6 * 34 * @copyright 2003-2009 KUBO Atsuhiro <kubo@iteman.jp> 35 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 36 * @version CVS: $Id$ 39 40require_once dirname(__FILE__) . '/../../PEAR.php'; 41require_once dirname(__FILE__) . '/Mobile/Error.php'; 64 * <code> 65 * require_once 'Net/UserAgent/Mobile.php'; 66 * 95 * @copyright 2003-2009 KUBO Atsuhiro <kubo@iteman.jp> 96 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 97 * @version Release: 1.0.0sftp.php https://gitlab.com/wuhang2003/core | PHP | 467 lines
1<?php 2/** 35use Icewind\Streams\RetryWrapper; 36use phpseclib\Net\SFTP\Stream; 37 38/** 39* Uses phpseclib's Net\SFTP class and the Net\SFTP\Stream stream wrapper to 40* provide access to SFTP servers. 115 * 116 * @return \phpseclib\Net\SFTP connected client instance 117 * @throws \Exception when the connection failed 119 public function getConnection() { 120 if (!is_null($this->client)) { 121 return $this->client; 280 // workaround: stray stat cache entry when deleting empty folders 281 // see https://github.com/phpseclib/phpseclib/issues/706 282 $this->getConnection()->clearStatCache();ElementDef.php https://gitlab.com/piotrbilski/yiiPriceWatcher | PHP | 216 lines
1<?php 2 185 } 186 if (!is_null($def->child)) { 187 $this->child = $def->child; 188 } 189 if (!is_null($def->formatting)) { 190 $this->formatting = $def->formatting;date.php https://gitlab.com/Suhailgit/Project | PHP | 319 lines
25 * @param bool $display_time If true shows date and time, if false only shows date 26 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 27 * 68 * @param string $date The date to find the beginning of the day, defaults to today 69 * @param string $format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 70 * 102 * @param string $date The date to find the end of the day, defaults to today 103 * @param string $format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 104 * 203 * @param int $event (optional) 204 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 205 * @param string $timezone Timezone in which to present the date/time (or default behaviour if not set) 288 * @param bool $display_time If true shows date and time, if false only shows date 289 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 290 * @param string $timezone Timezone in which to present the date/time (or default behaviour if not set)EsmtpTransport.php https://gitlab.com/Jenny-Ha/ev-templates | PHP | 387 lines
1<?php 2 257 // Allow fluid method calls 258 if (is_null($return) && substr($method, 0, 3) == 'set') { 259 return $this;Event.php https://gitlab.com/blingbang2016/shop | PHP | 340 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 160 if (!is_array($current)) { 161 if (!is_null($current)) { 162 $previous[] = $current; 167 foreach ($previous as $key => $value) { 168 if (array_key_exists($key, $current) && !is_null($current[$key]) && is_array($previous[$key])) { 169 if (!is_string($key) || is_array($current[$key])) { 171 } 172 } elseif (!array_key_exists($key, $current) || is_null($current[$key])) { 173 $current[$key] = $previous[$key];inline_renderer.cls.php https://gitlab.com/alexballera/ferrenobrega | PHP | 191 lines
1<?php 2/** 6 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License 7 * @version $Id: inline_renderer.cls.php 448 2011-11-13 13:00:03Z fabien.menager $ 8 */ 47 48 if ( !is_null($w) && $child_x < $x + $w ) { 49 //This branch seems to be supposed to being called on the first part 106 107 if ( is_null($w) ) 108 $w = $child_w;Email.php https://bitbucket.org/wallindev/wallindev-wp.git | PHP | 411 lines
1<?php if ( ! defined( 'ABSPATH' ) ) exit; 2 58 foreach( $data[ 'fields' ] as $field ){ 59 if( is_null( $field ) ) continue; 60 if( is_array( $field ) ){ldap.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 487 lines
1<?php 2 3/** 4* @version $Id: ldap.php 14401 2010-01-26 14:10:00Z louis $ 5* @package Joomla.Framework 7* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 8* @license GNU/GPL, see LICENSE.php 9* Joomla! is free software and parts of it may contain or be derived from the 10* GNU General Public License or other free or open source software licenses. 11* See COPYRIGHT.php for copyright notices and details. 12*/ 174 { 175 if (is_null($username)) { 176 $username = $this->username; 177 } 178 if (is_null($password)) { 179 $password = $this->password;theme.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 323 lines
1<?php 2class CommentListTheme extends Themelet { 10 private function get_anon_colour($ip) { 11 if(is_null($this->ct)) { 12 $this->ct = hsl_rainbow(); 30 31 // aaaaaaargh php 32 assert(is_array($images));pay_system.php https://gitlab.com/alexprowars/bitrix | PHP | 410 lines
1<?php 2use Bitrix\Sale\PaySystem; 195 { 196 if (!is_null($personTypeId)) 197 {ErrorModel.php https://gitlab.com/VTTE/sitios-vtte | PHP | 395 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 242 $allowedValues = $this->getCodeAllowableValues(); 243 if (!is_null($this->container['code']) && !in_array($this->container['code'], $allowedValues, true)) { 244 $invalidProperties[] = sprintf( 357 { 358 if (is_null($offset)) { 359 $this->container[] = $value;grammar.php https://gitlab.com/cetfosscell/brainstrain | PHP | 491 lines
1<?php namespace Laravel\Database\Query\Grammars; 2 48 { 49 if ( ! is_null($query->$component)) 50 { 79 { 80 if ( ! is_null($query->aggregate)) return; 81 175 { 176 if (is_null($query->wheres)) return ''; 177 323 { 324 if (is_null($query->havings)) return ''; 325Command.php https://gitlab.com/blingbang2016/shop | PHP | 413 lines
1<?php 2/** 20 * @copyright Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com) 21 * @license http://phpazure.codeplex.com/license 22 */ 29 * @copyright Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com) 30 * @license http://phpazure.codeplex.com/license 31 */ 63 /** 64 * Replaces PHP's error handler 65 * 70 */ 71 public static function phpstderr($errno, $errstr, $errfile, $errline) 72 { 76 /** 77 * Replaces PHP's exception handler 78 *Media.php https://gitlab.com/blingbang2016/shop | PHP | 296 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 271 protected function _getAttributeId() { 272 if(is_null($this->_attributeId)) { 273 $attribute = Mage::getModel('eav/entity_attribute')Abstract.php https://gitlab.com/blingbang2016/shop | PHP | 460 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 301 { 302 if(is_null($region)) { 303 $region = $this->getRegionId();Curl.class.php https://gitlab.com/fangjianwei/weifenxiao | PHP | 186 lines
1<?php 2/** 158 $decrypt=CookieCrypt::decrypt(base64_decode($value), self::$key); 159 if(is_null($decrypt)) 160 return $value;Sharing.php https://gitlab.com/wuhang2003/core | PHP | 473 lines
1<?php 2 5 6require __DIR__ . '/../../vendor/autoload.php'; 7 27 public function asCreatingAShareWith($user, $body) { 28 $fullUrl = $this->baseUrl . "v{$this->apiVersion}.php/apps/files_sharing/api/v{$this->sharingApiVersion}/shares"; 29 $client = new Client(); 79 $fileinfo = $finfo->file("./$filename", FILEINFO_MIME_TYPE); 80 PHPUnit_Framework_Assert::assertEquals($fileinfo, "text/plain"); 81 if (file_exists("./$filename")) { 98 99 $fullUrl = substr($this->baseUrl, 0, -4) . "public.php/webdav"; 100 $options['auth'] = [$token, $password]; 104 $fileinfo = $finfo->file("./$filename", FILEINFO_MIME_TYPE); 105 PHPUnit_Framework_Assert::assertEquals($fileinfo, "text/plain"); 106 if (file_exists("./$filename")) {workflows.php https://bitbucket.org/kbasarab/kbasarab_vim.git | PHP | 482 lines
1<?php 2/** 3* Name: Workflows 4* Description: This PHP class object provides several useful functions for retrieving, parsing, 5* and formatting data to be used with Alfred 2 Workflows. 36 37 if ( !is_null( $bundleid ) ): 38 $this->bundle = $bundleid; 64 { 65 if ( is_null( $this->bundle ) ): 66 return false; 81 { 82 if ( is_null( $this->bundle ) ): 83 return false; 84 else: 85 if ( is_null( $this->cache ) ): 86 return false;record.add.php git://github.com/thorsten/phpMyFAQ.git | PHP | 330 lines
12 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 13 * @copyright 2003-2021 phpMyFAQ Team 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 15 * @link https://www.phpmyfaq.de 16 * @since 2003-02-23 28use phpMyFAQ\Instance\Elasticsearch; 29use phpMyFAQ\Link; 30use phpMyFAQ\Logging; 30use phpMyFAQ\Logging; 31use phpMyFAQ\Notification; 32use phpMyFAQ\Question; 114 115 if (!is_null($question) && !is_null($categories['rubrik'])) { 116 // new entryEntity.php https://gitlab.com/blingbang2016/shop | PHP | 354 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 50 { 51 if (is_null($this->_store)) { 52 try { 83 { 84 if (is_null($bind)) { 85 $defBind = 'entity_id'; 86 } 87 if (is_null($joinType)) { 88 $joinType = 'LEFT';fooLoader.php http://kosimpin.googlecode.com/svn/trunk/ | PHP | 387 lines
1<?php 2 6* Released under the MIT license, see: 7* http://www.opensource.org/licenses/mit-license.php 8*/ 191 $class = strtolower($class); 192 if (is_null($object_name)) 193 { 291 * 292 * The config/autoload.php file contains an array that permits sub-systems, 293 * libraries, plugins, and helpers to be loaded automatically. 369 * Can load a view file from an absolute path and 370 * relative to the CodeIgniter index.php file 371 * Handy if you have views outside the usual CI views dirTranscoding.php http://pumukit.googlecode.com/svn/trunk/ | PHP | 379 lines
1<?php 2/** 231 $movie = new ffmpeg_movie($file->getFile()); 232 if (!is_null($movie)){ 233 $file->setResolutionVer($movie->getFrameHeight()); 309 310 if((strlen($this->getPathIni()) == 0)||is_null($this->getMmId())||is_null($this->getPerfilId())){ 311 throw new sfException("Error en autoEnd"); 344 $linea_comandos = $this->getPerfil()->getBat();; 345 $linea_comandos = str_replace('%1', (is_null($file_in)?$this->getPathIni():$file_in), $linea_comandos); 346 $linea_comandos = str_replace('%2', $this->getPathEnd(), $linea_comandos);Excel2007.php https://PHPExcel.svn.codeplex.com/svn | PHP | 398 lines
61/** PHPExcel_Writer_Excel2007_Theme */ 62require_once 'PHPExcel/Writer/Excel2007/Theme.php'; 63 81 * @package PHPExcel_Writer 82 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 83 */ 165 // Set property PHPExcel 166 $this->setPHPExcel($pPHPExcel); 167 } else { 314 * 315 * @param PHPExcel $pPHPExcel PHPExcel object 316 * @throws Exception 318 public function setPHPExcel($pPHPExcel = null) { 319 if ($pPHPExcel instanceof PHPExcel) { 320 $this->_spreadSheet = $pPHPExcel;gravityforms-update-post.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 461 lines
1<?php 2/* 94 <label for="field_unique_custom_meta_value" class="inline"> 95 <?php _e('Unique Custom Field?'); ?> 96 <?php gform_tooltip('form_field_unique_custom_meta_value') ?> 100 101<?php 102 endif; 124 </script> 125<?php 126 } 385 { 386 if (!is_user_logged_in() || is_null($this->post['object']) || !in_array($type, array_keys($this->options['capabilities']))) 387 { 427 428 if (is_null($this->post['type_object'])) 429 {FileUploadMany.php https://gitlab.com/dram1008/galaxysss | PHP | 401 lines
1<?php 2 29 * 30 * Максимальный размер загружаемого файла по умолчанию устанавливается равный тому который указан в параметре ini.php upload_max_filesize 31 * 100 $files = $this->model->$attribute; 101 if (is_null($files)) $files = []; 102 $this->clientOptions['files'] = $files; 147 /** 148 * Возвращает максимально возможно загружаемый файл который установлен в настройках PHP 149 * 373 ]; 374 if (is_null($serverName)) { 375 $select[] = 'file_path';Common.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 519 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 6 * 7 * PHP versions 4 and 5 8 * 8 * 9 * LICENSE: This source file is subject to version 3.01 of the PHP license 10 * that is available through the world-wide-web at the following URI: 10 * that is available through the world-wide-web at the following URI: 11 * http://www.php.net/license/3_01.txt If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 18 * @copyright 2001-2009 The PHP Group 19 * @license http://www.php.net/license/3_01.txt PHP License 3.01 20 * @version CVS: $Id: Common.php 137 2009-11-09 13:24:37Z vanpouckesven $GetWebhook.php https://gitlab.com/VTTE/sitios-vtte | PHP | 534 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 258 $allowedValues = $this->getTypeAllowableValues(); 259 if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { 260 $invalidProperties[] = sprintf( 496 { 497 if (is_null($offset)) { 498 $this->container[] = $value;SQLiteGrammar.php https://gitlab.com/PragmaticLinux/Laravel | PHP | 564 lines
1<?php namespace Illuminate\Database\Schema\Grammars; 2 85 86 if ( ! is_null($foreign->onDelete)) 87 { 90 91 if ( ! is_null($foreign->onUpdate)) 92 { 129 130 if ( ! is_null($primary)) 131 { 542 { 543 if ( ! is_null($column->default)) 544 {IniReaderTest.php https://gitlab.com/195/food-delivery | PHP | 304 lines
4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests 14 * @package Cake.Test.Case.Configure 14 * @package Cake.Test.Case.Configure 15 * @since CakePHP(tm) v 2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 38 ), 39 'is_null' => null, 40 'bool_false' => false, 99/** 100 * Test reading acl.ini.php. 101 *FolderHandler.php https://gitlab.com/varsha_evonix/intranet | PHP | 271 lines
1<?php 2/* 23 */ 24require_once CKFINDER_CONNECTOR_LIB_DIR . "/Utils/FileSystem.php"; 25 134 135 if (is_null($this->_resourceTypeConfig)) { 136 $connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector"); 173 { 174 if (is_null($this->_url)) { 175 $this->_resourceTypeConfig = $this->getResourceTypeConfig(); 175 $this->_resourceTypeConfig = $this->getResourceTypeConfig(); 176 if (is_null($this->_resourceTypeConfig)) { 177 $connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector"); 197 { 198 if (is_null($this->_serverPath)) { 199 $this->_resourceTypeConfig = $this->getResourceTypeConfig();Database.php https://gitlab.com/digitalpoetry/catt-old | PHP | 297 lines
1<?php 2/** 28 * @license http://opensource.org/licenses/MIT (MIT) 29 * @link http://sprintphp.com 30 * @since Version 1.0 64 * Example: 65 * > php index.php database migrate 66 * 113 // Already at the desired version? 114 if ((! is_null($to) && $current == $to) OR (is_null($to) && $current == $latest)) 115 { 118 119 $target = is_null($to) ? $latest : $to; 120 122 // to the latest version. 123 if (is_null($to)) { 124 // If we're in silent mode, don't prompt, just go to the latest...SqlServerGrammar.php https://gitlab.com/puntodos/ean-landings | PHP | 344 lines
1<?php 2 27 { 28 if (is_null($query->columns)) { 29 $query->columns = ['*']; 52 { 53 if (! is_null($query->aggregate)) { 54 return; 83 84 if (! is_null($query->lock)) { 85 return $from.' with(rowlock,'.($query->lock ? 'updlock,' : '').'holdlock)';Event.php https://gitlab.com/PragmaticLinux/Laravel | PHP | 705 lines
1<?php namespace Illuminate\Console\Scheduling; 2 581 { 582 if (is_null($this->output) || $this->output == '/dev/null') 583 {Abstract.php https://gitlab.com/blingbang2016/shop | PHP | 369 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 59 { 60 if (is_null($this->_rates)) { 61 $this->_rates = array();Memcache.php https://gitlab.com/varsha_evonix/intranet | PHP | 312 lines
22 * @package PHPExcel_CachedObjectStorage 23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_CachedObjectStorage 34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { 37 106 /** 107 * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? 108 * 299 * Identify whether the caching method is currently available 300 * Some methods are dependent on the availability of certain extensions being enabled in the PHP build 301 *TeamCity.php https://gitlab.com/faisaliqbal/mytripsorter | PHP | 409 lines
18 */ 19class PHPUnit_Util_Log_TeamCity extends PHPUnit_TextUI_ResultPrinter 20{ 79 */ 80 public function addWarning(PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time) 81 { 98 */ 99 public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) 100 { 122 123 if (!is_null($actualString) && !is_null($expectedString)) { 124 $parameters['actual'] = $actualString; 139 */ 140 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) 141 {settings.php https://gitlab.com/hop23typhu/list-theme | PHP | 563 lines
65 66 if ( is_null( $settings ) ) { 67 $settings['global'] = self::$defaults['global']; 132 /** 133 * Prepare wp-admin/nav-menus.php page 134 * 135 * @since 0.3.0 136 * @wp_hook load-nav-menus.php 137 */ 163 * @access private 164 * @wp_hook load-nav-menus.php 165 */ 475 <?php foreach ( self::_get_fields() as $section_index => $section ) : ?> 476 <div id="menu-icons-settings-<?php echo esc_attr( $section['id'] ) ?>" class="tabs-panel _<?php echo esc_attr( $section_index ) ?>"> 477 <h4 class="hide-if-js"><?php echo esc_html( $section['title'] ) ?></h4>class.baseobject.php https://code.google.com/p/movabletype/ | PHP | 388 lines
1<?php 2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd. 5# 6# $Id: class.baseobject.php 5325 2010-02-23 10:44:56Z takayama $ 7 10 */ 11require_once('adodb.inc.php'); 12require_once('adodb-active-record.inc.php'); 12require_once('adodb-active-record.inc.php'); 13require_once('adodb-exceptions.inc.php'); 14 79 public function __get( $name ) { 80 if (is_null($this->_prefix)) 81 return; 90 public function __set($name, $value) { 91 if (is_null($this->_prefix)) 92 return;dbDiff.class.php https://bitbucket.org/idler/mmp/ | PHP | 388 lines
1<?php 2 178 if ($column['Null'] === 'NO') $sql .= " NOT NULL "; 179 if (!is_null($column['Default'])) $sql .= " DEFAULT \\'{$column['Default']}\\' "; 180 }user.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 341 lines
1<?php 2/** 2/** 3* @version $Id: user.php 14401 2010-01-26 14:10:00Z louis $ 4* @package Joomla.Framework 6* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7* @license GNU/GPL, see LICENSE.php 8* Joomla! is free software. This version may have been modified pursuant 11* other free or open source software licenses. 12* See COPYRIGHT.php for copyright notices and details. 13*/ 294 // check for User ID 295 if (is_null( $id )) { 296 if (isset( $this )) {qrsplit.php https://gitlab.com/leobelizquierdo/cabotsubmitter-wordpress | PHP | 311 lines
1<?php 2/* 2/* 3 * PHP QR Code encoder 4 * 9 * 10 * PHP QR Code is distributed under LGPL 3 11 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> 299 { 300 if(is_null($string) || $string == '\0' || $string == '') { 301 throw new Exception('empty string!!!');Linux_DHCPPool_Resource.c git://pkgs.fedoraproject.org/sblim-cmpi-dhcp | C | 283 lines
8/// You can obtain a current copy of the Eclipse Public License from 9/// http://www.opensource.org/licenses/eclipse-1.0.php 10/// 100 { 101 setRaStatus( &ra_status, RA_RC_FAILED, OBJECT_PATH_IS_NULL, _("Object Path is NULL") ); 102 return ra_status; 114 if(cmpi_name == NULL) { 115 setRaStatus( &ra_status, RA_RC_FAILED, CMPI_INSTANCE_NAME_IS_NULL, _("Cmpi instance name is NULL") ); 116 return ra_status; 218 if(CMIsNullObject(instance)) { 219 setRaStatus( &ra_status, RA_RC_FAILED, INSTANCE_ID_IS_NULL, _("Instance is NULL") ); 220 return ra_status;Language.php git://github.com/thorsten/phpMyFAQ.git | PHP | 377 lines
1<?php 2/** 4 * 5 * PHP Version 5.3 6 * 10 * 11 * @category phpMyFAQ 12 * @package Language 12 * @package Language 13 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 14 * @author Matteo scaramuccia <matteo@phpmyfaq.de> 15 * @author Aurimas Fieras <aurimas@gmail.com> 16 * @copyright 2009-2012 phpMyFAQ Team 17 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 17 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 18 * @link http://www.phpmyfaq.de 19 * @since 2009-05-14NumberFormat.php https://PHPExcel.svn.codeplex.com/svn | PHP | 422 lines
29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 37 * @package PHPExcel_Style 38 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 39 */ 39 */ 40class PHPExcel_Style_NumberFormat implements PHPExcel_IComparable 41{ 130 * 131 * Returns the PHPExcel_Style_NumberFormat that is actual bound to PHPExcel_Style 132 * 147 * 148 * If no PHPExcel_Style_NumberFormat has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 149 *Tax.php https://gitlab.com/blingbang2016/shop | PHP | 253 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 210 211 if (!is_null($row['percent'])) { 212 $row['percent'] = $row['percent'] ? $row['percent'] : 1;html.php https://gitlab.com/waltspence/gtd-pad | PHP | 405 lines
1<?php namespace Laravel; 2 66 67 return '<script src="'.$url.'"'.static::attributes($attributes).'></script>'.PHP_EOL; 68 } 94 95 return '<link href="'.$url.'"'.static::attributes($attributes).'>'.PHP_EOL; 96 } 239 240 if (is_null($title)) $title = $email; 241 345 346 if ( ! is_null($value)) 347 {helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 392 lines
5* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. 6* @license GNU/GPL, see LICENSE.php 7* Joomla! is free software. This version may have been modified pursuant 10* other free or open source software licenses. 11* See COPYRIGHT.php for copyright notices and details. 12*/ 47 if ( is_array($rows)) { 48 while (count($rows) && !is_null($row = array_shift($rows))) 49 { 135 // Include the legacy library file 136 require_once(dirname(__FILE__).DS.'legacy.php'); 137 mosShowHFMenu($params, 1); 347 // hrm...this is a bit dickey 348 $link = str_replace('index.php', 'index2.php', $tmp->url); 349 $data = '<a href="'.$link.'" onclick="window.open(this.href,\'targetWindow\',\''.$attribs.'\');return false;">'.$image.$tmp->name.'</a>';html.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 328 lines
1<?php 2/** 2/** 3 * @version $Id: html.php 10079 2008-02-28 13:39:08Z ircmaxell $ 4 * @package Joomla.Framework 6 * @copyright Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 */ 65 jimport('joomla.filesystem.path'); 66 if ($path = JPath::find(JHTML::addIncludePath(), strtolower($file).'.php')) 67 { 215 216 if(is_null($offset)) 217 {AbstractPaginator.php https://gitlab.com/puntodos/ean-landings | PHP | 487 lines
1<?php 2 154 { 155 if (is_null($fragment)) { 156 return $this->fragment;HeadMeta.php https://gitlab.com/yousafsyed/easternglamor | PHP | 449 lines
1<?php 2/** 23/** Zend_View_Helper_Placeholder_Container_Standalone */ 24#require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php'; 25 66 * 67 * Set separator to PHP_EOL 68 * 73 parent::__construct(); 74 $this->setSeparator(PHP_EOL); 75 } 116 default: 117 #require_once 'Zend/View/Exception.php'; 118 $e = new Zend_View_Exception(sprintf('Invalid type "%s" passed to _normalizeType', $type)); 160 if (2 > $argc) { 161 #require_once 'Zend/View/Exception.php'; 162 $e = new Zend_View_Exception('Too few arguments provided; requires key value, and content');Collection.php https://gitlab.com/biggercode/Eloquent-Outside-of-Laravel | PHP | 705 lines
1<?php namespace Illuminate\Support; 2 39 { 40 if (is_null($items)) return new static; 41 128 { 129 if (is_null($callback)) 130 { 216 { 217 if (is_null($glue)) return implode($this->lists($value)); 218 653 { 654 if (is_null($key)) 655 {Connection.php https://gitlab.com/thugside/clicktocall-laravel | PHP | 269 lines
1<?php namespace Illuminate\Remote; 2 126 { 127 if (is_null($line = $gateway->nextLine())) break; 128 213 { 214 if ( ! is_null($callback)) return $callback; 215 252 { 253 if (is_null($this->output)) $this->output = new NullOutput; 254ThemedController.php https://gitlab.com/digitalpoetry/xlt | PHP | 391 lines
1<?php namespace Myth\Controllers; 2/** 28 * @license http://opensource.org/licenses/MIT (MIT) 29 * @link http://sprintphp.com 30 * @since Version 1.0 34 35require_once dirname(__FILE__) .'/../Themers/escape.php'; 36 166 // Should we autoescape vars? 167 if (is_null($this->auto_escape)) 168 { 246 247 if (is_null($this->escaper)) 248 {Tax.php https://gitlab.com/blingbang2016/shop | PHP | 318 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 146 147 if (is_null($this->_allAttributes)) { 148 $this->_allAttributes = Mage::getModel('eav/entity_attribute')->getAttributeCodesByFrontendType('weee');timber.php https://gitlab.com/aristath/timber | PHP | 495 lines
44 protected function test_compatibility() { 45 if ( is_admin() || $_SERVER['PHP_SELF'] == '/wp-login.php' ) { 46 return; 48 if ( version_compare( phpversion(), '5.3.0', '<' ) && !is_admin() ) { 49 trigger_error( 'Timber requires PHP 5.3.0 or greater. You have '.phpversion(), E_USER_ERROR ); 50 } 87 * @example 88 * ```php 89 * $posts = Timber::get_posts(); 212 $caller_file = self::get_calling_script_file(); 213 $caller_file = apply_filters( 'timber_calling_php_file', $caller_file ); 214 $loader = new TimberLoader( $caller ); 216 $output = ''; 217 if ( is_null( $data ) ) { 218 $data = array();FilesystemAdapter.php https://gitlab.com/alamgircsejnu/AMS-Project-Laravel | PHP | 383 lines
1<?php 2 121 */ 122 public function prepend($path, $data, $separator = PHP_EOL) 123 { 137 */ 138 public function append($path, $data, $separator = PHP_EOL) 139 { 355 { 356 if (is_null($visibility)) { 357 return;HtmlBuilder.php https://gitlab.com/alamgircsejnu/AMS-Project-Laravel | PHP | 568 lines
1<?php 2 80 81 return $this->toHtmlString('<script' . $this->attributes($attributes) . '></script>' . PHP_EOL); 82 } 100 101 return $this->toHtmlString('<link' . $this->attributes($attributes) . '>' . PHP_EOL); 102 } 138 139 return $this->toHtmlString('<link' . $this->attributes($attributes) . '>' . PHP_EOL); 140 } 156 157 if (is_null($title) || $title === false) { 158 $title = $url; 526 $content = is_array($content) ? implode(PHP_EOL, $content) : $content; 527 return $this->toHtmlString('<' . $tag . $this->attributes($attributes) . '>' . PHP_EOL . $this->toHtmlString($content) . PHP_EOL . '</' . $tag . '>' . PHP_EOL); 528 }service.zep.c git://github.com/phalcon/cphalcon.git | C | 454 lines
5 6#include <php.h> 7#include "../../php_ext.h" 35 * 36 *```php 37 * $service = new \Phalcon\Di\Service( 71 */ 72PHP_METHOD(Phalcon_Di_Service, __construct) 73{ 80 ZVAL_BOOL(&__$false, 0); 81#if PHP_VERSION_ID >= 80000 82 bool is_null_true = 1; 109 */ 110PHP_METHOD(Phalcon_Di_Service, getDefinition) 111{Element.php https://gitlab.com/daigiangaitu91/magento | PHP | 486 lines
1<?php 2/** 29 * @return void 30 * @SuppressWarnings(PHPMD.UnusedFormalParameter) 31 */ 62 * @return boolean 63 * @SuppressWarnings(PHPMD.UnusedLocalVariable) 64 */ 97 * @return \Magento\Framework\Simplexml\Element 98 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 99 */ 227 * @return string 228 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 229 * @SuppressWarnings(PHPMD.NPathComplexity) 306 { 307 if (is_null($value)) { 308 $value = $this;ResourceTypeConfig.php https://gitlab.com/varsha_evonix/intranet | PHP | 367 lines
1<?php 2/* 233 234 if (is_null($this->_config)) { 235 $this->_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config"); 240 241 // First, check the last extension (ex. in file.php.jpg, the "jpg"). 242 if ( !$this->checkSingleExtension( $pieces[sizeof($pieces)-1] ) ) { 259 else { 260 // Check only the last extension (ex. in file.php.jpg, only "jpg"). 261 return $this->checkSingleExtension( substr($fileName, strrpos($fileName,'.')+1) ); 276 { 277 if (is_null($this->_config)) { 278 $this->_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config"); 298 { 299 if (is_null($this->_config)) { 300 $this->_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");update.zep.c git://github.com/phalcon/cphalcon.git | C | 541 lines
5 6#include <php.h> 7#include "../../../php_ext.h" 30 * 31 * Implementation of this file has been influenced by AtlasPHP 32 * 32 * 33 * @link https://github.com/atlasphp/Atlas.Query 34 * @license https://github.com/atlasphp/Atlas.Qyert/blob/1.x/LICENSE.md 51 */ 52PHP_METHOD(Phalcon_DataMapper_Query_Update, __construct) 53{ 65 ZVAL_UNDEF(&_4); 66#if PHP_VERSION_ID >= 80000 67 bool is_null_true = 1;comment.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 427 lines
1<?php 2 25 function get_wrapped_object($ensure_consistency = false){ 26 if( $ensure_consistency || is_null($this->wrapped_object) ){ 27 $this->wrapped_object = &get_comment($this->container_id); 39 function update_wrapped_object(){ 40 if ( is_null($this->wrapped_object) ){ 41 return new WP_Error( 128 $w = $this->get_wrapped_object(); 129 if ( !is_null($w) ){ 130 $text = $w->comment_author; 155 $del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) ); 156 $trash_url = esc_url( admin_url("comment.php?action=trashcomment&p=$post->ID&c=$comment->comment_ID&$del_nonce") ); 157 $delete_url = esc_url( admin_url("comment.php?action=deletecomment&p=$post->ID&c=$comment->comment_ID&$del_nonce") ); 208 function get_edit_url(){ 209 return esc_url(admin_url("comment.php?action=editcomment&c={$this->container_id}")); 210 }faq.php git://github.com/thorsten/phpMyFAQ.git | PHP | 400 lines
1<?php 2 9 * 10 * @package phpMyFAQ 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @author Lars Tiedemann <larstiedemann@yahoo.de> 13 * @copyright 2002-2021 phpMyFAQ Team 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 15 * @link https://www.phpmyfaq.de 16 * @since 2002-08-27 18 19use phpMyFAQ\Attachment\AttachmentException; 20use phpMyFAQ\Attachment\AttachmentFactory; 20use phpMyFAQ\Attachment\AttachmentFactory; 21use phpMyFAQ\Captcha; 22use phpMyFAQ\Comments;Emplacement.php https://gitlab.com/r.collas/site_central | PHP | 364 lines
1<?php 2 7 $this->getSession()->set("titre", "Gestion des emplacements"); 8 $this->_view->setFile('View/emplacement/gestion.php'); 9 } 15 // Si l'utilisateur ne peut pas ajouter plus de sous emplacements 16 if (count($types) == 1 && is_null($types[0]["id"]) && is_null($types[0]["categorie_value"])) { 17 echo "null" ; 22 $this->getLayout()->setEnabled(false) ; 23 $this->_view->setFile('View/emplacement/ajax_ajouter.php') ; 24 } 35 $this->getLayout()->setEnabled(false) ; 36 $this->_view->setFile('View/emplacement/ajax_modifier.php') ; 37 } 44 $this->getLayout()->setEnabled(false) ; 45 $this->_view->setFile("View/emplacement/ajax_get_description.php") ; 46 }Database.php https://gitlab.com/blingbang2016/shop | PHP | 333 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 76 { 77 if (is_null($this->_directoryModel)) { 78 $this->_directoryModel = Mage::getModel(Sidebar.php https://gitlab.com/blingbang2016/shop | PHP | 331 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 56 $count = $this->getData('item_count'); 57 if (is_null($count)) { 58 $count = Mage::getStoreConfig(self::XML_PATH_CHECKOUT_SIDEBAR_COUNT);Collection.php https://gitlab.com/blingbang2016/shop | PHP | 490 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 189 { 190 if (!is_null($store)) { 191 $this->getSelect()->where('relation.store_id IN (?)', $store); 268 269 if (!is_null($storeId)) { 270 $condition[] = $this->getConnection()->quoteInto('prelation.store_id = ?', $storeId); 349 350 if (!is_null($storeId)) { 351 $tagsCollection->addStoreFilter($storeId);class-wc-product-variation.php https://gitlab.com/hop23typhu/list-theme | PHP | 456 lines
1<?php 2 295 if ( $this->variation_has_stock ) { 296 if ( $this->managing_stock() && ! is_null( $amount ) ) { 297php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 129 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 127 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 128 CodeMirror.defineMIME("text/x-php", phpConfig); 129})();Rate.php https://gitlab.com/daigiangaitu91/magento | PHP | 534 lines
1<?php 2/** 20 * @method \Magento\Tax\Model\ResourceModel\Calculation\Rate getResource() 21 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 22 */ 77 * @param array $data 78 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 79 */ 120 * @throws \Magento\Framework\Exception\LocalizedException 121 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 122 * @SuppressWarnings(PHPMD.NPathComplexity) 235 { 236 if (is_null($titles)) { 237 $titles = $this->getTitle(); 264 { 265 if (is_null($this->_titleModel)) { 266 $this->_titleModel = $this->_titleFactory->create();Migrator.php https://gitlab.com/kimting254/wbms | PHP | 411 lines
1<?php namespace Illuminate\Database\Migrations; 2 243 { 244 $files = $this->files->glob($path.'/*_*.php'); 245 252 { 253 return str_replace('.php', '', basename($file)); 254 273 { 274 foreach ($files as $file) $this->files->requireOnce($path.'/'.$file.'.php'); 275 } 370 { 371 if ( ! is_null($name)) 372 {FilterIntervalSlider.php https://gitlab.com/Lidbary/PHPRunner | PHP | 400 lines
1<?php 2class FilterIntervalSlider extends FilterControl 127 { 128 if (is_null( $data['sliderMin'] ) && is_null( $data['sliderMax'] ) || $data['sliderMax'] == $data['sliderMin']) 129 return true;cvt_multietapes.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 307 lines
1<?php 2 253 // possibilite de poster dans _retour_etape_x 254 if (!is_null(_request("_retour_etape_$e"))) { 255 $etape_demandee = $e;html.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 332 lines
1<?php 2/** 2/** 3 * @version $Id: html.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla.Framework 6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 */ 65 jimport('joomla.filesystem.path'); 66 if ($path = JPath::find(JHTML::addIncludePath(), strtolower($file).'.php')) 67 { 219 220 if(is_null($offset)) 221 {phmagick.php http://bedita.googlecode.com/svn/trunk/ | PHP | 341 lines
1<?php 2/* 50 51 if(is_null($this->escapeChars) ){ 52 $this->escapeChars = !( strtolower ( substr( php_uname('s'), 0, 3)) == "win" ) ; 144 if(key_exists($name, $this->loadedPlugins)) { 145 if(! is_null($version)) { 146 if( property_exists($this->loadedPlugins[$name], 'version') ){ 163 $base = dirname(__FILE__) . '/plugins'; 164 $plugins = glob($base . '/*.php'); 165 foreach($plugins as $plugin){ 166 include_once $plugin ; 167 $name = basename($plugin, '.php'); 168 $className = 'phMagick_'.$name ;download.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 333 lines
1<?php 2/** 113 /** 114 * Does the server support PHP's cURL extension? 115 * @return bool True if it is supported 120 121 if(is_null($result)) 122 { 201 202 if(is_null($result)) 203 { 226 if(function_exists('stream_context_create')) { 227 // PHP 5+ way (best) 228 $httpopts = Array('user_agent'=>'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)'); 231 } else { 232 // PHP 4 way (actually, it's just a fallback as we can't run Admin Tools in PHP4) 233 if( function_exists('ini_set') ) {Store.php https://gitlab.com/Marwein/tnjobs | PHP | 699 lines
1<?php 2 312 { 313 return ! is_null($this->get($name)); 314 } 345 346 return is_null($key) ? count($old) > 0 : ! is_null($old); 347 }response.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 294 lines
1<?php 2/** 2/** 3 * @version $Id: response.php 77 2010-10-21 06:55:09Z nikosdion $ 4 * @package Joomla.Framework 6 * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 * 54 { 55 if (!is_null($allow)) { 56 $GLOBALS['_JRESPONSE']->cachable = (bool) $allow;Grid.php https://gitlab.com/blingbang2016/shop | PHP | 483 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 144 { 145 if (is_null($item)) { 146 return $this->helper('giftmessage/message')->getIsMessagesAvailable(