PageRenderTime 325ms queryTime 59ms sortTime 50ms getByIdsTime 58ms findMatchingLines 78ms

100+ results results for 'php array_merge repo:Web5design/gplus-experiments' (325 ms)

Not the results you expected?
Mvc.php https://github.com/mrbanzai/zf2.git | PHP | 409 lines
                    
1<?php
                    
2/**
                    
399    {
                    
400        return array_merge(
                    
401            parent::toArray(),
                    
                
previewmanager.php https://gitlab.com/wuhang2003/core | PHP | 342 lines
                    
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");
                    
                
ModelCode.php https://github.com/joshuaswarren/weatherhub.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	}
                    
                
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 );
                    
                
cake_migration.php https://github.com/ankursingh/cake_shell.git | PHP | 400 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP Migrations
                    
4 *
                    
14 * @package   plugns.migrations
                    
15 * @license   MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
16 */
                    
297						$sql = $this->db->alterSchema(array(
                    
298							$table => array('change' => array($field => array_merge($tableFields[$field], $col)))
                    
299						));
                    
305						$sql = $this->db->alterSchema(array(
                    
306							$table => array('change' => array($field => array_merge($tableFields[$field], array('name' => $col))))
                    
307						));
                    
394		);
                    
395		$options = array_merge($defaults, $options);
                    
396
                    
                
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;
                    
                
themes.php https://gitlab.com/relacilia/cakra | 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://github.com/StefanRHRO/SCRM.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);
                    
                
file.php https://bitbucket.org/tdevonshire/guinness-jazz-festival.git | PHP | 490 lines
                    
1<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
47	{
                    
48		$settings = array_merge($this->default_settings, $settings);
                    
49	}
                    
                
Yaml.php https://bitbucket.org/jokusafet/magento2.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);
                    
                
ezcontentcache.php https://github.com/Socrattes2099/ezpublish.git | PHP | 323 lines
                    
1<?php
                    
2//
                    
34/*!
                    
35  \class eZContentCache ezcontentcache.php
                    
36  \brief The class eZContentCache does
                    
50        $md5Input[] = $offset;
                    
51        $md5Input = array_merge( $md5Input, $layout );
                    
52        sort( $roleList );
                    
52        sort( $roleList );
                    
53        $md5Input = array_merge( $md5Input, $roleList );
                    
54        sort( $discountList );
                    
54        sort( $discountList );
                    
55        $md5Input = array_merge( $md5Input, $discountList );
                    
56        if ( $cacheTTL == true )
                    
56        if ( $cacheTTL == true )
                    
57            $md5Input = array_merge( $md5Input, "cache_ttl" );
                    
58        if ( isset( $parameters['view_parameters'] ) )
                    
                
PaymentMethodGateway.php https://github.com/strangerstudios/paid-memberships-pro.git | PHP | 363 lines
                    
1<?php
                    
2namespace Braintree;
                    
116            [
                    
117                'payment_method' => array_merge($attribs, $options)
                    
118            ]
                    
179    {
                    
180        $signature = array_merge(self::baseSignature(), ['customerId', 'paypalRefreshToken', 'paypalVaultWithoutUpgrade']);
                    
181        return $signature;
                    
191        ]);
                    
192        $signature = array_merge(self::baseSignature(), [
                    
193            'deviceSessionId',
                    
                
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	}
                    
                
Yaml.php https://github.com/ianbogda/FileZ.git | PHP | 382 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php 23775 2011-03-01 17:25:24Z ralph $
                    
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);
                    
                
Yaml.php https://github.com/oveach/tuto-zf-doctrine2.git | 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);
                    
                
Yaml.php https://bitbucket.org/hmancvs/farmis.git | PHP | 381 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php,v 1.1 2011/11/03 08:29:27 smusoke Exp $
                    
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";
                    
                
plugins.php https://github.com/widgetfactory/jce-admin.git | PHP | 361 lines
                    
1<?php
                    
2
                    
14// load base model
                    
15require_once (dirname(__FILE__) . '/model.php');
                    
16
                    
85        // get all Plugins
                    
86        $folders = JFolder::folders(WF_EDITOR_PLUGINS, '.', false, true, array_merge(array('.svn', 'CVS'), array_keys($plugins)));
                    
87
                    
                
update_product.php https://github.com/yama/zencart-sugu.git | PHP | 219 lines
                    
1<?php
                    
2/**
                    
6 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
                    
7 * @version $Id: update_product.php 3129 2006-03-07 06:58:04Z drbyte $
                    
8 */
                    
