100+ results results for 'php array_merge' (1013 ms)
1<?php 2/** 230 231 $this->defaultProviders = $this->config->getSystemValue('enabledPreviewProviders', array_merge([ 232 'OC\Preview\MarkDown', 237 if (in_array('OC\Preview\Image', $this->defaultProviders)) { 238 $this->defaultProviders = array_merge($this->defaultProviders, $imageProviders); 239 }SlackRecord.php https://gitlab.com/madwanz64/laravel | PHP | 387 lines
1<?php declare(strict_types=1); 2 26 * 27 * @phpstan-import-type FormattedRecord from \Monolog\Handler\AbstractProcessingHandler 28 * @phpstan-import-type Record from \Monolog\Logger 123 * 124 * @phpstan-param FormattedRecord $record 125 * @phpstan-return mixed[] 140 if ($this->formatter && !$this->useAttachment) { 141 /** @phpstan-ignore-next-line */ 142 $message = $this->formatter->format($record); 178 // Add all extra fields as individual fields in attachment 179 $attachment['fields'] = array_merge( 180 $attachment['fields'], 362 * 363 * @phpstan-param FormattedRecord $record 364 *TargetVpnGateways.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 208 lines
1<?php 2/* 77 $params = array('project' => $project); 78 $params = array_merge($params, $optParams); 79 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetVpnGatewayAggregatedList"); 105 $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway); 106 $params = array_merge($params, $optParams); 107 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 121 $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway); 122 $params = array_merge($params, $optParams); 123 return $this->call('get', array($params), "Google_Service_Compute_TargetVpnGateway"); 150 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 151 $params = array_merge($params, $optParams); 152 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 204 $params = array('project' => $project, 'region' => $region); 205 $params = array_merge($params, $optParams); 206 return $this->call('list', array($params), "Google_Service_Compute_TargetVpnGatewayList");bookmark-template.php https://gitlab.com/VTTE/sitios-vtte | PHP | 324 lines
1<?php 2/** 258 foreach ( (array) $cats as $cat ) { 259 $params = array_merge( $parsed_args, array( 'category' => $cat->term_id ) ); 260 $bookmarks = get_bookmarks( $params );TargetTcpProxies.php https://gitlab.com/efabian/maya | PHP | 211 lines
1<?php 2/* 51 $params = array('project' => $project, 'targetTcpProxy' => $targetTcpProxy); 52 $params = array_merge($params, $optParams); 53 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 66 $params = array('project' => $project, 'targetTcpProxy' => $targetTcpProxy); 67 $params = array_merge($params, $optParams); 68 return $this->call('get', array($params), "Google_Service_Compute_TargetTcpProxy"); 94 $params = array('project' => $project, 'postBody' => $postBody); 95 $params = array_merge($params, $optParams); 96 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 147 $params = array('project' => $project); 148 $params = array_merge($params, $optParams); 149 return $this->call('list', array($params), "Google_Service_Compute_TargetTcpProxyList"); 177 $params = array('project' => $project, 'targetTcpProxy' => $targetTcpProxy, 'postBody' => $postBody); 178 $params = array_merge($params, $optParams); 179 return $this->call('setBackendService', array($params), "Google_Service_Compute_Operation");posts.php https://gitlab.com/Ltaimao/wecenter | PHP | 514 lines
1<?php 2/* 120 { 121 $data = array_merge($data, array( 122 'post_id' => intval($post_id), 503 { 504 $related_topic_ids = array_merge($related_topic_ids, $this->model('topic')->get_related_topic_ids_by_id($topic_id)); 505 }class.jetpack-sync-queue.php https://gitlab.com/hunt9310/ras | PHP | 459 lines
1<?php 2 270 $sql = "DELETE FROM $wpdb->options WHERE option_name IN (" . implode( ', ', array_fill( 0, count( $ids_to_remove ), '%s' ) ) . ')'; 271 $query = call_user_func_array( array( $wpdb, 'prepare' ), array_merge( array( $sql ), $ids_to_remove ) ); 272 $wpdb->query( $query ); 391 // at the same time 392 // TODO: confirm we only need to support PHP 5.05+ (otherwise we'll need to emulate microtime as float, and avoid PHP_INT_MAX) 393 // @see: http://php.net/manual/en/function.microtime.php 396 // row iterator is used to avoid collisions where we're writing data waaay fast in a single process 397 if ( $this->row_iterator === PHP_INT_MAX ) { 398 $this->row_iterator = 0;Yaml.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 381 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Yaml.php 24092 2011-05-31 02:43:28Z adamlundrigan $ 20 */ 24 */ 25require_once 'Zend/Config.php'; 26 101 if (!is_callable($yamlDecoder)) { 102 require_once 'Zend/Config/Exception.php'; 103 throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable'); 133 if (empty($yaml)) { 134 require_once 'Zend/Config/Exception.php'; 135 throw new Zend_Config_Exception('Filename is not set'); 173 if ($this->_loadFileErrorStr !== null) { 174 require_once 'Zend/Config/Exception.php'; 175 throw new Zend_Config_Exception($this->_loadFileErrorStr);MailerAbstract.php https://gitlab.com/VTTE/sitios-vtte | PHP | 467 lines
98 */ 99 public function process_phpmailer( $phpmailer ) { 100 103 ! $phpmailer instanceof MailCatcher && 104 ! $phpmailer instanceof \PHPMailer 105 ) { 108 109 $this->phpmailer = $phpmailer; 110 116 $this->set_headers( $this->phpmailer->getCustomHeaders() ); 117 $this->set_from( $this->phpmailer->From, $this->phpmailer->FromName ); 118 $this->set_recipients( 369 370 return version_compare( phpversion(), $options->get_php_version(), '>=' ); 371 }themes.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 329 lines
153 <h1><?php _e( 'Delete Theme' ); ?></h1> 154 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This theme may be active on other sites in the network.' ); ?></p></div> 155 <p><?php _e( 'You are about to remove the following theme:' ); ?></p> 157 <h1><?php _e( 'Delete Themes' ); ?></h1> 158 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These themes may be active on other sites in the network.' ); ?></p></div> 159 <p><?php _e( 'You are about to remove the following themes:' ); ?></p> 170 <p><?php _e( 'Are you sure you wish to delete this theme?' ); ?></p> 171 <?php else : ?> 172 <p><?php _e( 'Are you sure you wish to delete these themes?' ); ?></p> 269<div class="wrap"> 270<h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 271if ( $s ) 327 328<?php 329include(ABSPATH . 'wp-admin/admin-footer.php');Yaml.php https://bitbucket.org/kdms/sh-magento.git | PHP | 382 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Yaml.php 23294 2010-11-05 00:27:34Z ramon $ 20 */ 24 */ 25#require_once 'Zend/Config.php'; 26 101 if (!is_callable($yamlDecoder)) { 102 #require_once 'Zend/Config/Exception.php'; 103 throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable'); 133 if (empty($yaml)) { 134 #require_once 'Zend/Config/Exception.php'; 135 throw new Zend_Config_Exception('Filename is not set'); 173 if ($this->_loadFileErrorStr !== null) { 174 #require_once 'Zend/Config/Exception.php'; 175 throw new Zend_Config_Exception($this->_loadFileErrorStr);ModelCode.php https://bitbucket.org/pixelsandcodes/ios.git | PHP | 390 lines
1<?php 2 19 { 20 return array_merge(parent::rules(), array( 21 array('tablePrefix, baseClass, tableName, modelClass, modelPath', 'filter', 'filter'=>'trim'), 34 { 35 return array_merge(parent::attributeLabels(), array( 36 'tablePrefix'=>'Table Prefix', 47 return array( 48 'model.php', 49 ); 103 $this->files[]=new CCodeFile( 104 Yii::getPathOfAlias($this->modelPath).'/'.$className.'.php', 105 $this->render($templatePath.'/model.php', $params) 143 if($invalidColumns!=array()) 144 $this->addError('tableName',"Column names that does not follow PHP variable naming convention: ".implode(', ', $invalidColumns)."." ); 145 }Yaml.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 381 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Yaml.php 24594 2012-01-05 21:27:01Z matthew $ 20 */ 24 */ 25require_once 'Zend/Config.php'; 26 101 if (!is_callable($yamlDecoder)) { 102 require_once 'Zend/Config/Exception.php'; 103 throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable'); 133 if (empty($yaml)) { 134 require_once 'Zend/Config/Exception.php'; 135 throw new Zend_Config_Exception('Filename is not set'); 173 if ($this->_loadFileErrorStr !== null) { 174 require_once 'Zend/Config/Exception.php'; 175 throw new Zend_Config_Exception($this->_loadFileErrorStr);js.php https://gitlab.com/michield/dokuwiki | PHP | 378 lines
1<?php 2/** 12if(!defined('DOKU_DISABLE_GZIP_OUTPUT')) define('DOKU_DISABLE_GZIP_OUTPUT',1); // we gzip ourself here 13require_once(DOKU_INC.'inc/init.php'); 14 72 // add possible plugin scripts and userscript 73 $files = array_merge($files,js_pluginscripts()); 74 if(isset($config_cascade['userscript']['default'])){ 77 78 $cache_files = array_merge($files, getConfigFiles('main')); 79 $cache_files[] = __FILE__; 196 if (isset($lang)) unset($lang); 197 if (@file_exists(DOKU_PLUGIN."$p/lang/en/lang.php")) { 198 include DOKU_PLUGIN."$p/lang/en/lang.php"; 199 } 200 if (isset($conf['lang']) && $conf['lang']!='en' && @file_exists(DOKU_PLUGIN."$p/lang/".$conf['lang']."/lang.php")) { 201 include DOKU_PLUGIN."$p/lang/".$conf['lang']."/lang.php";FlattenException.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 297 lines
1<?php 2 16/** 17 * FlattenException wraps a PHP Exception to be able to serialize it. 18 * 57/** 58 * FlattenException wraps a PHP Exception to be able to serialize it. 59 * 83 $statusCode = $exception->getStatusCode(); 84 $headers = array_merge($headers, $exception->getHeaders()); 85 } 111 $exceptions = array(); 112 foreach (array_merge(array($this), $this->getAllPrevious()) as $exception) { 113 $exceptions[] = array( 279 $result[$key] = array('resource', get_resource_type($value)); 280 } elseif ($value instanceof \__PHP_Incomplete_Class) { 281 // Special case of object, is_object will return falseRelation.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 349 lines
1<?php 2 296 if (is_array($map)) { 297 static::$morphMap = $merge ? array_merge(static::$morphMap, $map) : $map; 298 }class.php https://gitlab.com/alexprowars/bitrix | PHP | 360 lines
97 98 $this->arResult['ACTION_URI'] = $this->getPath() . '/ajax.php'; 99 196 { 197 $filterValues = array_merge($filterValues, explode(",", $value)); 198 }entities.php https://gitlab.com/alexprowars/bitrix | PHP | 345 lines
1<?php 2/** 120 { 121 $sonetGroupsList = array_merge($sonetGroupsList, $sonetGroupsAdditionalList); 122 }ElementAnnotationsListener.php https://gitlab.com/yousafsyed/easternglamor | PHP | 445 lines
1<?php 2/** 100 if (isset($elementSpec['spec']['attributes'])) { 101 $elementSpec['spec']['attributes'] = array_merge( 102 $elementSpec['spec']['attributes'], 170 $specification['options'] = isset($specification['options']) ? $specification['options'] : array(); 171 $specification['options'] = array_merge($elementSpec['spec']['options'], $specification['options']); 172 } 434 if (is_array($elementSpec['spec']['options'])) { 435 return array_merge($elementSpec['spec']['options'], $annotation->getOptions()); 436 } 438 if ($elementSpec['spec']['options'] instanceof ArrayObject) { 439 return array_merge($elementSpec['spec']['options']->getArrayCopy(), $annotation->getOptions()); 440 }wpml-post-translation.class.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 367 lines
1<?php 2require ICL_PLUGIN_PATH . '/inc/post-translation/wpml-post-duplication.class.php'; 2require ICL_PLUGIN_PATH . '/inc/post-translation/wpml-post-duplication.class.php'; 3require 'wpml-post-synchronization.class.php'; 4require_once 'wpml-wordpress-actions.class.php'; 72 update_option( 'sticky_posts', 73 array_values( array_unique( array_filter( array_merge( $posts, $unfiltered ) ) ) ) ); 74 } 100 public function pre_update_option_sticky_posts( $posts ) { 101 $updated_sticky_list = array_values( array_unique( array_filter( array_merge( $posts, 102 $this->filtered_sticky_posts ) ) ) ); 240 } 241 require_once ICL_PLUGIN_PATH . '/inc/cache.php'; 242 icl_cache_clear( $post_vars['post_type'] . 's_per_language', true );class-button.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 377 lines
1<?php 2class FusionSC_Button { 301 302 $attr = array_merge( $attr, $animations ); 303HasManyThrough.php https://gitlab.com/MineYourMind/BoNeMEAL | PHP | 340 lines
1<?php namespace Illuminate\Database\Eloquent\Relations; 2 298 299 return array_merge($columns, [$this->parent->getTable().'.'.$this->firstKey]); 300 }completion_form.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 296 lines
1<?php 2 29 30require_once($CFG->libdir.'/formslib.php'); 31require_once($CFG->libdir.'/completionlib.php'); 95 $params_a = array('moduleinstance' => $activity->id); 96 $criteria = new completion_criteria_activity(array_merge($params, $params_a)); 97 $criteria->config_form_display($mform, $activity); 140 // Get category list. 141 require_once($CFG->libdir. '/coursecatlib.php'); 142 $list = coursecat::make_categories_list(); 259 $params_a = array('role' => $role->id); 260 $criteria = new completion_criteria_role(array_merge($params, $params_a)); 261 $criteria->config_form_display($mform, $role);PodsTermSplitting.php https://gitlab.com/najomie/ljm | PHP | 515 lines
1<?php 2 494 // Tack on the new data 495 $updated_progress = array_merge( $current_progress, array( $data ) ); 496OembedPlugin.php https://gitlab.com/BeS/io.schiessle.org | PHP | 358 lines
1<?php 2 6{ 7 // settings which can be set in config.php with addPlugin('Oembed', array('param'=>'value', ...)); 8 // WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings 22 23 $this->domain_whitelist = array_merge($this->domain_whitelist, $this->append_whitelist); 24 } 241 && (GNUsocial::isAjax() || common_config('attachments', 'show_html'))) { 242 require_once INSTALLDIR.'/extlib/HTMLPurifier/HTMLPurifier.auto.php'; 243 $purifier = new HTMLPurifier(); 256 // If we are on a private node, we won't do any remote calls (just as a precaution until 257 // we can configure this from config.php for the private nodes) 258 if (common_config('site', 'private')) { 341 $thumbnail->width = $info[0]; // array indexes documented on php.net: 342 $thumbnail->height = $info[1]; // https://php.net/manual/en/function.getimagesize.php 343 // Throws exception on failure.class-wp-admin-bar.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 473 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;Management.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 295 lines
1<?php 2/** 227 $months[0] = $this->__('Month'); 228 $months = array_merge($months, Mage::getSingleton('payment/config')->getMonths()); 229 $this->setData('cc_months', $months);Minifier.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 280 lines
1<?php 2 42 /** 43 * PHP5-style constructor 44 */ 122 case 'js': 123 w3_require_once(W3TC_LIB_MINIFY_DIR . '/JSMin.php'); 124 break; 126 case 'css': 127 w3_require_once(W3TC_LIB_MINIFY_DIR . '/Minify/CSS.php'); 128 break; 130 case 'yuijs': 131 w3_require_once(W3TC_LIB_MINIFY_DIR . '/Minify/YUICompressor.php'); 132 137 case 'yuicss': 138 w3_require_once(W3TC_LIB_MINIFY_DIR . '/Minify/YUICompressor.php'); 139provider_test.php https://bitbucket.org/moodle/moodle.git | PHP | 343 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 35/** 36 * Unit tests for cohort\classes\privacy\provider.php 37 * 208 $contexts[] = \context_user::instance($user1->id)->id; 209 $contexts = array_merge($contexts, $contextlist->get_contextids()); 210 $approvedcontextlist = new approved_contextlist($user1, 'cohort', $contexts);Forge.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 303 lines
65 * scanning the collections and grabbing the information from 66 * 'forge.php' files. 67 */ 78 // for any generator folders that have a 79 // 'forge.php' file. For each one found 80 // we build out another section in our help commands 94 95 include $path . $dir .'/forge.php'; 96 99 { 100 log_message('debug', '[Forge] Invalid forge.php file at: '. $path . $dir .'/forge.php'); 101 continue; 249 { 250 log_message('debug', '[Forge] Invalid forge.php file at: '. $dir .'/forge.php'); 251 continue;Oauth.php https://gitlab.com/ViniciusP/project-games | PHP | 262 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 9 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @link http://cakephp.org CakePHP(tm) Project 11 * @since 3.0.0 11 * @since 3.0.0 12 * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 */ 203 { 204 $query = parse_url($request->url(), PHP_URL_QUERY); 205 parse_str($query, $queryArgs); 213 214 $args = array_merge($queryArgs, $oauthValues, $post); 215 uksort($args, 'strcmp');ShowMapperTest.php https://gitlab.com/cuza/Clinic_Recods | PHP | 412 lines
1<?php 2 25 */ 26class ShowMapperTest extends \PHPUnit_Framework_TestCase 27{ 74 75 // php 5.3 BC 76 $groups = &$this->groups; 94 $showGroups = $groups; 95 $showGroups[$group]['fields'] = array_merge(array_flip($keys), $showGroups[$group]['fields']); 96 $groups = $showGroups; 100 101 // php 5.3 BC 102 $fieldDescription = $this->getFieldDescriptionMock();PredisClusterHashStrategy.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 389 lines
1<?php 2 288 $arguments = $command->getArguments(); 289 $keys = array_merge(array($arguments[0]), array_slice($arguments, 2, $arguments[1])); 290SqliteSchema.php https://gitlab.com/ViniciusP/project-games | PHP | 451 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 3.0.0 12 * @since 3.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 150 ]; 151 $constraint['columns'] = array_merge($constraint['columns'], [$row['name']]); 152 $table->addConstraint('primary', $constraint); 409 { 410 $lines = array_merge($columns, $constraints); 411 $content = implode(",\n", array_filter($lines));LayoutProcessor.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 257 lines
1<?php 2/** 143 ['payment']['children']['payments-list']['children'] = 144 array_merge_recursive( 145 $jsLayout['components']['checkout']['children']['steps']['children']['billing-step']['children']DateTimeToStringTransformer.php https://gitlab.com/matijabelec/bigpandadev | PHP | 231 lines
1<?php 2 35 * Different than the {@link $generateFormat} because formats for parsing 36 * support additional characters in PHP that are not supported for 37 * generating strings. 45 * 46 * This only works as of PHP 5.3.7. 47 * 71 72 // See http://php.net/manual/en/datetime.createfromformat.php 73 // The character "|" in the format makes sure that the parts of a date 90 * 91 * @return string A value as produced by PHP's date() function 92 * 122 * 123 * @param string $value A value as produced by PHP's date() function 124 *backend_buyermarketplace.php https://gitlab.com/Toldierone/ReClop | PHP | 288 lines
1<?php 2include_once("allfunctions.php"); 3$nationinfo = needsnation(); 4$getpost = array_merge($_GET, $_POST); 5foreach ($getpost as $key => $value) { 200 $buyermessage =<<<EOFORM 201You bought {$sellingamount} {$rs['name']} from <a href="viewnation.php?nation_id={$_SESSION['nation_id']}"><span class="text-success">{$nationinfo['name']}</span></a> for {$displaycost} bits @{$displayprice} a piece. 202EOFORM; 204 $buyermessage =<<<EOFORM 205You bought {$sellingamount} {$rs['name']} from <a href="viewnation.php?nation_id={$_SESSION['nation_id']}">{$nationinfo['name']}</a> for {$displaycost} bits @{$displayprice} a piece. 206EOFORM; 212 $infos[] =<<<EOFORM 213You sold {$sellingamount} {$rs['name']} to <a href="viewnation.php?nation_id={$mysql['sellingto_id']}">{$rs['nationname']}</a> for {$displayprice} bits a piece and made {$displaynewfunds} bits. 214EOFORM; 216 $sellermessage =<<<EOFORM 217You sold {$sellingamount} {$rs['name']} to <a href="viewnation.php?nation_id={$mysql['sellingto_id']}"><span class="text-success">{$rs['nationname']}</span></a> for {$displayprice} bits a piece and made {$displaynewfunds} bits. 218EOFORM;EsmtpTransport.php https://gitlab.com/7slayer/h-node | PHP | 340 lines
1<?php 2 10 11//@require 'Swift/Transport/AbstractSmtpTransport.php'; 12//@require 'Swift/Transport/EsmtpHandler.php'; 12//@require 'Swift/Transport/EsmtpHandler.php'; 13//@require 'Swift/Transport/IoBuffer.php'; 14//@require 'Swift/Transport/SmtpAgent.php'; 14//@require 'Swift/Transport/SmtpAgent.php'; 15//@require 'Swift/TransportException.php'; 16//@require 'Swift/Mime/Message.php'; 16//@require 'Swift/Mime/Message.php'; 17//@require 'Swift/Events/EventDispatcher.php'; 18 262 { 263 $params = array_merge($params, (array) $handler->getMailParams()); 264 }PhpRedisConnection.php https://gitlab.com/madwanz64/laravel | PHP | 557 lines
1<?php 2 14 */ 15class PhpRedisConnection extends Connection implements ConnectionContract 16{ 31 /** 32 * Create a new PhpRedis connection. 33 * 228 229 return $this->command('zadd', array_merge([$key], [$options], array_values($dictionary))); 230 }Store.php https://gitlab.com/ealexis.t/trends | PHP | 707 lines
1<?php 2 107 { 108 $this->attributes = array_merge($this->attributes, $this->readFromHandler()); 109 109 110 foreach (array_merge($this->bags, [$this->metaBag]) as $bag) { 111 $this->initializeLocalBag($bag); 284 { 285 foreach (array_merge($this->bags, [$this->metaBag]) as $bag) { 286 $key = $bag->getStorageKey(); 492 { 493 $values = array_unique(array_merge($this->get('flash.new', []), $keys)); 494ProjectsLocationsAgentsFlowsTransitionRouteGroups.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 169 lines
1<?php 2/* 57 $params = ['parent' => $parent, 'postBody' => $postBody]; 58 $params = array_merge($params, $optParams); 59 return $this->call('create', [$params], GoogleCloudDialogflowCxV3TransitionRouteGroup::class); 81 $params = ['name' => $name]; 82 $params = array_merge($params, $optParams); 83 return $this->call('delete', [$params], GoogleProtobufEmpty::class); 104 $params = ['name' => $name]; 105 $params = array_merge($params, $optParams); 106 return $this->call('get', [$params], GoogleCloudDialogflowCxV3TransitionRouteGroup::class); 132 $params = ['parent' => $parent]; 133 $params = array_merge($params, $optParams); 134 return $this->call('list', [$params], GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse::class); 162 $params = ['name' => $name, 'postBody' => $postBody]; 163 $params = array_merge($params, $optParams); 164 return $this->call('patch', [$params], GoogleCloudDialogflowCxV3TransitionRouteGroup::class);BuyersFinalizedDeals.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 176 lines
1<?php 2/* 55 $params = ['deal' => $deal, 'postBody' => $postBody]; 56 $params = array_merge($params, $optParams); 57 return $this->call('addCreative', [$params], FinalizedDeal::class); 69 $params = ['name' => $name]; 70 $params = array_merge($params, $optParams); 71 return $this->call('get', [$params], FinalizedDeal::class); 111 $params = ['parent' => $parent]; 112 $params = array_merge($params, $optParams); 113 return $this->call('list', [$params], ListFinalizedDealsResponse::class); 129 $params = ['name' => $name, 'postBody' => $postBody]; 130 $params = array_merge($params, $optParams); 131 return $this->call('pause', [$params], FinalizedDeal::class); 148 $params = ['name' => $name, 'postBody' => $postBody]; 149 $params = array_merge($params, $optParams); 150 return $this->call('resume', [$params], FinalizedDeal::class);PrettyPageHandler.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 333 lines
1<?php 2/** 2/** 3 * Whoops - php errors for cool kids 4 * @author Filipe Dobreira <http://github.com/filp> 70 // @todo: make this more robust 71 if(php_sapi_name() === 'cli' && !isset($_ENV['whoops-test'])) { 72 return Handler::DONE; 74 75 // Get the 'pretty-template.php' template file 76 // @todo: this can be made more dynamic &&|| cleaned-up 80 81 $templateFile = "$resources/pretty-template.php"; 82 117 // Add extra entries list of data tables: 118 $v->tables = array_merge($extraTables, $v->tables); 119ResourceLoaderStartUpModule.php https://gitlab.com/link233/bootmw | PHP | 415 lines
1<?php 2/** 77 'wgScriptPath' => $conf->get( 'ScriptPath' ), 78 'wgScriptExtension' => '.php', 79 'wgScript' => wfScript(), 145 // Recursively get the dependencies of the dependencies 146 $dependencyCache[$moduleName] = array_merge( 147 $dependencyCache[$moduleName], 228 // Module implementation either broken or deviated from ResourceLoader::makeHash 229 // Asserted by tests/phpunit/structure/ResourcesTest. 230 $versionHash = ResourceLoader::makeHash( $versionHash );CdnEngine_S3_Compatible.php https://gitlab.com/karlen/ayo_wp | PHP | 345 lines
1<?php 2namespace W3TC; 8if ( !class_exists( 'S3' ) ) { 9 require_once W3TC_LIB_DIR . '/S3.php'; 10} 21 /** 22 * PHP5 Constructor 23 * 26 function __construct( $config = array() ) { 27 $config = array_merge( array( 28 'key' => '', 188 $headers = $this->_get_headers( $file ); 189 $headers = array_merge( $headers, array( 190 'Vary' => 'Accept-Encoding',template-tags.php https://gitlab.com/oresticouci/ablSportsConsulting | PHP | 232 lines
27 28 <?php if ( get_previous_posts_link() ) : ?> 29 <div class="nav-next"><?php previous_posts_link( __( '<span class="meta-nav">←</span> Newer posts', 'panoramic' ) ); ?></div> 170 171 <li id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>> 172 <div class="comment-body"> 172 <div class="comment-body"> 173 <?php _e( 'Pingback:', 'panoramic' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit', 'panoramic' ), '<span class="edit-link">', '</span>' ); ?> 174 </div> 175 176 <?php else : ?> 177 177 178 <li id="comment-<?php comment_ID(); ?>" <?php comment_class( empty( $args['has_children'] ) ? '' : 'parent' ); ?>> 179 <article id="div-comment-<?php comment_ID(); ?>" class="comment-body">arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 * 446 // Indexed arrays are merged to prevent duplicates 447 $result[$key] = array_merge($result[$key], $diff); 448 } 584 { 585 $flat = array_merge($flat, Arr::flatten($value)); 586 }DateTimeToStringTransformer.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 232 lines
1<?php 2 35 * Different than the {@link $generateFormat} because formats for parsing 36 * support additional characters in PHP that are not supported for 37 * generating strings. 45 * 46 * This only works as of PHP 5.3.7. 47 * 69 70 // The pipe in the parser pattern only works as of PHP 5.3.7 71 // See http://bugs.php.net/54316 72 $this->parseUsingPipe = null === $parseUsingPipe 73 ? PHP_VERSION_ID >= 50307 74 : $parseUsingPipe; 75 76 // See http://php.net/manual/en/datetime.createfromformat.php 77 // The character "|" in the format makes sure that the parts of a dateCoursesCourseWork.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 223 lines
1<?php 2/* 55 $params = array('courseId' => $courseId, 'postBody' => $postBody); 56 $params = array_merge($params, $optParams); 57 return $this->call('create', array($params), "Google_Service_Classroom_CourseWork"); 83 $params = array('courseId' => $courseId, 'id' => $id); 84 $params = array_merge($params, $optParams); 85 return $this->call('delete', array($params), "Google_Service_Classroom_ClassroomEmpty"); 105 $params = array('courseId' => $courseId, 'id' => $id); 106 $params = array_merge($params, $optParams); 107 return $this->call('get', array($params), "Google_Service_Classroom_CourseWork"); 147 $params = array('courseId' => $courseId); 148 $params = array_merge($params, $optParams); 149 return $this->call('list', array($params), "Google_Service_Classroom_ListCourseWorkResponse"); 173 $params = array('courseId' => $courseId, 'id' => $id, 'postBody' => $postBody); 174 $params = array_merge($params, $optParams); 175 return $this->call('modifyAssignees', array($params), "Google_Service_Classroom_CourseWork");RuntimeDefinition.php https://gitlab.com/jalon/doadoronline | PHP | 353 lines
1<?php 2/** 234 do { 235 $supertypes = array_merge($supertypes, $rTarget->getInterfaceNames()); 236 if (!($rTargetParent = $rTarget->getParentClass())) {Command.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 512 lines
1<?php 2 176 177 $this->definition->setArguments(array_merge( 178 $this->application->getDefinition()->getArguments(), 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );em-calendar.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 381 lines
1<?php 2class EM_Calendar extends EM_Object { 93 $offset_correction = array_slice($num_days_last_array, -$offset, $offset); 94 $new_count = array_merge($offset_correction, $num_days_array); 95 $offset_count = count($offset_correction); 301 $calendar_array = self::get($args); 302 $template = (!empty($args['full'])) ? 'templates/calendar-full.php':'templates/calendar-small.php'; 303 ob_start();MassConvertRecord.php https://gitlab.com/e0/X2CRM | PHP | 220 lines
1<?php 2/*********************************************************************************** 78 public function getPackages () { 79 return array_merge (parent::getPackages (), array ( 80 'MassConvertRecordJS' => array(base-route.php https://gitlab.com/ebrjose/comcebu | PHP | 380 lines
1<?php 2namespace Elementor\Data\V2\Base; 210 if ( ! in_array( $methods, self::AVAILABLE_METHODS, true ) ) { 211 trigger_error( "Invalid method: '$methods'.", E_USER_ERROR ); // phpcs:ignore 212 } 279 280 $args = array_merge( [ 281 $this->id_arg_name => [PhpWriter.php https://gitlab.com/kubinos/writeoff | PHP | 393 lines
1<?php 2 11/** 12 * PHP code generator helpers. 13 */ 13 */ 14class PhpWriter extends Object 15{ 114 /** 115 * Formats macro arguments to PHP code. (It advances tokenizer to the end as a side effect.) 116 * @return string 126 /** 127 * Formats macro arguments to PHP array. (It advances tokenizer to the end as a side effect.) 128 * @return string 139 /** 140 * Formats parameter to PHP string. 141 * @param stringClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
1<?php 2 39 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @see https://www.php-fig.org/psr/psr-0/ 41 * @see https://www.php-fig.org/psr/psr-4/ 71 if (!empty($this->prefixesPsr0)) { 72 return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); 73 } 103 if ($this->classMap) { 104 $this->classMap = array_merge($this->classMap, $classMap); 105 } else { 121 if ($prepend) { 122 $this->fallbackDirsPsr0 = array_merge( 123 (array) $paths, 126 } else { 127 $this->fallbackDirsPsr0 = array_merge( 128 $this->fallbackDirsPsr0,Services.php https://gitlab.com/efabian/maya | PHP | 281 lines
1<?php 2/* 47 $params = array('postBody' => $postBody); 48 $params = array_merge($params, $optParams); 49 return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation"); 67 $params = array('serviceName' => $serviceName); 68 $params = array_merge($params, $optParams); 69 return $this->call('delete', array($params), "Google_Service_ServiceManagement_Operation"); 86 $params = array('serviceName' => $serviceName, 'postBody' => $postBody); 87 $params = array_merge($params, $optParams); 88 return $this->call('disable', array($params), "Google_Service_ServiceManagement_Operation"); 105 $params = array('serviceName' => $serviceName, 'postBody' => $postBody); 106 $params = array_merge($params, $optParams); 107 return $this->call('enable', array($params), "Google_Service_ServiceManagement_Operation"); 127 $params = array('postBody' => $postBody); 128 $params = array_merge($params, $optParams); 129 return $this->call('generateConfigReport', array($params), "Google_Service_ServiceManagement_GenerateConfigReportResponse");BaseAuthenticate.php https://gitlab.com/0072016/0072016-fbphp | PHP | 251 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 * @license http://www.opensource.org/licenses/mit-license.php MIT License 143 if (!empty($config['scope'])) { 144 $options['conditions'] = array_merge($options['conditions'], $config['scope']); 145 }ProjectsLocationsDatasetsHl7V2Stores.php https://gitlab.com/efabian/maya | PHP | 187 lines
1<?php 2/* 42 $params = array('parent' => $parent, 'postBody' => $postBody); 43 $params = array_merge($params, $optParams); 44 return $this->call('create', array($params), "Google_Service_CloudHealthcare_Hl7V2Store"); 56 $params = array('name' => $name); 57 $params = array_merge($params, $optParams); 58 return $this->call('delete', array($params), "Google_Service_CloudHealthcare_HealthcareEmpty"); 69 $params = array('name' => $name); 70 $params = array_merge($params, $optParams); 71 return $this->call('get', array($params), "Google_Service_CloudHealthcare_Hl7V2Store"); 99 $params = array('resource' => $resource); 100 $params = array_merge($params, $optParams); 101 return $this->call('getIamPolicy', array($params), "Google_Service_CloudHealthcare_Policy"); 122 $params = array('parent' => $parent); 123 $params = array_merge($params, $optParams); 124 return $this->call('list', array($params), "Google_Service_CloudHealthcare_ListHl7V2StoresResponse");template.php https://bitbucket.org/frazras/higgler.git | PHP | 384 lines
1<?php 2 254 255 $vars = array_merge($vars, $temporary); 256}CakeTestFixtureTest.php https://gitlab.com/digaotinfo/abear.com.br | PHP | 499 lines
1<?php 2/** 4 * 5 * PHP 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests 15 * @package Cake.Test.Case.TestSuite 15 * @package Cake.Test.Case.TestSuite 16 * @since CakePHP(tm) v 1.2.0.4667 17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 334 $testSuiteConfig = $testSuiteDb->config; 335 ConnectionManager::create('new_test_suite', array_merge($testSuiteConfig, array('prefix' => 'new_' . $testSuiteConfig['prefix']))); 336 $newTestSuiteDb = ConnectionManager::getDataSource('new_test_suite');Comparator.php https://bitbucket.org/cryofrost/portal.git | PHP | 378 lines
1<?php 2/* 26 * @license http://ez.no/licenses/new_bsd New BSD License 27 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 28 * @link www.doctrine-project.org 92 if (isset($foreignKeysToTable[$tableName])) { 93 $diff->orphanedForeignKeys = array_merge($diff->orphanedForeignKeys, $foreignKeysToTable[$tableName]); 94 }Files.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 311 lines
1<?php 2/* 65 $params = ['fileId' => $fileId, 'postBody' => $postBody]; 66 $params = array_merge($params, $optParams); 67 return $this->call('copy', [$params], DriveFile::class); 99 $params = ['postBody' => $postBody]; 100 $params = array_merge($params, $optParams); 101 return $this->call('create', [$params], DriveFile::class); 121 $params = ['fileId' => $fileId]; 122 $params = array_merge($params, $optParams); 123 return $this->call('delete', [$params]); 136 $params = []; 137 $params = array_merge($params, $optParams); 138 return $this->call('emptyTrash', [$params]); 152 $params = ['fileId' => $fileId, 'mimeType' => $mimeType]; 153 $params = array_merge($params, $optParams); 154 return $this->call('export', [$params]);FormFactory.php https://gitlab.com/fbi/radyo-api-server | PHP | 412 lines
1<?php 2 228 $defaultOptions = $type->getDefaultOptions($options); 229 $optionValues = array_merge_recursive($optionValues, $type->getAllowedOptionValues($options)); 230 232 $defaultOptions = array_replace($defaultOptions, $typeExtension->getDefaultOptions($options)); 233 $optionValues = array_merge_recursive($optionValues, $typeExtension->getAllowedOptionValues($options)); 234 } 236 $options = array_replace($defaultOptions, $options); 237 $knownOptions = array_merge($knownOptions, array_keys($defaultOptions)); 238 array_unshift($types, $type); 316 if ($maxLengthGuess) { 317 $options = array_merge(array('max_length' => $maxLengthGuess->getValue()), $options); 318 } 321 if ($maxLengthGuess) { 322 $options = array_merge(array('pattern' => '.{'.$minLengthGuess->getValue().','.$maxLengthGuess->getValue().'}'), $options); 323 } else {DefaultTableMapping.php https://gitlab.com/guillaumev/alkarama | PHP | 396 lines
1<?php 2 95 public function getTableNames() { 96 return array_unique(array_merge(array_keys($this->fieldNames), array_keys($this->extraColumns))); 97 } 106 foreach ($this->getFieldNames($table_name) as $field_name) { 107 $this->allColumns[$table_name] = array_merge($this->allColumns[$table_name], array_values($this->getColumnNames($field_name))); 108 } 114 // positioned last. 115 $this->allColumns[$table_name] = array_merge($this->getExtraColumns($table_name), $this->allColumns[$table_name]); 116 } 117 else { 118 $this->allColumns[$table_name] = array_merge($this->allColumns[$table_name], $this->getExtraColumns($table_name)); 119 } 301 $revision_tables = array_map(function($definition) use ($table_mapping) { return $table_mapping->getDedicatedRevisionTableName($definition); }, $definitions); 302 $dedicated_tables = array_merge(array_values($data_tables), array_values($revision_tables)); 303 return $dedicated_tables;class-wp-admin-bar.php https://gitlab.com/Gashler/dp | PHP | 492 lines
357 <?php if ( is_user_logged_in() ) : ?> 358 <a class="screen-reader-shortcut" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e('Log Out'); ?></a> 359 <?php endif; ?> 387 388 ?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $class; ?>><?php 389 foreach ( $node->children as $item ) { 419 420 <li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $menuclass; ?>><?php 421 if ( $has_link ): 421 if ( $has_link ): 422 ?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php 423 if ( ! empty( $node->meta['onclick'] ) ) : 423 if ( ! empty( $node->meta['onclick'] ) ) : 424 ?> onclick="<?php echo esc_js( $node->meta['onclick'] ); ?>"<?php 425 endif;ConfigFileFinder.php https://gitlab.com/akbaryu/intro_magang_web | PHP | 262 lines
1<?php 2/** 77 foreach ($paths as $folder) { 78 $list = array_merge_recursive($list, $this->detectAll($folder, $pattern, $levels)); 79 }Feed.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 340 lines
1<?php 2/*+*********************************************************************************** 10 11vimport ('~~/include/Webservices/Query.php'); 12 84 $query .= " OR vtiger_crmentity.smownerid IN (".generateQuestionMarks($groupIds).") "; 85 $params = array_merge($params, $groupIds); 86 } 91 " OR vtiger_crmentity.smownerid IN (".generateQuestionMarks($currentUsergroupIds).")) "; 92 $params = array_merge($params, $currentUsergroupIds); 93 } else { 110 $item['title'] = decode_html($record['subject']) . ' - (' . vtranslate($record['eventstatus'],'Calendar') . ')'; 111 $item['url'] = sprintf('index.php?module=Calendar&view=Detail&record=%s', $crmid); 112 } 176 $item['end'] = $record['due_date']; 177 $item['url'] = sprintf('index.php?module=Calendar&view=Detail&record=%s', $crmid); 178 $item['className'] = $cssClass;Collection.php https://bitbucket.org/kdms/sh-magento.git | PHP | 491 lines
1<?php 2/** 141 $productIds = $optionCollection->getProductIds(); 142 $this->_productIds = array_merge($this->_productIds, $productIds); 143 169 170 $this->_productIds = array_merge($this->_productIds, array_keys($productIds)); 171 $attributes = Mage::getSingleton('wishlist/config')->getProductAttributes(); 353 * wishlist product collection 354 * - this method is useless because we can calculate days in php, and don't use MySQL for it 355 *Process.php https://bitbucket.org/kdms/sh-magento.git | PHP | 451 lines
1<?php 2/** 127 if (strpos(str_replace($this->_includeDir, '', $target), '-') 128 || !in_array(substr($source, strlen($source)-4, 4), array('.php'))) { 129 return $this; 199 } else { 200 if (!in_array(substr($source, strlen($source)-4, 4), array('.php'))) { 201 return $this; 296 } 297 $arrFiles[$code] = array_merge($arrFiles[$code], $statClasses); 298 $arrFiles[$code] = array_unique($arrFiles[$code]); 334 $classesSorce = $this->_getClassesSourceCode($classes, $code); 335 file_put_contents($this->_includeDir.DS.Varien_Autoload::SCOPE_FILE_PREFIX.$code.'.php', $classesSorce); 336 } 369 370 $classesSource = "<?php\n"; 371 foreach ($sortedClasses as $className) {HTMLModuleManager.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 403 lines
1<?php 2 78 'HTML 4.01 Transitional', false, 79 array_merge($common, $transitional, $non_xml), 80 array('Tidy_Transitional', 'Tidy_Proprietary'), 87 'HTML 4.01 Strict', false, 88 array_merge($common, $non_xml), 89 array('Tidy_Strict', 'Tidy_Proprietary', 'Tidy_Name'), 96 'XHTML 1.0 Transitional', true, 97 array_merge($common, $transitional, $xml, $non_xml), 98 array('Tidy_Transitional', 'Tidy_XHTML', 'Tidy_Proprietary', 'Tidy_Name'), 105 'XHTML 1.0 Strict', true, 106 array_merge($common, $xml, $non_xml), 107 array('Tidy_Strict', 'Tidy_XHTML', 'Tidy_Strict', 'Tidy_Proprietary', 'Tidy_Name'), 114 'XHTML 1.1', true, 115 array_merge($common, $xml, array('Ruby')), 116 array('Tidy_Strict', 'Tidy_XHTML', 'Tidy_Proprietary', 'Tidy_Strict', 'Tidy_Name'), // Tidy_XHTML1_1Plugin.php https://gitlab.com/vannh/portal_training | PHP | 392 lines
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 66 * 67 * Will load the bootstrap.php and routes.php files. 68 * 70 * 71 * Will load routes.php file but not bootstrap.php 72 * 190 191 $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DS . 'cakephp-plugins.php'; 192 if (!file_exists($vendorFile)) {Collection.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 717 lines
1<?php namespace Illuminate\Support; 2 67 { 68 $results = array_merge($results, $values); 69 } 283 { 284 return new static(array_merge($this->items, $this->getArrayableItems($items))); 285 }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. 444 $replaced = true; 445 self::$sc[ $name ]['params'][ $index ] = array_merge( $param, $attribute ); 446 } 541 /** 542 * Sorting method for WPBMap::generateUserData method. Called by usort php function. 543 * @deprecated - use Vc_Sort::sortByKey since 4.4Class.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 328 lines
38 * @subpackage Util_Skeleton 39 * @author Sebastian Bergmann <sebastian@phpunit.de> 40 * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> 40 * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> 41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 42 * @link http://www.phpunit.de/ 45 46require_once ( PHPU_BASE_PATH . '/Text/Template.php' ); 47 52 * @subpackage Util_Skeleton 53 * @author Sebastian Bergmann <sebastian@phpunit.de> 54 * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> 59 */ 60class PHPUnit_Util_Skeleton_Class extends PHPUnit_Util_Skeleton 61{DefinitionList.php https://gitlab.com/yousafsyed/easternglamor | PHP | 352 lines
1<?php 2/** 67 } 68 $this->classes = array_merge($this->classes, $this->getDefinitionClassMap($definition)); 69 return $result; 77 } 78 $this->classes = array_merge($this->getDefinitionClassMap($definition), $this->classes); 79 return $result; 186 if ($definition->hasClass($class)) { 187 $supertypes = array_merge($supertypes, $definition->getClassSupertypes($class)); 188 if ($definition instanceof Definition\PartialMarker) { 305 if (!$definition instanceof Definition\PartialMarker) { 306 return array_merge($definition->getMethods($class), $methods); 307 } 308 309 $methods = array_merge($definition->getMethods($class), $methods); 310 }ConfigHandler.php https://gitlab.com/reasonat/test8 | PHP | 280 lines
1<?php 2 120 if (isset($base_fields[$item['table'] . '.' . $item['field']])) { 121 $relationship_options = array_merge(array('none' => $this->t('Do not use a relationship')), $relationship_options); 122 }Relyingparty.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 292 lines
1<?php 2/* 38 $params = array('postBody' => $postBody); 39 $params = array_merge($params, $optParams); 40 return $this->call('createAuthUri', array($params), "Google_Service_IdentityToolkit_CreateAuthUriResponse"); 51 $params = array('postBody' => $postBody); 52 $params = array_merge($params, $optParams); 53 return $this->call('deleteAccount', array($params), "Google_Service_IdentityToolkit_DeleteAccountResponse"); 64 $params = array('postBody' => $postBody); 65 $params = array_merge($params, $optParams); 66 return $this->call('downloadAccount', array($params), "Google_Service_IdentityToolkit_DownloadAccountResponse"); 77 $params = array('postBody' => $postBody); 78 $params = array_merge($params, $optParams); 79 return $this->call('emailLinkSignin', array($params), "Google_Service_IdentityToolkit_EmailLinkSigninResponse"); 90 $params = array('postBody' => $postBody); 91 $params = array_merge($params, $optParams); 92 return $this->call('getAccountInfo', array($params), "Google_Service_IdentityToolkit_GetAccountInfoResponse");view.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 265 lines
1<?php 2 15 16$this->breadcrumbs = array_merge( 17 [Yii::t("StoreModule.store", 'Catalog') => ['/store/product/index']], 47 </div> 48 <?php foreach ($product->getImages() as $key => $image): { ?> 49 <div class="col-xs-4 col-md-4"> 55 </div> 56 <?php } endforeach; ?> 57 </div> 61 62 <?php if($product->isInStock()):?> 63 <span class="label label-success"><?= Yii::t("StoreModule.store", "In stock");?></span> 63 <span class="label label-success"><?= Yii::t("StoreModule.store", "In stock");?></span> 64 <?php if($product->quantity):?> 65 <span><?= $product->quantity; ?> <?= Yii::t("StoreModule.store", "in stock"); ?></span>Module.php https://gitlab.com/matijabelec/bigpandadev | PHP | 408 lines
1<?php 2 50 /** 51 * Compiles the node to PHP. 52 * 66 if (!$this->getAttribute('index')) { 67 $compiler->write('<?php'); 68 } 137 ->write("\n\n") 138 // if the filename contains */, add a blank to avoid a PHP parse error 139 ->write('/* '.str_replace('*/', '* /', $this->getAttribute('filename'))." */\n") 216 $compiler 217 ->write("\$this->traits = array_merge(\n") 218 ->indent() 237 $compiler 238 ->write("\$this->blocks = array_merge(\n") 239 ->indent()module.php https://gitlab.com/mostafame/team_website | PHP | 471 lines
1<?php 2 427 428 $dslc_options = array_merge( $dslc_options, $this->shared_options( 'animation_options', array('hover_opts' => false) ) ); 429 $dslc_options = array_merge( $dslc_options, $this->presets_options() ); 461 if ( $the_excerpt ) : 462 ?><div class="dslc-tp-excerpt"><?php echo $the_excerpt; ?></div><?php 463 endif;joomla.php https://gitlab.com/ricardosanchez/prueba | PHP | 482 lines
1<?php 2/** 238 { 239 $ret[$updateVersion] = array_merge($update, $versionProperties); 240 } 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 * 333 334 $sources = array_merge($defaultSources, $sources); 335 387 { 388 $allUpdates = array_merge($allUpdates, $applicableUpdates); 389 }smarty_internal_compile_include.php https://gitlab.com/fiesta-framework/Documentation | PHP | 265 lines
1<?php 2/** 193 // merge compiled code for {function} tags 194 $compiler->template->properties['function'] = array_merge($compiler->template->properties['function'], $tpl->properties['function']); 195 // merge filedependency 196 $tpl->properties['file_dependency'][$tpl->source->uid] = array($tpl->source->filepath, $tpl->source->timestamp, $tpl->source->type); 197 $compiler->template->properties['file_dependency'] = array_merge($compiler->template->properties['file_dependency'], $tpl->properties['file_dependency']); 198 // remove header code 198 // remove header code 199 $compiled_code = preg_replace("/(<\?php \/\*%%SmartyHeaderCode:{$tpl->properties['nocache_hash']}%%\*\/(.+?)\/\*\/%%SmartyHeaderCode%%\*\/\?>\n)/s", '', $compiled_code); 200 if ($tpl->has_nocache_code) { 234 $_hash = $compiler->smarty->merged_templates_func[$tpl_name][$uid]['nocache_hash']; 235 $_output = "<?php /* Call merged included template \"" . $tpl_name . "\" */\n"; 236 $_output .= "\$_tpl_stack[] = \$_smarty_tpl;\n"; 238 $compiler->suppressNocacheProcessing = false; 239 $_output .= substr($compiler->processNocacheCode('<?php ' .$nccode . "?>\n", true), 6, -3); 240 $compiler->suppressNocacheProcessing = true;ExtraPackage.php https://gitlab.com/geeta7/drupal | PHP | 487 lines
1<?php 2/** 196 $unwrapped = self::unwrapIfNeeded($root, 'setRepositories'); 197 $unwrapped->setRepositories(array_merge( 198 $newRepos, 289 $unwrapped = self::unwrapIfNeeded($root, $setter); 290 $unwrapped->{$setter}(array_merge_recursive( 291 $root->{$getter}(), 331 $unwrapped = self::unwrapIfNeeded($root, 'setStabilityFlags'); 332 $unwrapped->setStabilityFlags(array_merge( 333 $flags, 358 } 359 $unwrapped->{$setter}(array_merge( 360 $root->{$getter}(), 375 $unwrapped = self::unwrapIfNeeded($root, 'setSuggests'); 376 $unwrapped->setSuggests(array_merge( 377 $root->getSuggests(),Events.php https://gitlab.com/buitenzorg812/garapic.cms | PHP | 301 lines
1<?php 2defined('BASEPATH') OR exit('No direct script access allowed'); 77 if($this->menu->crud_access('update') || $this->menu->crud_access('delete')) { 78 $table_row = array_merge($table_row, array($this->delete.' '.$this->update)); 79 } 299 300/* End of file Category.php */ 301/* Location: ./application/modules/admin/controllers/Category.php */manifest.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 201 lines
1<?php 2 5 6require(ABSPATH . 'wp-includes/version.php'); 7 89 $mce = array( 90 array('../wp-includes/js/tinymce/wp-tinymce.php', $mce_ver), 91 196 ); 197 $files = array_merge($files, $mce); 198 endif;PublicDelegatedPrefixes.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 257 lines
1<?php 2/* 92 $params = ['project' => $project]; 93 $params = array_merge($params, $optParams); 94 return $this->call('aggregatedList', [$params], PublicDelegatedPrefixAggregatedList::class); 120 $params = ['project' => $project, 'region' => $region, 'publicDelegatedPrefix' => $publicDelegatedPrefix]; 121 $params = array_merge($params, $optParams); 122 return $this->call('delete', [$params], Operation::class); 137 $params = ['project' => $project, 'region' => $region, 'publicDelegatedPrefix' => $publicDelegatedPrefix]; 138 $params = array_merge($params, $optParams); 139 return $this->call('get', [$params], PublicDelegatedPrefix::class); 165 $params = ['project' => $project, 'region' => $region, 'postBody' => $postBody]; 166 $params = array_merge($params, $optParams); 167 return $this->call('insert', [$params], Operation::class); 220 $params = ['project' => $project, 'region' => $region]; 221 $params = array_merge($params, $optParams); 222 return $this->call('list', [$params], PublicDelegatedPrefixList::class);user.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 543 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 101 102 $where = array_merge( 103 $where, 143 if ($post_where) 144 $where = array_merge($where, $post_where); 145next-post.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 279 lines
102</style> 103<?php 104} 109 <div class="wrap"> 110 <form method="post" id="next_post_form" action="options.php"> 111 <?php settings_fields('next_post'); 131 <input type="text" name="next_post[before_prev_link]" id="before_prev_link" 132 value="<?php echo esc_html($options['before_prev_link']); ?>" /> </label></p> 133 141 <p><?php _e('Shortcode:'); ?> <strong>[previous_custom_post]</strong><br /> 142 <?php _e('Template tag:'); ?> <strong><?php previous_custom_post(); ?></strong></p> 143 </div> 158 <p><?php _e('Shortcode:'); ?> <strong>[next_custom_post]</strong><br /> 159 <?php _e('Template tag:'); ?> <strong><?php next_custom_post(); ?></strong></p> 160 </div>Dispatcher.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 409 lines
1<?php 2 367 { 368 $this->mappings = array_merge($this->mappings, $commands); 369 }BigMath.php https://gitlab.com/x33n/ampache | PHP | 451 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 20 */ 21require_once 'Auth/OpenID/CryptUtil.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 39 * 40 * @param integer $long The long number (can be a normal PHP 41 * integer or a number created by one of the available long number 91 92 // Use array_merge to return a zero-indexed array instead of a 93 // one-indexed array.AdminPreferencesController.php https://gitlab.com/staging06/myproject | PHP | 246 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 116 117 $fields = array_merge($fields, array( 118 'PS_TOKEN_ENABLE' => array(Abstract.php https://bitbucket.org/aukhanev/xdn-wordpress31.git | PHP | 395 lines
1<?php 2 222 223 $sections = array_merge($this->_getDefaultUriSegments(), $sections); 224 return $sections; 345 346 $redirectUrlSegments = array_merge($redirectUrlSegments, $additionalParams); 347 $url = implode('/', $redirectUrlSegments);field.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 604 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 117 118 $this->attributes = array_merge($this->attributes, $attributes); 119navigation-link.php https://gitlab.com/campus-academy/krowkaramel | PHP | 350 lines
1<?php 2/** 144 $font_sizes = block_core_navigation_link_build_css_font_sizes( $block->context ); 145 $classes = array_merge( 146 $colors['css_classes'], 294 if ( array_key_exists( $entity->name, $variation_overrides ) ) { 295 $variation = array_merge( 296 $variation, 345 'render_callback' => 'render_block_core_navigation_link', 346 'variations' => array_merge( $built_ins, $variations ), 347 )Arr.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 419 lines
1<?php 2 62 63 $results = array_merge($results, $values); 64 } 92 if (is_array($value)) { 93 $results = array_merge($results, static::dot($value, $prepend.$key.'.')); 94 } else {themes.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 275 lines
87 $title = __( 'Update Themes' ); 88 $parent_file = 'themes.php'; 89 142 ?> 143 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This theme may be active on other sites in the network.', 'These themes may be active on other sites in the network.', $themes_to_delete ); ?></p></div> 144 <p><?php echo _n( 'You are about to remove the following theme:', 'You are about to remove the following themes:', $themes_to_delete ); ?></p> 157 <?php wp_nonce_field('bulk-themes') ?> 158 <?php submit_button( _n( 'Yes, Delete this theme', 'Yes, Delete these themes', $themes_to_delete ), 'button', 'submit', false ); ?> 159 </form> 230<?php screen_icon('themes'); ?> 231<h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 232if ( $s ) 257 258<?php 259$wp_list_table->views();TextDescriptor.php https://gitlab.com/aleksbenmaza/PPE_NEW | PHP | 320 lines
1<?php 2 105 foreach ($definition->getArguments() as $argument) { 106 $this->describeInputArgument($argument, array_merge($options, array('total_width' => $totalWidth))); 107 $this->writeText("\n"); 124 $this->writeText("\n"); 125 $this->describeInputOption($option, array_merge($options, array('total_width' => $totalWidth))); 126 } 128 $this->writeText("\n"); 129 $this->describeInputOption($option, array_merge($options, array('total_width' => $totalWidth))); 130 } 143 $this->writeText('<comment>Usage:</comment>', $options); 144 foreach (array_merge(array($command->getSynopsis(true)), $command->getAliases(), $command->getUsages()) as $usage) { 145 $this->writeText("\n");joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
1<?php 2class JoomleagueConnector extends JLCalendar{ 28 29 return array_merge($m, $b); 30 } 193 // new insert for link to player profile 194 //$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id; 195 $newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);testcase.php https://gitlab.com/wuhang2003/core | PHP | 479 lines
1<?php 2/** 35 36abstract class TestCase extends \PHPUnit_Framework_TestCase { 37 /** @var \OC\Command\QueueBus */ 89 do { 90 $traits = array_merge(class_uses($class), $traits); 91 } while ($class = get_parent_class($class)); 92 foreach ($traits as $trait => $same) { 93 $traits = array_merge(class_uses($trait), $traits); 94 } 208 if (!self::$wasDatabaseAllowed && self::$realDatabase !== null) { 209 // in case an error is thrown in a test, PHPUnit jumps straight to tearDownAfterClass, 210 // so we need the database again 425 426 require_once __DIR__.'/../../lib/private/template/functions.php'; 427MessageBag.php https://gitlab.com/Sigpot/AirSpot | PHP | 359 lines
1<?php 2 78 79 $this->messages = array_merge_recursive($this->messages, $messages); 80 183 foreach ($this->messages as $key => $messages) { 184 $all = array_merge($all, $this->transform($messages, $format, $key)); 185 }helper.php https://bitbucket.org/gnomeontherun/square-one.git | PHP | 434 lines
1<?php 2/** 196 $blackList = true; 197 $blackListTags = array_merge($blackListTags, $tempTags); 198 $blackListAttributes = array_merge($blackListAttributes, $tempAttributes); 205 $customList = true; 206 $customListTags = array_merge($customListTags, $tempTags); 207 $customListAttributes = array_merge($customListAttributes, $tempAttributes); 212 $whiteList = true; 213 $whiteListTags = array_merge($whiteListTags, $tempTags); 214 $whiteListAttributes = array_merge($whiteListAttributes, $tempAttributes); 330 // Get component path 331 if ($app->isAdmin() && file_exists(JPATH_COMPONENT . '/admin.' . $file . '.php')) 332 { 332 { 333 $path = JPATH_COMPONENT . '/admin.' . $file . '.php'; 334 }Parametro.php https://gitlab.com/bluedrayco/Portafolio | PHP | 439 lines
1<?php 2 411 } 412 $paquete = array_merge($parametros['data']['parametros'],$parametrosActividad['data']['controlescolarcalendariobundle:parametroactividad']); 413class-twentynineteen-walker-comment.php https://gitlab.com/VTTE/sitios-vtte | PHP | 114 lines
30 ?> 31 <<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>> 32 <article id="div-comment-<?php comment_ID(); ?>" class="comment-body"> 70 <div class="comment-metadata"> 71 <a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>"> 72 <?php 75 ?> 76 <time datetime="<?php comment_time( 'c' ); ?>" title="<?php echo $comment_timestamp; ?>"> 77 <?php echo $comment_timestamp; ?> 79 </a> 80 <?php 81 $edit_comment_icon = twentynineteen_get_icon_svg( 'edit', 16 ); 85 86 <?php if ( '0' == $comment->comment_approved ) : ?> 87 <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentynineteen' ); ?></p>provider.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 296 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 194 ORDER BY t.userid, t.id"; 195 $params = array_merge($inparams, ['userid1' => $userid, 'userid2' => $userid]); 196 $recordset = $DB->get_recordset_sql($sql, $params);TbGroupGridView.php https://gitlab.com/dwi.nurhadi17/uns-log | PHP | 375 lines
1<?php 2/** 128 //store columns for group. Set object for existing columns in grid and string for attributes 129 $groupColumns = array_unique(array_merge($this->mergeColumns, $this->extraRowColumns)); 130 foreach ($groupColumns as $key => $colName) {aweber_entry.php https://gitlab.com/Magi1053/Extra | PHP | 343 lines
1<?php 2 186 $this->_methodFor(array('account')); 187 $params = array_merge($search_data, array('ws.op' => 'findSubscribers')); 188 $data = $this->adapter->request('GET', $this->url, $params); 189 190 $ts_params = array_merge($params, array('ws.show' => 'total_size')); 191 $total_size = $this->adapter->request('GET', $this->url, $ts_params, array('return' => 'integer')); 210 211 $ts_params = array_merge($params, array('ws.show' => 'total_size')); 212 $total_size = $this->adapter->request('GET', $this->url, $ts_params, array('return' => 'integer'));AbstractRememberMeServices.php https://gitlab.com/martinstti/silex-microframework-rest | PHP | 334 lines
1<?php 2 71 $this->providerKey = $providerKey; 72 $this->options = array_merge($this->options, $options); 73 $this->logger = $logger;CartShippingRateSchema.php https://gitlab.com/campus-academy/krowkaramel | PHP | 354 lines
1<?php 2namespace Automattic\WooCommerce\Blocks\StoreApi\Schemas; 136 protected function get_rate_properties() { 137 return array_merge( 138 [6fc78b159f4a9e83ef134f25b7f439fa03b2da3b56daec84739a3e2daad0.php https://gitlab.com/kamags/manutd | PHP | 257 lines
1<?php 2 133 echo "\t\t\t\t\t\t"; 134 $context["link"] = $this->getAttribute((isset($context["this"]) ? $context["this"] : null), "createUrl", array(0 => $this->getAttribute((isset($context["this"]) ? $context["this"] : null), "route", array()), 1 => twig_array_merge($this->getAttribute((isset($context["this"]) ? $context["this"] : null), "actionParams", array()), array("lang" => $context["languageCode"]))), "method"); 135 // line 55 171 // line 69 172 echo $this->getAttribute((isset($context["this"]) ? $context["this"] : null), "createUrl", array(0 => "main/games", 1 => twig_array_merge($this->getAttribute((isset($context["this"]) ? $context["this"] : null), "actionParams", array()), array("name" => "poker"))), "method"); 173 echo "\"><p>Social</p>poker</a> 176 // line 71 177 echo $this->getAttribute((isset($context["this"]) ? $context["this"] : null), "createUrl", array(0 => "main/games", 1 => twig_array_merge($this->getAttribute((isset($context["this"]) ? $context["this"] : null), "actionParams", array()), array("name" => "slots"))), "method"); 178 echo "\"><p>Social</p>slots</a> 181 // line 73 182 echo $this->getAttribute((isset($context["this"]) ? $context["this"] : null), "createUrl", array(0 => "main/games", 1 => twig_array_merge($this->getAttribute((isset($context["this"]) ? $context["this"] : null), "actionParams", array()), array("name" => "roulette"))), "method"); 183 echo "\"><p>Social</p>roulette</a>Playlists.php https://gitlab.com/efabian/maya | PHP | 185 lines
1<?php 2/* 47 $params = array('id' => $id); 48 $params = array_merge($params, $optParams); 49 return $this->call('delete', array($params)); 90 $params = array('part' => $part, 'postBody' => $postBody); 91 $params = array_merge($params, $optParams); 92 return $this->call('insert', array($params), "Google_Service_YouTube_Playlist"); 148 $params = array('part' => $part); 149 $params = array_merge($params, $optParams); 150 return $this->call('list', array($params), "Google_Service_YouTube_PlaylistListResponse"); 181 $params = array('part' => $part, 'postBody' => $postBody); 182 $params = array_merge($params, $optParams); 183 return $this->call('update', array($params), "Google_Service_YouTube_Playlist");Firewalls.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 211 lines
1<?php 2/* 51 $params = array('project' => $project, 'firewall' => $firewall); 52 $params = array_merge($params, $optParams); 53 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 65 $params = array('project' => $project, 'firewall' => $firewall); 66 $params = array_merge($params, $optParams); 67 return $this->call('get', array($params), "Google_Service_Compute_Firewall"); 93 $params = array('project' => $project, 'postBody' => $postBody); 94 $params = array_merge($params, $optParams); 95 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 146 $params = array('project' => $project); 147 $params = array_merge($params, $optParams); 148 return $this->call('list', array($params), "Google_Service_Compute_FirewallList"); 176 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); 177 $params = array_merge($params, $optParams); 178 return $this->call('patch', array($params), "Google_Service_Compute_Operation");