PageRenderTime 638ms queryTime 101ms sortTime 7ms getByIdsTime 65ms findMatchingLines 289ms

100+ results results for 'php array_unique repo:ptheg/symfony' (638 ms)

Not the results you expected?
Collection.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 411 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
289
                    
290        $productsId = array_unique($productsId);
                    
291
                    
                
AbstractFindAdapter.php https://gitlab.com/techniconline/kmc | PHP | 331 lines
                    
1<?php
                    
2
                    
63
                    
64        if (PHP_INT_MAX !== $this->maxDepth) {
                    
65            $find->add('-maxdepth')->add($this->maxDepth + 1);
                    
104
                    
105        $paths = $this->shell->testCommand('uniq') ? $command->add('| uniq')->execute() : array_unique($command->execute());
                    
106        $iterator = new Iterator\FilePathsIterator($paths, $dir);
                    
                
previewmanager.php https://gitlab.com/wuhang2003/core | PHP | 342 lines
                    
1<?php
                    
2/**
                    
239		}
                    
240		$this->defaultProviders = array_unique($this->defaultProviders);
                    
241		return $this->defaultProviders;
                    
                
pm.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 373 lines
                    
1<?php
                    
2
                    
6
                    
7	$Id: pm.php 1067 2011-03-08 10:06:51Z svn_project_zhangjie $
                    
8*/
                    
49				$lastpm = $_ENV['pm']->lastpm($uid);
                    
50				require_once UC_ROOT.'lib/uccode.class.php';
                    
51				$this->uccode = new uccode();
                    
90			if(!empty($msgto)) {
                    
91				$msgto = array_unique(explode(',', $msgto));
                    
92			}
                    
278
                    
279 	 	require_once UC_ROOT.'lib/uccode.class.php';
                    
280		$this->uccode = new uccode();
                    
310
                    
311 	 	require_once UC_ROOT.'lib/uccode.class.php';
                    
312		$this->uccode = new uccode();
                    
                
PhpMatcherDumper.php https://gitlab.com/oytunistrator/92five | PHP | 378 lines
                    
17/**
                    
18 * PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes.
                    
19 *
                    
23 */
                    
24class PhpMatcherDumper extends MatcherDumper
                    
25{
                    
26    /**
                    
27     * Dumps a set of routes to a PHP class.
                    
28     *
                    
35     *
                    
36     * @return string A PHP class representing the matcher class
                    
37     */
                    
82     *
                    
83     * @return string Match method as PHP code
                    
84     */
                    
                
script_combiner.php https://github.com/plastic/Cake-boilerplate.git | PHP | 325 lines
                    
1<?php 
                    
2/**
                    
8// Include the stand-alone configuration file if it exists.
                    
9if (is_file(CONFIGS . 'script_combiner.php')) {
                    
10    Configure::load('script_combiner');
                    
214        if (isset($urlMatches[1])) {
                    
215            $urlMatches = array_unique($urlMatches[1]);
                    
216        } else {
                    
                
bookmark.php https://github.com/davidryal/conflictedinterests.git | PHP | 346 lines
                    
1<?php
                    
2/**
                    
23	$link = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->links WHERE link_id = %d LIMIT 1", $bookmark_id));
                    
24	$link->link_category = array_unique( wp_get_object_terms($link->link_id, 'link_category', 'fields=ids') );
                    
25
                    
                
Store.php https://gitlab.com/edot92/jpagithub | PHP | 707 lines
                    
1<?php
                    
2
                    
492    {
                    
493        $values = array_unique(array_merge($this->get('flash.new', []), $keys));
                    
494
                    
                
BelongsTo.php https://gitlab.com/rocs/Streaming-Safe-for-Kids | PHP | 328 lines
                    
1<?php
                    
2
                    
180
                    
181        return array_values(array_unique($keys));
                    
182    }
                    
                
internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
                    
1<?php
                    
2
                    
34		if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS)
                    
35			$this->print_message('error', sprintf(__('Link Mask Generator won&#8217;t work with default or &#8220;pathinfo&#8221; permalinks. Please change your <a href="%s">permalink structure</a> to enable this module&#8217;s functionality.', 'seo-ultimate'), 'options-permalink.php'));
                    
36		
                    
53		$aliases = $this->get_setting('aliases', array());
                    
54		$aliases = array_map('unserialize', array_unique(array_map('serialize', $aliases)));
                    
55		$aliases = array_filter($aliases, array(&$this, 'remove_empty_aliases'));
                    
175		if ($content && preg_match_all('@ href=["\']([^#][^"\']+)["\']@', $content, $matches)) {
                    
176			$urls = array_unique($matches[1]);
                    
177			
                    
                
CollectionConstraint.php https://gitlab.com/yousafsyed/easternglamor | PHP | 112 lines
                    
1<?php
                    
2
                    
40            }
                    
41            if (count(array_unique($unique)) != count($value)) {
                    
42                $this->addError($path, "There are no duplicates allowed in the array", 'uniqueItems');
                    
                
City.php https://gitlab.com/sajyeasmin/AtomicProject_Sajeda_Yeasmin_SEIP_132820_B37 | PHP | 292 lines
                    
1<?php
                    
2namespace App\city;
                    
36        Message::message("<div id='msg'><h3 align='center'>[ UserName: $this->user_name ] , [ UserCity: $this->user_city]        <br> Data Has Been Inserted Successfully!</h3></div>");
                    
37        Utility::redirect('create.php');
                    
38    }
                    
72                Message::message("<div id='message'><h3 align='center'> Failed! Data Has Not Been Updated Successfully!</h3></div>");
                    
73            Utility::redirect('index.php');
                    
74    }// end of update()
                    
82            Message::message("<div id='message'><h3 align='center'> Failed! Data Has Not Been Deleted Successfully!</h3></div>");
                    
83        Utility::redirect('index.php');
                    
84
                    
95            );
                    
96            Utility::redirect('index.php');
                    
97        }
                    
138                Message::message("<div  id='message'><h3 align='center'> Success! Data Has Been Restored Successfully!</h3></div>");
                    
139                Utility::redirect('trashList.php');
                    
140            }
                    
                
check_configuration.php https://gitlab.com/klausmig/InformationRetrievalSystem | PHP | 106 lines
                    
51
                    
52echo sprintf("php.ini used by PHP: %s\n\n", get_ini_path());
                    
53
                    
56  echo "** WARNING **\n";
                    
57  echo "*  The PHP CLI can use a different php.ini file\n";
                    
58  echo "*  than the one used with your web server.\n";
                    
69echo "\n** Mandatory requirements **\n\n";
                    
70check(version_compare(phpversion(), '5.2.4', '>='), 'PHP version is at least 5.2.4', 'Current version is '.phpversion(), true);
                    
71
                    
95
                    
96check(!ini_get('short_open_tag'), 'php.ini has short_open_tag set to off', 'Set it to off in php.ini', false);
                    
97check(!ini_get('magic_quotes_gpc'), 'php.ini has magic_quotes_gpc set to off', 'Set it to off in php.ini', false);
                    
100
                    
101check(version_compare(phpversion(), '5.2.9', '!='), 'PHP version is not 5.2.9', 'PHP 5.2.9 broke array_unique() and sfToolkit::arrayDeepMerge(). Use 5.2.10 instead [Ticket #6211]', false);
                    
102
                    
                
Rss.php https://gitlab.com/rsilveira1987/Expresso | PHP | 533 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Rss.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Reader/FeedAbstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Date.php';
                    
41
                    
                
class-wp-themes-list-table.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 240 lines
                    
70			if ( current_user_can( 'install_themes' ) && current_user_can( 'manage_network_themes' ) ) {
                    
71				printf( __( 'You only have one theme enabled for this site right now. Visit the Network Admin to <a href="%1$s">enable</a> or <a href="%2$s">install</a> more themes.' ), network_admin_url( 'site-themes.php?id=' . $GLOBALS['blog_id'] ), network_admin_url( 'theme-install.php' ) );
                    
72
                    
94		?>
                    
95		<div class="tablenav <?php echo $which; ?>">
                    
96			<?php $this->pagination( $which ); ?>
                    
170	if ( ! is_multisite() && current_user_can( 'delete_themes' ) )
                    
171		$actions[] = '<a class="submitdelete deletion" href="' . wp_nonce_url( "themes.php?action=delete&amp;template=$stylesheet", 'delete-theme_' . $stylesheet ) . '" onclick="' . "return confirm( '" . esc_js( sprintf( __( "You are about to delete this theme '%s'\n  'Cancel' to stop, 'OK' to delete." ), $theme_name ) ) . "' );" . '">' . __( 'Delete' ) . '</a>';
                    
172	$actions = apply_filters( 'theme_action_links', $actions, $themes[$theme_name] );
                    
175?>
                    
176		<a href="<?php echo $preview_link; ?>" class="<?php echo $thickbox_class; ?> screenshot">
                    
177<?php if ( $screenshot ) : ?>
                    
192<?php if ( $tags ) : ?>
                    
193<p><?php _e( 'Tags:' ); ?> <?php echo join( ', ', $tags ); ?></p>
                    
194<?php endif; ?>
                    
                
weekly-mail.php https://gitlab.com/pankajmohale/chef2go | PHP | 283 lines
                    
1<?php
                    
2
                    
12	/** Set up WordPress environment */
                    
13	require_once( '/home/rgbastud/public_html/chefs2go/wp-load.php' );
                    
14}
                    
15
                    
16require('/home/rgbastud/public_html/chefs2go/wp-content/themes/chef2go/mpdf60/mpdf.php');
                    
17$timesheet_value = weekly_mail_timesheet_function(); 
                    
50			        			$author_id_array[] = $author_id;
                    
51			        			$author_unique_id_array = array_unique($author_id_array);
                    
52				        }
                    