68
                    
69      $sql_data_array = array_merge($sql_data_array, $insert_sql_data);
                    
70
                    
102
                    
103      $sql_data_array = array_merge($sql_data_array, $update_sql_data);
                    
104
                    
141
                    
142        $sql_data_array = array_merge($sql_data_array, $insert_sql_data);
                    
143
                    
163
                    
164        $sql_data_array = array_merge($sql_data_array, $insert_sql_data);
                    
165
                    
                
class-wp-admin-bar.php https://github.com/sharpmachine/wakeupmedia.com.git | 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;
                    
                
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 false
                    
                
Relation.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        }
                    
                
EsmtpTransport.php https://github.com/bheneka/gitta.git | PHP | 339 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
                    
261    {
                    
262      $params = array_merge($params, (array) $handler->getMailParams());
                    
263    }
                    
                
lang_policies.php https://github.com/MightyGorgon/icy_phoenix_langs.git | PHP | 124 lines
                    
1<?php
                    
2/**
                    
6* @copyright (c) 2008 Icy Phoenix
                    
7* @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
8*
                    
20
                    
21$lang = array_merge($lang, array(
                    
22
                    
                
BigMath.php https://github.com/umbecr/camilaframework.git | PHP | 471 lines
                    
1<?php
                    
2
                    
6 *
                    
7 * PHP versions 4 and 5
                    
8 *
                    
20 */
                    
21require_once dirname(__FILE__).'/CryptUtil.php';
                    
22
                    
25 */
                    
26require_once dirname(__FILE__).'/../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.
                    
                
HasManyThrough.php https://gitlab.com/kimting254/wbms | PHP | 340 lines
                    
1<?php namespace Illuminate\Database\Eloquent\Relations;
                    
2
                    
298
                    
299		return array_merge($columns, [$this->parent->getTable().'.'.$this->firstKey]);
                    
300	}
                    
                
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            }
                    
                
PhpMatcherDumper.php https://github.com/Exercise/symfony.git | PHP | 289 lines
                    
17/**
                    
18 * PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes.
                    
19 *
                    
22 */
                    
23class PhpMatcherDumper extends MatcherDumper
                    
