100+ results results for 'php unset' (716 ms)
1<?php 2 85 $vals[$k] = &$stub; // Break hard references to make $queue completely 86 unset($stub); // independent from the original structure 87 if (isset($hardRefs[$zval['zval_hash']])) { 134 if (isset($v[$gid])) { 135 unset($v[$gid]); 136 $a = array(); 148 case 'object': 149 if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) { 150 $stub = new Stub(); 164 } else { 165 $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE)); 166 } 240 $stub = $a = null; 241 unset($arrayRefs[$len]); 242 continue;class-wp-terms-list-table.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 454 lines
1<?php 2/** 219 } 220 unset( $parent_ids ); 221 236 237 unset( $terms[$key] ); 238 298 if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) 299 $actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>"; 300 if ( $tax->public ) 331 332 /** This filter is documented in wp-admin/edit-tag-form.php */ 333 $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>'; 343 function column_slug( $tag ) { 344 /** This filter is documented in wp-admin/edit-tag-form.php */ 345 return apply_filters( 'editable_slug', $tag->slug );Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization'); 90 } 91 require_once 'Zend/Loader/Autoloader.php'; 92 Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) { 114 require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');Profiles.php https://gitlab.com/gregtyka/opensis | PHP | 258 lines
55 unset($_REQUEST['modfunc']); 56 unset($_REQUEST['profile_id']); 57 } 108 unset($_REQUEST['can_edit']); 109 unset($_REQUEST['can_use']); 110} 119 $xprofile = $_REQUEST['new_profile_type']; 120 unset($_REQUEST['new_profile_title']); 121 unset($_REQUEST['new_profile_type']); 143 if($_REQUEST['profile_id']!='' && $id==$_REQUEST['profile_id']) 144 echo '<TR id=selected_tr onmouseover="" onmouseout="" bgcolor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",20):'').'</TD><TD '.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">'; 145 else 145 else 146 echo '<TR onmouseover=\'this.style.backgroundColor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\' onmouseout=\'this.style.cssText="background-color:transparent; color:black;";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",15):'').'</TD><TD'.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">'; 147 echo '<b><a style="cursor: pointer; cursor:hand; text-decoration:none;">'.($id>3?'':'<b>').$profile[1]['TITLE'].($id>3?'':'</b>').'</a></b> ';web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
1<?php 2 3/** 4 Web pack for the PHP Fat-Free Framework 5 89 // Simplify URL 90 unset($rewrite[$i],$rewrite[$i-1]); 91 $rewrite=array_values($rewrite); 205 if ($echo) { 206 if (PHP_SAPI!='cli' && !headers_sent()) 207 header(self::HTTP_Content.': '.$mime[$ext[1]].'; '. 295 self::HTTP_Agent.': Mozilla/5.0 '. 296 '(compatible;'.PHP_OS.')'.self::EOL. 297 ($reqhdrs? 330 self::$vars['HEADERS'][]=$hdr; 331 if (PHP_SAPI!='cli' && $forward) 332 // Forward HTTP headerpearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
28if ('/usr/share/php' != '@'.'include_path'.'@') { 29 ini_set('include_path', '/usr/share/php'); 30 $raw = false; 59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) { 60 echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini'; 61 exit(1); 132// this is used in the error handler to retrieve a relative path 133$_PEAR_PHPDIR = $config->get('php_dir'); 134$ui->setConfig($config); 166 ); 167 $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php'); 168 $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data'); 377 return "PEAR Version: ".$GLOBALS['pear_package_version']. 378 "\nPHP Version: ".phpversion(). 379 "\nZend Engine Version: ".zend_version().Resource.php https://github.com/ParveenArora/AddressHunter.git | PHP | 467 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization'); 90 } 91 require_once 'Zend/Loader/Autoloader.php'; 92 Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
21} else { 22 unset( $_redirect ); 23} 114 $submenu_file = "edit.php?post_type=$post_type"; 115 $post_new_file = "post-new.php?post_type=$post_type"; 116} else { 163<?php screen_icon(); ?> 164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php 165if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?> 171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div> 172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']); 176<div id="message" class="updated"><p> 177<?php if ( isset($_REQUEST['updated']) && (int) $_REQUEST['updated'] ) { 178 printf( _n( '%s post updated.', '%s posts updated.', $_REQUEST['updated'] ), number_format_i18n( $_REQUEST['updated'] ) );IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 91 $adminSession = Mage::getSingleton('admin/session'); 92 $adminSession->unsetAll(); 93 $adminSession->getCookie()->delete($adminSession->getSessionName());CakeRoute.php https://github.com/rnmd/cakephp.git | PHP | 506 lines
1<?php 2/** 8 * 9 * PHP5 10 * 10 * 11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 18 * @link http://cakephp.org CakePHP(tm) Project 19 * @package Cake.Routing.Route 19 * @package Cake.Routing.Route 20 * @since CakePHP(tm) v 1.3 21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 161 foreach ($this->keys as $key) { 162 unset($this->defaults[$key]); 163 }File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) { 114 require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
1<?php 2 34 if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS) 35 $this->print_message('error', sprintf(__('Link Mask Generator won’t work with default or “pathinfo” permalinks. Please change your <a href="%s">permalink structure</a> to enable this module’s functionality.', 'seo-ultimate'), 'options-permalink.php')); 36 240 else 241 unset($aliases[$saved_id]); 242Controller.php https://github.com/quarkness/piwik.git | PHP | 321 lines
1<?php 2/** 53 } 54 unset($usersAccessByWebsite[$currentlyLogged]); 55 61 { 62 unset($usersAccessByWebsite[$login]); 63 continue;shortcodes.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 334 lines
1<?php 2/** 110 111 unset($shortcode_tags[$tag]); 112}wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
1<?php 2/** 5 * 6 * Allows for some configuration in wp-config.php (see default-constants.php) 7 * 7 * 8 * @internal This file must be parsable by PHP4. 9 * 20// Include files required for initialization. 21require( ABSPATH . WPINC . '/load.php' ); 22require( ABSPATH . WPINC . '/default-constants.php' ); 61if ( WP_CACHE ) 62 WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' ); 63 315 * 316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for 317 * users not logged in.ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
148</option> 149 <option value="DN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DN'){?> selected <?php }?>><?php echo @LBL_DANISH;?> 150</option> 156</option> 157 <option value="EE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='EE'){?> selected <?php }?>><?php echo @LBL_ESTONIAN;?> 158</option> 158</option> 159 <option value="LT" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='LT'){?> selected <?php }?>><?php echo @LBL_LITHUNIAN;?> 160</option> 164</option> 165 <option value="PO" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='PO'){?> selected <?php }?>><?php echo @LBL_POLISH;?> 166</option> 166</option> 167 <option value="RS" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='RS'){?> selected <?php }?>><?php echo @LBL_RUSSIAN;?> 168</option>Page.php https://github.com/kervin/kyzstudio.git | PHP | 402 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Page.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 26 */ 27#require_once 'Zend/Cache/Core.php'; 28 199 if ($found) { 200 unset($this->_specificOptions['memorize_headers'][$found]); 201 } 227 if (!in_array($key, $validKeys)) { 228 unset($regexps[$regexp][$key]); 229 }Page.php https://bitbucket.org/timgws/full-text-rss.git | PHP | 402 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Page.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 26 */ 27require_once 'Zend/Cache/Core.php'; 28 199 if ($found) { 200 unset($this->_specificOptions['memorize_headers'][$found]); 201 } 227 if (!in_array($key, $validKeys)) { 228 unset($regexps[$regexp][$key]); 229 }multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
1<?php 2/* 60 $this->labels = wp_parse_args( $args['labels'], $this->default_labels ); 61 unset( $args['labels'] ); 62 $args = wp_parse_args( $args, $this->default_args ); 91 public function kd_admin_init() { 92 if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) { 93 wp_enqueue_script( 373 374// Omit closing PHP tag to avoid "Headers already sent" issues. 375Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization'); 90 } 91 require_once 'Zend/Loader/Autoloader.php'; 92 Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);Editor.php https://github.com/adaykin/zf2.git | PHP | 601 lines
1<?php 2/** 130 } 131 unset($captureEvents[$index]); 132 $this->setDijitParam('captureEvents', $captureEvents); 228 } 229 unset($events[$index]); 230 $this->setDijitParam('events', $events); 326 } 327 unset($plugins[$index]); 328 $this->setDijitParam('plugins', $plugins); 558 if (false !== ($index = array_search($styleSheet, $styleSheets))) { 559 unset($styleSheets[$index]); 560 $this->setDijitParam('styleSheets', implode(';', $styleSheets));class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
1<?php 2/** 135 136 unset( $this->types[ $name ] ); 137 return true;Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
1<?php 2 75 ->arrayNode('form') 76 ->canBeUnset() 77 ->treatNullLike(array('enabled' => true)) 83 ->arrayNode('csrf_protection') 84 ->canBeUnset() 85 ->treatNullLike(array('enabled' => true)) 100 ->arrayNode('esi') 101 ->canBeUnset() 102 ->treatNullLike(array('enabled' => true)) 116 ->arrayNode('profiler') 117 ->canBeUnset() 118 ->children() 125 ->arrayNode('matcher') 126 ->canBeUnset() 127 ->performNoDeepMerging()orderinglist.py https://gitlab.com/abhi1tb/build | Python | 389 lines
5# This module is part of SQLAlchemy and is released under 6# the MIT License: http://www.opensource.org/licenses/mit-license.php 7 46When appending a ``Bullet`` into ``Slide.bullets``, the ``Bullet.position`` 47attribute will remain unset until manually assigned. When the ``Bullet`` 48is inserted into the middle of the list, the following ``Bullet`` objectsfacebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
1<?php 2/** 20 */ 21 var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'; 22 107 } else { 108 unset($options['label'], $options['escape'], $options['custom']); 109 return $this->__fbTag('fb:login-button', '', $options); 172 if($options['fbxml']){ 173 unset($options['fbxml']); 174 $retval = $this->__fbTag('fb:share-button','',$options); 176 else { 177 $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor'])); 178 $retval .= $this->Html->script($this->__fbShareScript); 380 appId : '{$appId}', 381 session : {$session}, // don't refetch the session when PHP already has it 382 status : true, // check login statustest.php https://github.com/md-tech/openemr.git | PHP | 422 lines
1<?php 2$debug=1; 2$debug=1; 3require_once("gacl_admin.inc.php"); 4 146/* 147//require_once('../Cache_Lite.php'); 148require_once('./profiler.inc'); 152 'caching' => true, 153 'cacheDir' => '/tmp/phpgacl_cache', 154 'lifeTime' => 100 273 274 unset($rand_aco_ids); 275 foreach ($rand_aco_keys as $rand_aco_key) { 281 282 unset($rand_aro_ids); 283 foreach ($rand_aro_keys as $rand_aro_key) {SimpleHeaderSet.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 387 lines
1<?php 2 236 $lowerName = strtolower($name); 237 unset($this->_headers[$lowerName][$index]); 238 } 247 $lowerName = strtolower($name); 248 unset($this->_headers[$lowerName]); 249 }tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * usally called as form action from tbl_change.php to insert or update table rows 7 * 7 * 8 * @version $Id: tbl_replace.php 12245 2009-02-23 08:36:34Z lem9 $ 9 * 54 */ 55require_once './libraries/common.inc.php'; 56 69 $GLOBALS['js_include'][] = 'tbl_change.js'; 70 require_once './libraries/header.inc.php'; 71 require './tbl_change.php'; 77 $url_params['after_insert'] = $_REQUEST['after_insert']; 78 //$GLOBALS['goto'] = 'tbl_change.php'; 79 $goto_include = 'tbl_change.php';admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 237 238 unset($input['body'], $input['navigation_group_id']); 239 543 544 <li id="page_<?php echo $page['id']; ?>"> 545 <div> 545 <div> 546 <a href="#" rel="<?php echo $page['id'] . '">' . $page['title']; ?></a> 547 </div> 548 549 <?php if(isset($page['children'])): ?> 550 <ol> 550 <ol> 551 <?php $this->tree_builder($page); ?> 552 </ol>%%F5^F50^F501ED3C%%mainPageRight.tpl.php https://github.com/viglesiasce/testlink.git | PHP | 309 lines
2 compiled from mainPageRight.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'mainPageRight.tpl', 14, false),array('modifier', 'escape', 'mainPageRight.tpl', 123, false),array('modifier', 'truncate', 'mainPageRight.tpl', 124, false),)), $this); ?> 127 <select style="z-index:1" name="testplan" onchange="this.form.submit();"> 128 <?php unset($this->_sections['tPlan']); 129$this->_sections['tPlan']['name'] = 'tPlan'; 153" 154 <?php if ($this->_tpl_vars['gui']->arrPlans[$this->_sections['tPlan']['index']]['selected']): ?> selected="selected" <?php endif; ?> 155 title="<?php echo ((is_array($_tmp=$this->_tpl_vars['gui']->arrPlans[$this->_sections['tPlan']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> 173 <?php else: ?> 174 <?php if ($this->_tpl_vars['gui']->num_active_tplans > 0): ?><?php echo $this->_tpl_vars['labels']['msg_no_rights_for_tp']; ?> 175<?php endif; ?> 196" /> 197 <a href="lib/plan/planView.php"><?php echo $this->_tpl_vars['labels']['href_plan_management']; ?> 198</a>Profiler.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 473 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 25127 2012-11-16 15:17:42Z rob $ 21 */ 98 * disabled. If an integer is stored here, profiles whose elapsed time 99 * is less than this value in seconds will be unset from 100 * the self::$_queryProfiles array. 109 * any of the query type constants. When the query ends, if it is not 110 * one of the types specified, it will be unset from the 111 * self::$_queryProfiles array. 282 */ 283 require_once 'Zend/Db/Profiler/Query.php'; 284 $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType); 310 */ 311 require_once 'Zend/Db/Profiler/Exception.php'; 312 throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'.");zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
1<?php 2class ControllerLocalisationZone extends Controller { 214 215 unset($this->session->data['success']); 216 } else {paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
1<?php 2/** 52 do_action('ws_plugin__s2member_during_paypal_return_before_sp_access', get_defined_vars()); 53 unset($__refs, $__v); 54 94 do_action('ws_plugin__s2member_during_paypal_return_during_sp_access', get_defined_vars()); 95 unset($__refs, $__v); 96 140 do_action('ws_plugin__s2member_during_paypal_return_after_sp_access', get_defined_vars()); 141 unset($__refs, $__v); 142Mail.php https://github.com/magikcypress/bbbweb.git | PHP | 270 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 40 * @copyright 1997-2010 Chuck Hagenbuch 41 * @license http://opensource.org/licenses/bsd-license.php New BSD License 42 * @version CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $ 42 * @version CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $ 43 * @link http://pear.php.net/package/Mail/ 44 */ 45 46require_once 'PEAR.php'; 47 76 $driver = strtolower($driver); 77 @include_once 'Mail/' . $driver . '.php'; 78 $class = 'Mail_' . $driver;class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
1<?php 2/** 12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes 13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes. 14 * 14 * 15 * @see config/map.php 16 * @see include/helpers/helpers_api.php 126 * You need to shortcode's tag and settings to map correctly. 127 * Default shortcodes are mapped in config/map.php file. 128 * The best way is to call this method with "init" action callback function of WP. 478 } 479 unset( self::$sc[ $name ] ); 480 visual_composer()->removeShortCode( $name ); 541 /** 542 * Sorting method for WPBMap::generateUserData method. Called by usort php function. 543 * @deprecated - use Vc_Sort::sortByKey since 4.4CakeValidationSetTest.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 337 lines
1<?php 2/** 4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 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/view/1196/Testing CakePHP(tm) Tests 14 * @package Cake.Test.Case.Model.Validator 14 * @package Cake.Test.Case.Model.Validator 15 * @since CakePHP(tm) v 2.2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 247/** 248 * Tests unseting a rule from the set using array access 249 * 251 */ 252 public function testArrayAccessUnset() { 253 $Set = new CakeValidationSet('title', array(store.php https://github.com/totara/moodle.git | PHP | 362 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 63 $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since"; 64 $params += array('url' => "view.php?id={$params['courseid']}"); 65 return array($replace, $params, $sort); 75 $params[$to] = $params[$from]; 76 unset($params[$from]); 77 } 246 247 // If the 100 field size is changed, also need to alter print_log in course/lib.php. 248 if (!empty($url) && \core_text::strlen($url) > 100) { 295 $return = ''; 296 unset($match[0]); // The first entry is the whole string. 297 foreach ($match as $m) {Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
1<?php 2/* 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$ 293 $this->_maskReplacements[$oldMask] = null; 294 unset($this->_maskReplacements[$oldMask]); 295 }AbstractPaginator.php https://gitlab.com/zan_zan/laravel_sample | PHP | 487 lines
1<?php 2 455 /** 456 * Unset the item at the given key. 457 * 460 */ 461 public function offsetUnset($key) 462 {SubmitTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 286 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: SubmitTest.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Form_Element_SubmitTest::main"); 26} 27 28require_once 'Zend/Form/Element/Submit.php'; 29require_once 'Zend/Form.php'; 53 54 $suite = new PHPUnit_Framework_TestSuite("Zend_Form_Element_SubmitTest"); 55 $result = PHPUnit_TextUI_TestRunner::run($suite); 265 { 266 if (strtolower(substr(PHP_OS, 0, 3)) == 'win' && version_compare(PHP_VERSION, '5.1.4', '=')) { 267 $this->markTestIncomplete('Error occurs for PHP 5.1.4 on Windows');helper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 582 lines
1<?php 2/** 119 // Remove the user from the group. 120 unset($user->groups[$key]); 121 523 { 524 $stat = array(php_uname()); 525 }UnitTestCase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 282 lines
1<?php 2 11use Drupal\Core\StringTranslation\PluralTranslatableMarkup; 12use Drupal\Tests\Traits\PhpUnitWarnings; 13use Drupal\TestTools\TestVarDumper; 13use Drupal\TestTools\TestVarDumper; 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\VarDumper\VarDumper; 15use Symfony\Component\VarDumper\VarDumper; 16use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait; 17 27 28 use PhpUnitWarnings; 29 use PhpUnitCompatibilityTrait; 60 // a previous test does not leak into this test. 61 \Drupal::unsetContainer(); 62install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
10require_once LIB_PATH . 'osclass/db.php'; 11require_once LIB_PATH . 'osclass/classes/DAO.php'; 12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php'; 12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php'; 13require_once LIB_PATH . 'osclass/install-functions.php'; 14require_once LIB_PATH . 'osclass/formatting.php'; 96 try{ 97 require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ; 98 $mail = new PHPMailer(true) ; 157 158 $cities_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=city&country=' . urlencode($c->name) . '&term=all'); 159 $cities = json_decode($cities_json); 362 foreach($cities as $ci) { 363 $regions_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=region&country=&id=' . $ci->region_id); 364 $regions = json_decode($regions_json);shipping.php https://gitlab.com/reclamare/mao | PHP | 268 lines
1<?php 2class ControllerApiShipping extends Controller { 6 // Delete old shipping address, shipping methods and method so not to cause any issues if there is an error 7 unset($this->session->data['shipping_address']); 8 unset($this->session->data['shipping_methods']); 8 unset($this->session->data['shipping_methods']); 9 unset($this->session->data['shipping_method']); 10 128 129 unset($this->session->data['shipping_method']); 130 unset($this->session->data['shipping_methods']); 149 // Delete past shipping methods and method just in case there is an error 150 unset($this->session->data['shipping_methods']); 151 unset($this->session->data['shipping_method']); 219 // Delete old shipping method so not to cause any issues if there is an error 220 unset($this->session->data['shipping_method']); 221Array.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 355 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Array.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 25 */ 26// require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 112 if ($found) { 113 unset($this->_data[$name]); 114 } 148 */ 149 // require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist');Array.php https://github.com/grandison/budo16.git | PHP | 354 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Array.php 18701 2009-10-26 13:03:47Z matthew $ 21 */ 25 */ 26// require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 112 if ($found) { 113 unset($this->_data[$name]); 114 } 148 */ 149 // require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist');db_operations.php https://gitlab.com/luyxtran264/myproject | PHP | 315 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 11 * 12 * @package PhpMyAdmin 13 */ 18 */ 19require_once 'libraries/common.inc.php'; 20require_once 'libraries/mysql_charsets.inc.php'; 20require_once 'libraries/mysql_charsets.inc.php'; 21require_once 'libraries/display_create_table.lib.php'; 22 25 */ 26require_once 'libraries/check_user_privileges.lib.php'; 27require_once 'libraries/operations.lib.php'; 71 72 include_once "libraries/plugin_interface.lib.php"; 73 // remove all foreign key constraints, otherwise we can get errorsSQLite3.php https://gitlab.com/dmsapiens/physicians | PHP | 322 lines
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 103 * @param string $pCoord Coordinate of the cell 104 * @throws PHPExcel_Exception 105 * @return PHPExcel_Cell Cell that was found, or null if not found 283 if ($this->_DBHandle === false) 284 throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); 285 if (!$this->_DBHandle->exec('CREATE TABLE kvp_'.$this->_TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)'))User_agent.php https://github.com/usagi-project/mynets1.git | PHP | 500 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 96 $this->platforms = $platforms; 97 unset($platforms); 98 $return = TRUE; 103 $this->browsers = $browsers; 104 unset($browsers); 105 $return = TRUE; 110 $this->mobiles = $mobiles; 111 unset($mobiles); 112 $return = TRUE; 117 $this->robots = $robots; 118 unset($robots); 119 $return = TRUE;ARC2_SemHTMLParser.php https://github.com/mterenzio/FollowThis.git | PHP | 339 lines
1<?php 2/* 111 $this->reader->closeStream(); 112 unset($this->reader); 113 return $this->done();Main.php https://gitlab.com/Skull3x/SpectatorPlus | PHP | 237 lines
1<?php 2namespace Ad5001\SpectatorPlus; 134 } elseif($this->lastPlayer !== $event->getPlayer() and isset($this->players[$event->getPlayer()->getName()])) { 135 unset($this->players[$event->getPlayer()->getName()]); 136 $event->getPlayer()->setAllowFlight(false); 153 $this->quitedplayers[$event->getPlayer()->getName()] = true; 154 unset($this->players[$event->getPlayer()->getName()]); 155 } 162 $this->players[$player->getName()] = []; 163 unset($this->quitedplayers[$event->getPlayer()->getName()]); 164 }arrayhelper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 461 lines
1<?php 2/** 360 usort($a, array(__CLASS__, '_sortObjects')); 361 unset($GLOBALS['JAH_so']); 362 436 * 437 * @see http://php.net/manual/en/function.array-unique.php 438 * @since 11.2TimeType.php https://gitlab.com/pr0055/symfonypizza | PHP | 264 lines
1<?php 2 229 // this option to "\DateTime". Since the internal, normalized 230 // representation is not \DateTime, but an array, we need to unset 231 // this option.MangaController.php https://bitbucket.org/haichau59/manga.git | PHP | 343 lines
1<?php 2 173 $model=new Manga('search'); 174 $model->unsetAttributes(); // clear any default values 175 if(isset($_GET['Manga']))Array.php https://bitbucket.org/haichau59/manga.git | PHP | 355 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Array.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26//require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 112 if ($found) { 113 unset($this->_data[$name]); 114 } 148 */ 149 //require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist');image_variants.html https://github.com/TitoAgudelo/Web-Library.git | HTML | 149 lines
49<p style="color:red;">For external images to work, the following configuration is required:</p> 50<pre style="color:red;">dompdf_config.inc.php :</pre> 51 54<h2>external png Image with alpha channel:</h2> 55<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" width="128" height="128" /> 56 57<h2>external image, dynamically created with id in url parameter at end of parameter(.jpg):</h2> 58<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=example:sunset.jpg" width="500" height="375" /> 59 60<h2>external image, dynamically created with id in url parameter not at end of parameter (.jpg):</h2> 61<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=example:sunset.jpg&w=100" width="100" height="75" /> 62 143<p> 144<span>The PHP 5 HTML to PDF converter</span> 145</p>ValidFunctionNameSniff.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 263 lines
17if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) { 18 throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found'); 19} 82 * 83 * @param PHP_CodeSniffer_File $phpcsFile The file being processed. 84 * @param int $stackPtr The position where this token was 89 */ 90 protected function processTokenWithinScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $currScope) 91 { 161 * 162 * @param PHP_CodeSniffer_File $phpcsFile The file being processed. 163 * @param int $stackPtr The position where this token was 167 */ 168 protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 169 {QuoteController.php https://github.com/gryzz/crystal_magento.git | PHP | 267 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) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 141 } 142 unset($data['rule']); 143 $model->loadPost($data);FormSelectTest.php https://github.com/Exercise/zf2.git | PHP | 302 lines
1<?php 2/** 38 */ 39class FormSelectTest extends \PHPUnit_Framework_TestCase 40{ 62 { 63 unset($this->helper, $this->view); 64 }Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
1<?php 2/** 80 // As we always calculate parent (it can change), prevent old one from being inserted. 81 unset($item['parent_id']); 82 221 { 222 unset($this->children[$child->alias]); 223 390 if ($items[$key] === $value) { 391 unset($items[$key]); 392 }plain.class.php https://github.com/godber/PHXdata-Website.git | PHP | 328 lines
1<?php 2/** 187 if (io_deleteFromFile($config_cascade['plainauth.users']['default'],$pattern,true)) { 188 foreach ($deleted as $user) unset($this->users[$user]); 189 return count($deleted);bluepay.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 310 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 11 * @created 08/24/2011 12 * @license http://www.opensource.org/licenses/mit-license.php 13 * @link https://github.com/calvinfroedge/codeigniter-payments 134 * NOTE: This transaction type can be used to cancel either an original transaction that is not yet settled, or an entire order composed of more than one transaction. A void prevents the transaction or order from being sent for settlement. A Void can be submitted against any other transaction type. 135 * NOTE: This will ONLY work for unsettled transactions. 136 */Array.php https://github.com/skoop/Gesichtbuch.git | PHP | 355 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Array.php 6352 2010-08-16 15:02:45Z tpater $ 21 */ 25 */ 26// require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 112 if ($found) { 113 unset($this->_data[$name]); 114 } 148 */ 149 // require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist');lib.php https://github.com/jamiepratt/moodle.git | PHP | 346 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 17/** 18 * Support library for the cache PHPUnit tests. 19 * 36 */ 37class cache_config_phpunittest extends cache_config_writer { 38 43 */ 44 public function phpunit_add_definition($area, array $properties) { 45 if (!array_key_exists('overrideclass', $properties)) { 47 case cache_store::MODE_APPLICATION: 48 $properties['overrideclass'] = 'cache_phpunit_application'; 49 break; 50 case cache_store::MODE_SESSION: 51 $properties['overrideclass'] = 'cache_phpunit_session'; 52 break;Translator.php https://github.com/ruudk/symfony.git | PHP | 483 lines
1<?php 2 142 } else { 143 unset($this->catalogues[$locale]); 144 } 307 $content = sprintf(<<<EOF 308<?php 309 358 { 359 return $this->cacheDir.'/catalogue.'.$locale.'.'.strtr(substr(base64_encode(hash('sha256', serialize($this->cacheVary), true)), 0, 7), '/', '_').'.php'; 360 }HelperRegistryTest.php https://gitlab.com/18runt88/cakephp | PHP | 334 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 2.0.0 12 * @since 2.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 62 Plugin::unload(); 63 unset($this->Helpers, $this->View); 64 parent::tearDown();view.php https://github.com/joshuarubin/fuel_core.git | PHP | 423 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP5 framework. 4 * 9 * @copyright 2010 - 2011 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 18 * 19 * Acts as an object wrapper for HTML pages with embedded PHP, called "views". 20 * Variables can be assigned with the view object and referenced locally within 31 * @license http://kohanaframework.org/license 32 * @link http://fuelphp.com/docs/classes/view.html 33 */ 51 // File extension used for views 52 protected $extension = 'php'; 53Array.php https://github.com/Enrise/Zend.git | PHP | 355 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Array.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26// require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 112 if ($found) { 113 unset($this->_data[$name]); 114 } 148 */ 149 // require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist');%%0C^0C4^0C47B79C%%layout.tpl.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 146 lines
1<?php /* Smarty version 2.6.10, created on 2005-09-21 12:20:12 2 compiled from author/submission/layout.tpl */ ?> 2 compiled from author/submission/layout.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'author/submission/layout.tpl', 15, false),array('function', 'icon', 'author/submission/layout.tpl', 94, false),array('modifier', 'escape', 'author/submission/layout.tpl', 19, false),array('modifier', 'date_format', 'author/submission/layout.tpl', 33, false),array('modifier', 'default', 'author/submission/layout.tpl', 39, false),)), $this); ?> 5 6<?php $this->assign('layoutAssignment', $this->_tpl_vars['submission']->getLayoutAssignment()); $this->assign('layoutFile', $this->_tpl_vars['layoutAssignment']->getLayoutFile()); ?> 7<a name="layout"></a> 7<a name="layout"></a> 8<h3><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "submission.layout"), $this);?> 9</h3> 92 </tr> 93 <?php endif; unset($_from); ?> 94 <tr> 124 </tr> 125 <?php endif; unset($_from); ?> 126 <tr>filter.php https://github.com/plymouthstate/moodle.git | PHP | 226 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 123 if (empty($currentconcept)) { 124 unset($concepts[$key]); 125 continue; 132 if ($currentint && (strval($currentint) == $currentconcept) && $currentint < 1000) { 133 unset($concepts[$key]); 134 } 155 $href_tag_begin = '<a class="glossary autolink category glossaryid'.$concept->glossaryid.'" title="'.$title.'" '. 156 'href="'.$CFG->wwwroot.'/mod/glossary/view.php?g='.$concept->glossaryid. 157 '&mode=cat&hook='.$concept->id.'">'; 168 // a link that opens another popup. 169 $link = new moodle_url('/mod/glossary/showentry.php', array('courseid'=>$courseid, 'eid'=>$concept->id, 'displayformat'=>'dictionary')); 170 $attributes = array(Array.php https://github.com/Freeaqingme/ZF1_Lib.git | PHP | 355 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Array.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26// require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 112 if ($found) { 113 unset($this->_data[$name]); 114 } 148 */ 149 // require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist');ReCaptchaTest.php https://github.com/christophervalles/Zend-Framework-Skeleton.git | PHP | 294 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: ReCaptchaTest.php 24224 2011-07-12 17:45:49Z matthew $ 21 */ 23/** @see Zend_Service_ReCaptcha */ 24require_once 'Zend/Service/ReCaptcha.php'; 25 26/** @see Zend_Http_Client_Adapter_Test */ 27require_once 'Zend/Http/Client/Adapter/Test.php'; 28 29/** @see Zend_Config */ 30require_once 'Zend/Config.php'; 31 40 */ 41class Zend_Service_ReCaptcha_ReCaptchaTest extends PHPUnit_Framework_TestCase 42{SubmitTest.php https://github.com/christophervalles/Zend-Framework-Skeleton.git | PHP | 286 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: SubmitTest.php 24280 2011-07-28 18:39:33Z matthew $ 21 */ 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Form_Element_SubmitTest::main"); 26} 27 28require_once 'Zend/Form/Element/Submit.php'; 29require_once 'Zend/Form.php'; 53 54 $suite = new PHPUnit_Framework_TestSuite("Zend_Form_Element_SubmitTest"); 55 $result = PHPUnit_TextUI_TestRunner::run($suite); 265 { 266 if (strtolower(substr(PHP_OS, 0, 3)) == 'win' && version_compare(PHP_VERSION, '5.1.4', '=')) { 267 $this->markTestIncomplete('Error occurs for PHP 5.1.4 on Windows');backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
1<?PHP //$Id$ 2 //This php script contains all the stuff to backup/restore 87 $more_backup .= '$status = hotpot_backup_strings($bf, $record, $level, $status);'; 88 $more_backup .= 'unset($GLOBALS["hotpot_backup_string_ids"]);'; // tidy up 89 } 240 // $excluded_tags : fields which will NOT be backed up from the records 241 // $more_backup : optional PHP code to be eval(uated) for each record 242 // If any of the "fwrite" statements fail,override_form.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 266 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once($CFG->libdir . '/formslib.php'); 30 101 // Generate an error. 102 $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id)); 103 print_error('groupsnone', 'quiz', $link); 109 } 110 unset($groups); 111 154 // Generate an error. 155 $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id)); 156 print_error('usersnone', 'quiz', $link); 165 } 166 unset($users); 167index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 336 lines
1<?php 2 15 16require_once('../../../config.php'); 17require_once($CFG->libdir.'/adminlib.php'); 49 if (delete_user($user)) { 50 unset($SESSION->users_result[$id]); 51 echo json_encode(true); 66 if (delete_user($user)) { 67 unset($SESSION->users_result[$userid]); 68 } 76if (!empty($ignore)) { 77 unset($SESSION->users_result[$id]); 78 echo json_encode(true); 96 97<form method="post" action="index.php"> 98 <div>internal-link-aliases.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 310 lines
1<?php 2 229 else 230 unset($aliases[$saved_id]); 231promo_model.php https://bitbucket.org/gan_kwok_wei/th-wcms-sandbox.git | PHP | 431 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 2/** 3 * PHP 5 4 * 11 * 12 * @filesource promo_model.php 13 * @copyright Copyright 2011-2012, P.T. Green Lab Group. 67 function save_list_promo() { 68 unset($_POST['btnSave']); 69 foreach($_POST['sort'] as $id => $val) { 80 function save_promo() { 81 unset($_POST['action']); 82 unset($_POST['btnSave']); 88 case 'add': 89 unset($_POST['mode']); 90 if ($this->form_validation->run() != FALSE){// echo 'valid';ModelCode.php https://bitbucket.org/aagraz/yii.git | PHP | 429 lines
1<?php 2 52 return array( 53 'model.php', 54 ); 84 if(strpos($table->name,$this->tablePrefix)!==0) 85 unset($tables[$i]); 86 } 109 $this->files[]=new CCodeFile( 110 Yii::getPathOfAlias($this->modelPath).'/'.$className.'.php', 111 $this->render($templatePath.'/model.php', $params) 155 if($invalidTables!=array()) 156 $this->addError('tableName', 'Model class cannot take a reserved PHP keyword! Table name: '.implode(', ', $invalidTables)."."); 157 if($invalidColumns!=array()) 157 if($invalidColumns!=array()) 158 $this->addError('tableName', 'Column names that does not follow PHP variable naming convention: '.implode(', ', $invalidColumns)."."); 159 }ActionTest.php https://github.com/alab1001101/zf2.git | PHP | 313 lines
1<?php 2/** 43 */ 44class ActionTest extends \PHPUnit_Framework_TestCase 45{ 57 'SCRIPT_FILENAME' => __FILE__, 58 'PHP_SELF' => __FILE__, 59 ); 83 { 84 unset($this->request, $this->response, $this->helper); 85 $_SERVER = $this->_origServer;verify.php https://github.com/openemr/openemr.git | PHP | 197 lines
27$ignoreAuth_onsite_portal = true; 28require_once("../../interface/globals.php"); 29 29 30$landingpage = "../index.php?site=" . urlencode($_SESSION['site_id']); 31 88<head> 89 <title><?php echo xlt('New Patient'); ?> | <?php echo xlt('Register'); ?></title> 90 <meta name="description" content="Developed By sjpadgett@gmail.com" /> 129 <div class="text-center setup-content" id="step-1"> 130 <legend class="bg-primary text-white"><?php echo xlt('Contact Information') ?></legend> 131 <div class="jumbotron"> 133 <div class="form-group"> 134 <label class="col-form-label" for="selLanguage"><?php echo xlt('Language'); ?></label> 135 <select class="form-control" id="selLanguage" name="languageChoice">class-wp-admin-bar.php https://github.com/vidor/vidor.me.git | PHP | 474 lines
355 356 ?><div id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="ab-group-container"><?php 357 foreach ( $node->children as $group ) { 371 372 ?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $class ); ?>"><?php 373 foreach ( $node->children as $item ) { 400 401 <li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $menuclass ); ?>"><?php 402 if ( $has_link ): 402 if ( $has_link ): 403 ?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php 404 if ( ! empty( $node->meta['onclick'] ) ) : 416 if ( ! empty( $node->meta['title'] ) ) : 417 ?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php 418 endif;StatementPrefetch.php https://gitlab.com/reasonat/test8 | PHP | 537 lines
1<?php 2 175 // \Drupal\Core\Database\Driver\sqlite\Statement for an explanation. 176 unset($statement); 177 338 $this->currentKey = key($this->data); 339 unset($this->data[$this->currentKey]); 340 } 464 $result = array(); 465 // Traverse the array as PHP would have done. 466 while (isset($this->currentRow)) { 483 $result = array(); 484 // Traverse the array as PHP would have done. 485 while (isset($this->currentRow)) { 506 $result = array(); 507 // Traverse the array as PHP would have done. 508 while (isset($this->currentRow)) {shell.test.php https://github.com/cgajardo/repositorium.git | PHP | 501 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2006-2010, Cake Software Foundation, Inc. 15 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs 19 * @since CakePHP v 1.2.0.7726 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 370 371 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 372 $this->assertEqual($this->Shell->shortPath($path), $expected); 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411DeleteComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 355 lines
1<?php 2 5 */ 6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); 7 37 protected function _clear_post_action() { 38 unset($_POST['trash']); 39 unset($_POST['untrash']); 39 unset($_POST['untrash']); 40 unset($_POST['spam']); 41 unset($_POST['unspam']); 41 unset($_POST['unspam']); 42 unset($_POST['delete']); 43 $this->_last_response = ''; 71 $_POST['_page'] = 1; 72 $_POST['_url'] = admin_url( 'edit-comments.php' ); 73RegisterCompanyController.php https://gitlab.com/pedramkousari/soratjalase | PHP | 452 lines
1<?php namespace App\Http\Controllers\Customer; 2 208 $partner['xuser_partner_stock'] = $user['xuser_partner_stock']; 209 unset($user['xuser_partner_stock']); 210 $partner['xuser_partner_money'] = str_replace(',','',$user['xuser_partner_money']); 210 $partner['xuser_partner_money'] = str_replace(',','',$user['xuser_partner_money']); 211 unset($user['xuser_partner_money']); 212 213 $xuser_id = @$user['xuser_id'] ? $user['xuser_id'] : 0; 214 unset($user['xuser_id']); 215 $xuser_partnerid = @$user['xuser_partnerid'] ? $user['xuser_partnerid'] : 0; 215 $xuser_partnerid = @$user['xuser_partnerid'] ? $user['xuser_partnerid'] : 0; 216 unset($user['xuser_partnerid']); 217 241 $partner['xuser_partner_stock'] = $company['xuser_partner_stock']; 242 unset($company['xuser_partner_stock']); 243 $partner['xuser_partner_money'] = str_replace(',','',$company['xuser_partner_money']);functions.php https://bitbucket.org/jahmaiosullivan/seattledancehalltv.git | PHP | 321 lines
36 if(isset($fields['url'])) 37 unset($fields['url']); 38 118 <div class="entry nine columns"> 119 <h2 class="posts_title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> 120 <?php if ( has_post_thumbnail() && $featured_images == '1' && !is_single()) { 127 ?> 128 <?php if (!is_single()): ?> 129 <?php $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); 136 <figure class="gallery-thumb"> 137 <a href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a> 138 <br /><br /> 216 { 217 behavior: url('<?php echo get_template_directory_uri(); ?>/core/library/pie/PIE.php'); 218 }GetExtendedCampaignStats.php https://gitlab.com/i-have-a-green/digitemis-v3 | PHP | 535 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 505 /** 506 * Unsets offset. 507 * 511 */ 512 public function offsetUnset($offset) 513 { 513 { 514 unset($this->container[$offset]); 515 }DiffEngine.php https://gitlab.com/mohamed_hussein/prodt | PHP | 456 lines
1<?php 2 41 $this->xind = $this->yind = []; 42 unset($this->seq); 43 unset($this->in_seq); 43 unset($this->in_seq); 44 unset($this->lcs); 45url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 593 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 * 206 $atts[$key] = ( ! isset($attributes[$key])) ? $val : $attributes[$key]; 207 unset($attributes[$key]); 208 } 341 var l=new Array(); 342 <?php 343 $i = 0; 343 $i = 0; 344 foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?> 345 348 else document.write(unescape(l[i]));} 349 </script><?php 350EditorTest.php https://github.com/bobdevelop/testgithubrepository.git | PHP | 270 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: EditorTest.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 23// Call Zend_Dojo_Form_Element_EditorTest::main() if this source file is executed directly. 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Dojo_Form_Element_EditorTest::main"); 28/** Zend_Dojo_Form_Element_Editor */ 29require_once 'Zend/Dojo/Form/Element/Editor.php'; 30 31/** Zend_View */ 32require_once 'Zend/View.php'; 33 34/** Zend_Registry */ 35require_once 'Zend/Registry.php'; 36mysql.dbi.lib.php https://github.com/drbowen/openemr.git | PHP | 552 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-DBI 7 * @subpackage MySQL 8 */ 9if (! defined('PHPMYADMIN')) { 10 exit; 12 13require_once './libraries/logging.lib.php'; 14 26 ); 27 unset($client_api); 28} 73{ 74 // N.B.: PHP's 'mysql' extension does not support 75 // multi_queries so this function will alwaysPage.php https://bitbucket.org/baruffaldi/website-2008-computer-shopping-3.git | PHP | 395 lines
1<?php 2/** 25 */ 26require_once 'Zend/Cache/Core.php'; 27 197 if ($found) { 198 unset($this->_specificOptions['memorize_headers'][$found]); 199 }index.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 349 lines
1<?php 2require_once("../libs/Smarty.class.php"); 2require_once("../libs/Smarty.class.php"); 3require_once("controllers/is_logged.php"); 4$smarty = new Smarty(); 7if ( $err = $_SESSION["err"] ) { 8 unset($_SESSION["err"]); 9 $smarty -> assign("err", $err); 12if ( $values = $_SESSION["values"] ) { 13 unset($_SESSION["values"]); 14 $smarty -> assign("values", $values); 45 $smarty -> display("includes/adm_header.tpl"); 46 require_once ("config.php"); 47 $new_orders = mysql_query("SELECT COUNT(*) FROM orders WHERE status=0"); 58 $smarty -> assign("title", "Добавление нового изделия"); 59 include "config.php"; 60 $result = mysql_query("SELECT id, article FROM collections ORDER BY id");class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
1<?php 2// Load dependencies. 2// Load dependencies. 3require_once PO_INC_DIR . 'class-popup-base.php'; 4 158 $item = $popup->get_script_data( false ); 159 unset( $item['html'] ); 160 unset( $item['styles'] ); 230 * PopUp data is loaded via a normal WordPress ajax request, directed at 231 * the admin-ajax.php handler. 232 * 237 238 if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) { 239 // Data is loaded via a normal WordPress ajax request. 261 262 if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) { 263 /*Tabs.php https://gitlab.com/I-NOZex/quiz | PHP | 268 lines
1<?php 2/** 17 * 18 * ```php 19 * echo Tabs::widget([ 262 263 unset($item); 264 }Cloud.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 410 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tag/Item.php'; 27 112 $this->addPrefixPaths($options['prefixPath']); 113 unset($options['prefixPath']); 114 } 152 } else { 153 #require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 174 } else { 175 #require_once 'Zend/Tag/Cloud/Exception.php'; 176 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 203 if (null === $this->_tags) { 204 #require_once 'Zend/Tag/ItemList.php'; 205 $this->setItemList(new Zend_Tag_ItemList());Data.php https://github.com/sidealice/zf2.git | PHP | 520 lines
1<?php 2/** 199 if ($this->hasItem($id)) { 200 unset($this->_items[$id]); 201 } 324 } elseif (array_key_exists($key, $this->_metadata)) { 325 unset($this->_metadata[$key]); 326 } 451 /** 452 * ArrayAccess: unset value by offset 453 * 456 */ 457 public function offsetUnset($offset) 458 {componentbase.php https://gitlab.com/alexprowars/bitrix | PHP | 558 lines
1<?php 2 135 */ 136 protected function checkPermissionEditPhp() 137 { 141 { 142 $this->sendJsonResponse(new Error(Loc::getMessage('TRANSLATE_FILTER_ERROR_PHP_EDIT_RIGHTS'), self::STATUS_DENIED)); 143 } 145 { 146 $this->addError(new Error(Loc::getMessage('TRANSLATE_FILTER_ERROR_PHP_EDIT_RIGHTS'), self::STATUS_DENIED)); 147 $this->includeComponentTemplate(self::TEMPLATE_ERROR); 198 { 199 $params['SHOW_SOURCE_PATH'] = '/bitrix/admin/translate_show_php.php'; 200 } 202 { 203 $params['EDIT_SOURCE_PATH'] = '/bitrix/admin/translate_edit_php.php'; 204 }composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
14 */ 15require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 17define("HELP_FILE", "settings/composite_pages.php"); 18 114 { 115 unset($filter[$key]); 116 } 221 $messageCell = 222 '<a href="composite_diff.php?lang='.LANGUAGE_ID.'&log_id='.$record["ID"].'" target="_blank">'. 223 Loc::getMessage("MAIN_COMPOSITE_LOG_VIEW_DIFF").'</a>'; 235 { 236 $userCell = '<a href="user_edit.php?lang='.LANGUAGE_ID.'&ID=%s">%s</a>'; 237 $userName = \CUser::formatName(Profiler.php https://github.com/kervin/kyzstudio.git | PHP | 471 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 98 * disabled. If an integer is stored here, profiles whose elapsed time 99 * is less than this value in seconds will be unset from 100 * the self::$_queryProfiles array. 109 * any of the query type constants. When the query ends, if it is not 110 * one of the types specified, it will be unset from the 111 * self::$_queryProfiles array. 280 */ 281 #require_once 'Zend/Db/Profiler/Query.php'; 282 $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType); 308 */ 309 #require_once 'Zend/Db/Profiler/Exception.php'; 310 throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'.");shell.test.php https://github.com/cpfarher/pruebascake.git | PHP | 501 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2011, Cake Software Foundation, Inc. 15 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs 19 * @since CakePHP v 1.2.0.7726 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 370 371 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 372 $this->assertEqual($this->Shell->shortPath($path), $expected); 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411user_add3.php https://bitbucket.org/droidzone/i-mscp.git | PHP | 456 lines
177 $backup, $dns, $software_allowed, $phpini_system, $phpini_al_allow_url_fopen, 178 $phpini_al_display_errors, $phpini_al_disable_functions, $phpini_post_max_size, 179 $phpini_upload_max_filesize, $phpini_max_execution_time, 261 $php, $cgi, $backup, $dns, $software_allowed, 262 $phpini_system, $phpini_al_allow_url_fopen, 263 $phpini_al_display_errors, $phpini_al_disable_functions, $external_mail)); 285 $phpini->setData('phpiniSystem', 'yes'); 286 $phpini->setData('phpiniPostMaxSize', $phpini_post_max_size); 287 $phpini->setData('phpiniUploadMaxFileSize', $phpini_upload_max_filesize); 287 $phpini->setData('phpiniUploadMaxFileSize', $phpini_upload_max_filesize); 288 $phpini->setData('phpiniMaxExecutionTime', $phpini_max_execution_time); 289 $phpini->setData('phpiniMaxInputTime', $phpini_max_input_time); 289 $phpini->setData('phpiniMaxInputTime', $phpini_max_input_time); 290 $phpini->setData('phpiniMemoryLimit', $phpini_memory_limit); 291Cookie.php https://github.com/ibnoe/Microweber.git | PHP | 396 lines
1<?php 2/** 6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later 7 * @version $Id: Cookie.php 4302 2011-04-04 00:24:06Z vipsoft $ 8 * 118 * setcookie() replacement -- we don't use the built-in function because 119 * it is buggy for some PHP versions. 120 * 120 * 121 * @link http://php.net/setcookie 122 * 214 /** 215 * Load the cookie content into a php array. 216 * Parses the cookie string to extract the different variables. 245 $this->value = array(); 246 unset($_COOKIE[$this->name]); 247 break;Save.php https://gitlab.com/yousafsyed/easternglamor | PHP | 298 lines
1<?php 2/** 12/** 13 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 14 */ 98 if ($frontendInput != 'boolean' && $filteredData[$attributeCode] === false) { 99 unset($filteredData[$attributeCode]); 100 } 160 if (isset($addresses['_template_'])) { 161 unset($addresses['_template_']); 162 } 174 * @return \Magento\Backend\Model\View\Result\Redirect 175 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 176 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 176 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 177 * @SuppressWarnings(PHPMD.NPathComplexity) 178 */Media.php https://gitlab.com/yousafsyed/easternglamor | PHP | 356 lines
1<?php 2/** 48 * @return Product 49 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 50 * @SuppressWarnings(PHPMD.NPathComplexity) 124 * @return Product 125 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 126 * @SuppressWarnings(PHPMD.NPathComplexity) 147 $storeIds = array_flip($storeIds); 148 unset($storeIds[$storeId]); 149 $storeIds = array_keys($storeIds);