100+ results results for 'php array_push repo:kpadilha/Tiny-Tiny-RSS' (774 ms)
1<?php 2 4 5require_once dirname(__FILE__) . '/config.php'; 6require_once dirname(__FILE__) . '/library/Confluence/Book.php'; 6require_once dirname(__FILE__) . '/library/Confluence/Book.php'; 7require_once dirname(__FILE__) . '/library/Confluence/Chapter.php'; 8 77 78 array_push($new, 'Appendix'); 79} 90 91 array_push($prev, $wikiPage->title); 92} 106 107 array_push($new, $mainChapter->getTitle()); 108zkuser.php https://gitlab.com/zubair_xenomorph/zubair_zklib | PHP | 269 lines
1<?php 2 function getSizeUser($self) { 100 @socket_recvfrom($self->zkclient, $data_recv, 1032, 0, $self->ip, $self->port); 101 array_push( $self->userdata, $data_recv); 102lib.php https://gitlab.com/MotoSport/morgue | PHP | 307 lines
1<?php 2 153 foreach($tickets as $k => $v) { 154 array_push($tickets_ids, $v['ticket']); 155 }DoctrineJsonView.php https://gitlab.com/gothcon/cthulhu | PHP | 347 lines
1<?php 2require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR."../Views/HtmlView.php"); 90 foreach($metadata->associationMappings as $propertyName => $mappingInformation){ 91 array_push($propertyNames,$propertyName); 92 }StaffController.php https://gitlab.com/kalasi/vispunchcard.com | PHP | 329 lines
1<?php 2namespace App\Http\Controllers\Manage; 40 41 array_push($staffs,$userInfo); 42 }Spider.php https://gitlab.com/lalbert/daric | PHP | 395 lines
1<?php 2 138 if (!\in_array($link, $this->links)) { 139 \array_push($this->links, $link); 140 } 177 * 178 * @see http://docs.guzzlephp.org/en/latest/request-options.html 179 *gk.portal_mode_1.php https://gitlab.com/ppapadatis/Videolearn | PHP | 237 lines
1<?php 2 144 // creating table with news content 145 array_push($news_html_tab, $news_generated_content); 146 }Main.php https://gitlab.com/Skull3x/BuildBattlePE-1 | PHP | 419 lines
1<?php 2namespace ImagicalGamer\BuildBattle; 128 $this->getServer()->getLevelByName($args[1])->loadChunk($this->getServer()->getLevelByName($args[1])->getSafeSpawn()->getFloorX(), $this->getServer()->getLevelByName($args[1])->getSafeSpawn()->getFloorZ()); 129 array_push($this->arenas,$args[1]); 130 $this->currentLevel = $args[1];Meta.php https://gitlab.com/ebrjose/comcebu | PHP | 461 lines
1<?php 2namespace AIOSEO\Plugin\Common\Migration; 8 9// phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound 10 252 if ( ! in_array( 'excludePosts', $deprecatedOptions, true ) ) { 253 array_push( $deprecatedOptions, 'excludePosts' ); 254 aioseo()->internalOptions->internal->deprecatedOptions = $deprecatedOptions;quipthread.class.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 346 lines
1<?php 2/** 204 $email = $member->get('email'); 205 if (!empty($email)) array_push($moderators,$email); 206 } 279 280 $this->xpdo->getService('mail', 'mail.modPHPMailer'); 281 if (!$this->xpdo->mail) return false;admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3require_once(APPPATH.'controllers/project.php'); 4 36 foreach( $admins as $k => $v ) { 37 array_push($admin_review_ids, $v["user_id"]); 38 }; 472 foreach( $project_keywords_exp as $k => $v ) { 473 array_push($project_keywordstrim, trim($v)); 474 }main.php https://gitlab.com/BaseX/BaseX | PHP | 254 lines
1<?php 2// $Id: main.php 2 2005-11-02 18:23:29Z skalpa $ 3// ------------------------------------------------------------------------ // 4// XOOPS - PHP Content Management System // 5// Copyright (c) 2000 XOOPS.org // 34} else { 35 include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php'; 36 include_once XOOPS_ROOT_PATH."/modules/system/admin/groups/groups.php"; 57 case "modify": 58 include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; 59 modifyGroup($g_id); 62 if (!$GLOBALS['xoopsSecurity']->check()) { 63 redirect_header("admin.php?fct=groups&op=adminMain", 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())); 64 } 96 if (count($system_catids) > 0) { 97 array_push($admin_mids, 1); 98 foreach ($system_catids as $s_cid) {view-offer_ride_second.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 258 lines
1<?php 2 include_once(TPATH_CLASS_APP . "class.customer.php"); 30 #Server side validation start 31 include_once(TPATH_LIBRARIES."/general/validation.class.php"); 32 $validobj = new validation(); 84 #Server side validation start 85 include_once(TPATH_LIBRARIES."/general/validation.class.php"); 86 $validobj = new validation(); 136 $new_arr['lon'] = number_format($lat_long[1],6,'.',''); 137 array_push($points_arr, $new_arr); 138 for($i=1;$i<=6;$i++) 146 $new_arr['lon'] = number_format($lat_long[1],6,'.',''); 147 array_push($points_arr, $new_arr); 148 } 154 $new_arr['lon'] = number_format($lat_long[1],6,'.',''); 155 array_push($points_arr, $new_arr); 156 $loop = count($points_arr)-1;helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 392 lines
5* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. 6* @license GNU/GPL, see LICENSE.php 7* Joomla! is free software. This version may have been modified pursuant 10* other free or open source software licenses. 11* See COPYRIGHT.php for copyright notices and details. 12*/ 57 if(!array_key_exists($row->id, $unresolved) || $unresolved[$row->id] < $maxdepth) { 58 array_push($rows, $row); 59 // so let us do max $maxdepth passes 135 // Include the legacy library file 136 require_once(dirname(__FILE__).DS.'legacy.php'); 137 mosShowHFMenu($params, 1); 347 // hrm...this is a bit dickey 348 $link = str_replace('index.php', 'index2.php', $tmp->url); 349 $data = '<a href="'.$link.'" onclick="window.open(this.href,\'targetWindow\',\''.$attribs.'\');return false;">'.$image.$tmp->name.'</a>';SectionProfiler.php https://gitlab.com/link233/bootmw | PHP | 529 lines
1<?php 2/** 2/** 3 * Arbitrary section name based PHP profiling. 4 * 25/** 26 * Custom PHP profiler for parser/DB type section names that xhprof/xdebug can't handle 27 * 315 foreach ( $working as $item ) { 316 array_push( $output, $item ); 317 } 341 $space = str_repeat( ' ', $level ); 342 # The ugly double sprintf is to work around a PHP bug, 343 # which has been fixed in recent releases.activitymanager.php https://gitlab.com/wuhang2003/core | PHP | 534 lines
1<?php 2/** 229 public function registerConsumer(\Closure $callable) { 230 array_push($this->consumersClosures, $callable); 231 $this->consumers = []; 243 public function registerExtension(\Closure $callable) { 244 array_push($this->extensionsClosures, $callable); 245 $this->extensions = [];Nodes.php https://gitlab.com/diva-lab/essam-labs | PHP | 314 lines
1<?php 2require_once 'CRUD.php'; 43 public function enable_relation(){ 44 array_push(static::$primary_fields ,'lang_name','$category_title','category_alias','content_id','title','alias','summary','body','lang_id', 45 'first_name','last_name','meta_keys','meta_description','model_name','layout_name','theme_name');mlm_fns.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 580 lines
1<?php 2 253 { 254 array_push($list, array(mysql_result($result, $i, 0), 255 mysql_result($result, $i, 1))); 276 { 277 array_push($list, array(mysql_result($result, $i, 0), 278 mysql_result($result, $i, 1))); 298 { 299 array_push($list, array(mysql_result($result, $i, 0), 300 mysql_result($result, $i, 1))); 328 mysql_result($result, $i, 1), $listname, $listid); 329 array_push($list, $row); 330 } 358 { 359 array_push($list, array(mysql_result($result, $i, 0), 360 mysql_result($result, $i, 1),users_dao.class.singleton.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 278 lines
1<?php 2 133 ); 134 array_push($json, $tmp); 135 } 150 ); 151 array_push($json, $tmp); 152 }class.redux_sass.php https://gitlab.com/rubengrb/ws.vidrialum | PHP | 255 lines
1<?php 2 67 if (!in_array($path, self::$path)) { 68 array_push(self::$path, $path); 69 } 73 if (!in_array($import, self::$import)) { 74 array_push (self::$import, $import); 75 } 139 $GLOBALS['redux_scss_compiler'] = true; 140 require( "scssphp/scss.inc.php" ); 141 } 190 $GLOBALS['redux_scss_compiler'] = true; 191 require( "scssphp/scss.inc.php" ); 192 }inline_editing.php http://logisticsouth.googlecode.com/svn/trunk/ | PHP | 234 lines
1<?php 2 require_once('../qcubed.inc.php'); 106 if ($this->intEditPersonId == -1) 107 array_push($objPersonArray, new Person()); 108meta-box-saves.inc.php https://gitlab.com/Gashler/dp | PHP | 148 lines
1<?php 2/** 70 if ($pages[$_p["ws_plugin__s2member_security_meta_box_level"]] !== array ("all")&& !in_array ("all-pages", $posts[$_p["ws_plugin__s2member_security_meta_box_level"]])) 71 array_push ($pages[$_p["ws_plugin__s2member_security_meta_box_level"]], (string)$page_id); 72 96 if ($posts[$_p["ws_plugin__s2member_security_meta_box_level"]] !== array ("all")&& !in_array ("all-" . $_p["post_type"] . "s", $posts[$_p["ws_plugin__s2member_security_meta_box_level"]])) 97 array_push ($posts[$_p["ws_plugin__s2member_security_meta_box_level"]], (string)$post_id); 98admin-express-functions-deprecated.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 385 lines
1<?php 2 157 for ($j=0; $j<count($struct); $j++) { 158 array_push($recent_posts, $struct[$j]); 159 }Profiler.inc.php https://gitlab.com/nacridan/Nacridan | PHP | 244 lines
1<?php 2 81 $this->trace .= "start $name\n"; 82 $n = array_push($this->stack, $this->cur_timer); 83 $this->__suspendTimer($this->stack[$n - 1]);classification.html https://gitlab.com/team_fsn/fsn-php | HTML | 123 lines
1<?php 2 $base_url = $request->getBaseUrl(); 22$data_ep_classification = array(); 23 array_push($data_ep_classification,$temp[0]); 24} 36<script type="text/javascript"> 37 var json_ep_classification = <?php echo $json_ep_classification; ?> ; 38 39 $(function () { 40 $('#container_ep_classification_bar_<?php echo $unique_div ; ?>').highcharts({ 41 credits: { 84 enabled: false, 85 filename: '<?php echo $sitefouille_nom_secure.'_ep_classification_bar-charts' ; ?>' 86 } 88 setTimeout(function(){ 89 $('#container_ep_classification_bar_<?php echo $unique_div ; ?>').highcharts().reflow(); 90 },100);FMModelGenerete_xml.php https://gitlab.com/ezgonzalez/integral | PHP | 276 lines
1<?php 2 56 $label_id_each = explode('#**id**#', $label_each); 57 array_push($label_id, $label_id_each[0]); 58 $label_oder_each = explode('#**label**#', $label_id_each[1]); 58 $label_oder_each = explode('#**label**#', $label_id_each[1]); 59 array_push($label_order_original, $label_oder_each[0]); 60 $label_temp = preg_replace($ptn, $rpltxt, $label_oder_each[0]); 60 $label_temp = preg_replace($ptn, $rpltxt, $label_oder_each[0]); 61 array_push($label_order, $label_temp); 62 array_push($label_type, $label_oder_each[1]); 65 if (in_array($label, $labels) && $label_type[$key] !='type_arithmetic_captcha') { 66 array_push($sorted_labels, $label_order[$key]); 67 array_push($sorted_labels_id, $label); 67 array_push($sorted_labels_id, $label); 68 array_push($label_titles, stripslashes($label_order_original[$key])); 69 }panier.php https://gitlab.com/thoussem/Tunisie-Shop | PHP | 315 lines
1 2<?php 3 28 { 29 array_push($_SESSION['panier']['id_article'],$select['id']); 30 array_push($_SESSION['panier']['nom'],$select['nom']); 30 array_push($_SESSION['panier']['nom'],$select['nom']); 31 array_push($_SESSION['panier']['qte'],$select['qte']); 32 array_push($_SESSION['panier']['srcimg'],$select['srcimg']); 32 array_push($_SESSION['panier']['srcimg'],$select['srcimg']); 33 array_push($_SESSION['panier']['taille'],$select['taille']); 34 array_push($_SESSION['panier']['prix'],$select['prix']); 140 { 141 array_push($panier_tmp['id_article'],$_SESSION['panier']['id_article'][$i]); 142 array_push($panier_tmp['nom'],$_SESSION['panier']['nom'][$i]);theme.php https://gitlab.com/x33n/respond | PHP | 363 lines
1<?php 2 251 252 array_push($arr, $file); 253main.installer.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 315 lines
79 <h2>Error: PHP is not running</h2> 80 <p>Duplicator requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p> 81 </body> 102$GLOBALS['FW_VERSION_DB'] = '%fwrite_version_db%'; 103$GLOBALS['FW_VERSION_PHP'] = '%fwrite_version_php%'; 104$GLOBALS['FW_VERSION_OS'] = '%fwrite_version_os%'; 298 case "2" : 299 ?> @@VIEW.STEP2.PHP@@ <?php 300 break; 301 case "3" : 302 ?> @@VIEW.STEP3.PHP@@ <?php 303 break; 305} else { 306 ?> @@VIEW.HELP.PHP@@ <?php 307}S3.php https://gitlab.com/x33n/respond | PHP | 460 lines
1<?php 2 22 23 // #ref: http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.S3.S3Client.html#_createBucket 24 $result = $client->createBucket(array( 282 // push file to array 283 array_push($arr, $file); 284 } 303 // push file to array 304 array_push($arr, $file); 305 } 397 398 // sync folders, #ref: http://blogs.aws.amazon.com/php/post/Tx2W9JAA7RXVOXA/Syncing-Data-with-Amazon-S3 399 $client->uploadDirectory($local_dir, $bucket, $keyPrefix, $options); 415 // #support for S3 ANAME 416 // #ref: http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.S3.S3Client.html#_createBucket 417 $result = $client->createBucket(array(Console.php https://github.com/csinitiative/qframe.git | PHP | 307 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Console.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 25 */ 26require_once 'Zend/Tool/Framework/Client/Abstract.php'; 27 30 */ 31require_once 'Zend/Tool/Framework/Client/Interactive/InputInterface.php'; 32 35 */ 36require_once 'Zend/Tool/Framework/Client/Interactive/OutputInterface.php'; 37 77 /** 78 * main() - This is typically called from zf.php. This method is a 79 * self contained main() function.navigation-link.php https://gitlab.com/campus-academy/krowkaramel | PHP | 350 lines
1<?php 2/** 42 // Add the color class. 43 array_push( $colors['css_classes'], 'has-text-color', sprintf( 'has-%s-color', $named_text_color ) ); 44 } elseif ( ! is_null( $custom_text_color ) ) { 68 // Add the background-color class. 69 array_push( $colors['css_classes'], 'has-background', sprintf( 'has-%s-background-color', $named_background_color ) ); 70 } elseif ( ! is_null( $custom_background_color ) ) {BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
1<?php 2/** 56 if ($highlight) { 57 $result = highlight_string("<?php\n" . self::$_output, true); 58 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 115 } else { 116 $id = array_push(self::$_objects, $var); 117 $className = get_class($var); 119 self::$_output .= "$className#$id\n" . $spaces . '('; 120 if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) { 121 $dumpValues = $var->__debugInfo(); 141 * 142 * The string is a valid PHP expression that can be evaluated by PHP parser 143 * and the evaluation result will give back the variable value. 147 * 148 * It also handles objects by using the PHP functions serialize() and unserialize(). 149 *zkfingerprint.php https://gitlab.com/zubair_xenomorph/zubair_zklib | PHP | 305 lines
1<?php 2 178 @socket_recvfrom($self->zkclient, $data_recv, 1032, 0, $self->ip, $self->port); 179 array_push( $self->userdata, $data_recv); 180stylesheet.php https://gitlab.com/x33n/respond | PHP | 240 lines
1<?php 2/** 222 223 array_push($arr, $name); 224 }write_cp_options.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 256 lines
1<?php 2/** 19 <div class="postbox"> 20 <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div> 21 <h3 class="hndle" id="config_edit_<?php echo $post_type; ?>"> 21 <h3 class="hndle" id="config_edit_<?php echo $post_type; ?>"> 22 <?php _e('Write options', FB_ADMINIMIZE_TEXTDOMAIN ); echo ' - ' . $post_type_object->label; ?> 23 </h3> 29 <tr> 30 <th><?php _e('Write options', FB_ADMINIMIZE_TEXTDOMAIN ); echo ' - ' . $post_type_object->label ?></th> 31 <?php 32 foreach ( $user_roles_names as $role_name ) { ?> 33 <th><?php _e('Deactivate for', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br/>' . $role_name; ?></th> 34 <?php } ?> 38 <tbody> 39 <?php 40 $metaboxes = array(PersonaController.php https://code.google.com/p/ss-cup-autogestion-site/ | PHP | 441 lines
1<?php 2 6 * @var string the default layout for the views. Defaults to '//layouts/column2', meaning 7 * using two-column layout. See 'protected/views/layouts/column2.php'. 8 */ 97 $tmpDireccion= array(); 98 array_push($tmpDireccion, $direccion); 99 $model->direcciones = $tmpDireccion; 103 $tmpComunicacion = array(); 104 array_push($tmpComunicacion, $comunicacion); 105 $model->comunicaciones = $tmpComunicacion; 339 340 array_push($communications, $modelCommunication); 341 }scripts.php https://gitlab.com/mattyhead/RPB-chessboard | PHP | 186 lines
1<?php 2/****************************************************************************** 110 { 111 array_push($buttons, 'rpb-chessboard'); 112 return $buttons;xml.class.php http://wikiplot.googlecode.com/svn/trunk/ | PHP | 398 lines
1<?php 2/* 30 * <code> 31 * <?php 32 * $xml_data = "<root> 213 * 214 * The function uses xml_parse() function from XML Parser Functions in PHP 215 * and parses only the first tag in the given XML data and ignores 289 //this will return the complete tag = <tag>Hello</tag> 290 array_push($this->Tags, $this->Separator . $InterestedTags[$i]); 291 } 389 //Store the data parsed by the XMLParser in the $Graph 390 array_push($Graph, $XMLParser->Tag); 391 }gk.portal_mode_5.php https://gitlab.com/ppapadatis/Videolearn | PHP | 189 lines
1<?php 2// 107 if($news_image !== '') { 108 array_push($news_image_tab, $news_image_content); 109 array_push($news_title_tab, $news_generated_content);PatternSet.php https://github.com/adatta02/comp190-code.git | PHP | 491 lines
1<?php 2/* 2/* 3 * $Id: PatternSet.php 257 2007-10-21 00:27:07Z hans $ 4 * 21 22include_once 'phing/system/io/FileReader.php'; 23include_once 'phing/types/DataType.php'; 160 private function addPatternToList(&$list) { 161 $num = array_push($list, new PatternSetNameEntry()); 162 return $list[$num-1]; 286 $stk = array(); 287 array_push($stk, $this); 288 $this->dieOnCircularReference($stk, $p); 309 if ($pattern !== null && strlen($pattern) > 0) { 310 array_push($tmpNames, $pattern); 311 }MUser.php https://bitbucket.org/yishenggudou/101xd.git | PHP | 383 lines
1<?php 2 105 foreach($data as $key=>$value){ 106 array_push($res,$value['Name']); 107 }OrdersFixtureTest.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 262 lines
1<?php 2/** 10 11class OrdersFixtureTest extends \PHPUnit_Framework_TestCase 12{ 14 /** 15 * @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Setup\Fixtures\FixtureModel 16 */ 32 * 33 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 34 */ 183 184 array_push( 185 $mockObjects,iCalendar.php https://gitlab.com/rsilveira1987/Expresso | PHP | 137 lines
1<?php 2/** 62 // add the child to the parent 63 array_push($parent['children'], $child); 64 }Element.php https://gitlab.com/r.collas/site_central | PHP | 360 lines
1<?php 2/** 186 if(!in_array($class, $classes)) 187 array_push($classes, $class); 188 359 360// Do not clause PHP tags unless it is really necessaryMessageBuilder.php https://gitlab.com/m.ghanbari/mailgun-subscriber | PHP | 484 lines
1<?PHP 2 15 * 16 * @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md 17 */ 110 if (isset($this->message[$headerName])) { 111 array_push($this->message[$headerName], $compiledAddress); 112 } elseif ($headerName == "h:reply-to") { 262 ); 263 array_push($this->files["attachment"], $attachment); 264 } else { 290 ); 291 array_push($this->files['inline'], $inlineAttachment); 292 } else { 331 if (isset($this->message['o:campaign'])) { 332 array_push($this->message['o:campaign'], $campaignId); 333 } else {storestocksale.php https://gitlab.com/alexprowars/bitrix | PHP | 292 lines
1<?php 2 211 $columnElements = array_column($item, $columnKey); 212 array_push($combineColumnElements, ...$columnElements); 213 }CompareController.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 191 lines
1<?php 2include_once ROOT . DS . 'libraries' . DS . 'backend' . DS . 'SlideCompare' . DS . 'SlideCompare.php'; 171 $flag ++; 172 array_push ( $changes, array ($index, $deck2->content [$index]->id, $val->id ) ); 173 }Config.php https://github.com/oilcf/agilebill.git | PHP | 401 lines
10 * the PHP License and are unable to obtain it through the web, please 11 * send a note to license@php.net so we can mail you a copy immediately. 12 * 17 * @copyright 1997-2005 The PHP Group 18 * @license http://www.php.net/license/3_0.txt PHP License 3.0 19 * @version CVS: $Id: Config.php,v 1.48 2005/09/24 04:25:33 cellog Exp $ 26 */ 27require_once 'PEAR/Command/Common.php'; 28 36 * @copyright 1997-2005 The PHP Group 37 * @license http://www.php.net/license/3_0.txt PHP License 3.0 38 * @version Release: 1.4.5 333 $config->noRegistry(); 334 $config->set('php_dir', $windows ? "$root\\pear\\php" : "$root/pear/php", 'user'); 335 $config->set('data_dir', $windows ? "$root\\pear\\data" : "$root/pear/data");UEditorAction.php https://gitlab.com/tangsengjiu/Talk | PHP | 281 lines
1<?php 2namespace kucha\ueditor; 20 //默认设置 21 $_config = require(__DIR__ . '/config.php'); 22 //load config file 234 $info = $item->getFileInfo(); 235 array_push($list, array( 236 "state" => $info["state"],legend.php https://gitlab.com/ricardosanchez/prueba | PHP | 252 lines
1<?php 2/** 15 */ 16include_once(JPATH_SITE."/modules/mod_jevents_legend/tmpl/default/legend.php"); 17 49 50 include_once(JPATH_ADMINISTRATOR."/components/".JEV_COM_COMPONENT."/libraries/colorMap.php"); 51 115 116 array_push($allrows,$allcats); 117 if (count($allrows)==0) return ""; 169 170 //include_once(JPATH_SITE."/components/$option/events.html.php"); 171 ob_start(); 193 ."<td class='legend' >" 194 ."<a style='text-decoration:none' href='".JRoute::_("index.php?option=".JEV_COM_COMPONENT."$cat$itm$tsk")."' title='".JEventsHTML::special($row->name)."'>" 195 .JEventsHTML::special($row->name)."</a></td></tr>\n";DocBlockScanner.php https://gitlab.com/yousafsyed/easternglamor | PHP | 326 lines
1<?php 2/** 149 case 'DOCBLOCK_TAG': 150 array_push($this->tags, array('name' => $token[1], 151 'value' => ''));mediaaccess.php https://gitlab.com/thisishayat/itv-2016 | PHP | 414 lines
1<?php 2 175 { 176 array_push($elem_attr, $n . '="' . $v . '"'); 177 } 203 204 return 'media-upload.php?post_id=' . $post_ID . '&tab=' . $tab . '&TB_iframe=1'; 205 } 288 { 289 array_push($elem_attr, $n . '="' . $v . '"'); 290 } 308 309 $file = basename(parse_url($uri, PHP_URL_PATH)); 310 310 311 if ($uri AND in_array($file, array('post.php', 'post-new.php'))) 312 {function.menu.php https://gitlab.com/ElvisAns/tiki | PHP | 248 lines
1<?php 2 114 if ($level === 0) { 115 array_push($structured, $element); 116 continue; 130 if (! empty($branch['children'])) { 131 array_push($branch['children'], $element); 132 } else {Campaign.php https://gitlab.com/estratega.pe/cc | PHP | 309 lines
1<?php 2defined('BASEPATH') OR exit('No direct script access allowed'); 97 while ($name = current($opciones_sino)) { 98 array_push($p_select_ind_activo, ['ID' => key($opciones_sino), 'NAME' => $name]); 99 next($opciones_sino); 232 foreach($result as $r) { 233 array_push($records, [ 234 'id_campaign' => $r->id_campaignSettings.php https://gitlab.com/waltspence/woocommerce-html5-video | PHP | 220 lines
1<?php 2namespace WooCommerceHTML5Video; 40 ?> 41 <a href="options-general.php?page=html5-video-settings">Settings</a> 42 <?php 44 ob_end_clean(); 45 array_push( $links, $settings_link ); 46 ob_start(); 48 <a title="documentation" target="_blank" href="http://www.webilop.com/products/woocommerce-html5-video/">Docs</a> 49 <?php 50 $docs_link = ob_get_contents(); 51 ob_end_clean(); 52 array_push( $links, $docs_link); 53 return $links; 65 <div class="wrap"> 66 <?php screen_icon(); ?> 67 <h2>WooCommerce Html5 Video Settings</h2>update.php https://bitbucket.org/rubbystar/carimod.git | PHP | 487 lines
1<?php 2/** 240 { 241 array_push($this->stack, $name); 242 $tag = $this->_getStackLocation(); 324 // Check if PHP version supported via <php_minimum> tag, assume true if tag isn't present 325 if (!isset($this->currentUpdate->php_minimum) || version_compare(PHP_VERSION, $this->currentUpdate->php_minimum->_data, '>=')) 326 { 326 { 327 $phpMatch = true; 328 } 330 { 331 $phpMatch = false; 332 } 341 342 if ($phpMatch && $stabilityMatch) 343 {wpg-admin.class.php https://gitlab.com/decarola/mistic-be | PHP | 240 lines
1<?php 2/** 34 public function tinymce_add_dropdown_button( $buttons ){ 35 array_push( $buttons, 'wpglossary' ); 36 return $buttons; 62 $glossary_options = add_submenu_page( 63 "edit.php?post_type=$slug", 64 __( 'Glossary Options', 'wp-glossary' ), 72 public function options(){ 73 $ajax = admin_url( 'admin-ajax.php' ); 74 $options = get_option( 'wp_glossary', array() ); 172 </div> 173 <h2><?php _e('WP Glossary Options', 'wp-glossary'); ?></h2> 174 <div id="dashboard-widgets-wrap"> 178 179 <form action="<?php echo $ajax; ?>" method="post" class="simpleajaxform" data-target="update-response"> 180Api.php https://bitbucket.org/atipso/atipso-magento-extension.git | PHP | 275 lines
1<?php 2/** 28 // // Set tax percent (its always percent right ? right ?) 29 // // Inspired by Magento's app\code\core\Mage\Tax\Model\Observer.php. 30 // // Please note that this value must be manually added into the 'result' 72 'label' => $productAttribute->getFrontend()->getLabel(), 73 // // Next one from function 'getConfigurableAttributesAsArray' in app\code\core\Mage\Catalog\Model\Product\Type\Configurable.php 74 'options' => $attribute->getPrices() 79 ); 80 array_push($configurable_attributes, $att); 81 122 123 array_push($used_products, 124 // $rp->getData() 150 // // The next line has 'option_id', 'title', 'default_price' etc 151 array_push($ov, $v->getData()); 152 }register.php https://gitlab.com/nvtdn2006/azora | PHP | 284 lines
1<?php require_once './includes/application.php'; $this->template = 'registration'; $this->title = 'Registration'; ?> 2 67 $isValid = false; 68 array_push($error, 'Invalid date of birth.'); 69 } 182 </div> 183<?php 184 } 186 187<form name="registerform" id="registerform" action="register.php" method="post"> 188 <table class="formview" width="100%" border="0" cellspacing="3px" cellpadding="3px"> 255 <td> 256 <img src="components/cool.php.captcha/captcha.php" id="captcha" /> 257 <!-- CHANGE TEXT LINK --> 258 <a href="#" onclick=" 259 document.getElementById('captcha').src='components/cool.php.captcha/captcha.php?'+Math.random(); 260 document.getElementById('captcha-form').focus();"general_functions.php https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn | PHP | 269 lines
141 }else if($a['joblevels']!=""){ 142 array_push($tax_query,array( 143 'taxonomy' => 'joblevels', 181 ?> 182 <div class="itemcount">Displaying <?php if($myquery->found_posts<4) echo $myquery->found_posts; else if($myquery->found_posts<$args['paged']*4) echo $myquery->found_posts; else if($args['paged']==0) echo 4; else echo $args['paged']*4; ?> of <?php echo $myquery->found_posts; ?> <?php echo ($a['display_title']=="" OR $a['display_title']=="courses")?"courses":"ebooks" ?></div> 183 <ul class="products custom-search"> 200 <div class="product_description"> 201 <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> 202 <?php the_excerpt(); 209 <a href="<?php the_permalink()?>" class="find-out-more" style="background-color:<?php echo get_field('readmore_buttom_background') ?>">Find out more</a> 210 <a class="add_to_cart_button product_type_simple" style="background-color:<?php echo get_field('readmore_buttom_background') ?>" data-quantity="1" data-product_sku="<?php echo $product->get_sku(); ?>" data-product_id="<?php the_ID(); ?>" rel="nofollow" href="/course-finder/?add-to-cart=23">Buy Now</a> 211 </div> 260?> 261 <a class="cart-contents" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', 'woothemes'); ?>"><?php echo sprintf(_n('%d item in the basket', '%d items in the basket', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?></a> 262<?phpLinkPreview.php https://gitlab.com/alidzapp/Link-Preview | PHP | 238 lines
1<?php 2/** 3 * Copyright (c) 2015 Leonardo Cardoso (http://leocardz.com) 4 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 5 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. 9 10/** Important php5-curl must be installed and enabled */ 11 11 12include_once "Media.php"; 13include_once "Regex.php"; 13include_once "Regex.php"; 14include_once "SetUp.php"; 15include_once "Url.php"; 15include_once "Url.php"; 16include_once "Content.php"; 17include_once "Json.php";InventoryController.php https://gitlab.com/jeruick/imosa | PHP | 366 lines
1<?php 2 188 $temp = Replacement::find($item->replacement_id); 189 array_push($replacements, $temp); 190 }WindJson.php https://gitlab.com/wuhang2003/phpwind | PHP | 330 lines
1<?php 2Wind::import('WIND:utility.WindConvert'); 5 * 6 * 支持json转php类型,以及php类型转json. 7 * @author Long.shi <long.shi@adlibaba-inc.com> 2011-10-19 7 * @author Long.shi <long.shi@adlibaba-inc.com> 2011-10-19 8 * @copyright ©2003-2103 phpwind.com 9 * @license http://www.windframework.com 9 * @license http://www.windframework.com 10 * @version $Id: WindJson.php 3859 2012-12-18 09:25:51Z yishuo $ 11 * @package utility 84 /** 85 * 将json格式转成php string类型 86 * 156 } 157 array_push($stk, array('what' => self::JSON_SLICE, 'where' => 0, 'delim' => false)); 158 $chrs = substr($str, 1, -1);Pagination.class.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 447 lines
1<?php 2 4 * Pagination 5 * @link https://github.com/onassar/PHP-Pagination/blob/master/Pagination.class.php 6 * Supplies an API for setting pagination details, and renders the resulting 6 * Supplies an API for setting pagination details, and renders the resulting 7 * pagination markup (html) through the included render.inc.php file. 8 * 18 * // source inclusion 19 * require_once APP . '/vendors/PHP-Pagination/Pagination.class.php'; 20 * 30 * // source inclusion 31 * require_once APP . '/vendors/PHP-Pagination/Pagination.class.php'; 32 * 151 if (empty($target)) { 152 $target = $_SERVER['PHP_SELF']; 153 }ArticlesController.php https://gitlab.com/forby/Trace | PHP | 476 lines
1<?php namespace App\Http\Controllers; 2 402 $new = Tag::create(['name' => $tag]); 403 array_push( $tag_ids, strval($new->id) ); 404 } else { 404 } else { 405 array_push( $tag_ids, $tag ); 406 }redemptiondetail.php https://gitlab.com/nvtdn2006/azora | PHP | 316 lines
1<?php require_once './includes/application.php'; $this->template = ''; $this->title = 'Redemption Detail'?> 2 65 66 require_once './includes/user.php'; 67 $userObj = new User(); 90 91 header( 'Location: redemptiondone.php?id='.$_POST['redemption_id']); 92 exit(); 184 <td><?php echo $detail['store_name']; ?></td> 185 <td width="70px"><input type="text" name="points[]" class="input" value="<?php 186 echo $detail['points']; 188 </tr> 189 <?php 190 $tpoints += $detail['points']; 235 <td width="60px"> 236 <img src="<?php echo $config['PRMSConfig']->live_site . '/domain/images/products/' . $image['sys_file_name']; ?>" width="50" height="50" alt="<?php echo $product['product']['product_name']; ?>" title="<?php echo $product['product']['product_name']; ?>"/></td> 237 <td><b><?php echo $product['product']['product_name']; ?></b></td>search-form.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 259 lines
54 <div class="search-box-inline<?php echo $javo_this_onoff->get('keyword', null) == 'hide' ? ' hidden' : ''; ?>"> 55 <input title="Digite ao menos 3 caracteres para pesquisar!" type="text" class="search-a-items" name="s" placeholder="<?php _e('Keyword', 'javo_fr'); ?>" value="<?php echo $javo_query->get('s', null); ?>"> 56 </div> 57 58 <div class="search-box-inline<?php echo $javo_this_onoff->get('category', null) == 'hide'? ' hidden':'';?>" style="display: none;"> 59 <select name="filter[item_category]" class="form-control"> 73 <option value="data-javo-patch-form-for-result"><?php _e('Search Result Page', 'javo_fr'); ?></option> 74 <option value="data-javo-patch-form-for-template"><?php _e('Search on the Map', 'javo_fr'); ?></option> 75 </select> 77 <div class="search-box-inline"> 78 <input type="submit" class="btn btn-block btn-primary admin-color-setting" title="Pesquisar" alt="<?php _e('Search', 'javo_fr'); ?>" > 79 </div><!-- /.col-md-2 --> 162 $.ajax({ 163 url:'<?php echo admin_url("admin-ajax.php"); ?>' 164 , type: 'post'ProjectCategoriesController.php https://gitlab.com/HudsonNicoletti/Rhyno | PHP | 328 lines
1<?php 2 303 { 304 array_push($inputs,[ "label" => $f->getAttribute("label") , "input" => $f->render($f->getName()) , "file" => $f->getAttribute("file") , "active" => $f->getAttribute("active") , "cl" => $f->getAttribute("cl") ]); 305 }managefile.php https://gitlab.com/vectorci/Collabtive | PHP | 323 lines
1<?php 2include("./init.php"); 92 } 93 $loc = $url .= "managefile.php?action=showproject&id=$id&mode=added"; 94 header("Location: $loc"); 141 } 142 $loc = $url .= "managefile.php?action=showproject&id=$id&mode=added"; 143 //header("Location: $loc"); 176 if ($myfile->edit($thisfile, $title, $desc, $tags)) { 177 $loc = $url .= "managefile.php?action=showproject&id=$id&mode=edited"; 178 header("Location: $loc"); 232 if (in_array($userpermissions["ID"], $filevis)) { 233 array_push($finfiles, $file); 234 } 235 } else { 236 array_push($finfiles, $file); 237 }XmlImportTemplateParser.php https://gitlab.com/najomie/fit-hippie | PHP | 444 lines
1<?php 2/** 6 7require_once dirname(__FILE__) . '/ast/XmlImportAstSequence.php'; 8require_once dirname(__FILE__) . '/ast/XmlImportAstPrint.php'; 8require_once dirname(__FILE__) . '/ast/XmlImportAstPrint.php'; 9require_once dirname(__FILE__) . '/ast/XmlImportAstText.php'; 10require_once dirname(__FILE__) . '/ast/XmlImportAstWith.php'; 10require_once dirname(__FILE__) . '/ast/XmlImportAstWith.php'; 11require_once dirname(__FILE__) . '/ast/XmlImportAstForeach.php'; 12require_once dirname(__FILE__) . '/ast/XmlImportAstIf.php'; 12require_once dirname(__FILE__) . '/ast/XmlImportAstIf.php'; 13require_once dirname(__FILE__) . '/ast/XmlImportAstMath.php'; 14require_once dirname(__FILE__) . '/ast/XmlImportAstSpintax.php'; 15 16require_once dirname(__FILE__) . '/ast/XmlImportAstXPath.php'; 17require_once dirname(__FILE__) . '/ast/XmlImportAstString.php';http_build_query.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 100 lines
1<?PHP 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP Version 4 | 4// +----------------------------------------------------------------------+ 4// +----------------------------------------------------------------------+ 5// | Copyright (c) 1997-2004 The PHP Group | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | This source file is subject to version 3.0 of the PHP license, | 8// | that is bundled with this package in the file LICENSE, and is | 9// | available at through the world-wide-web at | 10// | http://www.php.net/license/3_0.txt. | 11// | If you did not receive a copy of the PHP license and are unable to | 12// | obtain it through the world-wide-web, please send a note to | 13// | license@php.net so we can mail you a copy immediately. | 14// +----------------------------------------------------------------------+TranslationService.php https://bitbucket.org/fanch1/testlb.git | PHP | 344 lines
1<?php 2/** 196 } else { 197 array_push($domains['data'], $data); 198 }ActionStack.php https://gitlab.com/rsilveira1987/Expresso | PHP | 245 lines
1<?php 2/** 22/** Zend_Controller_Plugin_Abstract */ 23require_once 'Zend/Controller/Plugin/Abstract.php'; 24 25/** Zend_Registry */ 26require_once 'Zend/Registry.php'; 27 36 * @license http://framework.zend.com/license/new-bsd New BSD License 37 * @version $Id: ActionStack.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 38 */ 161 $stack = $this->getStack(); 162 array_push($stack, $next); 163 return $this->_saveStack($stack); 181 if (!$next instanceof Zend_Controller_Request_Abstract) { 182 require_once 'Zend/Controller/Exception.php'; 183 throw new Zend_Controller_Exception('ArrayStack should only contain request objects');fo2pdf.php https://gitlab.com/marioalvarez/ferrominio | PHP | 339 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP Version 4 | 4// +----------------------------------------------------------------------+ 4// +----------------------------------------------------------------------+ 5// | Copyright (c) 1997-2003 The PHP Group | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | This source file is subject to version 2.0 of the PHP license, | 8// | that is bundled with this package in the file LICENSE, and is | 9// | available at through the world-wide-web at | 10// | http://www.php.net/license/2_02.txt. | 11// | If you did not receive a copy of the PHP license and are unable to | 12// | obtain it through the world-wide-web, please send a note to | 13// | license@php.net so we can mail you a copy immediately. | 14// +----------------------------------------------------------------------+html.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 346 lines
11* other free or open source software licenses. 12* See COPYRIGHT.php for copyright notices and details. 13*/ 142 $list = @$children[$pt] ? $children[$pt] : array(); 143 array_push( $list, $v ); 144 $children[$pt] = $list; 267 <a href='javascript:history.go(-1)'> 268 <?php echo JText::_( 'BACK' ); ?></a> 269 </div> 269 </div> 270 <?php 271 } 318 <td align="right" width="100%" class="buttonheading"> 319 <a href="<?php echo $link; ?>" onclick="window.open('<?php echo $link; ?>','win2','<?php echo $status; ?>'); return false;" title="<?php echo JText::_( 'Print' );?>"> 320 <?php echo $image;?></a>QiniuStorage.class.php https://gitlab.com/fangfangchen/xianpipa | PHP | 333 lines
1<?php 2 namespace Think\Upload\Driver\Qiniu; 87 foreach ($fields as $name => $val) { 88 array_push($data, '--' . $mimeBoundary); 89 array_push($data, "Content-Disposition: form-data; name=\"$name\""); 89 array_push($data, "Content-Disposition: form-data; name=\"$name\""); 90 array_push($data, ''); 91 array_push($data, $val); 94 //文件 95 array_push($data, '--' . $mimeBoundary); 96 $name = $file['name']; 99 $fileName = self::Qiniu_escapeQuotes($fileName); 100 array_push($data, "Content-Disposition: form-data; name=\"$name\"; filename=\"$fileName\""); 101 array_push($data, 'Content-Type: application/octet-stream'); 101 array_push($data, 'Content-Type: application/octet-stream'); 102 array_push($data, ''); 103 array_push($data, $fileBody);view_render_php.php http://enaj.googlecode.com/svn/trunk/ | PHP | 479 lines
1<?php 2// $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 3 9 * @license New BSD License {@link http://qeephp.com/license/} 10 * @version $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 11 * @package mvc 17 * @author YuLei Liao <liaoyulei@qeeyuan.com> 18 * @version $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 19 * @package mvc 67 * 68 * @var QView_Render_PHP_Parser 69 */ 234 * @author YuLei Liao <liaoyulei@qeeyuan.com> 235 * @version $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 236 * @package mvcTermLocalizedTranslationTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 237 lines
1<?php 2 139 $tests[1] = $tests[0]; 140 array_push($tests[1]['source_data']['i18n_string'], 141 [ 156 ]); 157 array_push($tests[1]['source_data']['locales_target'], 158 [ 175 // The expected results. 176 array_push($tests[1]['expected_data'], 177 [Container.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 421 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Container.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Profile/Resource/SearchConstraints.php'; 27 107 if (!is_array($currentConstraint->params)) { 108 require_once 'Zend/Tool/Project/Profile/Exception.php'; 109 throw new Zend_Tool_Project_Profile_Exception('Search parameter specifics must be in the form of an array for key "' 147 if (($parentResource = $this->search($appendResourceOrSearchConstraints)) == false) { 148 require_once 'Zend/Tool/Project/Profile/Exception.php'; 149 throw new Zend_Tool_Project_Profile_Exception('No node was found to append to.'); 173 } else { 174 require_once 'Zend/Tool/Project/Profile/Exception.php'; 175 throw new Zend_Tool_Project_Profile_Exception('Context by name ' . $context . ' was not found in the context registry.');smarty_internal_compilebase.php https://gitlab.com/adamlwalker/generatedata | PHP | 176 lines
1<?php 2/** 137 { 138 array_push($compiler->_tag_stack, array($openTag, $data)); 139 }OrdersFixtureTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 267 lines
1<?php 2/** 11/** 12 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 13 */ 13 */ 14class OrdersFixtureTest extends \PHPUnit_Framework_TestCase 15{ 17 /** 18 * @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Setup\Fixtures\FixtureModel 19 */ 35 * 36 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 37 */ 188 189 array_push( 190 $mockObjects,Container.php https://gitlab.com/luisrepo/ClienteWS | PHP | 421 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Container.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Profile/Resource/SearchConstraints.php'; 27 107 if (!is_array($currentConstraint->params)) { 108 require_once 'Zend/Tool/Project/Profile/Exception.php'; 109 throw new Zend_Tool_Project_Profile_Exception('Search parameter specifics must be in the form of an array for key "' 147 if (($parentResource = $this->search($appendResourceOrSearchConstraints)) == false) { 148 require_once 'Zend/Tool/Project/Profile/Exception.php'; 149 throw new Zend_Tool_Project_Profile_Exception('No node was found to append to.'); 173 } else { 174 require_once 'Zend/Tool/Project/Profile/Exception.php'; 175 throw new Zend_Tool_Project_Profile_Exception('Context by name ' . $context . ' was not found in the context registry.');PhpAcl.php https://gitlab.com/digaotinfo/agendaLegislativa | PHP | 539 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 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://cakephp.org CakePHP(tm) Project 15 * @package Cake.Controller.Component.Acl 20/** 21 * PhpAcl implements an access control system using a plain PHP configuration file. 22 * An example file can be found in app/Config/acl.php 49 * 50 * @var PhpAco 51 */ 76 77 App::uses('PhpReader', 'Configure'); 78 $Reader = new PhpReader(dirname($this->options['config']) . DS);ajax_income_1.php https://gitlab.com/dev.essetel/sjnuri | PHP | 262 lines
1<?php 2include_once('./_common.php'); 104 <td> 105 <a href='./income_day_print.php?calldate={$row['a_call_date']}&drvseq={$a_mb_seq}&drv_distance={$row['a_drv_distance']}&cnt={$row['a_cnt']}&drv_cash={$row['a_drv_cash']}&drv_vccash={$row['a_drv_vccash']}&cnt_1={$row['a_cnt_1']}&drv_cash_1={$row['a_drv_cash_1']}&drv_vccash_1={$row['a_drv_vccash_1']}&tollfee_a={$a_tollfee_a}' onclick='return dayprint(this.href);' target='_blank' class='btn btn_02'>일계표</a> 106 </td> 125 // <td> 126 // <form id='fincome1' method='post' action='./income_day_print.php'> 127 // <input type='hidden' name='calldate' value='{$row['a_call_date']}'> 141 // $option['date'] = $row['call_date']; 142 // array_push($options, preg_replace('/\r\n|\r|\n/','',$option)); 143 array_push($options, $option); 250 <td> 251 <a href='./income_day_print.php?calldate={$row['a_call_date']}&drvseq={$a_mb_seq}&drv_distance={$row['a_drv_distance']}&cnt={$row['a_cnt']}&drv_cash={$row['a_drv_cash']}&drv_vccash={$row['a_drv_vccash']}&cnt_1={$row['a_cnt_1']}&drv_cash_1={$row['a_drv_cash_1']}&drv_vccash_1={$row['a_drv_vccash_1']}&tollfee_a={$a_tollfee_a}' onclick='return dayprint(this.href);' target='_blank' class='btn btn_02'>일계표</a> 252 </td> 254 // $option['date'] = $row['call_date']; 255 // array_push($options, preg_replace('/\r\n|\r|\n/','',$option)); 256 array_push($options, $option);metaboxes.php https://gitlab.com/code26/selah | PHP | 368 lines
1<?php 2 70 // 'slug' => array( 'news', 'blog' ), 71 // 'template' => array( 'fullwidth.php', 'simple.php' ), 72 // 'parent' => array( 10 ) 348 foreach ($categories as $category) { 349 array_push($catslugs, $category->slug); 350 }temperature_graphs.php https://gitlab.com/guilleJB/jayfishv30 | PHP | 291 lines
99 pointHighlightStroke : "rgba(151,187,205,1)", 100 data : [<?php echo $yesterday_therm9; ?>,<?php echo $yesterday_therm10; ?>,<?php echo $yesterday_therm11; ?>,<?php echo $yesterday_therm12; ?>,<?php echo $yesterday_therm1; ?>,<?php echo $yesterday_therm2; ?>,<?php echo $yesterday_therm3; ?>,<?php echo $yesterday_therm4; ?>,<?php echo $yesterday_therm5; ?>,<?php echo $yesterday_therm6; ?>,<?php echo $yesterday_therm7; ?>,<?php echo $yesterday_therm8; ?>] 101 }, 109 pointHighlightStroke : "rgba(220,220,220,1)", 110 data : [<?php echo $yesterday_thermii9; ?>,<?php echo $yesterday_thermii10; ?>,<?php echo $yesterday_thermii11; ?>,<?php echo $yesterday_thermii12; ?>,<?php echo $yesterday_thermii1; ?>,<?php echo $yesterday_thermii2; ?>,<?php echo $yesterday_thermii3; ?>,<?php echo $yesterday_thermii4; ?>,<?php echo $yesterday_thermii5; ?>,<?php echo $yesterday_thermii6; ?>,<?php echo $yesterday_thermii7; ?>,<?php echo $yesterday_thermii8; ?>] 111 } 217 pointHighlightStroke : "rgba(151,187,205,1)", 218 data : [<?php echo $therm9; ?>,<?php echo $therm10; ?>,<?php echo $therm11; ?>,<?php echo $therm12; ?>,<?php echo $therm1; ?>,<?php echo $therm2; ?>,<?php echo $therm3; ?>,<?php echo $therm4; ?>,<?php echo $therm5; ?>,<?php echo $therm6; ?>,<?php echo $therm7; ?>,<?php echo $therm8; ?>] 219 }, 227 pointHighlightStroke : "rgba(220,220,220,1)", 228 data : [<?php echo $thermii9; ?>,<?php echo $thermii10; ?>,<?php echo $thermii11; ?>,<?php echo $thermii12; ?>,<?php echo $thermii1; ?>,<?php echo $thermii2; ?>,<?php echo $thermii3; ?>,<?php echo $thermii4; ?>,<?php echo $thermii5; ?>,<?php echo $thermii6; ?>,<?php echo $thermii7; ?>,<?php echo $thermii8; ?>] 229 } 263 <div class="col-md-4"> 264 <table class="<?php print $tablebackground_nolines;?>" border="0" width="<?php print $tablewidth;?>"> 265 <td style="padding-left:10px; padding-right:10px;"><div align="center" class="plaindark customfont">Todays Graph</div></td><tr>Dashboard.php https://gitlab.com/rhungs/pelayanan_cs | PHP | 236 lines
1<?php 2 75 foreach($results as $row) { 76 array_push($build_array["data_grafik"], 77 array( 98 if($row->indikator_category_id==1){ 99 array_push($build_array["data_sangat_puas"], 100 array( 105 }else if($row->indikator_category_id==2){ 106 array_push($build_array["data_puas"], 107 array( 112 }else if($row->indikator_category_id==3){ 113 array_push($build_array["data_tidak_puas"], 114 array(manageuser.php https://gitlab.com/vectorci/Collabtive | PHP | 324 lines
1<?php 2include("init.php"); 79 if ($user->login($username, $pass)) { 80 $loc = $url . "index.php?mode=login"; 81 header("Location: $loc"); 87 if ($user->logout()) { 88 header("Location: index.php?mode=logout"); 89 } 106 } 107 array_push($languages_fin, $fin); 108 } 136 if ($erweiterung != "image/jpeg" and $erweiterung != "image/png" and $erweiterung != "image/gif" and $erweiterung != "image/pjpeg") { 137 $loc = $url . "manageuser.php?action=profile&id=$userid"; 138 header("Location: $loc"); 168 } 169 $loc = $url . "manageuser.php?action=profile&id=$userid&mode=edited"; 170 header("Location: $loc");response.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 283 lines
1<?php 2/** 2/** 3 * @version $Id: response.php 21044 2011-03-31 16:03:23Z dextercowley $ 4 * @package Joomla.Framework 6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 */ 156 function appendBody($content) { 157 array_push($GLOBALS['_JRESPONSE']->body, (string) $content); 158 }X2FlowTestBase.php https://gitlab.com/e0/X2CRM | PHP | 237 lines
1<?php 2 114 if ($action[0] === 'X2FlowSwitch') { 115 array_push ($flattenedTrace, array ( 116 'action' => $action[0], 122 } elseif ($action[0] === 'X2FlowSplitter') { 123 array_push ($flattenedTrace, array ( 124 'action' => $action[0], 129 } else { 130 array_push ($flattenedTrace, array ( 131 'action' => $action[0], 216 $classPath = $actionsPath.DIRECTORY_SEPARATOR.$file; 217 if(preg_match ("/\.php$/", $file) && is_file($classPath) && !is_dir($classPath)) { 218 $classFiles[] = substr($file,0,-4);manageusers-3.inc.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 190 lines
1<?php 2$f_userid = (int)readGetVar('userid'); 158if($g_vars['page']['errors']) { 159 include_once($DOCUMENT_PAGES."manageusers-2.inc.php"); 160} else { 177 unset($arrGroupIDsNew[$i_rSet1->fields['groupid']]); 178else array_push($arrGroupIDsToDelete, $i_rSet1->fields['groupid']); 179$i_rSet1->MoveNext(); 183foreach($arrGroupIDsNew as $key=>$val) 184 array_push($arrGroupIDsToAdd, $key); 185manageUserGroups(array($f_userid), $arrGroupIDsToAdd, true); 187} 188gotoLocation('users.php'); 189}Exceptions.php https://gitlab.com/hunt9310/ras | PHP | 290 lines
1<?php 2/* 165 foreach ($fieldErrors as $fieldError) { 166 array_push($this->fieldErrors, new Simplify_FieldError($fieldError)); 167 }TestRunnerWithBaseline.php https://gitlab.com/ElvisAns/tiki | PHP | 459 lines
32 33 private $logname_stem = 'phpunit-log'; 34 public $action = 'run'; // run|update_baseline 79 80 $cmd_line = 'php ' . $cmd_line . " --log-json \"" . $this->logpath_current() . "\" ."; 81 360 if (isset($options['phpunit-options'])) { 361 $this->phpunit_options = $options['phpunit-options']; 362 } 377 378 $phpunit_options = $options['phpunit-options'] ?? ''; 379 if (preg_match('/--log-json/', $phpunit_options)) { 415 416 --phpunit-options options (Default: '') 417 Command line options to be passed to phpunit.wp-email-user-newsletter.php https://gitlab.com/rahulw.techspawn/wp-email-users | PHP | 157 lines
1<?php 2function weu_admin_send_newsletter(){ 16 $user= $_POST['ea_user_name'][$j]; 17 array_push($wau_to,$_POST[$user]); 18 }Bcs.class.php https://gitlab.com/fangjianwei/weifenxiao | PHP | 237 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 46 $this->rootPath = str_replace('./', '/', $root); 47 $bcsClass = dirname(__FILE__). "/Bcs/bcs.class.php"; 48 if(is_file($bcsClass)) 128 foreach($headers as $k => $v) { 129 array_push($_headers, "{$k}: {$v}"); 130 } 141 142 array_push($_headers, "Content-Length: {$length}"); 143 curl_setopt($ch, CURLOPT_INFILE, $body);donew.php https://gitlab.com/envieidoc/sprd_project | PHP | 230 lines
1<?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?> 2<?php 8 9 require("defs.php"); 10 128 129 array_push($sernos, $serno); 130 139 140 array_push($ethaddrs, 141 "<font color=#ff0000><b>" . 146 147 array_push($ethaddrs, $ethaddr); 148 } 223<tr> 224 <td align=center><a href="browse.php">Go to Browse</a></td> 225 <td align=center><a href="index.php">Back to Start</a></td>run_js_tests.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 237 lines
12$userConfig = normalize('jsTestDriver.php'); 13$defaultConfig = normalize('jsTestDriver.php.dist'); 14 96 if (!in_array($file, $serveFiles)) { 97 fwrite($fh, " - " . $file . PHP_EOL); 98 } 102foreach ($testFiles as $file) { 103 fwrite($fh, " - " . $file . PHP_EOL); 104} 106if (count($serveFiles) > 0) { 107 fwrite($fh, "serve:" . PHP_EOL); 108 foreach ($serveFiles as $file) { 178{ 179 reportError('Usage: php run_js_tests.php'); 180}Main.php https://gitlab.com/Skull3x/SpectatorPlus | PHP | 237 lines
1<?php 2namespace Ad5001\SpectatorPlus; 43 if(!$this->isSpectator($player)) { 44 array_push($founds, $player); 45 if(!in_array($player, $this->players[$p->getName()]) and !isset($found)) { 45 if(!in_array($player, $this->players[$p->getName()]) and !isset($found)) { 46 array_push($this->players[$p->getName()], $player); 47 $found = true; 57 if(!$this->isSpectator($player)) { 58 array_push($founds, $player); 59 if(!in_array($player, $this->players[$p->getName()]) and !isset($found)) { 59 if(!in_array($player, $this->players[$p->getName()]) and !isset($found)) { 60 array_push($this->players[$p->getName()], $player); 61 $found = true;upgrade_1.3.1.php https://gitlab.com/team_fsn/fsn-php | PHP | 613 lines
5// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | 6// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 33{ 34 if (!defined('PHPWG_IN_UPGRADE') or !PHPWG_IN_UPGRADE) 35 { 581// load the config file 582$config_file = PHPWG_ROOT_PATH.'local/config/database.inc.php'; 583$config_file_contents = @file_get_contents($config_file); 598// changes to write in database.inc.php 599array_push($mysql_changes, 'define(\'PHPWG_INSTALLED\', true);'); 600 611// now we upgrade from 1.4.0 612include_once(PHPWG_ROOT_PATH.'install/upgrade_1.4.0.php'); 613?>Type_campaign.php https://gitlab.com/estratega.pe/cc | PHP | 210 lines
1<?php 2defined('BASEPATH') OR exit('No direct script access allowed'); 177 foreach($result as $r) { 178 array_push($records, [ 179 'id_type_campaign' => $r->id_type_campaign 195 foreach($result as $k) { 196 array_push($rows, [ 197 'id' => $k->id_type_campaignEmailUser.php https://gitlab.com/rsilveira1987/Expresso | PHP | 162 lines
1<?php 2/** 121 strlen($smtpConfig['obligatorydomains']) ? $obligatorydomains : array()); 122 array_push($allDomains, substr($this->__get('emailAddress'), strpos($this->__get('emailAddress'), 123 '@')+1, strlen($this->__get('emailAddress')))); 132 $message = sprintf(Tinebase_Translation::getTranslation('Tinebase')->_('The email alias (%s) has not a allowed domain.'), $email); 133 array_push($errors, array('id' => 'emailAliases', 'msg' => $message)); 134 if (Tinebase_Core::isLogLevel(Zend_Log::ERR)) Tinebase_Core::getLogger()->err(__METHOD__ . '::' . __LINE__ . $message);dbfuncs.php https://bitbucket.org/JaKXz/photoflo2.git | PHP | 399 lines
1<?php 2/** 26 27require("config.php"); 28require_once("signature.php"); 121 while ($row = mysql_fetch_row($result)) { 122 array_push($objs, HardwareClass::load_from_id($row[0])); 123 } 172 while ($row = mysql_fetch_row($result)) { 173 array_push($ret, $row[0]); 174 }Container.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 421 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Container.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Profile/Resource/SearchConstraints.php'; 27 107 if (!is_array($currentConstraint->params)) { 108 require_once 'Zend/Tool/Project/Profile/Exception.php'; 109 throw new Zend_Tool_Project_Profile_Exception('Search parameter specifics must be in the form of an array for key "' 147 if (($parentResource = $this->search($appendResourceOrSearchConstraints)) == false) { 148 require_once 'Zend/Tool/Project/Profile/Exception.php'; 149 throw new Zend_Tool_Project_Profile_Exception('No node was found to append to.'); 173 } else { 174 require_once 'Zend/Tool/Project/Profile/Exception.php'; 175 throw new Zend_Tool_Project_Profile_Exception('Context by name ' . $context . ' was not found in the context registry.');shortcodes.php https://gitlab.com/hop23typhu/list-theme | PHP | 267 lines
1<?php 2////////////////////////////////////////////////////////////////// 250function register_button($buttons) { 251 array_push($buttons, "button", "button_progression", "one_half", "one_third", "two_third", "one_fourth", "three_fourth", "toggle", "tabs", "divider"); 252 return $buttons;projects.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 413 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2require_once(APPPATH.'controllers/admin/dashboard.php'); 291 $types = $this->types->get_types($par); 292 array_push($this->data['types'], $types[0]["type_name"]); 293 } 411 412/* End of file welcome.php */ 413/* Location: ./application/controllers/welcome.php */SkillAPIManager.php https://gitlab.com/EleonoraUA/rpg_server | PHP | 374 lines
1<?php 2/** 4 * 5 * PHP version 5.5 6 * 65 foreach ($char_skills as $char_skill) { 66 array_push($skills, $char_skill); 67 } 99 foreach ($char_skills as $char_skill) { 100 array_push($skills, $char_skill->getSkill()); 101 }BlockTypesController.php https://gitlab.com/campus-academy/krowkaramel | PHP | 233 lines
1<?php 2namespace Automattic\WooCommerce\Blocks; 128 public function redirect_to_field() { 129 // phpcs:ignore WordPress.Security.NonceVerification 130 if ( empty( $_GET['redirect_to'] ) ) { 132 } 133 echo '<input type="hidden" name="redirect" value="' . esc_attr( esc_url_raw( wp_unslash( $_GET['redirect_to'] ) ) ) . '" />'; // phpcs:ignore WordPress.Security.NonceVerification 134 } 143 public function hide_legacy_widgets_with_block_equivalent( $widget_types ) { 144 array_push( $widget_types, 'woocommerce_product_search', 'woocommerce_product_categories', 'woocommerce_recent_reviews' ); 145 return $widget_types; 196 */ 197 if ( in_array( $pagenow, [ 'widgets.php', 'themes.php', 'customize.php' ], true ) && ( empty( $_GET['page'] ) || 'gutenberg-edit-site' !== $_GET['page'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification 198 $block_types = array_diff(wr2x_retina-dashboard.php https://gitlab.com/adwait.rise/guruautolines | PHP | 329 lines
143 <!-- REFRESH --> 144 <a id='wr2x_refresh' href='?page=wp-retina-2x&view=issues&refresh=true' class='button' style='float: left;'><img style='position: relative; top: 3px; left: -2px; margin-right: 3px; width: 16px; height: 16px;' src='<?php echo plugin_dir_url( __FILE__ ); ?>img/refresh.png' /><?php _e("Refresh", 'wp-retina-2x'); ?></a> 145 198 <?php _e("You can upload or replace the images by drag & drop.", 'wp-retina-2x' ); ?> 199 <?php printf( __( "Your PHP configuration allows uploads of <b>%dMB</b> maximum.", 'wp-retina-2x'), $upload_max_size / 1000000 ); ?> 200 231 <ul class="subsubsub"> 232 <li class="all"><a <?php if ( $view == 'all' ) echo "class='current'"; ?> href='?page=wp-retina-2x&s=<?php echo $s; ?>&view=all'><?php _e( "All", 'wp-retina-2x' ); ?></a><span class="count">(<?php echo $totalcount; ?>)</span></li> | 233 236 <li class="all"><a <?php if ( $view == 'issues' ) echo "class='current'"; ?> href='?page=wp-retina-2x&s=<?php echo $s; ?>&view=issues'><?php _e( "Issues", 'wp-retina-2x' ); ?></a><span class="count">(<?php echo $issues_count; ?>)</span></li> | 237 <li class="all"><a <?php if ( $view == 'ignored' ) echo "class='current'"; ?> href='?page=wp-retina-2x&s=<?php echo $s; ?>&view=ignored'><?php _e( "Ignored", 'wp-retina-2x' ); ?></a><span class="count">(<?php echo count( $ignored ); ?>)</span></li> 238 241 <li class="all"><span><?php _e( "Issues", 'wp-retina-2x' ); ?></span> <span class="count">(<?php echo $issues_count; ?>)</span></li> | 242 <li class="all"><span><?php _e( "Ignored", 'wp-retina-2x' ); ?></span> <span class="count">(<?php echo count( $ignored ); ?>)</span></li> 243database_integrity_checker.php https://gitlab.com/Gashler/sg | PHP | 384 lines
1<?php 2class DatabaseChecker 70 } 71 array_push($tableColumnDefinitions,$columnDefinition); 72 } 103 $uniqueClause = "UNIQUE KEY `$unique_name` (`$uniqueColumns`)"; 104 array_push($uniqueClauses,$uniqueClause); 105 } 319 320 array_push($existingUniques,$index->Key_name); 321 }FsExplorer.class.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 297 lines
1<?php 2/** 21 22class_exists('org_tubepress_impl_classloader_ClassLoader') || require dirname(__FILE__) . '/../classloader/ClassLoader.class.php'; 23org_tubepress_impl_classloader_ClassLoader::loadClasses(array( 89 90 array_push($toReturn, realpath($dir . DIRECTORY_SEPARATOR . $file)); 91 } 131 132 array_push($toReturn, realpath($dir . DIRECTORY_SEPARATOR . $file)); 133 }ExchangeController.class.php https://gitlab.com/xuebutayan/yshop | PHP | 274 lines
1<?php 2 46 $ids=array(); 47 array_push($ids,$val['id']); 48 }new_project.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 372 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3require_once(APPPATH.'controllers/project.php'); 4 146 foreach( $project_keywords_exp as $k => $v ) { 147 array_push($project_keywordstrim, trim($v)); 148 }functions.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 340 lines
47 <li id="search_widget" class="widget widget_search"> 48<?php if ( !is_dynamic_sidebar() ) { ?><h2><?php _e('Etc', 'depo-masthead'); ?></h2><?php } ?> 49<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 61 <?php while (have_posts()) : the_post(); ?> 62 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'depo-masthead'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 63 <div class="entry"> 87function rss_widget() { ?> 88 <li id="rss_link" class="widget widget_rss"><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('RSS Feed', 'depo-masthead'); ?></a></li> 89<?php 319 } 320 wp_redirect("themes.php?page=functions.php&saved=true"); 321 die; 333 <?php wp_nonce_field('depo-name'); ?> 334 <p><label for="author-name"><?php _e('Author Box Text:', 'depo-masthead'); ?></label> <input type="text" name="author-name" value="<?php echo get_option('depo-author-name'); ?>" id="author-name" /> <small><?php _e('Leaving this field blank will insert the blog author\'s name.', 'depo-masthead'); ?></small></p> 335 <p><input type="hidden" name="action" value="save" /> <input type="submit" name="submit" value="<?php echo attribute_escape(__('Submit', 'depo-masthead')); ?>" id="submit" /></p>ThumbBase.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 323 lines
1<?php 2/** 2/** 3 * PhpThumb Base Class Definition File 4 * 7 * PHP Version 5 with GD 2.0+ 8 * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> 9 * Copyright (c) 2009, Ian Selby/Gen X Design 17 * @copyright Copyright (c) 2009 Gen X Design 18 * @link http://phpthumb.gxdlabs.com 19 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 20 * @version 3.0 21 * @package PhpThumb 22 * @filesource 31 * 32 * @package PhpThumb 33 * @subpackage CorePartialStack.php https://gitlab.com/gideonmarked/yovelife | PHP | 93 lines
1<?php namespace Cms\Classes; 2 49 { 50 array_push($this->activePartial['components'], [ 51 'name' => $alias,