24{
                    
25    /**
                    
26     * Dumps a set of routes to a PHP class.
                    
27     *
                    
34     *
                    
35     * @return string A PHP class representing the matcher class
                    
36     */
                    
48        return <<<EOF
                    
49<?php
                    
50
                    
                
PropelTableComparator.php https://github.com/1989gaurav/Propel.git | PHP | 315 lines
                    
1<?php
                    
2
                    
10
                    
11require_once dirname(__FILE__) . '/../Table.php';
                    
12require_once dirname(__FILE__) . '/PropelTableDiff.php';
                    
12require_once dirname(__FILE__) . '/PropelTableDiff.php';
                    
13require_once dirname(__FILE__) . '/PropelColumnComparator.php';
                    
14require_once dirname(__FILE__) . '/PropelColumnDiff.php';
                    
14require_once dirname(__FILE__) . '/PropelColumnDiff.php';
                    
15require_once dirname(__FILE__) . '/PropelIndexComparator.php';
                    
16require_once dirname(__FILE__) . '/PropelForeignKeyComparator.php';
                    
225		$indexDifferences = 0;
                    
226		$fromTableIndices = array_merge($this->getFromTable()->getIndices(), $this->getFromTable()->getUnices());
                    
227		$toTableIndices = array_merge($this->getToTable()->getIndices(), $this->getToTable()->getUnices());
                    
                
ezmedia.php https://github.com/eeggenberger/ezpublish.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
11/*!
                    
12  \class eZMedia ezmedia.php
                    
13  \ingroup eZDatatype
                    
218            $mediaFileObjectAttribute = eZMedia::fetch( $id['id'], null, $asObject );
                    
219            $mediaFiles = array_merge( $mediaFiles, $mediaFileObjectAttribute );
                    
220        }
                    
                
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 );
                    
303			
                    
                
processProxy.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 430 lines
                    
1<?php
                    
2
                    
13
                    
14        return array_merge( $defaultOption, $data );
                    
15    }
                    
23    {
                    
24        require_once "classes/model/ProcessCategory.php";
                    
25
                    
29
                    
30        return array_merge( $defaultOption, $processCategory->getAll( 'array' ) );
                    
31    }
                    
39    {
                    
40        require_once 'classes/model/Task.php';
                    
41        G::LoadClass( 'processMap' );
                    
127    {
                    
128        require_once 'classes/model/Users.php';
                    
129        $search = isset( $params->search ) ? $params->search : null;
                    
                
BaseDmPermissionForm.class.php https://github.com/xdade/diem.git | PHP | 299 lines
                    
1<?php
                    
2
                    
116    {
                    
117        $this->setDefault('users_list', array_merge((array)$this->getDefault('users_list'),$this->object->Users->getPrimaryKeys()));
                    
118    }
                    
121    {
                    
122        $this->setDefault('groups_list', array_merge((array)$this->getDefault('groups_list'),$this->object->Groups->getPrimaryKeys()));
                    
123    }
                    
126    {
                    
127        $this->setDefault('dm_user_permission_list', array_merge((array)$this->getDefault('dm_user_permission_list'),$this->object->DmUserPermission->getPrimaryKeys()));
                    
128    }
                    
131    {
                    
132        $this->setDefault('dm_group_permission_list', array_merge((array)$this->getDefault('dm_group_permission_list'),$this->object->DmGroupPermission->getPrimaryKeys()));
                    
133    }
                    
                
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 ) );
                    
496
                    
                
OembedPlugin.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.
                    
                
plans_classes.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 301 lines
                    
1<?php
                    
2
                    
267				}
                    
268				$tableau_final = array_merge($tableau_points, array($this->id_point));
                    
269			} else if ($position == 0) {
                    
273				}
                    
274				$tableau_final = array_merge(array($this->id_point), $tableau_points);
                    
275			} else {
                    
288				}
                    
289				$tableau_final = array_merge($tableau_points_avant, array($this->id_point), $tableau_points_apres);
                    
290			}
                    
                
signup_form.php https://github.com/200896596/moodle.git | PHP | 198 lines
                    
1<?php
                    
2
                    
28
                    
29require_once($CFG->libdir.'/formslib.php');
                    
30require_once($CFG->dirroot.'/user/profile/lib.php');
                    
84        $default_country[''] = get_string('selectacountry');
                    
85        $country = array_merge($default_country, $country);
                    
86        $mform->addElement('select', 'country', get_string('country'), $country);
                    
151        } else if ($DB->record_exists('user', array('email'=>$data['email']))) {
                    
152            $errors['email'] = get_string('emailexists').' <a href="forgot_password.php">'.get_string('newpassword').'?</a>';
                    
153        }
                    
                
plupload.php https://bitbucket.org/mshmsh5000/wp-demo.git | PHP | 311 lines
                    
134<div<?php PodsForm::attributes( array( 'class' => $attributes[ 'class' ] ), $name, $form_field_type, $options ); ?>>
                    
135    <table class="form-table pods-metabox pods-form-ui-table-type-<?php echo $form_field_type; ?>" id="<?php echo $css_id; ?>">
                    
136        <tbody>
                    
156
                    
157                    <a class="button pods-file-add plupload-add" id="<?php echo $css_id; ?>-upload" href="" tabindex="2"><?php echo pods_var_raw( $form_field_type . '_add_button', $options, __( 'Add File', 'pods' ) ); ?></a>
                    
158
                    
207
                    
208        var pods_uploader_<?php echo pods_clean_name( $attributes[ 'name' ] ); ?> = new plupload.Uploader( <?php echo json_encode( $plupload_init ); ?> ),
                    
209            list_<?php echo pods_clean_name( $attributes[ 'name' ] ); ?> = $( '#<?php echo esc_js( $css_id ); ?> ul.pods-files-list' ),
                    
210            queue_<?php echo pods_clean_name( $attributes[ 'name' ] ); ?> = $( '#<?php echo esc_js( $css_id ); ?> ul.pods-files-queue' ),
                    
211            maxFiles_<?php echo pods_clean_name( $attributes[ 'name' ] ); ?> = <?php echo esc_js( $file_limit ); ?>;
                    
212
                    
300
                    
301                if ( 0 < maxFiles_<?php echo pods_clean_name( $attributes[ 'name' ] ); ?> && itemCount > maxFiles_<?php echo pods_clean_name( $attributes[ 'name' ] ); ?> ) {
                    
302                    items.each( function ( idx, elem ) {
                    
                
UnstructuredHeaderTest.php https://github.com/chacha13/runningmate.git | PHP | 368 lines
                    
1<?php
                    
2
                    
2
                    
3require_once 'Swift/Tests/SwiftUnitTestCase.php';
                    
4require_once 'Swift/Mime/Headers/UnstructuredHeader.php';
                    
4require_once 'Swift/Mime/Headers/UnstructuredHeader.php';
                    
5require_once 'Swift/Mime/HeaderEncoder.php';
                    
6
                    
136    //SPACE and TAB permitted
                    
137    $nonPrintableBytes = array_merge(
                    
138      range(0x00, 0x08), range(0x10, 0x19), array(0x7F)
                    
                
CakeTestFixtureTest.php https://bitbucket.org/ManiAdil/jardinorient.git | 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');
                    
                
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');
                    
139
                    
                
provider_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');
                    
                
oxPublisherConsoleClient.php https://bitbucket.org/valmy/openx.git | PHP | 238 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: oxPublisherConsoleClient.php 29196 2008-11-20 14:16:53Z apetlyovanyy $
                    
26*/
                    
26*/
                    
27require_once MAX_PATH . '/lib/OA.php';
                    
28require_once MAX_PATH . '/lib/OX/M2M/M2MProtectedRpc.php';
                    
28require_once MAX_PATH . '/lib/OX/M2M/M2MProtectedRpc.php';
                    
29require_once MAX_PATH . '/lib/OX/M2M/XmlRpcExecutor.php';
                    
30require_once dirname(__FILE__) . '/oxPublisherConsoleClientException.php';
                    
90        $this->ensurePublisherAccountIdIsSet();
                    
91        $paramsWithPCAccount = array_merge(
                    
92            array($this->publisher_account_id), $params);
                    
                
setup.php https://github.com/rietn/minima.git | PHP | 415 lines
                    
1<?php
                    
2/**
                    
199
                    
200			// Attempt to detect their existence; even pure PHP implementation of them will trigger a positive response, though.
                    
201			if( phpversion() >= '5.3.0' ) {
                    
211	/**
                    
212	 * Gets PHP options.
                    
213	 *
                    
216	 */
                    
217	public function getPhpOptions()
                    
218	{
                    
223		$option = new stdClass;
                    
224		$option->label  = JText::_('INSTL_PHP_VERSION').' >= 5.2.4';
                    
225		$option->state  = version_compare(PHP_VERSION, '5.2.4', '>=');
                    
283		$option->label  = 'configuration.php '.JText::_('INSTL_WRITABLE');
                    
284		$option->state  = (is_writable('../configuration.php') || (!file_exists('../configuration.php') && is_writable('../')));
                    
285		$option->notice = ($option->state) ? null : JText::_('INSTL_NOTICEYOUCANSTILLINSTALL');
                    
                
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]));
                    
