100+ results results for 'php is_null repo:tebbenhof/Zikula-core' (576 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 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 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_,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 *PostgresGrammar.php https://gitlab.com/phanthanh9787/crud-user | PHP | 568 lines
1<?php 2 549 { 550 if (! is_null($column->default)) { 551 return ' default '.$this->getDefaultValue($column->default);HelperForm.php https://gitlab.com/brunorafael/enosis | 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_,Store.php https://gitlab.com/susmitha.plts/photographer_portfolio | 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 }Grammar.php https://gitlab.com/tillkruss/framework | 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))) {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 {Store.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 508 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 */ 447 { 448 if (is_null($type)) { 449 $this->_loadWebsiteCollection();class-wp-hook.php https://gitlab.com/WPonEB/WPonEB | PHP | 510 lines
392 * 393 * @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php 394 * 406 * 407 * @link https://secure.php.net/manual/en/arrayaccess.offsetget.php 408 * 420 * 421 * @link https://secure.php.net/manual/en/arrayaccess.offsetset.php 422 * 438 * 439 * @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php 440 * 451 * 452 * @link https://secure.php.net/manual/en/iterator.current.php 453 *Currency.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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;AbstractPaginator.php https://gitlab.com/zan_zan/laravel_sample | PHP | 487 lines
1<?php 2 154 { 155 if (is_null($fragment)) { 156 return $this->fragment;Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
1<?php 2/** 334 // If we passed max decimals 335 if ( ! is_null( $max_decimals ) ) { 336 $max = max( $max_decimals, $max );class-yoast-notification-center.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 568 lines
1<?php 2/** 93 94 $user_id = ( ! is_null( $user_id ) ? $user_id : get_current_user_id() ); 95 $dismissal_key = $notification->get_dismissal_key(); 195 $present_notification = $this->get_notification_by_id( $notification_id ); 196 if ( ! is_null( $present_notification ) ) { 197 $this->remove_notification( $present_notification, false ); 199 200 if ( is_null( $present_notification ) ) { 201 $this->new[] = $notification_id;PluginInfo.php https://gitlab.com/fabiorf/chat | PHP | 383 lines
1<?php 2/* 74 { 75 if (is_null($this->pluginState)) { 76 $state = State::loadByName($this->pluginName); 98 { 99 if (!is_null($this->pluginState)) { 100 if ($this->pluginState->id) { 114 { 115 if (is_null($this->pluginClass)) { 116 $this->pluginClass = Utils::getPluginClassName($this->pluginName);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 }ImagesController.php https://gitlab.com/jensdwul1/nmdad3.local | PHP | 362 lines
1<?php 2 335 if ($form->isValid()) { 336 $statusCode = is_null($image->getId()) ? Response::HTTP_CREATED : Response::HTTP_NO_CONTENT; 337postgresql.php https://gitlab.com/ricardosanchez/prueba | PHP | 641 lines
1<?php 2/** 326 327 if (is_null($this->forUpdate)) 328 { 353 354 if (is_null($this->forShare)) 355 { 479 480 if (is_null($this->noWait)) 481 { 498 { 499 if (is_null($this->limit)) 500 { 517 { 518 if (is_null($this->offset)) 519 {queues.php https://gitlab.com/xivo.solutions/xivo-web-interface | PHP | 412 lines
1<?php 2 137 { 138 if(!is_null($result['queue']['joinempty'])) 139 $result['queue']['joinempty'] = explode(',', $result['queue']['joinempty']); 140 141 if(!is_null($result['queue']['leavewhenempty'])) 142 $result['queue']['leavewhenempty'] = explode(',', $result['queue']['leavewhenempty']); 279 280 if(!is_null($return['queue']['joinempty'])) 281 $return['queue']['joinempty'] = explode(',', $return['queue']['joinempty']); 282 283 if(!is_null($return['queue']['leavewhenempty'])) 284 $return['queue']['leavewhenempty'] = explode(',', $return['queue']['leavewhenempty']);SqliteMetadata.php https://gitlab.com/jalon/doadoronline | PHP | 392 lines
1<?php 2/** 92 'column_default' => $row['dflt_value'], 93 'is_nullable' => !((bool) $row['notnull']), 94 'data_type' => $row['type'],Collection.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 347 lines
1<?php 2/** 14 * Sales Rules resource collection model. 15 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 16 */ 126 * @use $this->addWebsiteGroupDateFilter() 127 * @SuppressWarnings(PHPMD.UnusedFormalParameter) 128 * @return $this 216 if (!$this->getFlag('website_group_date_filter')) { 217 if (is_null($now)) { 218 $now = $this->_date->date()->format('Y-m-d');file_info_context_module.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 347 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 141 142 $filepath = is_null($filepath) ? '/' : $filepath; 143 $filename = is_null($filename) ? '.' : $filename; 152 153 $urlbase = $CFG->wwwroot.'/pluginfile.php'; 154 return new file_info_stored($this->browser, $this->context, $storedfile, $urlbase, get_string('moduleintro'), false, true, true, false); 173 174 $filepath = is_null($filepath) ? '/' : $filepath; 175 $filename = is_null($filename) ? '.' : $filename; 187 188 $urlbase = $CFG->wwwroot.'/pluginfile.php'; 189 return new file_info_stored($this->browser, $this->context, $storedfile, $urlbase, get_string('activitybackup', 'repository'), false, $downloadable, $uploadable, false);class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
1<?php 2/** 316 317 if ( is_null( $s ) || 'null' === $s ) { 318 return "{$field_name} IS NULL"; 331 332 if ( is_null( $d ) || 'null' === $d ) { 333 return "{$field_name} IS NULL";list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
1<?php 2/** 174 175 if (is_null($ret)) 176 {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;tcpdf_adapter.cls.php https://gitlab.com/devdoblea/factutextil.local | 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'); 43editar_factura_prov.php https://gitlab.com/cosouth.battle/sartinofi | PHP | 434 lines
1<?php 2 2 3require_model('asiento.php'); 4require_model('asiento_factura.php'); 4require_model('asiento_factura.php'); 5require_model('divisa.php'); 6require_model('fabricante.php'); 6require_model('fabricante.php'); 7require_model('forma_pago.php'); 8require_model('proveedor.php'); 8require_model('proveedor.php'); 9require_model('recibo_proveedor.php'); 10 104 /// paso 1, eliminamos los asientos asociados 105 if( !is_null($this->factura->idasiento) ) 106 {class-vc-edit-form-fields.php https://gitlab.com/rubengrb/ws.vidrialum | PHP | 328 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) { 111 protected function parseShortcodeAttributeValue( $param_settings, $value ) { 112 if ( is_null( $value ) ) { // If value doesn't exists 113 if ( isset( $param_settings['std'] ) ) { 206 $deprecated = $this->setting( 'deprecated' ); 207 require_once vc_path_dir( 'AUTOLOAD_DIR', 'class-vc-settings-presets.php' ); 208 $list_vendor_presets = Vc_Settings_Preset::listVendorSettingsPresets( $this->tag ); 227 $name = isset( $param['param_name'] ) ? $param['param_name'] : null; 228 if ( ! is_null( $name ) ) { 229 $value = isset( $this->atts[ $name ] ) ? $this->atts[ $name ] : null; 310 * List of params stored in global variable $vc_params_list. 311 * Please check include/params/load.php for default params list. 312 * @since 4.4linea_albaran_cliente.php https://gitlab.com/cosouth.battle/sartinofi | PHP | 509 lines
1<?php 2/* 6 7require_model('articulo.php'); 8require_model('albaran_cliente.php'); 233 { 234 return 'index.php?page=ventas_albaran&id='.$this->idalbaran; 235 } 238 { 239 if( is_null($this->referencia) OR $this->referencia == '') 240 { 240 { 241 return "index.php?page=ventas_articulos"; 242 } 243 else 244 return "index.php?page=ventas_articulo&ref=".urlencode($this->referencia); 245 }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 {User_agent.php https://gitlab.com/sittipongwork/impro_dashboard | 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 {CacheBase.php https://gitlab.com/hoanghung.dev/aloads | 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 voidSettings.php https://gitlab.com/team_fsn/fsn-php | PHP | 387 lines
1<?php 2/** 2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Settings 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 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); 34 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 35} 118 * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management 119 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 120 * @return boolean Success or failure 138 * for Zip file management 139 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 140 */class.jetpack-xmlrpc-server.php https://gitlab.com/relacilia/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'; 411Cache.php https://gitlab.com/jslee1/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 areclass-wc-shortcode-my-account.php https://gitlab.com/webkod3r/tripolis | 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 );URI.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 316 lines
59 { 60 $this->scheme = is_null($scheme) || ctype_lower($scheme) ? $scheme : strtolower($scheme); 61 $this->userinfo = $userinfo; 129 // and it is our default scheme. 130 if (!is_null($this->scheme) && is_null($this->host) || $this->host === '') { 131 // support for relative paths is pretty abysmal when the 139 // validate username 140 if (!is_null($this->userinfo)) { 141 $encoder = new HTMLPurifier_PercentEncoder($chars_sub_delims . ':'); 177 } 178 } elseif (!is_null($this->scheme)) { 179 // path-rootless (hier) 204 205 if (!is_null($this->query)) { 206 $this->query = $qf_encoder->encode($this->query);DatabaseHandle.php https://gitlab.com/tomgidden/php-DatabaseObject | PHP | 375 lines
1<?php 2 /* DatabaseHandle 6 7require_once('DatabaseObject/common/vars.php'); 8 19 * 20 * The prepared query caching may not be necessary, as I think DB.php 21 * does this itself. 50 // If there is no DSN, and there's a global one defined, use it. 51 if(is_null($dsn)) 52 if(defined('DSN')) 171 // Remove the stupid SQL dump at the start of the message 172 if(!is_null($msg)) 173 if(preg_match('/^.*?\[nativecode=([^\]]+)\]$/', $msg, $parts)) 181 // If $msg is still null, then everything's fine 182 if(is_null($msg)) { 183 $this->sqllog[] = array(true, $end-$start, $sql, $params, null);install.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | 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 )MethodProphecySpec.php https://gitlab.com/rocs/Streaming-Safe-for-Kids | 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 {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 *class.utils.php https://gitlab.com/sokeara/Tribal_Education | PHP | 351 lines
1<?php 2// Exit if accessed directly 49 $row = mysqli_fetch_row($res); 50 return is_null($row) ? 0 : $row[0]; 51 } 95 /** 96 * PHP_SAPI for fcgi requires a data flush of at least 256 97 * bytes every 40 seconds or else it forces a script hault 327 //FALL BACK: Windows XP has bug with glob, 328 //add secondary check for PHP lameness 329 if ($dh = opendir('.'))lib.php https://gitlab.com/MotoSport/morgue | PHP | 307 lines
1<?php 2 26 ); 27 if (is_null($conn)) { 28 return array("status" => self::ERROR, 48 $assoc_column = 'ticket'; 49 if (is_null($conn)) { 50 return array("status" => self::ERROR, 67 $conn = $conn ?: Persistence::get_database_object(); 68 if (is_null($conn)) { 69 return array("status" => self::ERROR, 87 $table_name = 'jira'; 88 if (is_null($conn)) { 89 return array("status" => self::ERROR, 105 $conn = $conn ?: Persistence::get_database_object(); 106 if (is_null($conn)) { 107 return array("status" => self::ERROR,mysqli_stmt_affected_rows.php https://gitlab.com/iranjith4/hhvm | PHP | 231 lines
1<?php 2 require_once("connect.inc"); 220 221 if (!is_null($tmp = mysqli_stmt_affected_rows($stmt))) 222 printf("[047] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 227?> 228<?php error_reporting(0); ?> 229<?phpMoveFiles.php https://gitlab.com/shinvdu/ad | PHP | 278 lines
1<?php 2/* 23 */ 24require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php"; 25 110 // check #2 (resource type) 111 if (is_null($_resourceTypeConfig[$type])) { 112 $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);ElementDef.php https://gitlab.com/afzalpotenza/YII_salon | 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;Download.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 317 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 */ 93 94 if (is_null($this->_handle)) { 95 if ($this->_linkType == self::LINK_TYPE_URL) {compras_recibo.php https://gitlab.com/cosouth.battle/sartinofi | PHP | 370 lines
1<?php 2 7 8require_model('asiento.php'); 9require_model('cuenta_banco.php'); 9require_model('cuenta_banco.php'); 10require_model('cuenta_banco_proveedor.php'); 11require_model('ejercicio.php'); 11require_model('ejercicio.php'); 12require_model('factura_proveedor.php'); 13require_model('forma_pago.php'); 13require_model('forma_pago.php'); 14require_model('pago_recibo_proveedor.php'); 15require_model('partida.php'); 15require_model('partida.php'); 16require_model('proveedor.php'); 17require_model('recibo_factura.php');GetCharactersCharacterIdPlanetsPlanetIdOkRoutes.php https://gitlab.com/mglinski/php-esi-lib | PHP | 398 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 366 { 367 if (is_null($offset)) { 368 $this->container[] = $value;Logical.php https://gitlab.com/team_fsn/fsn-php | PHP | 288 lines
22 * @package PHPExcel_Calculation 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 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); 284SqlServerGrammar.php https://gitlab.com/vincetang/mtweb | PHP | 551 lines
1<?php 2 532 { 533 if (!is_null($column->default)) { 534 return ' default '.$this->getDefaultValue($column->default);DateTime.php https://gitlab.com/rsilveira1987/Expresso | PHP | 258 lines
1<?php 2/** 59 /** 60 * Generate a datetime object from a string (much like PHP's strtotime function) 61 * @param string A date/time string to convert into a qCal_DateTime object 74 } 75 if (is_null($timezone) || !($timezone instanceof qCal_Timezone)) { 76 // @todo Make sure this doesn't cause any issues 177 * @param string $format The format that is to be used when this object is 178 * converted to a string. Use the same metacharacters that are used in PHP's date function 179 * @return $this 189 /** 190 * Format the date/time using PHP's date() function's meta-characters 191 * @param string $format Use the PHP date() function's meta-characters to convert this object to a stringphp.js https://gitlab.com/juanito.abelo/nlmobile | JavaScript | 132 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; 130 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 131 CodeMirror.defineMIME("text/x-php", phpConfig); 132})();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));pdo_mysql_prepare_native.php https://gitlab.com/iranjith4/hhvm | PHP | 332 lines
1<?php 2 require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); 36 37 if (is_null($input_params)) 38 $input_params = array(); 327?> 328<?php 329require dirname(__FILE__) . '/mysql_pdo_test.inc';Localization.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 488 lines
1<?php 2include_once 'persian.php'; 13 * 14 * This class will set up PHP environment to mach locale settings (using 15 * setlocale() function) and import apropriate set of words from language 102 function lang($name, $default = null) { 103 if (is_null($default)) { 104 $default = "{$this->locale}($name)"; 152 // Get settings file path and include it 153 $settings_file = $locale_dir.'/'.$locale.'.php'; 154 if (!is_file($settings_file)) { 195 */ 196 private function loadLanguageFiles($dir, $ext = 'php') { 197 trace(__FILE__,"loadLanguageFiles($dir, $ext):begin"); 217 * @access public 218 * @param $fmt (see date() in php.net) 219 * @param $timestampgravityforms-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 {Repository.php https://gitlab.com/milton2913/myBlog | PHP | 521 lines
1<?php 2 112 { 113 return ! is_null($this->get($key)); 114 } 130 131 if (is_null($value)) { 132 $this->fireCacheEvent('missed', [$key]); 160 foreach ($values as $key => &$value) { 161 if (is_null($value)) { 162 $this->fireCacheEvent('missed', [$key]); 204 205 if (! is_null($minutes)) { 206 $this->store->put($this->itemKey($key), $value, $minutes); 222 223 if (! is_null($minutes)) { 224 $this->store->putMany($values, $minutes);Translator.php https://gitlab.com/rocs/Streaming-Safe-for-Kids | PHP | 416 lines
1<?php 2 115 116 if (! is_null($line)) { 117 break; 311 312 if (is_null($segments[0])) { 313 $segments[0] = '*';FileTest.php https://gitlab.com/link233/bootmw | PHP | 386 lines
1<?php 2 184 185 if ( !is_null( $data['tmpBucketedThumbCache'] ) ) { 186 $reflection_property = $reflection->getProperty( 'tmpBucketedThumbCache' );sftp.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();frame_reflower.cls.php https://gitlab.com/techniconline/kmc | PHP | 454 lines
1<?php 2/** 139 { 140 if (!is_null($this->_min_max_cache)) { 141 return $this->_min_max_cache;mercadopago.php https://gitlab.com/mvcarvalho/plataforma-e-commerce | PHP | 323 lines
1<?php 2 26 public function sandbox_mode($enable = NULL) { 27 if (!is_null($enable)) { 28 $this->sandbox = $enable === TRUE; 251 if (!extension_loaded ("curl")) { 252 throw new Exception("cURL extension not found. You need to enable cURL in your php.ini or another configuration you have."); 253 } 256 257 curl_setopt($connect, CURLOPT_USERAGENT, "MercadoPago PHP SDK v" . MP::version); 258 //curl_setopt($connect, CURLOPT_CAINFO, $GLOBALS["LIB_LOCATION"] . "/cacert.pem");EsmtpTransport.php https://gitlab.com/shivkumarsah/shivkumarsah.com | PHP | 387 lines
1<?php 2 257 // Allow fluid method calls 258 if (is_null($return) && substr($method, 0, 3) == 'set') { 259 return $this;Productimg.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 347 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 */ 81 82 if (!is_null($type) && array_key_exists($type, $resultImages)) { 83 $image = $resultImages[$type]; 84 } else { 85 $image = (!is_null($resultImages['swatch'])) ? $resultImages['swatch'] : $resultImages['standard']; 86 } 107 108 if (!is_null($preValues) && is_array($preValues)) { // If a pre-defined list of valid values was passed 109 $preValues = array_map('Mage_ConfigurableSwatches_Helper_Data::normalizeKey', $preValues);temperature_graphs.php https://gitlab.com/guilleJB/jayfishv30 | PHP | 291 lines
99 pointHighlightStroke : "rgba(151,187,205,1)", 100 data : [<?php echo $yesterday_therm9; ?>,<?php echo $yesterday_therm10; ?>,<?php echo $yesterday_therm11; ?>,<?php echo $yesterday_therm12; ?>,<?php echo $yesterday_therm1; ?>,<?php echo $yesterday_therm2; ?>,<?php echo $yesterday_therm3; ?>,<?php echo $yesterday_therm4; ?>,<?php echo $yesterday_therm5; ?>,<?php echo $yesterday_therm6; ?>,<?php echo $yesterday_therm7; ?>,<?php echo $yesterday_therm8; ?>] 101 }, 109 pointHighlightStroke : "rgba(220,220,220,1)", 110 data : [<?php echo $yesterday_thermii9; ?>,<?php echo $yesterday_thermii10; ?>,<?php echo $yesterday_thermii11; ?>,<?php echo $yesterday_thermii12; ?>,<?php echo $yesterday_thermii1; ?>,<?php echo $yesterday_thermii2; ?>,<?php echo $yesterday_thermii3; ?>,<?php echo $yesterday_thermii4; ?>,<?php echo $yesterday_thermii5; ?>,<?php echo $yesterday_thermii6; ?>,<?php echo $yesterday_thermii7; ?>,<?php echo $yesterday_thermii8; ?>] 111 } 217 pointHighlightStroke : "rgba(151,187,205,1)", 218 data : [<?php echo $therm9; ?>,<?php echo $therm10; ?>,<?php echo $therm11; ?>,<?php echo $therm12; ?>,<?php echo $therm1; ?>,<?php echo $therm2; ?>,<?php echo $therm3; ?>,<?php echo $therm4; ?>,<?php echo $therm5; ?>,<?php echo $therm6; ?>,<?php echo $therm7; ?>,<?php echo $therm8; ?>] 219 }, 227 pointHighlightStroke : "rgba(220,220,220,1)", 228 data : [<?php echo $thermii9; ?>,<?php echo $thermii10; ?>,<?php echo $thermii11; ?>,<?php echo $thermii12; ?>,<?php echo $thermii1; ?>,<?php echo $thermii2; ?>,<?php echo $thermii3; ?>,<?php echo $thermii4; ?>,<?php echo $thermii5; ?>,<?php echo $thermii6; ?>,<?php echo $thermii7; ?>,<?php echo $thermii8; ?>] 229 } 263 <div class="col-md-4"> 264 <table class="<?php print $tablebackground_nolines;?>" border="0" width="<?php print $tablewidth;?>"> 265 <td style="padding-left:10px; padding-right:10px;"><div align="center" class="plaindark customfont">Todays Graph</div></td><tr>Logger.php https://gitlab.com/nitm/yii2-module | PHP | 395 lines
1<?php 2 38 parent::init(); 39 $this->currentUser = (\Yii::$app->hasProperty('user') && \Yii::$app->user->getId()) ? \Yii::$app->user->getIdentity() : new \nitm\models\User(['username' => (php_sapi_name() == 'cli' ? 'console' : 'web')]); 40 115 { 116 if(is_null($newName)) { 117 $this->collectionName = $this->oldCollectionName; 250 default: 251 $ret_val = is_null($category) ? 'User Action' : $category; 252 break; 270 default: 271 $ret_val = is_null($category) ? 'user-action' : $category; 272 break;autoload.function.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 385 lines
1<?php 2/* 41 42include_once (GLPI_ROOT."/config/based_config.php"); 43include_once (GLPI_ROOT."/config/define.php"); 89 90 if (is_null($TRANSLATE)) { // before login 91 return $str; 301 302 // Do not try to load phpcas using GLPI autoload 303 if (preg_match('/^CAS_.*/', $classname)) { 317 318 if (file_exists("$dir$item.class.php")) { 319 include_once("$dir$item.class.php"); 326 // trigger an error to get a backtrace, but only once (use prefix 'x' to handle empty case) 327// trigger_error("GLPI autoload : file $dir$item.class.php not founded trying to load class '$classname'"); 328 $notfound["x$classname"] = true;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); 284sysinfo.php https://gitlab.com/ricardosanchez/prueba | PHP | 367 lines
69 { 70 if (!is_null($this->php_settings)) 71 { 154 /** 155 * Method to get if phpinfo method is enabled from php.ini 156 * 176 { 177 $this->php_info = JText::_('COM_ADMIN_PHPINFO_DISABLED'); 178 181 182 if (!is_null($this->php_info)) 183 { 306 $this->_addDirectory('templates', JPATH_SITE . '/templates'); 307 $this->_addDirectory('configuration.php', JPATH_CONFIGURATION . '/configuration.php'); 308TwitterAPIExchange.php https://gitlab.com/rickoverman/wpstack-starter-theme | PHP | 376 lines
1<?php 2 3/** 4 * Twitter-API-PHP : Simple PHP wrapper for the v1.1 API 5 * 5 * 6 * PHP version 5.3.10 7 * 8 * @category Awesomeness 9 * @package Twitter-API-PHP 10 * @author James Mallison <me@j7mbo.co.uk> 12 * @version 1.0.4 13 * @link http://github.com/j7mbo/twitter-api-php 14 */ 103 { 104 if (!is_null($this->getGetfield())) 105 {file.php git://github.com/phpbb/customisation-db.git | PHP | 509 lines
1<?php 2/** 317 * 318 * PHP system touch doesn't work correctly with the compress.zlib file. 319 * 366 { 367 if ( !is_null( $this->fp ) ) 368 {OldLocalFile.php https://gitlab.com/link233/bootmw | PHP | 409 lines
1<?php 2/** 139 $this->archive_name = $archiveName; 140 if ( is_null( $time ) && is_null( $archiveName ) ) { 141 throw new MWException( __METHOD__ . ': must specify at least one of $time or $archiveName' ); 184 $conds = [ 'oi_name' => $this->getName() ]; 185 if ( is_null( $this->requestedTime ) ) { 186 $conds['oi_archive_name'] = $this->archive_name; 207 $conds = [ 'oi_name' => $this->getName() ]; 208 if ( is_null( $this->requestedTime ) ) { 209 $conds['oi_archive_name'] = $this->archive_name;SqlServerGrammar.php https://gitlab.com/Pasantias/pasantiasASLG | 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)';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")) {Validator.php https://gitlab.com/irvanresna/sensasi | 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) {Abstract.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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)editor.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 522 lines
1<?php 2/** 237 //check if editor is already loaded 238 if (is_null(($this->_editor))) 239 { 286 // Check whether editor is already loaded 287 if (is_null(($this->_editor))) 288 { 335 // Check whether editor is already loaded 336 if (is_null(($this->_editor))) 337 { 479 // Check whether editor is already loaded 480 if (!is_null(($this->_editor))) 481 { 488 $name = JFilterInput::getInstance()->clean($this->_name, 'cmd'); 489 $path = JPATH_PLUGINS . '/editors/' . $name . '.php'; 490DB_result.php https://gitlab.com/jscordoba/ruta_expo | 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())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 {Spy.php https://gitlab.com/oytunistrator/phpspy | PHP | 399 lines
1<?php 2/** 6 * @license MIT 7 * @link https://github.com/christopheraue/phpspy 8 */ 9 10namespace christopheraue\phpspy; 11 57 //Sometimes $classname and $methodname are transferred to this constructor in all lower case 58 //although they were given in camel case. Strange behavior. Doesn't matter, since PHP 59 //class and function names are case insensitive. Convert the names to all lower case. 70 if (array_key_exists($this->_name, self::$_spies)) { 71 /** @var \christopheraue\phpspy\Spy $spy */ 72 $spy = self::$_spies[$this->_name]; 301 { 302 return !is_null($this->_substitute); 303 }collection.php https://gitlab.com/gricelya/Blog-Merry | PHP | 601 lines
1<?php 2 11 * @copyright Bastian Allgeier 12 * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 */ 110 public function toArray($callback = null) { 111 if(is_null($callback)) return $this->data; 112 return array_map($callback, $this->data);String.php https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | PHP | 479 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) 2014 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 99 $string = $this->cleanString($string); 100 if (is_null($length)) { 101 $length = $this->strlen($string) - $offset;AssertionsTrait.php https://gitlab.com/judielsm/Handora | PHP | 203 lines
5use Illuminate\View\View; 6use PHPUnit_Framework_Assert as PHPUnit; 7 31 32 return PHPUnit::assertEquals($code, $this->response->getStatusCode(), "Expected status code {$code}, got {$actual}."); 33 } 48 if (! isset($this->response->original) || ! $this->response->original instanceof View) { 49 return PHPUnit::assertTrue(false, 'The response was not a view.'); 50 } 54 } else { 55 PHPUnit::assertEquals($value, $this->response->original->$key); 56 } 84 if (! isset($this->response->original) || ! $this->response->original instanceof View) { 85 return PHPUnit::assertTrue(false, 'The response was not a view.'); 86 }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 {translations.php https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn | 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 *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.0WsdLiveTraffic.php https://gitlab.com/edgarze188/sunrise | PHP | 330 lines
1<?php if(! defined('WPS_PLUGIN_PREFIX')) return; 2/** 117 else if ( isset($_SERVER["HTTP_CLIENT_IP"]) ) { $ip = $_SERVER["HTTP_CLIENT_IP"]; } 118 if(! is_null($ip) && self::isValidIp($ip)){ return $ip; } 119 return 'unknown'; 304 { 305 if(false !==(strpos($url, 'wp-cron.php?doing_wp_cron'))) { return true; } 306 return false;Currency.php https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | 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) 2014 Magento Inc. (http://www.magentocommerce.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;class-vc-edit-form-fields.php https://gitlab.com/furrutia1991/imosa_web | PHP | 317 lines
1<?php 2/** 107 protected function parseShortcodeAttributeValue( $param_settings, $value ) { 108 if ( is_null( $value ) ) { // If value doesn't exists 109 if ( isset( $param_settings['std'] ) ) { 219 $name = isset( $param['param_name'] ) ? $param['param_name'] : null; 220 if ( ! is_null( $name ) ) { 221 $value = isset( $this->atts[ $name ] ) ? $this->atts[ $name ] : null; 299 * List of params stored in global variable $vc_params_list. 300 * Please check include/params/load.php for default params list. 301 * @since 4.4severity.class.php https://gitlab.com/florianocomercial/centreon | PHP | 256 lines
1<?php 2/** 99 # We get unitary 100 if (is_null($this->stmt_host)) { 101 $this->stmt_host = $this->backend_instance->db->prepare("SELECT 114 $severity = array_pop($this->stmt_host->fetchAll(PDO::FETCH_ASSOC)); 115 if (is_null($severity)) { 116 $this->host_linked_cache[$host_id] = null; 124 public function getHostSeverityById($hc_id) { 125 if (is_null($hc_id)) { 126 return null; 189 # We get unitary 190 if (is_null($this->stmt_service)) { 191 $this->stmt_service = $this->backend_instance->db->prepare("SELECT 204 $severity = array_pop($this->stmt_service->fetchAll(PDO::FETCH_ASSOC)); 205 if (is_null($severity)) { 206 $this->service_linked_cache[$service_id] = null;Integration.php https://gitlab.com/johanlindberg/irvato-crm | PHP | 179 lines
1<?php 2/************************************************************************ 111 112 if (!is_null($value)) { 113 switch ($fieldDefs['type']) {inline_renderer.cls.php https://gitlab.com/scsistemas/superprime | 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;admin_panel.php https://gitlab.com/itinarraylab/ongage-custom-sender | PHP | 345 lines
1<?php 2/** 2/** 3 * Created by PhpStorm. 4 * User: const 187 <input name="ongage[subscribe_mode]" type="checkbox" id="ongage_subscribe_mode" 188 <?php echo ongage_get_array_checkbox_option('ongage', 'subscribe_mode'); ?> 189 /> 203 <input name="ongage[debug_mode]" type="checkbox" id="ongage_debug_mode" 204 <?php echo ongage_get_array_checkbox_option('ongage', 'debug_mode'); ?> 205 /> 284 </div> 285 <?php 286 310 311 $btn = "<p class=\"submit\">" . PHP_EOL; 312 $btn .= "<input type=\"submit\" name=\"Submit\" class=\"button $btn_class\" value=\"$value\" />" . PHP_EOL;qrsplit.php https://gitlab.com/Ltaimao/wecenter | 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!!!');class-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;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');SearchableTrait.php https://gitlab.com/DhanapalRudram/Maritime_Managers | PHP | 342 lines
1<?php namespace Nicolaslopezj\Searchable; 2 81 // Default the threshold if no value was passed. 82 if (is_null($threshold)) { 83 $threshold = $relevance_count / 4;install.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 249 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> 133 <th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th> 134 <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td> 135 </tr> 149$mysql_version = $wpdb->db_version(); 150$php_compat = version_compare( $php_version, $required_php_version, '>=' ); 151$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); 153if ( !$mysql_compat && !$php_compat ) 154 $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 ); 155elseif ( !$php_compat ) 155elseif ( !$php_compat ) 156 $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 ); 157elseif ( !$mysql_compat )AssertionsTrait.php https://gitlab.com/zan_zan/laravel_sample | PHP | 203 lines
5use Illuminate\View\View; 6use PHPUnit_Framework_Assert as PHPUnit; 7 31 32 return PHPUnit::assertEquals($code, $this->response->getStatusCode(), "Expected status code {$code}, got {$actual}."); 33 } 48 if (!isset($this->response->original) || !$this->response->original instanceof View) { 49 return PHPUnit::assertTrue(false, 'The response was not a view.'); 50 } 54 } else { 55 PHPUnit::assertEquals($value, $this->response->original->$key); 56 } 84 if (!isset($this->response->original) || !$this->response->original instanceof View) { 85 return PHPUnit::assertTrue(false, 'The response was not a view.'); 86 }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;FolderHandler.php https://gitlab.com/manuvelasco/agostoliquida | 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();IniReaderTest.php https://gitlab.com/manuperazafa/elsartenbackend | 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 *recommendation.class.php https://gitlab.com/x33n/ampache | PHP | 362 lines
1<?php 2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */ 165 166 if (is_null($local_id)) { 167 debug_event('Recommendation', "$name did not match any local song", 5); 193 foreach ($similars as $similar) { 194 if (!$local_only || !is_null($similar['id'])) { 195 $results[] = $similar; 244 // name match 245 if (is_null($local_id)) { 246 $searchname = Catalog::trim_prefix($name); 258 // Then we give up 259 if (is_null($local_id)) { 260 debug_event('Recommendation', "$name did not match any local artist", 5); 285 foreach ($similars as $similar) { 286 if (!$local_only || !is_null($similar['id'])) { 287 $results[] = $similar;html-variation-admin.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 221 lines
88 <label><?php _e( 'Sale end date:', 'woocommerce' ) ?></label> 89 <input type="text" name="variable_sale_price_dates_to[<?php echo $loop; ?>]" value="<?php echo ! empty( $_sale_price_dates_to ) ? date_i18n( 'Y-m-d', $_sale_price_dates_to ) : ''; ?>" placeholder="<?php echo _x('To…', 'placeholder', 'woocommerce') ?> YYYY-MM-DD" maxlength="10" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" /> 90 </td> 206 <td class="upload_image"> 207 <a href="#" class="upload_image_button <?php if ( $image_id > 0 ) echo 'remove'; ?>" rel="<?php echo esc_attr( $variation_id ); ?>"><img src="<?php if ( ! empty( $image ) ) echo esc_attr( $image ); else echo esc_attr( wc_placeholder_img_src() ); ?>" /><input type="hidden" name="upload_image_id[<?php echo $loop; ?>]" class="upload_image_id" value="<?php echo esc_attr( $image_id ); ?>" /><span class="overlay"></span></a> 208 </td> 209 <td class="options"> 210 <label><input type="checkbox" class="checkbox" name="variable_enabled[<?php echo $loop; ?>]" <?php checked( $variation_post_status, 'publish' ); ?> /> <?php _e( 'Enabled', 'woocommerce' ); ?></label> 211 211 212 <label><input type="checkbox" class="checkbox variable_is_downloadable" name="variable_is_downloadable[<?php echo $loop; ?>]" <?php checked( isset( $_downloadable ) ? $_downloadable : '', 'yes' ); ?> /> <?php _e( 'Downloadable', 'woocommerce' ); ?> <a class="tips" data-tip="<?php _e( 'Enable this option if access is given to a downloadable file upon purchase of a product', 'woocommerce' ); ?>" href="#">[?]</a></label> 213 213 214 <label><input type="checkbox" class="checkbox variable_is_virtual" name="variable_is_virtual[<?php echo $loop; ?>]" <?php checked( isset( $_virtual ) ? $_virtual : '', 'yes' ); ?> /> <?php _e( 'Virtual', 'woocommerce' ); ?> <a class="tips" data-tip="<?php _e( 'Enable this option if a product is not shipped or there is no shipping cost', 'woocommerce' ); ?>" href="#">[?]</a></label> 215ListClassFunction.filter.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 150 lines
17 * @copyright 2004-2006 Claudio Bustos 18 * @link http://pear.php.net/package/PHP_Beautifier 19 * @link http://beautifyphp.sourceforge.net 19 * @link http://beautifyphp.sourceforge.net 20 * @license http://www.php.net/license/3_0.txt PHP License 3.0 21 * @version CVS: $Id:$ 39 * @copyright 2004-2006 Claudio Bustos 40 * @link http://pear.php.net/package/PHP_Beautifier 41 * @link http://beautifyphp.sourceforge.net 41 * @link http://beautifyphp.sourceforge.net 42 * @license http://www.php.net/license/3_0.txt PHP License 3.0 43 * @version Release: 0.1.14 44 */ 45class PHP_Beautifier_Filter_ListClassFunction extends PHP_Beautifier_Filter 46{class-wc-rest-stripe-account-keys-controller.php https://gitlab.com/campus-academy/krowkaramel | PHP | 232 lines
1<?php 2/** 205 206 $settings['publishable_key'] = is_null( $publishable_key ) ? $settings['publishable_key'] : $publishable_key; 207 $settings['secret_key'] = is_null( $secret_key ) ? $settings['secret_key'] : $secret_key; 207 $settings['secret_key'] = is_null( $secret_key ) ? $settings['secret_key'] : $secret_key; 208 $settings['webhook_secret'] = is_null( $webhook_secret ) ? $settings['webhook_secret'] : $webhook_secret; 209 $settings['test_publishable_key'] = is_null( $test_publishable_key ) ? $settings['test_publishable_key'] : $test_publishable_key; 209 $settings['test_publishable_key'] = is_null( $test_publishable_key ) ? $settings['test_publishable_key'] : $test_publishable_key; 210 $settings['test_secret_key'] = is_null( $test_secret_key ) ? $settings['test_secret_key'] : $test_secret_key; 211 $settings['test_webhook_secret'] = is_null( $test_webhook_secret ) ? $settings['test_webhook_secret'] : $test_webhook_secret;filter.php https://gitlab.com/Bartwillemsen/aurora-framework | PHP | 225 lines
1<?php 2namespace Aurora\Routing; 57 // the first filter response if overriding is enabled. 58 if (! is_null($response) and $override) return $response; 59 }joomla.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 482 lines
1<?php 2/** 72 // Get the current version if none is defined 73 if (is_null($currentVersion)) 74 { 250 * figure out what was in the mind of the maintainer and translate the 251 * funky version number to an actual PHP-format version string. 252 *rest_encoder.php https://gitlab.com/team_fsn/fsn-php | PHP | 284 lines
1<?php 2// +-----------------------------------------------------------------------+ 2// +-----------------------------------------------------------------------+ 3// | Piwigo - a PHP based photo gallery | 4// +-----------------------------------------------------------------------+ 5// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | 6// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 203 continue; 204 if ( is_null($value) ) 205 continue; // null means we dont put it 226 continue; 227 if ( is_null($value) ) 228 continue; // null means we dont put itMemcache.php https://gitlab.com/team_fsn/fsn-php | 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 *MailboxHeader.php https://gitlab.com/x33n/platform | PHP | 316 lines
1<?php 2 77 * <code> 78 * <?php 79 * //Sets two mailboxes in the Header, one with a personal name 101 * <code> 102 * <?php 103 * $header = new Swift_Mime_Headers_MailboxHeader('From', 128 * <code> 129 * <?php 130 * $header = new Swift_Mime_Headers_MailboxHeader('From', 153 * <code> 154 * <?php 155 * //Sets three email addresses as the Header data 203 //Compute the string value of the header only if needed 204 if (is_null($this->getCachedValue())) { 205 $this->setCachedValue($this->createMailboxListString($this->_mailboxes));monitoring_result.php https://gitlab.com/Rad1calDreamer/honey | PHP | 394 lines
1<?php 2interface CBitrixCloudMonitoring_Access extends Iterator, ArrayAccess 244 public function offsetSet($offset, $value) { 245 if (is_null($offset)) { 246 $this->tests[] = $value; 378 public function offsetSet($offset, $value) { 379 if (is_null($offset)) { 380 $this->domains[] = $value;DB_result.php https://gitlab.com/ricoru21/py_incidencia | PHP | 410 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 * 218 219 if ($key != '' AND ! is_null($value)) 220 { 408 409/* End of file DB_result.php */ 410/* Location: ./system/database/DB_result.php */yaf_config.c https://gitlab.com/oytunistrator/yaf | C | 405 lines
10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 12 +----------------------------------------------------------------------+ 13 | Author: Xinchen Hui <laruence@php.net> | 14 +----------------------------------------------------------------------+ 23#include "php_ini.h" 24#include "standard/php_filestat.h" /* for php_stat */ 25 25 26#include "php_yaf.h" 27#include "yaf_namespace.h" 48 zval n_ctime; 49 php_stat(Z_STRVAL_P(file), Z_STRLEN_P(file), 7 /* FS_CTIME */ , &n_ctime TSRMLS_CC); 50 if (Z_TYPE(n_ctime) != IS_BOOL && ctime != Z_LVAL(n_ctime)) {Event.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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];MailboxHeader.php https://gitlab.com/Sigpot/AirSpot | PHP | 353 lines
1<?php 2 86 * <code> 87 * <?php 88 * //Sets two mailboxes in the Header, one with a personal name 114 * <code> 115 * <?php 116 * $header = new Swift_Mime_Headers_MailboxHeader('From', 145 * <code> 146 * <?php 147 * $header = new Swift_Mime_Headers_MailboxHeader('From', 173 * <code> 174 * <?php 175 * //Sets three email addresses as the Header data 233 // Compute the string value of the header only if needed 234 if (is_null($this->getCachedValue())) { 235 $this->setCachedValue($this->createMailboxListString($this->_mailboxes));FilesystemAdapter.php https://gitlab.com/Sigpot/AirSpot | 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;