250$fileName = 'weekly-timesheet.pdf';
                    
251$eol = PHP_EOL;
                    
252$separator = md5(time());
                    
                
class-wp-theme-install-list-table.php https://gitlab.com/Gashler/dp | PHP | 394 lines
                    
133			<div class="alignleft actions">
                    
134				<?php do_action( 'install_themes_table_header' ); ?>
                    
135			</div>
                    
151				?>
                    
152				<div class="available-theme installable-theme"><?php
                    
153					$this->single_row( $theme );
                    
226		?>
                    
227		<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
                    
228			<img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
                    
242
                    
243		<?php
                    
244		$this->install_theme_info( $theme );
                    
261					<a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
                    
262						<span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span>
                    
263						<span class="collapse-sidebar-arrow"></span>
                    
                
Relation.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 349 lines
                    
1<?php
                    
2
                    
187    {
                    
188        return array_unique(array_values(array_map(function ($value) use ($key) {
                    
189            return $key ? $value->getAttribute($key) : $value->getKey();
                    
                
Index.php https://gitlab.com/billyprice1/bdApi | PHP | 120 lines
                    
1<?php
                    
2
                    
88        if (!empty($clientIds)) {
                    
89            $clientIds = array_unique($clientIds);
                    
90
                    
                
PwLikeService.php https://gitlab.com/wuhang2003/phpwind | PHP | 419 lines
                    
1<?php
                    
2/**
                    
3 * @author Foxsee@aliyun.com
                    
4 * @copyright ?2003-2103 phpwind.com
                    
5 * @license http://www.phpwind.com
                    
5 * @license http://www.phpwind.com
                    
6 * @version $Id: PwLikeService.php 20027 2012-10-22 11:49:23Z gao.wanggao $ 
                    
7 * @package 
                    
127 		$tagnames = array_filter(explode(' ', $tags));
                    
128 		$tagnames = array_unique($tagnames);
                    
129 		foreach ($tagnames AS $k=>$tag) {
                    
                
InlineServiceDefinitionsPass.php https://gitlab.com/pr0055/symfonypizza | PHP | 141 lines
                    
1<?php
                    
2
                    
130
                    
131        if (count(array_unique($ids)) > 1) {
                    
132            return false;
                    
                
feed.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 546 lines
                    
1<?php
                    
2/**
                    
319
                    
320	$cat_names = array_unique($cat_names);
                    
321
                    
443 *
                    
444 * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1
                    
445 *
                    
530function fetch_feed($url) {
                    
531	require_once (ABSPATH . WPINC . '/class-feed.php');
                    
532
                    
                
DefaultTableMapping.php https://gitlab.com/reasonat/test8 | PHP | 396 lines
                    
1<?php
                    
2
                    
95  public function getTableNames() {
                    
96    return array_unique(array_merge(array_keys($this->fieldNames), array_keys($this->extraColumns)));
                    
97  }
                    
                
PHPDriver.php https://github.com/yclian/symfony-sandbox.git | PHP | 116 lines
                    
1<?php
                    
2/*
                    
24/**
                    
25 * The PHPDriver invokes a static PHP function on the document class itself passing
                    
26 * a ClassMetadata instance for you to manually populate with mapping information.
                    
27 *
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @link        www.doctrine-project.org
                    
33 */
                    
34class PHPDriver implements Driver
                    
35{
                    
44    {
                    
45        $this->paths = array_unique(array_merge($this->paths, $paths));
                    
46    }
                    
                
story_view.php https://github.com/winbladh/imuse.git | PHP | 208 lines
                    
1<?php
                    
2include "includes.php"; 
                    
87
                    
88	$condlist = array_unique($condlist); 
                    
89	//print_r($condlist); 
                    
97	{
                    
98		redirect("story_view.php?storyid=$storyid&bypass=1");
                    
99	}
                    
                
class-wp-theme-install-list-table.php https://gitlab.com/webkod3r/tripolis | PHP | 472 lines
                    
1<?php
                    
2/**
                    
70
                    
71		/** This filter is documented in wp-admin/theme-install.php */
                    
72		$tabs = apply_filters( 'install_themes_tabs', $tabs );
                    
174			$class = ( $action === $tab ) ? ' class="current"' : '';
                    
175			$href = self_admin_url('theme-install.php?tab=' . $action);
                    
176			$display_tabs['theme-install-'.$action] = "<a href='$href'$class>$text</a>";
                    
189			<div class="alignleft actions">
                    
190				<?php
                    
191				/**
                    
303		?>
                    
304		<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
                    
305			<img src="<?php echo esc_url( $theme->screenshot_url ); ?>" width="150" alt="" />
                    
319
                    
320		<?php
                    
321		$this->install_theme_info( $theme );
                    
                
Twig.php https://gitlab.com/sulistiana/web-profile-arsy | PHP | 238 lines
                    
1<?php
                    
2/**
                    
12
                    
13require_once APPPATH . 'third_party/Twig-1.24.1/lib/Twig/Autoloader.php';
                    
14Twig_Autoloader::register();
                    
55			$this->functions_asis =
                    
56				array_unique(
                    
57					array_merge($this->functions_asis, $params['functions'])
                    
62			$this->functions_safe =
                    
63				array_unique(
                    
64					array_merge($this->functions_safe, $params['functions_safe'])
                    
                
class-wp-taxonomy.php https://gitlab.com/pankajmohale/chef2go | PHP | 453 lines
                    
1<?php
                    
2/**
                    
359
                    
360		$args['object_type'] = array_unique( (array) $object_type );
                    
361
                    
                
ContentsController.php https://gitlab.com/techniconline/kmc | PHP | 294 lines
                    
1<?php namespace App\Http\Controllers\backend;
                    
2
                    
142                $input['title_tags'] = CategoryHelper::createTags($input['link_title']);
                    
143                $input['tags_upd'] = array_unique(explode(",", $input['title_tags'] . ',' . $input['tags']));
                    
144                $input['tags'] = implode(",", $input['tags_upd']);
                    
226        $updateContent->sort = isset($input['sort']) && $input['sort'] ? $input['sort'] : 1;
                    
227        $input['tags_upd'] = array_unique(explode(",", $input['title_tags'] . ',' . $input['tags']));
                    
228
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
1<?php
                    
2
                    
74			$unionascensores = array_merge($ascensoreslist, $ascensoreslistcli);
                    
75			$resultascensores = array_unique($unionascensores);
                    
76
                    
77			$unionmantenimientos = array_merge($mantenimientoexternoslist, $mantenimientoexternoslistcli);
                    
78			$resultmantenimientos = array_unique($unionmantenimientos);
                    
79
                    
102	    		$union = array_merge($mantenimientosascensor, $mantenimientosexternos);
                    
103				$result = array_unique($union);
                    
104
                    
190			    ob_start();
                    
191			    include(app_path().'/views/pdf/informemantenimiento.php');
                    
192			    $content = ob_get_clean();
                    
194			    // convert to PDF
                    
195			    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
196		        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
                
XMLWriter.php https://gitlab.com/najomie/fit-hippie | PHP | 402 lines
                    
1<?php
                    
2
                    
3// Handle eval errors that cause the script to finish
                    
4$wpaeErrorHandler = new WpaePhpInterpreterErrorHandler();
                    
5register_shutdown_function(array($wpaeErrorHandler, 'handle'));
                    
149            preg_match_all("%(\{[^\}\{]*\})%", $node_tpl, $matches);
                    
150            $xpaths = array_unique($matches[0]);
                    
151
                    
246        preg_match_all("%(\[[^\]\[]*\])%", $xml, $matches);
                    
247        $snipets = empty($matches) ? array() : array_unique($matches[0]);
                    
248        $simple_snipets = array();
                    
249        preg_match_all("%(\{[^\}\{]*\})%", $xml, $matches);
                    
250        $xpaths = array_unique($matches[0]);
                    
251
                    
                
OpenruthClient.class.php https://github.com/dingproject/openruth.git | PHP | 483 lines
                    
1<?php
                    
2// $Id$
                    
76      $sensitive = func_get_args();
                    
77      // For some reason PHP doesn't have array_flatten, and this is the
                    
78      // shortest alternative.
                    
196        if (sizeof($h['issues'])) {
                    
197          $h['holdings'] = array_unique($h['holdings']);
                    
198        }
                    
                
Class.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 328 lines
                    
38 * @subpackage Util_Skeleton
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
42 * @link       http://www.phpunit.de/
                    
45
                    
46require_once ( PHPU_BASE_PATH . '/Text/Template.php' );
                    
47
                    
52 * @subpackage Util_Skeleton
                    
53 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
54 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
59 */
                    
60class PHPUnit_Util_Skeleton_Class extends PHPUnit_Util_Skeleton
                    
61{
                    
                
http.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 313 lines
                    
1<?php
                    
2/**
                    
216	if ( $url && !isset( $capabilities['ssl'] ) ) {
                    
217		$scheme = parse_url( $url, PHP_URL_SCHEME );
                    
218		if ( 'https' == $scheme || 'ssl' == $scheme ) {
                    
252	// @todo preserve port?
                    
253	$allowed_origins = array_unique( array(
                    
254		'http://' . $admin_origin[ 'host' ],
                    
                
helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
                    
1<?php
                    
2/**
                    
12$com_path = JPATH_SITE . '/components/com_content/';
                    
13require_once $com_path . 'helpers/route.php';
                    
14
                    
158
                    
159				$catids = array_unique(array_merge($catids, $additional_catids));
                    
160			}
                    
239				$menu      = $app->getMenu();
                    
240				$menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login');
                    
241
                    
251
                    
252				$item->link = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $Itemid);
                    
253			}
                    
                
banner.php https://gitlab.com/ppapadatis/Videolearn | PHP | 487 lines
                    
1<?php
                    
2/**
                    
43		// Sanitize user ids.
                    
44		$pks = array_unique($pks);
                    
45		JArrayHelper::toInteger($pks);
                    
                
ticket_group_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 299 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/support/prolog.php");
                    
15
                    
16$LIST_URL = '/bitrix/admin/ticket_group_list.php';
                    
17	
                    
50		$UIDS = array_map('intval', $_POST[$FMUTagName]['VALS']);
                    
51		$UIDS = array_unique($UIDS);
                    
52		$USERS = array();
                    
101			'CAN_MAIL_UPDATE_GROUP_MESSAGES' => $ar_ug['CAN_MAIL_UPDATE_GROUP_MESSAGES'],
                    
102			'USER_NAME' => '[<a title="'.GetMessage("MAIN_USER_PROFILE").'" href="user_edit.php?ID='.$ar_ug["USER_ID"].'&amp;lang='.LANG.'">'.$ar_ug["USER_ID"].'</a>] ('.$ar_ug["LOGIN"].') '.$ar_ug["FIRST_NAME"].' '.$ar_ug["LAST_NAME"],
                    
103		);
                    
120
                    
121require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
122
                    
                
Template.php https://gitlab.com/dcnf/dcbase.org | PHP | 424 lines
                    
1<?php
                    
2
                    
297
                    
298        return array_unique($names);
                    
299    }
                    
                
array.idl.php https://github.com/zsj888/hiphop-php.git | PHP | 376 lines
                    
1<?php
                    
2
                    
2
                    
3include_once 'base.php';
                    
4
                    
156
                    
157f('array_unique', Variant,
                    
158  array('array' => Variant), FunctionIsFoldable);
                    
                
eventpergame.php https://gitlab.com/julienv/joomleague | PHP | 337 lines
                    
1<?php
                    
2/**
                    
3 * @copyright	Copyright (C) 2006-2014 joomleague.at. All rights reserved.
                    
4 * @license		GNU/GPL, see LICENSE.php
                    
5 * Joomla! is free software. This version may have been modified pursuant
                    
8 * other free or open source software licenses.
                    
9 * See COPYRIGHT.php for copyright notices and details.
                    
10 */
                    
14
                    
15require_once(JLG_PATH_ADMIN.DS.'statistics'.DS.'base.php');
                    
16
                    
78	/**
                    
79	 * (non-PHPdoc)
                    
80	 * @see administrator/components/com_joomleague/statistics/JLGStatistic#getPlayerStatsByProject($person_id, $project_id)
                    
104		$res = array();
                    
105		foreach (array_unique(array_merge(array_keys($num), array_keys($den))) as $person_id) 
                    
106		{
                    
                
class-wp-rest-search-controller.php https://gitlab.com/campus-academy/krowkaramel | PHP | 387 lines
                    
1<?php
                    
2/**
                    
72					__METHOD__,
                    
73					/* translators: %s: PHP class name. */
                    
74					sprintf( __( 'REST search handlers must extend the %s class.' ), 'WP_REST_Search_Handler' ),
                    
188	 * @since 5.6.0 The `$id` parameter can accept a string.
                    
189	 * @since 5.9.0 Renamed `$id` to `$item` to match parent class for PHP 8 named parameter support.
                    
190	 *
                    
241
                    
242		$types    = array_unique( $types );
                    
243		$subtypes = array_unique( $subtypes );
                    
306
                    
307		$types    = array_unique( $types );
                    
308		$subtypes = array_unique( $subtypes );
                    
                
quipthread.class.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 346 lines
                    
1<?php
                    
2/**
                    
206        }
                    
207        $moderators = array_unique($moderators);
                    
208
                    
279
                    
280        $this->xpdo->getService('mail', 'mail.modPHPMailer');
                    
281        if (!$this->xpdo->mail) return false;
                    
                
BlockHelper.php https://gitlab.com/cuza/Clinic_Recods | PHP | 480 lines
                    
1<?php
                    
2
                    
67    /**
                    
68     * This property is a state variable holdings all assets used by the block for the current PHP request
                    
69     * It is used to correctly render the javascripts and stylesheets tags on the main layout.
                    
199        $this->assets = array(
                    
200            'js'  => array_unique(array_merge($assets['js'], $this->assets['js'])),
                    
201            'css' => array_unique(array_merge($assets['css'], $this->assets['css'])),
                    
                
ComposerInformation.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 379 lines
                    
101    /**
                    
102     * Retrieves required php version
                    
103     *
                    
106     */
                    
107    public function getRequiredPhpVersion()
                    
108    {
                    
110            $allPlatformReqs = $this->getLocker()->getPlatformRequirements(true);
                    
111            $requiredPhpVersion = $allPlatformReqs['php']->getPrettyConstraint();
                    
112        } else {
                    
118                    if ($packageName === 'magento/product-community-edition') {
                    
119                        $phpRequirementLink = $package->getRequires()['php'];
                    
120                        if ($phpRequirementLink instanceof Link) {
                    
120                        if ($phpRequirementLink instanceof Link) {
                    
121                            $requiredPhpVersion = $phpRequirementLink->getPrettyConstraint();
                    
122                        }
                    
                
Reader.php https://gitlab.com/cmtsheikeshadi/first_app_development_project | PHP | 350 lines
                    
1<?php
                    
2/**
                    
5* @license http://opensource.org/licenses/MIT
                    
6* @link https://github.com/thephpleague/csv/
                    
7* @version 8.1.0
                    
216    /**
                    
217     * Return the key/pairs as a PHP generator
                    
218     *
                    
303    {
                    
304        if (empty($keys) || $keys !== array_unique(array_filter($keys, [$this, 'isValidKey']))) {
                    
305            throw new InvalidArgumentException('Use a flat array with unique string values');
                    
                
meta-box-saves.inc.php https://gitlab.com/Gashler/dp | PHP | 148 lines
                    
1<?php
                    
2/**
                    
59															for ($n = 0; $n <= $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]; $n++)
                    
60																$pages[$n] = array_unique (preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level" . $n . "_pages"]));
                    
61
                    
62															for ($n = 0; $n <= $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]; $n++)
                    
63																$posts[$n] = array_unique (preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level" . $n . "_posts"]));
                    
64
                    
88															for ($n = 0; $n <= $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]; $n++)
                    
89																$posts[$n] = array_unique (preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level" . $n . "_posts"]));
                    
90
                    
                
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				}
                    
82			}
                    
83			$posts = array_values( array_unique( array_filter( $posts ) ) );
                    
84		}
                    
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 );
                    
                
appProdUrlMatcher.php https://gitlab.com/abdelwahed.farabi/TimeToStartWeb | PHP | 277 lines
                    
1<?php
                    
2
                    
274
                    
275        throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
                    
276    }
                    
                
Process.php https://bitbucket.org/kdms/sh-magento.git | PHP | 451 lines
                    
1<?php
                    
2/**
                    
127            if (strpos(str_replace($this->_includeDir, '', $target), '-')
                    
128                || !in_array(substr($source, strlen($source)-4, 4), array('.php'))) {
                    
129                return $this;
                    
199        } else {
                    
200            if (!in_array(substr($source, strlen($source)-4, 4), array('.php'))) {
                    
201                return $this;
                    
297            $arrFiles[$code] = array_merge($arrFiles[$code], $statClasses);
                    
298            $arrFiles[$code] = array_unique($arrFiles[$code]);
                    
299            sort($arrFiles[$code]);
                    
334            $classesSorce = $this->_getClassesSourceCode($classes, $code);
                    
335            file_put_contents($this->_includeDir.DS.Varien_Autoload::SCOPE_FILE_PREFIX.$code.'.php', $classesSorce);
                    
336        }
                    
369
                    
370        $classesSource = "<?php\n";
                    
371        foreach ($sortedClasses as $className) {
                    
                
ThemeSuggestions.php https://gitlab.com/guillaumev/alkarama | PHP | 359 lines
                    
1<?php
                    
2/**
                    
96    // Ensure the list of suggestions is unique.
                    
97    $suggestions = array_unique($this->suggestions);
                    
98  }
                    
                
SummaryOfOrganization.php https://gitlab.com/Sajibcse/ATOMIC_PROJECT_SEIP143979_SAJIB_B37 | PHP | 404 lines
                    
1<?php
                    
2namespace App\BITM\SEIP143979\SummaryOfOrganization;
                    
55
                    
56        Utility::redirect('create.php');
                    
57
                    
120
                    
121        Utility::redirect('index.php');
                    
122
                    
136            Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Inserted !</h3></div>");
                    
137        Utility::redirect('index.php');
                    
138
                    
160            Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been trashed !</h3></div>");
                    
161        Utility::redirect('index.php');
                    
162
                    
220            }
                    
221            Utility::redirect("multipleDelete.php");
                    
222        }
                    
                
List.php https://gitlab.com/rsilveira1987/Expresso | PHP | 448 lines
                    
1<?php
                    
2/**
                    
90    /**
                    
91     * (non-PHPdoc)
                    
92     * @see Tinebase_Controller_Record_Abstract::get()
                    
115        }
                    
116        $allMemberIds = array_unique($allMemberIds);
                    
117        
                    
142    /**
                    
143     * (non-PHPdoc)
                    
144     * @see Tinebase_Controller_Record_Abstract::search()
                    
153    /**
                    
154     * (non-PHPdoc)
                    
155     * @see Tinebase_Controller_Record_Abstract::getMultiple()
                    
                
Cache.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 289 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Cache.php 24853 2012-05-31 23:19:27Z adamlundrigan $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Action/Helper/Abstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Action/Exception.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Cache/Manager.php';
                    
36
                    
90        $controller = $this->getRequest()->getControllerName();
                    
91        $actions = array_unique($actions);
                    
92        if (!isset($this->_caching[$controller])) {
                    
                
registration.php https://github.com/sengann/iks-school.com.git | PHP | 443 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: registration.php 18935 2010-09-17 14:27:40Z infograf768 $
                    
4 * @package		Joomla.Site
                    
76			$base = $uri->toString(array('scheme', 'user', 'pass', 'host', 'port'));
                    
77			$data['activate'] = $base.JRoute::_('index.php?option=com_users&task=registration.activate&token='.$data['activation'], false);
                    
78			$data['fromname'] = $config->get('fromname');
                    
93				$data['username'],
                    
94				$data['siteurl'].'index.php?option=com_users&task=registration.activate&token='.$data['activation']
                    
95			);
                    
193			// Get the groups the user should be added to after registration.
                    
194			$this->data->groups = isset($this->data->groups) ? array_unique($this->data->groups) : array();
                    
195
                    
348			$base = $uri->toString(array('scheme', 'user', 'pass', 'host', 'port'));
                    
349			$data['activate'] = $base.JRoute::_('index.php?option=com_users&task=registration.activate&token='.$data['activation'], false);
                    
350
                    
                
bookmark.php https://gitlab.com/VTTE/sitios-vtte | PHP | 327 lines
                    
1<?php
                    
2/**
                    
128	$cats = wp_get_object_terms( $link_id, 'link_category', array( 'fields' => 'ids' ) );
                    
129	return array_unique( $cats );
                    
130}
                    
264	$link_categories = array_map( 'intval', $link_categories );
                    
265	$link_categories = array_unique( $link_categories );
                    
266
                    
311	global $pagenow;
                    
312	if ( 'link-manager.php' != $pagenow && 'link-add.php' != $pagenow && 'link.php' != $pagenow ) {
                    
313		return;
                    
320	if ( $really_can_manage_links && current_user_can( 'install_plugins' ) ) {
                    
321		$link = network_admin_url( 'plugin-install.php?tab=search&amp;s=Link+Manager' );
                    
322		/* translators: %s: URL to install the Link Manager plugin. */
                    
                
DoctrineExtensionTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 284 lines
                    
1<?php
                    
2
                    
20 */
                    
21class DoctrineExtensionTest extends \PHPUnit_Framework_TestCase
                    
22{
                    
215
                    
216        foreach (array_unique($expectedCalls) as $call) {
                    
217            $this->assertContains($call, $actualCalls);
                    
                
Collection.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 717 lines
                    
1<?php namespace Illuminate\Support;
                    
2
                    
550	{
                    
551		return new static(array_unique($this->items));
                    
552	}
                    
                
Rss.php https://github.com/robeendey/ce.git | PHP | 533 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Rss.php 18367 2009-09-22 14:55:59Z padraic $
                    
20 */
                    
24 */
                    
25// require_once 'Zend/Feed/Reader/FeedAbstract.php';
                    
26
                    
29 */
                    
30// require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php';
                    
31
                    
34 */
                    
35// require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php';
                    
36
                    
39 */
                    
40// require_once 'Zend/Date.php';
                    
41
                    
                
tags.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 383 lines
                    
1<?php
                    
2
                    
3/**
                    
4* Tag PHP class for the WordPress plugin NextGEN Gallery
                    
5* nggallery.lib.php
                    
346		$slugarray = array_map('sanitize_title', $taglist);
                    
347		$slugarray = array_unique($slugarray);
                    
348
                    
                
PhpScanner.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 247 lines
                    
1<?php
                    
2/**
                    
12
                    
13class PhpScanner implements ScannerInterface
                    
14{
                    
180        }
                    
181        return array_unique($output);
                    
182    }
                    
244        }
                    
245        return array_unique($classes);
                    
246    }
                    
                
Type.hx https://gitlab.com/ezeql/haxe | Haxe | 266 lines
                    
120			}
                    
121			__php__("php_Boot::$skip_constructor = false");
                    
122			return i;
                    
164		");
                    
165		return untyped __php__("new _hx_array(array_values(array_unique($r)))");
                    
166	}
                    
185		");
                    
186		return untyped __php__("new _hx_array(array_unique($r))");
                    
187	}
                    
226				if(getEnum(untyped __php__("$a->params[$i]")) != null) {
                    
227					if(!untyped enumEq(__php__("$a->params[$i]"),__php__("$b->params[$i]")))
                    
228						return false;
                    
229				} else {
                    
230					if(!untyped __call__("_hx_equal", __php__("$a->params[$i]"),__php__("$b->params[$i]")))
                    
231						return false;
                    
                
Feed.php https://gitlab.com/rsilveira1987/Expresso | PHP | 265 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Feed.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Reader/Extension/FeedAbstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Date.php';
                    
31
                    
87        if (!empty($authors)) {
                    
88            $authors = array_unique($authors);
                    
89        }
                    
                
Reader.php https://gitlab.com/gideonmarked/PLCPortal | PHP | 350 lines
                    
1<?php
                    
2/**
                    
5* @license http://opensource.org/licenses/MIT
                    
6* @link https://github.com/thephpleague/csv/
                    
7* @version 8.1.1
                    
216    /**
                    
217     * Return the key/pairs as a PHP generator
                    
218     *
                    
303    {
                    
304        if (empty($keys) || $keys !== array_unique(array_filter($keys, [$this, 'isValidKey']))) {
                    
305            throw new InvalidArgumentException('Use a flat array with unique string values');
                    
                
AssetCollectionTest.php https://github.com/pmjones/php-framework-benchmarks.git | PHP | 262 lines
                    
1<?php
                    
2
                    
17
                    
18class AssetCollectionTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
240
                    
241        $this->assertEquals(2, count(array_unique($urls)), 'iterator prevents basename collisions');
                    
242    }
                    
                
admin.functions.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 321 lines
                    
1<?php
                    
2/**
                    
317    }
                    
318    return array_unique( $array_cat );
                    
319}
                    
                
TbGroupGridView.php https://gitlab.com/dwi.nurhadi17/uns-log | PHP | 375 lines
                    
1<?php
                    
2/**
                    
128		//store columns for group. Set object for existing columns in grid and string for attributes
                    
129		$groupColumns = array_unique(array_merge($this->mergeColumns, $this->extraRowColumns));
                    
130		foreach ($groupColumns as $key => $colName) {
                    
                
edit_index_save.class.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 236 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
122            // Check that there aren't duplicate column names
                    
123            $uniquearr = array_unique($fieldsarr);
                    
124            if (count($fieldsarr) != count($uniquearr)) {
                    
181                  <p>' . $tempindex->readableInfo() . '</p>';
                    
182            $o.= '<a href="index.php?action=edit_index&amp;index=' .$index->getName() . '&amp;table=' . $table->getName() .
                    
183                 '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
                    
                
EditView.php https://github.com/m-fuji-0616/vtigercrm-5.1.x-ja.git | PHP | 391 lines
                    
1<?php
                    
2/*+********************************************************************************
                    
9 ********************************************************************************/
                    
10require_once('data/Tracker.php');
                    
11
                    
26$image_path=$theme_path."images/";
                    
27require_once('modules/CustomView/CustomView.php');
                    
28
                    
77
                    
78	$smarty->assign("MANDATORYCHECK",implode(",",array_unique($oCustomView->mandatoryvalues)));
                    
79	$smarty->assign("SHOWVALUES",implode(",",$oCustomView->showvalues));
                    
158		$smarty->assign("STDFILTER_JAVASCRIPT",$stdfilterjs);
                    
159		$smarty->assign("MANDATORYCHECK",implode(",",array_unique($oCustomView->mandatoryvalues)));
                    
160		$smarty->assign("SHOWVALUES",implode(",",$oCustomView->showvalues));
                    
291	global $app_list_strings, $current_language,$app_strings,$current_user;
                    
292	require('user_privileges/user_privileges_'.$current_user->id.'.php');
                    
293	global $oCustomView;
                    
                
special.php https://gitlab.com/shapcy/opencart | PHP | 286 lines
                    
1<?php
                    
2class ControllerProductSpecial extends Controller {
                    
221
                    
222		$limits = array_unique(array($this->config->get($this->config->get('config_theme') . '_product_limit'), 25, 50, 75, 100));
                    
223
                    
                
class-wc-shipping-zone-data-store.php https://gitlab.com/campus-academy/krowkaramel | PHP | 373 lines
                    
1<?php
                    
2/**
                    
109
                    
110		/** This action is documented in includes/datastores/class-wc-shipping-zone-data-store.php. */
                    
111		do_action( 'woocommerce_shipping_zone_loaded', $zone );
                    
166
                    
167		return $wpdb->get_results( $wpdb->prepare( $raw_methods_sql, $zone_id ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
                    
168	}
                    
270			$matches                      = wc_postcode_location_matcher( $postcode, $postcode_locations, 'zone_id', 'location_code', $country );
                    
271			$do_not_match                 = array_unique( array_diff( $zone_ids_with_postcode_rules, array_keys( $matches ) ) );
                    
272
                    
291			LEFT OUTER JOIN {$wpdb->prefix}woocommerce_shipping_zone_locations as locations ON zones.zone_id = locations.zone_id AND location_type != 'postcode'
                    
292			WHERE " . implode( ' ', $criteria ) // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
                    
293			. ' ORDER BY zone_order ASC, zones.zone_id ASC LIMIT 1'
                    
                
wpml-installation.class.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 325 lines
                    
1<?php
                    
2
                    
2
                    
3require 'wpml-language-switcher-settings.class.php';
                    
4
                    
88		$sanitized_codes = array();
                    
89		$lang_codes      = array_filter( array_unique( $lang_codes ) );
                    
90		foreach ( $lang_codes as $code ) {
                    
                
apc.object-cache.php https://gitlab.com/endomorphosis/falkenstein | PHP | 380 lines
                    
1<?php
                    
2/*
                    
9
                    
10Install this file to wp-content/object-cache.php
                    
11
                    
19if ( version_compare( '5.2.4', phpversion(), '>=' ) ) {
                    
20	wp_die( 'The APC object cache backend requires PHP 5.2 or higher. You are running ' . phpversion() . '. Please remove the <code>object-cache.php</code> file from your content directory.' );
                    
21}
                    
24	// Regular die, not wp_die(), because it gets sandboxed and shown in a small iframe
                    
25	die( '<strong>ERROR:</strong> This is <em>not</em> a plugin, and it should not be activated as one.<br /><br />Instead, <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', __FILE__ ) . '</code> must be moved to <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', trailingslashit( WP_CONTENT_DIR ) ) . 'object-cache.php</code>' );
                    
26} else {
                    
27
                    
28// Users with setups where multiple installs share a common wp-config.php can use this
                    
29// to guarantee uniqueness for the keys generated by this object cache
                    
160		$this->global_groups = array_merge( $this->global_groups, $groups );
                    
161		$this->global_groups = array_unique( $this->global_groups );
                    
162	}
                    
                
Birthday.php https://gitlab.com/Sajibcse/ATOMIC_PROJECT_SEIP143979_SAJIB_B37 | PHP | 402 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Created by PhpStorm.
                    
4 * User: DELL
                    
105            Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Updated !</h3></div>");
                    
106        Utility::redirect('index.php');
                    
107
                    
121            Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Inserted !</h3></div>");
                    
122        Utility::redirect('index.php');
                    
123
                    
142            Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been Inserted !</h3></div>");
                    
143        Utility::redirect('index.php');
                    
144
                    
165            Message::message("<div id='msg'></div><h3 align='center'> <br> Data Hasn't Been trashed !</h3></div>");
                    
166        Utility::redirect('index.php');
                    
167
                    
                
my-account-takeover.class.php https://gitlab.com/leobelizquierdo/cabotsubmitter-wordpress | PHP | 376 lines
                    
1<?php if ( __FILE__ == $_SERVER['SCRIPT_FILENAME'] ) die( header( 'Location: /') );
                    
2
                    
29			if (self::$options->{'qsot-infinite-login'} == 'yes') {
                    
30				//add_action('login_init', array(__CLASS__, 'long_test_cookie'), PHP_INT_MAX);
                    
31				add_filter('auth_cookie_expiration', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 3);
                    
31				add_filter('auth_cookie_expiration', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 3);
                    
32				add_filter('auth_cookie_expire_time', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 4);
                    
33				add_filter('wc_session_expiring', array(__CLASS__, 'long_login_expiring'), PHP_INT_MAX, 3);
                    
33				add_filter('wc_session_expiring', array(__CLASS__, 'long_login_expiring'), PHP_INT_MAX, 3);
                    
34				add_filter('wc_session_expiration', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 3);
                    
35				add_filter('init', array(__CLASS__, 'extend_login_expiration'), -1);
                    
62
                    
63		$shows = array_unique($shows);
                    
64		?>
                    
65			<td>
                    
66				<?php if (count($shows)): ?>
                    
67					<?php echo implode('<br/>', $shows) ?>
                    
                
users.php https://github.com/joebushi/joomla.git | PHP | 194 lines
                    
1<?php
                    
2/**
                    
79
                    
80		$this->setRedirect('index.php?option=com_users&view=users');
                    
81	}
                    
120
                    
121		$this->setRedirect('index.php?option=com_users&view=users');
                    
122	}
                    
152
                    
153		$this->setRedirect('index.php?option=com_users&view=users');
                    
154	}
                    
172		// Sanitize user ids.
                    
173		$cid = array_unique($cid);
                    
174		JArrayHelper::toInteger($cid);
                    
185			$message = JText::sprintf('USERS_USER_BATCH_FAILED', $model->getError());
                    
186			$this->setRedirect('index.php?option=com_users&view=users', $message, 'error');
                    
187			return false;
                    
                
RTHandler.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 414 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @file RTHandler.inc.php
                    
5 *
                    
14
                    
15// $Id: RTHandler.inc.php,v 1.55 2008/07/01 01:16:12 asmecher Exp $
                    
16
                    
127		// Remove duplicate extra form elements and get their values
                    
128		$searchParams = array_unique($searchParams);
                    
129		$searchValues = array();
                    
                
view.php https://bitbucket.org/crevillo/enetcall.git | PHP | 240 lines
                    
1<?php
                    
2/**
                    
77            // Without reference there will be a inconsistency with GLOBAL instance and stored ini file.
                    
78            $iniTemp = eZINI::create( $settingFile . '.append.php', $path, null, null, null );
                    
79            $iniTemp->removeSetting( $block, $setting );
                    
219    $iniFiles = array_merge( $iniFiles, eZDir::recursiveFindRelative( $iniPath, '', '.ini' ) );
                    
220    $iniFiles = array_merge( $iniFiles, eZDir::recursiveFindRelative( $iniPath, '', '.ini.append.php' ) );
                    
221}
                    
224$iniFiles = preg_replace('%.*/%', '', $iniFiles );
                    
225// remove *.ini[.append.php] from file name
                    
226$iniFiles = preg_replace('%\.ini.*%', '.ini', $iniFiles );
                    
228
                    
229$tpl->setVariable( 'ini_files', array_unique( $iniFiles ) );
                    
230$tpl->setVariable( 'siteaccess_list', $siteAccessList );
                    
                
Router.php https://gitlab.com/andecode/theme-spark | PHP | 339 lines
                    
1<?php
                    
2
                    
112    }
                    
113    // PHP 7.4 introduces changes to its serialization format, which mean that
                    
114    // older versions of PHP are unable to unserialize data that is serialized
                    
114    // older versions of PHP are unable to unserialize data that is serialized
                    
115    // in PHP 7.4. If the site's version of PHP has been downgraded, then
                    
116    // attempting to unserialize routes from the database will fail, and so the
                    
117    // router needs to be rebuilt on the current PHP version.
                    
118    // See https://www.php.net/manual/en/migration74.incompatible.php.
                    
119    catch (\TypeError $e) {
                    
133    throw 0 < count($this->allow)
                    
134      ? new MethodNotAllowedException(array_unique($this->allow))
                    
135      : new ResourceNotFoundException(sprintf('No routes found for "%s".', $this->currentPath->getPath()));
                    
                
bookmark.php https://gitlab.com/Gashler/dp | PHP | 387 lines
                    
1<?php
                    
2/**
                    
36			if ( $_bookmark ) {
                    
37				$_bookmark->link_category = array_unique( wp_get_object_terms( $_bookmark->link_id, 'link_category', array( 'fields' => 'ids' ) ) );
                    
38				wp_cache_add( $_bookmark->link_id, $_bookmark, 'bookmark' );
                    
                
Class.php https://github.com/miros/mvc_framework.git | PHP | 317 lines
                    
2/**
                    
3 * PHPUnit
                    
4 *
                    
40 * @copyright  2002-2010 Sebastian Bergmann <sb@sebastian-bergmann.de>
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
42 * @link       http://www.phpunit.de/
                    
49 * @category   Testing
                    
50 * @package    PHPUnit
                    
51 * @author     Sebastian Bergmann <sb@sebastian-bergmann.de>
                    
52 * @copyright  2002-2010 Sebastian Bergmann <sb@sebastian-bergmann.de>
                    
53 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
54 * @version    Release: @package_version@
                    
57 */
                    
58class PHPUnit_Util_Skeleton_Class extends PHPUnit_Util_Skeleton
                    
59{
                    
                
Rss.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 533 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Rss.php 16963 2009-07-22 14:39:31Z padraic $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Reader/FeedAbstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Date.php';
                    
41
                    
                
Generator.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 223 lines
                    
1<?php
                    
2/**
                    
98        return [
                    
99            'controller.php',
                    
100            'view.php',
                    
159            $this->getControllerFile(),
                    
160            $this->render('controller.php')
                    
161        );
                    
165                $this->getViewFile($action),
                    
166                $this->render('view.php', ['action' => $action])
                    
167            );
                    
178    {
                    
179        $actions = array_unique(preg_split('/[\s,]+/', $this->actions, -1, PREG_SPLIT_NO_EMPTY));
                    
180        sort($actions);
                    
189    {
                    
190        return Yii::getAlias('@' . str_replace('\\', '/', $this->controllerClass)) . '.php';
                    
191    }
                    
                
block_sort.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 274 lines
                    
1<?php
                    
2
                    
6 *
                    
7 *      $Id: block_sort.php 29557 2012-04-18 10:10:07Z svn_project_zhangjie $
                    
8 */
                    
159			}
                    
160			$fids = array_unique($fids);
                    
161		}
                    
235				if($threadtypes[$fid]['prefix'] == 1) {
                    
236					$thread['typehtml'] = '<em>[<a href="forum.php?mod=forumdisplay&fid='.$fid.'&amp;filter=typeid&amp;typeid='.$thread['typeid'].'">'.$threadtypes[$fid]['types'][$thread['typeid']].'</a>]</em>';
                    
237				} elseif($threadtypes[$fid]['icons'][$thread['typeid']] && $threadtypes[$fid]['prefix'] == 2) {
                    
237				} elseif($threadtypes[$fid]['icons'][$thread['typeid']] && $threadtypes[$fid]['prefix'] == 2) {
                    
238					$thread['typehtml'] = '<em><a title="'.$threadtypes[$fid]['types'][$thread['typeid']].'" href="forum.php?mod=forumdisplay&fid='.$fid.'&amp;filter=typeid&amp;typeid='.$thread['typeid'].'">'.'<img style="vertical-align: middle;padding-right:4px;" src="'.$threadtypes[$fid]['icons'][$thread['typeid']].'" alt="'.$threadtypes[$fid]['types'][$thread['typeid']].'" /></a></em>';
                    
239				}
                    
258							}
                    
259							$verify[$value['uid']] .= "<a href=\"home.php?mod=spacecp&ac=profile&op=verify&vid=$vid\" target=\"_blank\">".(!empty($srcurl) ? '<img src="'.$srcurl.'" class="vm" alt="'.$vsetting['title'].'" title="'.$vsetting['title'].'" />' : $vsetting['title']).'</a>';
                    
260						}
                    
                
Validate.php https://github.com/viglesiasce/testlink.git | PHP | 290 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Validate.php,v 1.1 2010/05/02 16:27:51 franciscom Exp $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Validate/Interface.php';
                    
26
                    
173
                    
174        self::$_defaultNamespaces = array_unique(array_merge(self::$_defaultNamespaces, $namespace));
                    
175    }
                    
200            if (!class_exists($className, false)) {
                    
201                require_once 'Zend/Loader.php';
                    
202                foreach($namespaces as $namespace) {
                    
203                    $class = $namespace . '_' . $className;
                    
204                    $file  = str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
                    
205                    if (Zend_Loader::isReadable($file)) {
                    
                
MPSUM_Admin_Plugins.php https://gitlab.com/memuller.web/wp_site | PHP | 275 lines
                    
1<?php
                    
2/**
                    
215		//Update option
                    
216		$plugin_options = array_values( array_unique( $plugin_options ) );
                    
217		$plugin_automatic_options = array_values( array_unique( $plugin_automatic_options ) );
                    
247			?>
                    
248			<div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>
                    
249			<?php
                    
252		?>
                    
253        <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
                    
254	    <?php
                    
260		?>
                    
261        <h3><?php esc_html_e( 'Plugin Update Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
                    
262        <?php
                    
272        </form>
                    
273    <?php
                    
274	} //end tab_output_plugins
                    
                
shBrushPhp.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 91 lines
                    
29 */
                    
30SyntaxHighlighter.brushes.Php = function()
                    
31{
                    
40					'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
                    
41					'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
                    
42					'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
                    
86
                    
87	this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
                    
88};
                    
90SyntaxHighlighter.brushes.Php.prototype	= new SyntaxHighlighter.Highlighter();
                    
91SyntaxHighlighter.brushes.Php.aliases	= ['php'];
                    
92
                    
                
Feed.php https://github.com/gryzz/crystal_magento.git | PHP | 265 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Feed.php 18951 2009-11-12 16:26:19Z alexander $
                    
20 */
                    
24 */
                    
25#require_once 'Zend/Feed/Reader/Extension/FeedAbstract.php';
                    
26
                    
29 */
                    
30#require_once 'Zend/Date.php';
                    
31
                    
87        if (!empty($authors)) {
                    
88            $authors = array_unique($authors);
                    
89        }
                    
                
Abstract.php https://bitbucket.org/acidel/buykoala.git | PHP | 287 lines
                    
1<?php

                    
2/**

                    
9 * It is also available through the world-wide-web at this URL:

                    
10 * http://opensource.org/licenses/osl-3.0.php

                    
11 * If you did not receive a copy of the license and are unable to

                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)

                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)

                    
25 */

                    
83        if ($parentIds) {

                    
84            $processIds = array_unique(array_merge($processIds, $parentIds));

                    
85        }

                    
87        if ($childIds) {

                    
88            $processIds = array_unique(array_merge($processIds, $childIds));

                    
89        }

                    
                
class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
                    
1<?php
                    
2/**
                    
241		// Get a list of post id's which match the current filters set (in the layered nav and price filter)
                    
242		$post__in = array_unique( apply_filters( 'loop_shop_post_in', array() ) );
                    
243
                    
                
spacing.php https://gitlab.com/vanafroo/voipWEB | PHP | 361 lines
                    
1<?php
                    
2/*
                    
14 * @author   Thomas Usborne
                    
15 * @license  http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
                    
16 * @link     http://www.generatepress.com
                    
256		// We'll also remove the padding if there's no color difference between the widgets and content background color
                    
257		if ( count( array_unique( $widget_padding ) ) === 1 && end( $widget_padding ) === '40' && $colors_match ) {
                    
258			$output .= '.one-container .sidebar .widget{padding:0px;}';
                    
                
MessageBag.php https://gitlab.com/Sigpot/AirSpot | PHP | 359 lines
                    
1<?php
                    
2
                    
197    {
                    
198        return array_unique($this->all($format));
                    
199    }
                    
                
content.php https://bitbucket.org/asosso/joomla25.git | PHP | 240 lines
                    
1<?php
                    
2/**
                    
32			JText::_('JGLOBAL_ARTICLES'),
                    
33			'index.php?option=com_content&view=articles',
                    
34			$vName == 'articles'
                    
37			JText::_('COM_CONTENT_SUBMENU_CATEGORIES'),
                    
38			'index.php?option=com_categories&extension=com_content',
                    
39			$vName == 'categories');
                    
41			JText::_('COM_CONTENT_SUBMENU_FEATURED'),
                    
42			'index.php?option=com_content&view=featured',
                    
43			$vName == 'featured'
                    
182		// Remove duplicates before processing (because the black list uses both sets of arrays).
                    
183		$blackListTags			= array_unique($blackListTags);
                    
184		$blackListAttributes	= array_unique($blackListAttributes);
                    
184		$blackListAttributes	= array_unique($blackListAttributes);
                    
185		$customListTags			= array_unique($customListTags);
                    
186		$customListAttributes	= array_unique($customListAttributes);
                    
                
extrafields.php https://github.com/navinpai/GEC-Tandav.git | PHP | 304 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: extrafields.php 306 2010-01-11 16:09:17Z joomlaworks $
                    
4 * @package		K2
                    
117		$cache->clean();
                    
118		$mainframe->redirect('index.php?option=com_k2&view=extraFields');
                    
119	}
                    
131		$cache->clean();
                    
132		$mainframe->redirect('index.php?option=com_k2&view=extraFields');
                    
133	}
                    
156		if(!$params->get('disableCompactOrdering')){
                    
157			$groupings = array_unique($groupings);
                    
158			foreach ($groupings as $group) {
                    
164		$msg = JText::_('New ordering saved');
                    
165		$mainframe->redirect('index.php?option=com_k2&view=extraFields', $msg);
                    
166	}
                    
                
perfmon_index_list.php https://gitlab.com/alexprowars/bitrix | PHP | 426 lines
                    
5define("PERFMON_STOP", true);
                    
6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
7/** @global CMain $APPLICATION */
                    
10Loader::includeModule('perfmon');
                    
11require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php");
                    
12
                    
105						{
                    
106							foreach (array_unique($arMissedKeys) as $suggest)
                    
107							{
                    
267
                    
268	$row->AddViewField("SQL_COUNT", '<a href="perfmon_sql_list.php?lang='.LANGUAGE_ID.'&amp;set_filter=Y&amp;find_suggest_id='.$f_ID.'">'.$f_SQL_COUNT.'</a>');
                    
269	$row->AddViewField("COLUMN_NAMES", str_replace(",", "<br>", $f_COLUMN_NAMES));
                    
308			"TEXT" => GetMessage("PERFMON_INDEX_DETAILS"),
                    
309			"ACTION" => $lAdmin->ActionRedirect('perfmon_index_detail.php?lang='.LANG.'&ID='.$f_ID),
                    
310		),
                    
                
Rss.php https://github.com/misterXavier/ManoWars.git | PHP | 533 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Rss.php 18367 2009-09-22 14:55:59Z padraic $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Reader/FeedAbstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Date.php';
                    
41
                    
                
CopyableBehavior.php git://github.com/croogo/croogo.git | PHP | 416 lines
                    
1<?php
                    
2
                    
23 * @copyright Jamie Nay
                    
24 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
                    
25 * @link http://github.com/jamienay/copyable_behavior
                    
149		}
                    
150		$ignore = array_unique($this->settings[$Model->alias]['ignore']);
                    
151		foreach ($ignore as $path) {
                    
                
Kernel.php https://gitlab.com/jjpa2018/dashboard | PHP | 380 lines
                    
1<?php
                    
2
                    
209    {
                    
210        $paths = array_unique(Arr::wrap($paths));
                    
211
                    
223            $command = $namespace.str_replace(
                    
224                ['/', '.php'],
                    
225                ['\\', ''],
                    
                
export.php https://github.com/Mercedes/ratonesytortillas.git | PHP | 255 lines
                    
1<?php
                    
2
                    
169	<title><?php bloginfo_rss('name'); ?></title>
                    
170	<link><?php bloginfo_rss('url') ?></link>
                    
171	<description><?php bloginfo_rss("description") ?></description>
                    
178<?php if ( $cats ) : foreach ( $cats as $c ) : ?>
                    
179	<wp:category><wp:category_nicename><?php echo $c->slug; ?></wp:category_nicename><wp:category_parent><?php echo $c->parent ? $cats[$c->parent]->name : ''; ?></wp:category_parent><?php wxr_cat_name($c); ?><?php wxr_category_description($c); ?></wp:category>
                    
180<?php endforeach; endif; ?>
                    
181<?php if ( $tags ) : foreach ( $tags as $t ) : ?>
                    
182	<wp:tag><wp:tag_slug><?php echo $t->slug; ?></wp:tag_slug><?php wxr_tag_name($t); ?><?php wxr_tag_description($t); ?></wp:tag>
                    
183<?php endforeach; endif; ?>
                    
207<wp:comment_status><?php echo $post->comment_status; ?></wp:comment_status>
                    
208<wp:ping_status><?php echo $post->ping_status; ?></wp:ping_status>
                    
209<wp:post_name><?php echo $post->post_name; ?></wp:post_name>
                    
243<wp:comment_type><?php echo $c->comment_type; ?></wp:comment_type>
                    
244<wp:comment_parent><?php echo $c->comment_parent; ?></wp:comment_parent>
                    
245<wp:comment_user_id><?php echo $c->user_id; ?></wp:comment_user_id>
                    
                
widget-recent-posts-tab.php https://gitlab.com/mattswann/launch-housing | PHP | 249 lines
                    
87		  	<li class="recent-posts-tab active"><a href="#recent-posts-tab-<?php echo intval($random_tab_id) ?>" data-toggle="tab"><?php _e('Recent', 'Elise') ?></a></li>

                    
88		  	<?php if ($show_popular_posts) { ?><li class="popular-posts-tab"><a href="#popular-posts-tab-<?php echo intval($random_tab_id) ?>" data-toggle="tab"><?php _e('Popular', 'Elise') ?></a></li><?php } ?>

                    
89			<?php if ($show_recent_comments) { ?><li class="recent-comments-tab"><a href="#recent-comments-tab-<?php echo intval($random_tab_id) ?>" data-toggle="tab"><i class="fa fa-comments"></i></a></li><?php } ?>

                    
232		<p><label for="<?php echo $this->get_field_id( 'number_recent' ); ?>"><?php _e( 'Number of recent/popular posts to show:', 'Elise' ); ?></label>

                    
233		<input id="<?php echo $this->get_field_id( 'number_recent' ); ?>" name="<?php echo $this->get_field_name( 'number_recent' ); ?>" type="text" value="<?php echo $number_recent; ?>" size="3" /></p>

                    
234

                    
234

                    
235		<p><input class="checkbox" type="checkbox" <?php checked( $show_popular_posts ); ?> id="<?php echo $this->get_field_id( 'show_popular_posts' ); ?>" name="<?php echo $this->get_field_name( 'show_popular_posts' ); ?>" />

                    
236		<label for="<?php echo $this->get_field_id( 'show_popular_posts' ); ?>"><?php _e( 'Display Popular Posts Tab', 'Elise' ); ?></label></p>

                    
237

                    
238		<p><input class="checkbox" type="checkbox" <?php checked( $show_recent_comments ); ?> id="<?php echo $this->get_field_id( 'show_recent_comments' ); ?>" name="<?php echo $this->get_field_name( 'show_recent_comments' ); ?>" />

                    
239		<label for="<?php echo $this->get_field_id( 'show_recent_comments' ); ?>"><?php _e( 'Display Recent Comments Tab', 'Elise' ); ?></label></p>

                    
241		<p><label for="<?php echo $this->get_field_id( 'number_comments' ); ?>"><?php _e( 'Number of recent comments to show:', 'Elise' ); ?></label>

                    
242		<input id="<?php echo $this->get_field_id( 'number_comments' ); ?>" name="<?php echo $this->get_field_name( 'number_comments' ); ?>" type="text" value="<?php echo $number_comments; ?>" size="3" /></p>

                    
243

                    
                
entreprise.php https://gitlab.com/Erdrix/overviewCompanies | PHP | 431 lines
                    
1<?php
                    
2
                    
69    // Nombre de stage moyen
                    
70    $fili    = array_unique($fili);
                    
71    $average = count($stages);
                    
71    $average = count($stages);
                    
72    $average = round($average / count(array_unique($date)), 1);
                    
73
                    
                
component.php https://gitlab.com/Rad1calDreamer/honey | PHP | 297 lines
                    
37	$arParams["PATH_TO_SEARCH"] .= "&";
                    
38$arParams["DATE_TIME_FORMAT"] = trim(empty($arParams["DATE_TIME_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("FULL")) : $arParams["DATE_TIME_FORMAT"]);
                    
39
                    
99				}
                    
100				$arHobbyDB=array_unique($arHobbyDB);
                    
101				if(count($arHobbyDB)>0)
                    
                
Container.php https://gitlab.com/paveltizek/shop | PHP | 498 lines
                    
1<?php
                    
2
                    
160		}
                    
161		return array_unique($errors);
                    
162	}
                    
                
PwDesignThreadDataService.php https://gitlab.com/wuhang2003/phpwind | PHP | 231 lines
                    
1<?php
                    
2Wind::import('SRV:design.srv.model.PwDesignModelBase');
                    
10 * @author $Author: gao.wanggao $ Foxsee@aliyun.com
                    
11 * @copyright ?2003-2103 phpwind.com
                    
12 * @license http://www.phpwind.com
                    
12 * @license http://www.phpwind.com
                    
13 * @version $Id: PwDesignThreadDataService.php 25436 2013-03-15 08:45:34Z gao.wanggao $ 
                    
14 * @package 
                    
18	/**
                    
19	 * (non-PHPdoc)
                    
20	 * @see src/service/design/srv/model/PwDesignModelBase::decorateAddProperty()
                    
32	/**
                    
33	 * (non-PHPdoc)
                    
34	 * @see src/service/design/srv/model/PwDesignModelBase::decorateEditProperty()
                    
48	/**
                    
49	 * (non-PHPdoc)
                    
50	 * @see src/service/design/srv/model/PwDesignModelBase::decorateSaveProperty()
                    
                
Collection.php https://bitbucket.org/kdms/sh-magento.git | PHP | 376 lines
                    
1<?php
                    
2/**
                    
288
                    
289        $productsId = array_unique($productsId);
                    
290
                    
                
 

Source

Language