290
                    
                
XRDS.php https://github.com/devilzz/metabbs.git | PHP | 419 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
18 */
                    
19require_once 'Services/Yadis/XML.php';
                    
20
                    
129            $new_uris = Services_Yadis_array_scramble($uris[$k]);
                    
130            $result = array_merge($result, $new_uris);
                    
131        }
                    
132
                    
133        $result = array_merge($result,
                    
134                              Services_Yadis_array_scramble($last));
                    
229        if ($extra_ns_map && is_array($extra_ns_map)) {
                    
230            $ns_map = array_merge($ns_map, $extra_ns_map);
                    
231        }
                    
                
SqliteSchema.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;
                    
                
Directory.php https://github.com/grandison/budo16.git | PHP | 392 lines
                    
45
                    
46require_once 'PHPUnit/Util/Filter.php';
                    
47require_once 'PHPUnit/Util/Filesystem.php';
                    
47require_once 'PHPUnit/Util/Filesystem.php';
                    
48require_once 'PHPUnit/Util/Template.php';
                    
49require_once 'PHPUnit/Util/Report/Node.php';
                    
49require_once 'PHPUnit/Util/Report/Node.php';
                    
50require_once 'PHPUnit/Util/Report/Node/File.php';
                    
51
                    
51
                    
52PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
                    
53
                    
65 */
                    
66class PHPUnit_Util_Report_Node_Directory extends PHPUnit_Util_Report_Node
                    
