100+ results results for 'php is_null repo:kppf/securimage' (343 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_,PostgresGrammar.php https://gitlab.com/puntodos/ean-landings | PHP | 568 lines
1<?php 2 549 { 550 if (! is_null($column->default)) { 551 return ' default '.$this->getDefaultValue($column->default);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 *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/ntphuc/BackendFeedy | 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 }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;class-yoast-notification-center.php https://gitlab.com/iamgraeme/royalmile | 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 }AbstractPaginator.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 487 lines
1<?php 2 154 { 155 if (is_null($fragment)) { 156 return $this->fragment;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'],Grammar.php https://gitlab.com/wilmertri/tutorial_mvc | 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))) {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');Store.php https://gitlab.com/LisovyiEvhenii/tasks | 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();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;editar_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 {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_,linea_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/RikaPM/manik | 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/ilyales/vigma | 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 voidCache.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 );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 )URI.php https://gitlab.com/afzalpotenza/YII_salon | 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);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('.'))translations.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | 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 *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,MoveFiles.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);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<?phpElementDef.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;tcpdf_adapter.cls.php https://gitlab.com/exabyte-lab/tiffinbox | 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'); 43compras_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');php.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));class.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'; 411Localization.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 {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';SqlServerGrammar.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 551 lines
1<?php 2 532 { 533 if (!is_null($column->default)) { 534 return ' default '.$this->getDefaultValue($column->default);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;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;MethodProphecySpec.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 {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);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); 284Download.php https://gitlab.com/LisovyiEvhenii/tasks | 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) {TwitterAPIExchange.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 {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")) {Settings.php https://gitlab.com/digaotinfo/agendaLegislativa | 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 */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)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;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())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 {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.0Currency.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;severity.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']) {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');Logical.php https://gitlab.com/digaotinfo/agendaLegislativa | 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); 284install.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 )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;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 *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));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)) {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;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;AssertionsTrait.php https://gitlab.com/dzakiafif/cokelatklasik | 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 }Media.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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')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'; 349php_mysqli_structs.h https://gitlab.com/envieidoc/advancedtomato2 | C Header | 362 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2014 The PHP Group | 6 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ResourceTypeConfig.php https://gitlab.com/manuvelasco/agostoliquida | 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");Command.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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 *Pagination.class.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 447 lines
1<?php 2 4 * Pagination 5 * @link https://github.com/onassar/PHP-Pagination/blob/master/Pagination.class.php 6 * Supplies an API for setting pagination details, and renders the resulting 6 * Supplies an API for setting pagination details, and renders the resulting 7 * pagination markup (html) through the included render.inc.php file. 8 * 18 * // source inclusion 19 * require_once APP . '/vendors/PHP-Pagination/Pagination.class.php'; 20 * 30 * // source inclusion 31 * require_once APP . '/vendors/PHP-Pagination/Pagination.class.php'; 32 * 77 // current instantiation setting 78 if (!is_null($current)) { 79 $this->setCurrent($current);porteren.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 449 lines
1<?php 2/** 6 * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. 7 * @copyright Copyright (C) 2005 Richard Heyes (http://www.phpguru.org/). All rights reserved. 8 * @license GNU General Public License version 2 or later; see LICENSE 369 370 if (is_null($m) or self::_m($substr) > $m) 371 {porter_en.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 446 lines
1<?php 2/** 11 12JLoader::register('FinderIndexerStemmer', dirname(__DIR__) . '/stemmer.php'); 13 371 372 if (is_null($m) or self::_m($substr) > $m) 373 {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');helper.php https://gitlab.com/kedzior/dataset | PHP | 349 lines
1<?php 2$GLOBALS['THRIFT_ROOT'] = '../curator/demo/thrift'; 2$GLOBALS['THRIFT_ROOT'] = '../curator/demo/thrift'; 3// require_once $GLOBALS['THRIFT_ROOT'].'/Thrift.php'; 4// require_once $GLOBALS['THRIFT_ROOT'].'/protocol/TBinaryProtocol.php'; 4// require_once $GLOBALS['THRIFT_ROOT'].'/protocol/TBinaryProtocol.php'; 5// require_once $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php'; 6// require_once $GLOBALS['THRIFT_ROOT'].'/transport/THttpClient.php'; 6// require_once $GLOBALS['THRIFT_ROOT'].'/transport/THttpClient.php'; 7// require_once $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php'; 8// require_once $GLOBALS['THRIFT_ROOT'].'/transport/TFramedTransport.php'; 8// require_once $GLOBALS['THRIFT_ROOT'].'/transport/TFramedTransport.php'; 9// require_once $GLOBALS['THRIFT_ROOT'].'/packages/curator/Curator.php'; 10 10 11// These my_ functions work out if php has multibyte support and uses 12// the mb version if available.TeamCity.php https://gitlab.com/Georgiy.Zhegusov/museum_documents | 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 {html.php https://gitlab.com/Bartwillemsen/aurora-framework | PHP | 376 lines
1<?php 2namespace Aurora; 37 38 return '<script src="'.$url.'"'.static::attributes($attributes).'></script>'.PHP_EOL; 39 } 69 70 return '<link href="'.$url.'"'.static::attributes($attributes).'>'.PHP_EOL; 71 } 205 206 if (is_null($title)) $title = $email; 207 302 303 if (! is_null($value)) { 304 $html[] = $key.'="'.static::entities($value).'"';Abstract.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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();postgresql.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 658 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 {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 {Database.php https://gitlab.com/digitalpoetry/exceptionally-timed | 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...GmapMacroToolbox.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 509 lines
1<?php 2/** 3 * @file 4 * Contains GmapMacroToolbox.php 5 * 57 static public function getInstance() { 58 if (is_null(self::$gmapInstance)) { 59 self::$gmapInstance = new self(); 178 $multiple = gmap_module_invoke('macro_multiple', $m); 179 include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapDefaults.php'; 180 $def = GmapDefaults::getInstance()->getDefaults(); 239 $temp = explode(':', $v); 240 include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapMacroToolbox.php'; 241 $m['styles'][$temp[0]] = GmapMacroToolbox::getInstance()->setStyle($temp[1])->getParsedStyles(); 263 $stylestr = substr($shape, 0, $cp); 264 include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapMacroToolbox.php'; 265 $s['style'] = GmapMacroToolbox::getInstance()->setStyle($stylestr)->getParsedStyles();class-yoast-plugin-conflict.php https://gitlab.com/iamgraeme/royalmile | PHP | 333 lines
1<?php 2/** 51 52 if ( is_null( self::$instance ) ) { 53 if ( ! is_string( $class_name ) || $class_name === '' ) { 117 if ( ! function_exists( 'get_plugin_data' ) ) { 118 require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); 119 } 201 /* translators: %s: 'Facebook' plugin name of possibly conflicting plugin */ 202 $error_message .= '<a target="_blank" class="button-primary" href="' . wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $plugin_file . '&plugin_status=all', 'deactivate-plugin_' . $plugin_file ) . '">' . sprintf( __( 'Deactivate %s', 'wordpress-seo' ), WPSEO_Utils::get_plugin_name( $plugin_file ) ) . '</a> '; 203http.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 ) {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;IsType.php https://gitlab.com/oytunistrator/92five | PHP | 190 lines
36 * 37 * @package PHPUnit 38 * @subpackage Framework_Constraint 38 * @subpackage Framework_Constraint 39 * @author Sebastian Bergmann <sebastian@phpunit.de> 40 * @author Bernhard Schussek <bschussek@2bepublished.at> 54 * @subpackage Framework_Constraint 55 * @author Sebastian Bergmann <sebastian@phpunit.de> 56 * @author Bernhard Schussek <bschussek@2bepublished.at> 56 * @author Bernhard Schussek <bschussek@2bepublished.at> 57 * @copyright 2001-2014 Sebastian Bergmann <sebastian@phpunit.de> 58 * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License 61 */ 62class PHPUnit_Framework_Constraint_IsType extends PHPUnit_Framework_Constraint 63{translations.php https://gitlab.com/gentotech/evotennissg | 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 *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) {Controller.php https://gitlab.com/haque.mdmanzurul/TripAdviosrScrapper | PHP | 530 lines
1<?php 2 70 $param = explode(':',$request->input('filter')); 71 $parent = (!is_null($request->input('parent')) ? $request->input('parent') : null); 72 $limit = (!is_null($request->input('limit')) ? $request->input('limit') : null); 256 257 if(!is_null(Input::file($field))) 258 { 281 282 if(!is_null(Input::file($field))) 283 { 314 { 315 if(!is_null($_POST[$field])) 316 { 353 $module = $this->module; 354 $sort = (!is_null($request->input('sort')) ? $request->input('sort') : ''); 355 $order = (!is_null($request->input('order')) ? $request->input('order') : '');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 *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 '';