67{
                    
                
sharemarks.php https://github.com/Bigjoos/U-232-V1.git | PHP | 228 lines
                    
12require_once(INCL_DIR.'torrenttable_functions.php');
                    
13require_once(INCL_DIR.'pager_functions.php');
                    
14require_once(INCL_DIR.'html_functions.php');
                    
99      $bms = mysql_fetch_assoc($bm);
                    
100      $bookmarked = (empty($bms)?'<a href=\'bookmark.php?torrent=' . $id . '&amp;action=add\'><img src=\'' . $TBDEV['pic_base_url'] . 'bookmark.gif\' border=\'0\' alt=\'Bookmark it!\' title=\'Bookmark it!\'></a>':'<a href="bookmark.php?torrent=' . $id . '&amp;action=delete"><img src=\'' . $TBDEV['pic_base_url'] . 'plus.gif\' border=\'0\' alt=\'Delete Bookmark!\' title=\'Delete Bookmark!\' /></a>');
                    
101      $htmlout.= ($variant == "index" ? "<td align='center'>{$bookmarked}</td>" : "");
                    
103        if ($variant == "mytorrents")
                    
104            $htmlout .= "</td><td align='center'><a href='edit.php?returnto=" . urlencode($_SERVER["REQUEST_URI"]) . "&amp;id={$row['id']}'>".$lang["torrenttable_edit"]."</a>\n";
                    
105        
                    
123            {
                    
124                $htmlout .= "<td align='right'><b><a href='filelist.php?id=$id'>" . $row["numfiles"] . "</a></b></td>\n";
                    
125            }
                    
127            {
                    
128                $htmlout .= "<td align='right'><b><a href='filelist.php?id=$id'>" . $row["numfiles"] . "</a></b></td>\n";
                    
129            }
                    
                
Route.php https://github.com/iRail/The-DataTank-GUI.git | PHP | 349 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Slim - a micro PHP 5 framework
                    
4 *
                    
230        } else if ( is_array($middleware) ) {
                    
231            $this->middleware = array_merge($this->middleware, $middleware);
                    
232        } else {
                    
243     *
                    
244     * http://blog.sosedoff.com/2009/09/20/rails-like-php-url-router/
                    
245     *
                    
305    public function conditions( array $conditions ) {
                    
306        $this->conditions = array_merge($this->conditions, $conditions);
                    
307        return $this;
                    
                
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));
                    
494
                    
                
ProjectsLocationsAgentsFlowsTransitionRouteGroups.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);
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
545        if ($append && is_array($this->_countQueryParams)) {
                    
546            $this->_countQueryParams = array_merge($this->_countQueryParams, $params);
                    
547        } else {
                    
                
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);
                    
119
                    
                
Command.php https://github.com/nicnocquee/PPION-Website.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        );
                    
                
ResourceLoaderStartUpModule.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">&larr;</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">
                    
                
search.php https://github.com/PhpBBGuru-net/Olympusrupack.git | PHP | 107 lines
                    
1<?php
                    
2/**
                    
6* @package language
                    
7* @version $Id: search.php,v 1.21 2007/10/04 15:07:24 acydburn Exp $
                    
8* @copyright (c) 2005 phpBB Group
                    
8* @copyright (c) 2005 phpBB Group
                    
9* @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
10*
                    
15*/
                    
16if (!defined('IN_PHPBB'))
                    
17{
                    
37
                    
38$lang = array_merge($lang, array(
                    
39	'ACP_SEARCH_INDEX_EXPLAIN'				=> 'Здесь вы можете управлять индексами поискового механизма. Поскольку обычно используется только один механизм, необходимо удалять все неиспользуемые индексы. После изменения каких-либо настроек поиска (например, минимального/максимального количества символов) имеет смысл повторно создать поисковые индексы для того, чтобы они отражали произведённые изменения.',
                    
94	'SEARCH_TYPE'							=> 'Поисковый механизм',
                    
95	'SEARCH_TYPE_EXPLAIN'					=> 'phpBB позволяет выбрать механизм для осуществления поиска в сообщениях. По умолчанию используется встроенный полнотекстовый поисковый механизм phpBB.',
                    
96	'SWITCHED_SEARCH_BACKEND'				=> 'Вы переключились на другой поисковый механизм. Убедитесь, что имеются индексы для этого поискового механизма, и, в случае необходимости, создайте их.',
                    
                
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 date
                    
                
index.php https://github.com/lsces/users.git | PHP | 194 lines
                    
1<?php
                    
2// $Header$
                    
6// Initialization
                    
7require_once( '../../kernel/setup_inc.php' );
                    
8
                    
45			}
                    
46			$feedback['error'] = array_merge( $feedback['error'], $gBitUser->mErrors ); 
                    
47		}
                    
177}
                    
178$_REQUEST['listInfo']["URL"] = USERS_PKG_URL."admin/index.php";
                    
179$gBitSmarty->assign_by_ref('listInfo', $_REQUEST['listInfo']);
                    
                
MediaEntityController.php https://github.com/iaminawe/openoutreach.git | PHP | 215 lines
                    
1<?php
                    
2/**
                    
167    // $this->hookLoadArguments.
                    
168    $args = array_merge(array($queried_entities), $this->hookLoadArguments);
                    
169    foreach (module_implements($this->entityInfo['load hook']) as $module) {
                    
                
CoursesCourseWork.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())) {
                    
                
zend_lucene.php https://github.com/Yannix/zetacomponents.git | PHP | 461 lines
                    
1<?php
                    
2/**
                    
186        $cols = ezcSearchQueryTools::arrayFlatten( $args );
                    
187        $this->resultFields = array_merge( $this->resultFields, $cols );
                    
188        return $this;
                    
211        $cols = ezcSearchQueryTools::arrayFlatten( $args );
                    
212        $this->highlightFields = array_merge( $this->highlightFields, $cols );
                    
213        return $this;
                    
                
tiny_mce_gzip.php https://github.com/ereslibre/documentrepository.git | PHP | 328 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * tiny_mce_gzip.php
                    
4 *
                    
35 * Example of direct usage:
                    
36 * require_once("../jscripts/tiny_mce/tiny_mce_gzip.php");
                    
37 *
                    
39 * TinyMCE_Compressor::renderTag(array(
                    
40 *    "url" => "../jscripts/tiny_mce/tiny_mce_gzip.php",
                    
41 *    "plugins" => "pagebreak,style",
                    
66	public function __construct($settings = array()) {
                    
67		$this->settings = array_merge(self::$defaultSettings, $settings);
                    
68
                    
142		// Add any specified files.
                    
143		$allFiles = array_merge($files, explode(',', $this->settings['files']));
                    
144
                    
                
CakeRoute.php https://github.com/gustavor/lore.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)
                    
223			list($pass, $named) = $this->_parseArgs($route['_args_'], $route);
                    
224			$route['pass'] = array_merge($route['pass'], $pass);
                    
225			$route['named'] = $named;
                    
                
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();
                    
                
inmate.php https://github.com/m3nt0r/cakephp-jailson.git | PHP | 415 lines
                    
1<?php 
                    
2/**
                    
2/**
                    
3 * Jailson for CakePHP
                    
4 *   Access Control Plugin
                    
5 * 
                    
6 * @category CakePHP
                    
7 * @author Kjell Bublitz <m3nt0r.de@gmail.com>
                    
9 * @subpackage plugins.jailson.behaviors
                    
10 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
11 * @link http://github.com/m3nt0r/cakephp-jailson Repository/Docs
                    
18 * 
                    
19 * @category CakePHP
                    
20 * @author Kjell Bublitz <m3nt0r.de@gmail.com>
                    
41		);
                    
42		$this->settings[$model->alias] = array_merge($_defaultConfig, $config);	
                    
43		
                    
                
helper.php https://github.com/alanbarrett/moodle.git | PHP | 399 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
51
                    
52            $currencies = array_merge($currencies, component_class_callback($classname, 'get_supported_currencies', [], []));
                    
53        }
                    
                
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(
                    
                
Azure.php https://bitbucket.org/millien/illien.ch-wordpress.git | PHP | 467 lines
                    
1<?php
                    
2
                    
9
                    
10w3_require_once(W3TC_LIB_W3_DIR . '/Cdn/Base.php');
                    
11
                    
23    /**
                    
24     * PHP5 Constructor
                    
25     *
                    
28    function __construct($config = array()) {
                    
29        $config = array_merge(array(
                    
30            'user' => '',
                    
65
                    
66        require_once 'Microsoft/WindowsAzure/Storage/Blob.php';
                    
67
                    
142        $headers = $this->_get_headers($file);
                    
143        $headers = array_merge($headers, array(
                    
144            'Content-MD5' => $content_md5
                    
                
AnnotationDriver.php https://github.com/ad2joe/php-framework-benchmarks.git | PHP | 370 lines
                    
1<?php
                    
2/*
                    
25
                    
26require __DIR__ . '/DoctrineAnnotations.php';
                    
27
                    
30 *
                    
31 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
32 * @link        www.doctrine-project.org
                    
57     */
                    
58    private $fileExtension = '.php';
                    
59
                    
86    {
                    
87        $this->paths = array_unique(array_merge($this->paths, $paths));
                    
88    }
                    
213                    }
                    
214                    $mapping = array_merge($mapping, (array) $fieldAnnot);
                    
215                    $class->mapField($mapping);
                    
                
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 => [
                    
                
Finder.php https://github.com/sebio/symfony.git | PHP | 387 lines
                    
1<?php
                    
2
                    
23 * $finder = new Finder();
                    
24 * $finder = $finder->files()->name('*.php')->in(__DIR__);
                    
25 *
                    
118     *
                    
119     * $finder->name('*.php')
                    
120     * $finder->name('/\.php$/') // same as above
                    
120     * $finder->name('/\.php$/') // same as above
                    
121     * $finder->name('test.php')
                    
122     *
                    
306
                    
307        $this->dirs = array_merge($this->dirs, $dirs);
                    
308
                    
                
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
                    
97					return
                    
98						'('.implode('/',array_merge($rewrite,array())).')';
                    
99				},
                    
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 header
                    
                
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  string
                    
                
ac28db01878361e31b02909532d9.php https://bitbucket.org/AdriVanHoudt/school.git | PHP | 230 lines
                    
1<?php
                    
2
                    
25    {
                    
26        $this->parent->display($context, array_merge($this->blocks, $blocks));
                    
27    }
                    
125        echo "    ";
                    
126        $this->env->loadTemplate("@WebProfiler/Profiler/toolbar_item.html.twig")->display(array_merge($context, array("link" => $this->getContext($context, "profiler_url"))));
                    
127    }
                    
                
ClassLoader.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");
                    
                
smarty_internal_config.php https://github.com/kiang/olc_baker.git | PHP | 293 lines
                    
1<?php
                    
2/**
                    
162
                    
163        return $_compile_dir . $_filepath . '.' . basename($this->config_resource_name) . '.config' . '.php';
                    
164    }
                    
276            } else {
                    
277                $scope_ptr->config_vars[$variable] = array_merge((array) $scope_ptr->config_vars[$variable], (array) $value);
                    
278            }
                    
286                    } else {
                    
287                        $scope_ptr->config_vars[$variable] = array_merge((array) $scope_ptr->config_vars[$variable], (array) $value);
                    
288                    }
                    
                
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");
                    
                
config.php https://bitbucket.org/rkandpal/nustechgmgitfork.git | PHP | 281 lines
                    
1<?php
                    
2
                    
3// Parse config
                    
4$config_ini = parse_ini_file(dirname(__FILE__).'/../../../config.ini.php');
                    
5
                    
52$params = $_GET;
                    
53$post = array_merge_replace($_POST, $_FILES);
                    
54
                    
192$config_data['instance']['version'] 		= (string) '3.0';
                    
193$config_data['instance']['url'] 			= (string) 'http://marketplace.mattlowden.com/php/user-manager/';
                    
194
                    
                
template.php https://bitbucket.org/frazras/higgler.git | PHP | 384 lines
                    
1<?php
                    
2
                    
254  
                    
255  $vars = array_merge($vars, $temporary);
                    
256}
                    
                
BaseFcdprinm.php https://github.com/cidesa/siga-universitario.git | PHP | 437 lines
                    
1<?php
                    
2
                    
268			if (($retval = FcdprinmPeer::doValidate($this, $columns)) !== true) {
                    
269				$failureMap = array_merge($failureMap, $retval);
                    
270			}
                    
280	
                    
281	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
282	{
                    
311	
                    
312	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
313	{
                    
325	
                    
326	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
327	{
                    
353	
                    
354	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
355	{
                    
                
Abstract.php https://github.com/Zefiryn/graduationprojects.git | PHP | 485 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Ldap/Attribute.php';
                    
27/**
                    
29 */
                    
30require_once 'Zend/Ldap/Dn.php';
                    
31
                    
245		$attributes = $this->getAttributes($includeSystemAttributes);
                    
246		return array_merge(array('dn' => $this->getDnString()), $attributes);
                    
247	}
                    
                
 

Source

Language