100+ results results for 'php compact repo:lloyddobbler/diggdigg' (1436 ms)
1<?php namespace Cms\Controllers; 2 106 107 $this->bodyClass = 'compact-container side-panel-not-fixed'; 108 $this->pageTitle = 'cms::lang.cms.menu_label';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); 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. 145 * This method is similar to `var_export()`. The main difference is that 146 * it generates more compact string representation using short array syntax. 147 * 147 * 148 * It also handles objects by using the PHP functions serialize() and unserialize(). 149 *ajax.html https://gitlab.com/victor.flores/prueba | HTML | 310 lines
132 133 <div class="php"> 134 <p>The script used to perform the server-side processing for this table is shown below. Please note 134 <p>The script used to perform the server-side processing for this table is shown below. Please note 135 that this is just an example script using PHP. Server-side processing scripts can be written in any 136 language, using <a href="//datatables.net/manual/server-side">the protocol described in the 205 <li><a href="../styling/cell-border.html">Base style - cell borders</a></li> 206 <li><a href="../styling/compact.html">Base style - compact</a></li> 207 <li><a href="../styling/hover.html">Base style - hover</a></li>TableProcessor.php https://gitlab.com/staging06/myproject | PHP | 356 lines
1<?php 2/** 2/** 3 * TableProcessor.php 4 * 32 33require_once(dirname(__FILE__) . '/AbstractProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 35require_once(dirname(__FILE__) . '/../utils/ExpressionType.php'); 36 208 case 'REDUNDANT': 209 case 'COMPACT': 210 case 'NO':class_stats.tex https://gitlab.com/karl3/gs_libs | LaTeX | 392 lines
86 87Definition at line 18 of file Stats.\-class.\-php. 88 183 184Definition at line 356 of file Stats.\-class.\-php. 185 207 208Definition at line 161 of file Stats.\-class.\-php. 209 255 256Definition at line 136 of file Stats.\-class.\-php. 257 391\item 392/\-Users/karlgroves/\-Documents/sites/gs\-\_\-libs/Stats.\-class.\-php\end{DoxyCompactItemize} 393ShellTest.php https://gitlab.com/Laolballs/cbtapp | PHP | 325 lines
1<?php 2 19 20class ShellTest extends \PHPUnit_Framework_TestCase 21{ 40 $shell = new Shell($this->getConfig()); 41 $shell->setScopeVariables(compact('one', 'two', 'three', '__psysh__', '_', '_e')); 42 65 { 66 $config = $this->getConfig(array('configFile' => __DIR__ . '/../../fixtures/empty.php')); 67 76 $config = $this->getConfig(array( 77 'defaultIncludes' => array('/file.php'), 78 'configFile' => __DIR__ . '/../../fixtures/empty.php', 83 $includes = $shell->getIncludes(); 84 $this->assertEquals('/file.php', $includes[0]); 85 }Mailer.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 504 lines
1<?php namespace Illuminate\Mail; 2 108 { 109 $this->from = compact('address', 'name'); 110 } 166 167 return $this->queue->push('mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); 168 } 197 198 return $this->queue->later($delay, 'mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); 199 }ArticlesController.php https://gitlab.com/forby/Trace | PHP | 476 lines
1<?php namespace App\Http\Controllers; 2 38 39 return view('articles.index', compact('articles', 'top_tags')); 40 } 61 // Show the view 62 return view('articles.create', compact('tags', 'categories', 'user', 'users')); 63 } 118 119 return view('articles.show', compact('article', 'relatedArticles', 'user')); 120 } 139 // Show the edit view 140 return view ('articles.edit', compact('article', 'tags', 'categories', 'user')); 141 } 225 if ( $author->email ) { 226 Mail::send('emails.published', compact('author', 'article'), function( $message ) use ( $author ) { 227 $message->to($author->email, $author->name);core.h https://gitlab.com/freedmpure/bitcoin | C Header | 476 lines
3// Distributed under the MIT/X11 software license, see the accompanying 4// file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 242 243/** wrapper for CTxOut that provides a more compact serialization */ 244class CTxOutCompressorconfig.inc.php https://gitlab.com/gentotech/evotennissg | PHP | 263 lines
5if(file_exists($wp_root . '/wp-load.php')) { 6require_once($wp_root . "/wp-load.php"); 7} else if(file_exists($wp_root . '/wp-config.php')) { 7} else if(file_exists($wp_root . '/wp-config.php')) { 8require_once($wp_root . "/wp-config.php"); 9}else { 28} 29# Language of PHPFM. 30$language = "english"; 40# Login is handled by Wordpress in this hack 41# DO NOT enable phpfm_auth, as it will likely break the script 42$phpfm_auth = FALSE; 91 "layout.gif" => "html htm shtml htm pdf", 92 "script.gif" => "php php4 php3 phtml phps conf sh shar csh ksh tcl cgi pl js", 93 "image2.gif" => "jpeg jpe jpg gif png bmp",Table.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 410 lines
1<?php 2 395 396 $compact = new TableStyle(); 397 $compact 406 'borderless' => $borderless, 407 'compact' => $compact, 408 );class_images.tex https://gitlab.com/karl3/gs_libs | LaTeX | 223 lines
4\subsection*{Static Public Member Functions} 5\begin{DoxyCompactItemize} 6\item 68 69Definition at line 281 of file Images.\-class.\-php. 70 82 83Definition at line 40 of file Images.\-class.\-php. 84 118)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_images_a9fd2462b057c4b6bbe052a757addad15} 119Thanks to Ze\-Badger for original example, and Davide Gualano for pointing me to it Original at \href{http://it.php.net/manual/en/function.imagecreatefromgif.php#59787}{\tt http\-://it.\-php.\-net/manual/en/function.\-imagecreatefromgif.\-php\#59787} 120 222\item 223/\-Users/karlgroves/\-Documents/sites/gs\-\_\-libs/Images.\-class.\-php\end{DoxyCompactItemize} 224RegisterCompanyController.php https://gitlab.com/pedramkousari/soratjalase | PHP | 452 lines
1<?php namespace App\Http\Controllers\Customer; 2 47 '.form-step1', 48 view('customer.frm.inc.register_company_step1',compact('type', 'step_cnt', 'documentId', 'companyId' , 'company'))->render() 49 ]); 69 '.form-step2', 70 view('customer.frm.inc.register_company_step2',compact('userPartner','companyPartner'))->render() 71 ]); 91 '.form-step3', 92 view('customer.frm.inc.register_company_step3',compact('userPartner','json_address'))->render() 93 ]); 113 '.form-step4', 114 view('customer.frm.inc.register_company_step4',compact('boardType','userPartner','userBoard'))->render() 115 ]); 126 '.form-step5', 127 view('customer.frm.inc.register_company_step5',compact('companyName'))->render() 128 ]);eiffel.php https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | PHP | 395 lines
1<?php 2/************************************************************************************* 2/************************************************************************************* 3 * eiffel.php 4 * ---------- 253 'COMPARABLE', 254 'COMPACT_TREE_CURSOR', 255 'COMPACT_CURSOR_TREE',about.css https://gitlab.com/webkod3r/tripolis | CSS | 481 lines
353 354.about-wrap .compact { 355 margin-bottom: 0 366 367.about-wrap .compact .wp-person { 368 height: auto; 381 382.about-wrap .compact .wp-person .gravatar { 383 width: 30px; 408 409.freedoms-php .about-wrap ol { 410 margin: 40px 60px; 412 413.freedoms-php .about-wrap ol li { 414 list-style-type: decimal;DumpDataCollector.php https://gitlab.com/MineYourMind/BoNeMEAL | PHP | 298 lines
1<?php 2 43 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 44 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 45 $this->requestStack = $requestStack; 71 72 $trace = PHP_VERSION_ID >= 50306 ? DEBUG_BACKTRACE_PROVIDE_OBJECT | DEBUG_BACKTRACE_IGNORE_ARGS : true; 73 if (PHP_VERSION_ID >= 50400) { 130 131 $this->data[] = compact('data', 'name', 'file', 'line', 'fileExcerpt'); 132 ++$this->dataCount; 154 if ($response->headers->has('Content-Type') && false !== strpos($response->headers->get('Content-Type'), 'html')) { 155 $this->dumper = new HtmlDumper('php://output', $this->charset); 156 } else { 156 } else { 157 $this->dumper = new CliDumper('php://output', $this->charset); 158 }DatabaseStore.php https://gitlab.com/ealexis.t/trends | PHP | 266 lines
1<?php 2 109 try { 110 $this->table()->insert(compact('key', 'value', 'expiration')); 111 } catch (Exception $e) { 111 } catch (Exception $e) { 112 $this->table()->where('key', '=', $key)->update(compact('value', 'expiration')); 113 }update.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 420 lines
27 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 28 $php_version = phpversion(); 29 61 'version' => $wp_version, 62 'php' => $php_version, 63 'locale' => $locale, 146 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 147 $timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 148 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked ); 174 175 $to_send = (object) compact('plugins', 'active'); 176 225 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 226 $timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 227 $time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked );Ftp.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 448 lines
1<?php 2 186 { 187 $stream = fopen('php://temp', 'w+b'); 188 fwrite($stream, $contents); 217 218 return compact('path', 'visibility'); 219 } 397 { 398 $stream = fopen('php://temp', 'w+'); 399 $result = ftp_fget($this->getConnection(), $stream, $path, $this->transferMode); 407 408 return compact('stream'); 409 } 421 422 return compact('visibility'); 423 }tlib.vim https://gitlab.com/jeichert/vimrc | Vim Script | 219 lines
2" @Author: Thomas Link (mailto:micathom AT gmail com?subject=vim-tLib) 3" @Website: http://www.vim.org/account/profile.php?user_id=4037 4" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 24 25TAssert IsEqual(tlib#list#Compact([]), []) 26TAssert IsEqual(tlib#list#Compact([0,1,2,3,[], {}, ""]), [1,2,3])BaseCrudController.php https://gitlab.com/joepa37/ierschool | PHP | 402 lines
1<?php 2 104 105 return $this->renderIsAjax($this->directory.'index', compact('dataProvider', 'searchModel')); 106 } 153 154 return $this->renderIsAjax($this->directory.'create', compact('model')); 155 } 190 191 return $this->renderIsAjax($this->directory.'update', compact('model')); 192 }_directories.erb https://gitlab.com/gutocarvalho/puppetlabs-apache | Ruby HTML | 283 lines
82 <%- end -%> 83 <%- if directory['php_flags'] and ! directory['php_flags'].empty? -%> 84 <%- directory['php_flags'].sort.each do |flag,value| -%> 88 <%- end -%> 89 <%- if directory['php_values'] and ! directory['php_values'].empty? -%> 90 <%- directory['php_values'].sort.each do |key,value| -%> 93 <%- end -%> 94 <%- if directory['php_admin_flags'] and ! directory['php_admin_flags'].empty? -%> 95 <%- directory['php_admin_flags'].sort.each do |flag,value| -%> 99 <%- end -%> 100 <%- if directory['php_admin_values'] and ! directory['php_admin_values'].empty? -%> 101 <%- directory['php_admin_values'].sort.each do |key,value| -%> 192 <%- if directory['suphp'] and @suphp_engine == 'on' -%> 193 suPHP_UserGroup <%= directory['suphp']['user'] %> <%= directory['suphp']['group'] %> 194 <%- end -%>class.jetpack-options.php https://gitlab.com/memuller.web/wp_site | PHP | 256 lines
1<?php 2 9 10 public static function get_option_names( $type = 'compact' ) { 11 switch ( $type ) { 11 switch ( $type ) { 12 case 'non-compact' : 13 case 'non_compact' : 71 if ( is_array( $name ) ) { 72 $compact_names = array(); 73 foreach ( array_keys( self::$grouped_options ) as $_group ) { 73 foreach ( array_keys( self::$grouped_options ) as $_group ) { 74 $compact_names = array_merge( $compact_names, self::get_option_names( $_group ) ); 75 } 76 77 $result = array_diff( $name, self::get_option_names( 'non_compact' ), $compact_names ); 78system.routing.yml https://gitlab.com/geeta7/drupal | YAML | 477 lines
129 130system.admin_compact_page: 131 path: '/admin/compact/{mode}' 132 defaults: 133 _controller: 'Drupal\system\Controller\SystemController::compactPage' 134 mode: 'off' 299 300system.php: 301 path: '/admin/reports/status/php' 302 defaults: 303 _controller: 'Drupal\system\Controller\SystemInfoController::php' 304 requirements: 453system.db_update: 454 path: '/update.php/{op}' 455 defaults:server_side.html https://gitlab.com/ealexis.t/trends | HTML | 310 lines
24 "serverSide": true, 25 "ajax": "../server_side/scripts/server_processing.php" 26 } ); 94 "serverSide": true, 95 "ajax": "../server_side/scripts/server_processing.php" 96 } ); 133 134 <div class="php"> 135 <p>The script used to perform the server-side processing for this table is shown below. Please note 135 <p>The script used to perform the server-side processing for this table is shown below. Please note 136 that this is just an example script using PHP. Server-side processing scripts can be written in any 137 language, using <a href="//datatables.net/manual/server-side">the protocol described in the 205 <li><a href="../styling/cell-border.html">Base style - cell borders</a></li> 206 <li><a href="../styling/compact.html">Base style - compact</a></li> 207 <li><a href="../styling/hover.html">Base style - hover</a></li>WebSocketParserD08.java git://pkgs.fedoraproject.org/jetty | Java | 389 lines
11 * The Apache License v2.0 is available at 12 * http://www.opensource.org/licenses/apache2.0.php 13 * 24// The Apache License v2.0 is available at 25// http://www.opensource.org/licenses/apache2.0.php 26// You may elect to redistribute this code under either of these licenses. 153 { 154 // compact to mark (set at start of data) 155 _buffer.compact(); 163 Buffer data =_buffer.get(4*(available/4)); 164 _buffer.compact(); 165 if (_masked)select_rows.html https://gitlab.com/metahuman247/business | HTML | 326 lines
27 "serverSide": true, 28 "ajax": "scripts/ids-arrays.php", 29 "rowCallback": function( row, data ) { 110 "serverSide": true, 111 "ajax": "scripts/ids-arrays.php", 112 "rowCallback": function( row, data ) { 162 163 <div class="php"> 164 <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side 230 <li><a href="../styling/cell-border.html">Base style - cell borders</a></li> 231 <li><a href="../styling/compact.html">Base style - compact</a></li> 232 <li><a href="../styling/hover.html">Base style - hover</a></li>class-thelib-ui.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 514 lines
1<?php 2/** 189 protected function _prepare_js_or_css( $url, $type, $onpage, $priority ) { 190 $this->_add( 'js_or_css', compact( 'url', 'type', 'onpage', 'priority' ) ); 191 279 280 $item = compact( 'url', 'alias', 'onpage' ); 281 $this->_add( $type, $item ); 287 /** 288 * Action hook for enqueue style (for PHP <5.3 only) 289 * 318 /** 319 * Action hook for enqueue script (for PHP <5.3 only) 320 * 468 469 self::_sess_add( 'admin_notice', compact( 'text', 'class', 'screen', 'id' ) ); 470 $this->add_action( 'admin_notices', '_admin_notice_callback', 1 );shortcodes.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 375 lines
1<?php 2/** 65 if ( stristr( $content, '[album' )) { 66 $search = "@(?:<p>)*\s*\[album\s*=\s*(\w+|^\+)(|,extend|,compact)\]\s*(?:</p>)*@i"; 67 if (preg_match_all($search, $content, $matches, PREG_SET_ORDER)) {Scaffold.php https://gitlab.com/nghiep5890/bakery | PHP | 451 lines
1<?php 2/** 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Controller 17 * @since Cake v 0.10.0.1076 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 19 */ 137 138 $this->controller->set(compact( 139 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar', 330 if ($this->_validSession) { 331 $this->controller->Flash->set($message, compact('element')); 332 return $this->controller->redirect($this->redirect);DumpDataCollector.php https://gitlab.com/judielsm/Handora | PHP | 303 lines
1<?php 2 43 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 44 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 45 $this->requestStack = $requestStack; 72 $trace = DEBUG_BACKTRACE_PROVIDE_OBJECT | DEBUG_BACKTRACE_IGNORE_ARGS; 73 if (PHP_VERSION_ID >= 50400) { 74 $trace = debug_backtrace($trace, 7); 130 131 $this->data[] = compact('data', 'name', 'file', 'line', 'fileExcerpt'); 132 ++$this->dataCount; 154 if ($response->headers->has('Content-Type') && false !== strpos($response->headers->get('Content-Type'), 'html')) { 155 $this->dumper = new HtmlDumper('php://output', $this->charset); 156 } else { 156 } else { 157 $this->dumper = new CliDumper('php://output', $this->charset); 158 }DbConfigTask.php https://gitlab.com/digaotinfo/abear.com.br | PHP | 384 lines
1<?php 2/** 2/** 3 * The DbConfig Task handles creating and updating the database.php 4 * 4 * 5 * PHP 5 6 * 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 * @since CakePHP(tm) v 1.2 15 * @since CakePHP(tm) v 1.2 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */Site.php https://gitlab.com/blueprintmrk/cli | PHP | 555 lines
1<?php 2 97 * @param [string] $env_id Environment name 98 * @param [boolean] $updatedb True to run update.php 99 * @param [boolean] $xoption True to automatically resolve merge conflicts 177 'POST', 178 compact('body') 179 ); 414 'upstream' => null, 415 'php_version' => null, 416 'holder_type' => null, 538 $method, 539 compact('body') 540 );update.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 449 lines
11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the 13 * WordPress server at api.wordpress.org server. Will only check if WordPress 27 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 28 $php_version = phpversion(); 29 68 'version' => $wp_version, 69 'php' => $php_version, 70 'locale' => $locale, 196 197 $to_send = (object) compact('plugins', 'active'); 198 233function wp_update_themes() { 234 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 235base.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 300 lines
1<?php 2 176 177 return compact( 'comment_author', 'comment_author_email', 'comment_author_url', 'user_id' ); 178 }about-rtl.css https://gitlab.com/Gashler/sg | CSS | 464 lines
305 306.about-wrap ul.compact { 307 margin-bottom: 0 318 319.about-wrap ul.compact li.wp-person { 320 height: auto; 333 334.about-wrap ul.compact li.wp-person img.gravatar { 335 width: 30px; 357 358.freedoms-php .about-wrap ol { 359 margin: 40px 60px; 361 362.freedoms-php .about-wrap ol li { 363 list-style-type: decimal;Local.php https://gitlab.com/Sigpot/AirSpot | PHP | 514 lines
1<?php 2 133 $type = 'file'; 134 $result = compact('contents', 'type', 'size', 'path'); 135 166 167 return compact('path', 'visibility'); 168 } 177 178 return compact('stream', 'path'); 179 } 201 202 return compact('path', 'size', 'contents', 'mimetype'); 203 } 216 217 return compact('contents', 'path'); 218 }AssetFilterTest.php https://gitlab.com/vannh/portal_training | PHP | 254 lines
2/** 3 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 9 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 11 * @since 2.2.0 11 * @since 2.2.0 12 * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 */ 57 * @return void 58 * @triggers DispatcherTest $this, compact('request', 'response') 59 * @triggers DispatcherTest $this, compact('request', 'response') 94 /** 95 * Test that no exceptions are thrown for //index.php type URLs. 96 *HtmlBuilder.php https://gitlab.com/judielsm/Handora | PHP | 438 lines
1<?php namespace Collective\Html; 2 61 62 return '<script'.$this->attributes($attributes).'></script>'.PHP_EOL; 63 } 80 81 return '<link'.$this->attributes($attributes).'>'.PHP_EOL; 82 } 115 116 return '<link'.$this->attributes($attributes).'>'.PHP_EOL; 117 } 430 { 431 $defaults = compact('name', 'content'); 432 434 435 return '<meta'.$this->attributes($attributes).'>'.PHP_EOL; 436 }AdminUsersController.php https://gitlab.com/jnettome/myproject | PHP | 307 lines
1<?php 2 51 // Show the page 52 return View::make('admin/users/index', compact('users', 'title')); 53 } 80 // Show the page 81 return View::make('admin/users/create_edit', compact('roles', 'permissions', 'selectedRoles', 'selectedPermissions', 'title', 'mode')); 82 } 154 155 return View::make('admin/users/create_edit', compact('user', 'roles', 'permissions', 'title', 'mode')); 156 } 238 // Show the page 239 return View::make('admin/users/delete', compact('user', 'title')); 240 }functions.php https://gitlab.com/endomorphosis/falkenstein | PHP | 437 lines
1<?php 2 104 $use_html = 0; 105 return compact( 'subject', 'sender', 'body', 'recipient', 'additional_headers', 'attachments', 'use_html' ); 106} 118 $use_html = 0; 119 return compact( 'active', 'subject', 'sender', 'body', 'recipient', 'additional_headers', 'attachments', 'use_html' ); 120} 374 foreach ( $mods as $mod ) { 375 $file = trailingslashit( $dir ) . $mod . '.php'; 376srcdb.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 324 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.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 +----------------------------------------------------------------------+ 15*/ 16#ifndef incl_HPHP_SRCDB_H_ 17#define incl_HPHP_SRCDB_H_classdb_backup.tex https://gitlab.com/karl3/gs_libs | LaTeX | 234 lines
73 74Definition at line 18 of file db\-Backup.\-class.\-php. 75 84 85Definition at line 26 of file db\-Backup.\-class.\-php. 86 125 126Definition at line 122 of file db\-Backup.\-class.\-php. 127 162 163Definition at line 42 of file db\-Backup.\-class.\-php. 164 233\item 234/\-Users/karlgroves/\-Documents/sites/gs\-\_\-libs/db\-Backup.\-class.\-php\end{DoxyCompactItemize} 235SystemController.php https://gitlab.com/reasonat/test8 | PHP | 339 lines
1<?php 2 167 /** 168 * Sets whether the admin menu is in compact mode or not. 169 * 174 */ 175 public function compactPage($mode) { 176 user_cookie_save(array('admin_compact_mode' => ($mode == 'on'))); 241 $theme->incompatible_region = !isset($theme->info['regions']['content']); 242 $theme->incompatible_php = version_compare(phpversion(), $theme->info['php']) < 0; 243 // Confirm that all base themes are available. 248 $theme->operations = array(); 249 if (!empty($theme->status) || !$theme->incompatible_core && !$theme->incompatible_php && !$theme->incompatible_base && !$theme->incompatible_engine) { 250 // Create the operations links.SurveyController.php https://gitlab.com/ryanmanzer/OVS-Laravel | PHP | 300 lines
1<?php 2 53 $vendors=Vendor::all(); 54 return view('survey.new',compact('user','retailers','vendors')); 55 } 69 { 70 return view('survey.parts.productsTable',compact('sp_list','survey','user','done')); 71 } else { 88 89 return view('survey.parts.productsTable',compact('sp_list', 'survey', 'sps','sources','user','vendor_certs','prod_certs','done','sps_ids','cert_ids', 'osp')); 90 } 117 $done=$sp->survey->complete; //indicating if survey is completed by vendor 118 //returning the view in survey/parts/productSources.blade.php with the variables 119 //for surveyProducts, SurveyProductSources, and Sources/ 119 //for surveyProducts, SurveyProductSources, and Sources/ 120 return view('survey.parts.productSources',compact('sp','sps','sources','user','vendor_certs','prod_certs','done','sps_ids','cert_ids')); 121Writer.php https://gitlab.com/judielsm/Handora | PHP | 375 lines
1<?php 2 294 if (isset($this->dispatcher)) { 295 $this->dispatcher->fire('illuminate.log', compact('level', 'message', 'context')); 296 }AdminPage.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 444 lines
1<?php 2 7 * $page_title string (mandatory) 8 * $parent (string) (default: options-general.php) 9 * $capability (string) (default: 'manage_options') 201 if ( ! empty( $class ) ) 202 $input_args['extra'] = compact( 'class' ); 203 345 'screen_icon' => '', 346 'parent' => 'options-general.php', 347 'capability' => 'manage_options', 390jQuery( document ).ready( function( $ ){ 391 var $spinner = $( new Image() ).attr( 'src', '<?php echo admin_url( "images/wpspin_light.gif" ); ?>' ); 392 405 data.push( {name: $submit.attr( 'name' ), value: $submit.val()} ); 406 data.push( {name: '_ajax_submit', value: '<?php echo $this->pagehook; ?>'} ); 407auth.php https://gitlab.com/michield/dokuwiki | PHP | 358 lines
1<?php 2// must be run within Dokuwiki 121 if(io_saveFile($config_cascade['plainauth.users']['default'], $userline, true)) { 122 $this->users[$user] = compact('pass', 'name', 'mail', 'grps'); 123 return $pwd;VendorController.php https://gitlab.com/ryanmanzer/OVS-Laravel | PHP | 364 lines
1<?php 2 65 $user=$request->user(); 66 return view('vendor.parts.accountInfo.edit_contact_info',compact('org','user')); 67 } 108 ->get(); 109 return view('vendor.parts.account_info',compact('org','user', 'type' , 'user_accounts')); 110/* return response()->view('general.info',compact('org','type')); */ 122 $type='vendor'; 123 return view('vendor.parts.accountInfo.show_contact_info',compact('org', 'type')); 124/* return response()->view('general.info',compact('org','type')); */ 137 $surveys=$vendor->surveys; 138 return response()->view('vendor.parts.survey_list',compact('surveys','user')); 139 } 142 $surveys=$vendor->surveys()->where('fk_retailer_id',$request->user()->org_id); 143 return response()->view('vendor.parts.survey_list',compact('surveys','user')); 144 }func-effects.cpp https://gitlab.com/iranjith4/hhvm | C++ | 413 lines
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 +----------------------------------------------------------------------+ 16 17#include "hphp/runtime/vm/jit/func-effects.h" 18 27 s_http_response_header("http_response_header"), 28 s_php_errormsg("php_errormsg"), 29 s_extract("extract"), 117 "furchash_hphp_ext", 118 "hphp_murmurhash", 119 "get_declared_classes", 337 // containing them: 338 assertx(caller->lookupVarId(s_php_errormsg.get()) == -1); 339 assertx(caller->lookupVarId(s_http_response_header.get()) == -1);Scaffold.php https://gitlab.com/captain4ever/ufriend_php | PHP | 448 lines
1<?php 2/** 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Controller 17 * @since Cake v 0.10.0.1076 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 19 */ 137 138 $this->controller->set(compact( 139 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar',create_tables.sql https://gitlab.com/albert925/lading-ach | SQL | 194 lines
9-- 10-- This user "pma" must be defined in config.inc.php (controluser/controlpass) 11-- 11-- 12-- Please don't forget to set up the tablenames in config.inc.php 13-- 18-- 19-- Database : `phpmyadmin` 20-- 20-- 21CREATE DATABASE IF NOT EXISTS `phpmyadmin` 22 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; 22 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; 23USE phpmyadmin; 24ConfigurationTest.php https://gitlab.com/karora/awl | PHP | 335 lines
37 * @package PHPUnit 38 * @author Sebastian Bergmann <sebastian@phpunit.de> 39 * @copyright 2001-2012 Sebastian Bergmann <sebastian@phpunit.de> 88 'prefix' => '', 89 'suffix' => '.php', 90 'group' => 'DEFAULT' 105 'prefix' => '', 106 'suffix' => '.php', 107 'group' => 'DEFAULT' 210 'class' => 'CompactArgumentsListener', 211 'file' => '/CompactArgumentsListener.php', 212 'arguments' => 314 ), 315 $this->configuration->getPHPUnitConfiguration() 316 );ext_array.h https://gitlab.com/iranjith4/hhvm | C Header | 318 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | 6 | Copyright (c) 1997-2010 The PHP Group | 7 +----------------------------------------------------------------------+ 7 +----------------------------------------------------------------------+ 8 | This source file is subject to version 3.01 of the PHP license, | 9 | that is bundled with this package in the file LICENSE, and is | 10 | available through the world-wide-web at the following url: | 11 | http://www.php.net/license/3_01.txt | 12 | If you did not receive a copy of the PHP license and are unable to | 13 | obtain it through the world-wide-web, please send a note to | 14 | license@php.net so we can mail you a copy immediately. | 15 +----------------------------------------------------------------------+Writer.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 311 lines
1<?php namespace Illuminate\Log; 2 243 { 244 $this->dispatcher->fire('illuminate.log', compact('level', 'message', 'context')); 245 }secp256k1.c https://gitlab.com/Ltaimao/bitcoin | C | 328 lines
3 * Distributed under the MIT software license, see the accompanying * 4 * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 **********************************************************************/ 107 108int secp256k1_ecdsa_sign_compact(const unsigned char *message, int messagelen, unsigned char *sig64, const unsigned char *seckey, const unsigned char *nonce, int *recid) { 109 DEBUG_CHECK(secp256k1_ecmult_gen_consts != NULL); 140 141int secp256k1_ecdsa_recover_compact(const unsigned char *msg, int msglen, const unsigned char *sig64, unsigned char *pubkey, int *pubkeylen, int compressed, int recid) { 142 DEBUG_CHECK(secp256k1_ecmult_consts != NULL);AbstractFtpAdapter.php https://gitlab.com/Sigpot/AirSpot | PHP | 628 lines
1<?php 2 415 if ($type === 'dir') { 416 return compact('type', 'path'); 417 } 422 423 return compact('type', 'path', 'visibility', 'size'); 424 } 452 453 return compact('type', 'path', 'timestamp'); 454 } 459 460 return compact('type', 'path', 'visibility', 'size', 'timestamp'); 461 }new.html https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | HTML | 131 lines
18 19<p>Note: Only UID 1 or users with the "Use PHP code" permission from the phpfilter module will be able to import views.</p> 20 34 35The new admin interface performs the same functions as the old -- listing all the views in the system, providing links to add or import views and a link to Views Tools -- but has been compacted, with each view displayed as a paragraph style-row compared to the table of Views 1 and set of filters on top to ease locating views among a large list. 36 123 124We're given the style options of <strong>Grid</strong>, <strong>List</strong>, <strong>Table</strong> and <strong>Unformatted</strong>. Additional display styles can be added by modules which have Views <i>style plugins</i>. Choosing a style reveals a "settings" button which you can click to configure the style you've chosen. In the shot below we've selected and are configuring the Table style, which we're using to produce a more compact output than we had earlier. 125PaginatorComponent.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 428 lines
1<?php 2/** 4 * 5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://cakephp.org CakePHP(tm) Project 14 * @package Cake.Controller.Component 14 * @package Cake.Controller.Component 15 * @since CakePHP(tm) v 2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 68 * @package Cake.Controller.Component 69 * @link http://book.cakephp.org/2.0/en/core-libraries/components/pagination.html 70 */ 168 169 $extra = array_diff_key($options, compact( 170 'conditions', 'fields', 'order', 'limit', 'page', 'recursive'MimeType.php https://gitlab.com/ealexis.t/trends | PHP | 213 lines
1<?php 2 71 'hqx' => 'application/mac-binhex40', 72 'cpt' => 'application/mac-compactpro', 73 'csv' => 'text/x-comma-separated-values', 103 'gzip' => 'application/x-gzip', 104 'php' => 'application/x-httpd-php', 105 'php4' => 'application/x-httpd-php', 105 'php4' => 'application/x-httpd-php', 106 'php3' => 'application/x-httpd-php', 107 'phtml' => 'application/x-httpd-php', 107 'phtml' => 'application/x-httpd-php', 108 'phps' => 'application/x-httpd-php-source', 109 'js' => 'application/javascript',mejoramiento_adecuaciones_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2class MejoramientoAdecuacionesController extends AppController { 37 38 $this->set(compact('zonas','registros')); 39 } 103 104 $this->set(compact('zona', 'nombre_iem2')); 105 } 141 $registros = $this->MejoramientoAdecuacione->find('all',array('conditions'=>array('MejoramientoAdecuacione.fecha'=>$fecha, 'AND'=>array('MejoramientoAdecuacione.zona_id'=>$zona)))); 142 $this->set(compact('registros')); 143 } 165 $zona_id = $this->Zona->find('all'); 166 $this->set(compact('zona_id')); 167 } 176 $zona_id = $this->Zona->find('all'); 177 $this->set(compact('zona_id')); 178 }ImportOds.class.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 415 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 3/** 4 * OpenDocument Spreadsheet import plugin for phpMyAdmin 5 * 7 * @todo Importing of accented characters seems to fail 8 * @package PhpMyAdmin-Import 9 * @subpackage ODS 10 */ 11if (! defined('PHPMYADMIN')) { 12 exit; 22/* Get the import interface */ 23require_once 'libraries/plugins/ImportPlugin.class.php'; 24 27 * 28 * @package PhpMyAdmin-Import 29 * @subpackage ODSgulpfile.js https://gitlab.com/charlinecouchot/french-fries-apple-pie | JavaScript | 196 lines
16 buildInclude = [ 17 '**/*.php', 18 '**/*.html', 66 var files = [ 67 '**/*.php', 68 '**/*.{png,jpg,gif}' 84 .pipe(sourcemaps.init()) 85 .pipe(sass({errLogToConsole: true,outputStyle: 'compact',precision: 10})) 86 .pipe(sourcemaps.write({includeContent: false}))LegacyTableHelperTest.php https://gitlab.com/judielsm/Handora | PHP | 324 lines
1<?php 2 19 */ 20class LegacyTableHelperTest extends \PHPUnit_Framework_TestCase 21{ 25 { 26 $this->stream = fopen('php://memory', 'r+'); 27 } 113 $books, 114 TableHelper::LAYOUT_COMPACT, 115<<<TABLE 321 322 return str_replace(PHP_EOL, "\n", stream_get_contents($output->getStream())); 323 }FormRequest.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 227 lines
1<?php 2 78 if (method_exists($this, 'validator')) { 79 return $this->container->call([$this, 'validator'], compact('factory')); 80 }ContentController.php https://gitlab.com/jafari/resana | PHP | 220 lines
1<?php 2 89 { 90 $model = new Content(compact('project_id')); 91 $model->scenario = Content::SCENARIO_CREATE; 213 { 214 if (($model = Content::findOne(compact('id', 'project_id'))) !== null) { 215 return $model;repo-auth-type.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 386 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.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 +----------------------------------------------------------------------+ 15*/ 16#include "hphp/runtime/base/repo-auth-type.h" 17wp-mail.php https://gitlab.com/gregtyka/helloworld1234 | PHP | 222 lines
1<?php 2 3/** 4 * Send mail, similar to PHP's mail 5 * 37 $options = WP_SendGrid_Settings::get_settings(); 38 // Compact the input, apply the filters, and extract them back out 39 extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' ) ) ); 165 166 $phpmailer->IsHTML( true ); */ 167media.php https://gitlab.com/hakimkal/evricaevents | PHP | 285 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.cake.libs.view 17 * @since CakePHP(tm) v 1.2.0.5714 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 32 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 33 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 34 'csv' => 'application/csv', 'dcr' => 'application/x-director', 'dir' => 'application/x-director',HtmlBuilder.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 471 lines
1<?php 2 67 68 return '<script'.$this->attributes($attributes).'></script>'.PHP_EOL; 69 } 87 88 return '<link'.$this->attributes($attributes).'>'.PHP_EOL; 89 } 124 125 return '<link'.$this->attributes($attributes).'>'.PHP_EOL; 126 } 464 { 465 $defaults = compact('name', 'content'); 466 468 469 return '<meta'.$this->attributes($attributes).'>'.PHP_EOL; 470 }MoFileLoader.php https://gitlab.com/ealexis.t/trends | PHP | 154 lines
1<?php 2 117 $ids = array('singular' => $singularId, 'plural' => $pluralId); 118 $item = compact('ids', 'translated'); 119wp-comments-post.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 154 lines
1<?php 2/** 15/** Sets up the WordPress Environment. */ 16require( dirname(__FILE__) . '/wp-load.php' ); 17 125 126$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID'); 127ImportXml.class.php https://gitlab.com/qbarbosa/klindev | PHP | 371 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 3/** 4 * XML import plugin for phpMyAdmin 5 * 6 * @todo Improve efficiency 7 * @package PhpMyAdmin-Import 8 * @subpackage XML 10 11if (! defined('PHPMYADMIN')) { 12 exit; 23/* Get the import interface */ 24require_once 'libraries/plugins/ImportPlugin.class.php'; 25 28 * 29 * @package PhpMyAdmin-Import 30 * @subpackage XMLupdate.php https://gitlab.com/VTTE/sitios-vtte | PHP | 304 lines
1<?php 2/** 13/** WordPress Administration Bootstrap */ 14require_once __DIR__ . '/admin.php'; 15 15 16require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 17 39 40 $url = 'update.php?action=update-selected&plugins=' . urlencode( implode( ',', $plugins ) ); 41 $nonce = 'bulk-update-plugins'; 45 46 $upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) ); 47 $upgrader->bulk_upgrade( $plugins ); 58 $title = __( 'Update Plugin' ); 59 $parent_file = 'plugins.php'; 60 $submenu_file = 'plugins.php';numerated-headers-plugin.js https://gitlab.com/wilane/Booktype | JavaScript | 428 lines
4 * Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria. 5 * Contributors http://aloha-editor.org/contribution.php 6 * 21 * As an additional permission to the GNU GPL version 2, you may distribute 22 * non-source (e.g., minimized or compacted) forms of the Aloha-Editor 23 * source code without the copy of the GNU GPL normally required,HtmlBuilder.php https://gitlab.com/alamgircsejnu/AMS-Project-Laravel | PHP | 568 lines
1<?php 2 80 81 return $this->toHtmlString('<script' . $this->attributes($attributes) . '></script>' . PHP_EOL); 82 } 100 101 return $this->toHtmlString('<link' . $this->attributes($attributes) . '>' . PHP_EOL); 102 } 138 139 return $this->toHtmlString('<link' . $this->attributes($attributes) . '>' . PHP_EOL); 140 } 507 { 508 $defaults = compact('name', 'content'); 509 526 $content = is_array($content) ? implode(PHP_EOL, $content) : $content; 527 return $this->toHtmlString('<' . $tag . $this->attributes($attributes) . '>' . PHP_EOL . $this->toHtmlString($content) . PHP_EOL . '</' . $tag . '>' . PHP_EOL); 528 }MorphTo.php https://gitlab.com/Sigpot/AirSpot | PHP | 278 lines
1<?php 2 149 foreach (array_keys($this->dictionary) as $type) { 150 $this->matchToMorphParents($type, $this->getResultsByType($type)); 151 } 162 */ 163 protected function matchToMorphParents($type, Collection $results) 164 { 272 catch (BadMethodCallException $e) { 273 $this->macroBuffer[] = compact('method', 'parameters'); 274WJ_Upgrade.php https://gitlab.com/Gashler/sg | PHP | 406 lines
9 10 public static $plugins = array( 'wysija-newsletters/index.php', 'wysija-newsletters-premium/index.php' ); 11 48 if ( ! function_exists( 'get_plugin_data' ) ){ 49 include_once ABSPATH . 'wp-admin/includes/plugin.php'; 50 } 66 $current->response[ $plugin ]->new_version, 67 wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $plugin, 'upgrade-plugin_' . $plugin ) 68 ), 98 // Require the Updater classes 99 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 100 276 if ( ! function_exists( 'is_plugin_active' ) ) { 277 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 278 }Mailer.php https://gitlab.com/haque.mdmanzurul/TripAdviosrScrapper | PHP | 567 lines
1<?php 2 108 { 109 $this->from = compact('address', 'name'); 110 } 120 { 121 $this->to = compact('address', 'name'); 122 } 194 195 return $this->queue->push('mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); 196 } 241 242 return $this->queue->later($delay, 'mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); 243 }TableTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 359 lines
1<?php 2 18 19class TableTest extends \PHPUnit_Framework_TestCase 20{ 24 { 25 $this->stream = fopen('php://memory', 'r+'); 26 } 112 $books, 113 'compact', 114<<<TABLE 356 357 return str_replace(PHP_EOL, "\n", stream_get_contents($output->getStream())); 358 }Util.php https://gitlab.com/ealexis.t/trends | PHP | 289 lines
1<?php 2 18 { 19 $pathinfo = pathinfo($path) + compact('path'); 20 $pathinfo['dirname'] = array_key_exists('dirname', $pathinfo)update.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 253 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once('./admin.php'); 11 11 12include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 13 33 34 $url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins)); 35 $nonce = 'bulk-update-plugins'; 36 37 require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 38 wp_enqueue_script('jquery'); 40 41 $upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) ); 42 $upgrader->bulk_upgrade( $plugins );class-lp-order.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 423 lines
1<?php 2 386 'learn_press_new_order_note_data', 387 compact( 'comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_agent', 'comment_type', 'comment_parent', 'comment_approved' ), 388 $this->idService.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 452 lines
1<?php 2/** 18 * 19 * @todo Revised method regex to allow NS; however, should SMD be revised to strip PHP NS instead when attaching functions? 20 */ 153 if (!preg_match($this->nameRegex, $name)) { 154 throw new InvalidArgumentException("Invalid name '{$name} provided for service; must follow PHP method naming conventions"); 155 } 399 if (empty($target)) { 400 return compact('envelope', 'transport', 'parameters', 'returns'); 401 } 402 403 return $paramInfo = compact('envelope', 'target', 'transport', 'parameters', 'returns'); 404 }nav_window.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 152 lines
9<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 10 <title>Navigator Window (PHP Projects)</title> 11 <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" 16 <body> 17 <h2>Navigator Window (PHP Projects)</h2> 18 20 21 <p>The Navigator window provides a compact view of the currently selected file 22 and simplifies navigation between different parts of the file.</p> 23 24 <p>For PHP classes, you see a list of fields, methods, and constructors. PHP code outside 25 of classes is not displayed in the Navigator.</p> 40 <h3>Navigator Window Icons</h3> 41 <p>The following icons represent elements in PHP classes. Some of these icons also represent 42 JavaScript elements.</p>class-terminus-command.php https://gitlab.com/blueprintmrk/cli | PHP | 385 lines
1<?php 2 53 * [string] method GET is default 54 * [mixed] data Native PHP data structure (e.g. int, string array, or 55 * simple object) to be sent along with the request. Will be encoded as 109 * @param [string] $method HTTP method to use 110 * @param [mixed] $options A native PHP data structure (e.g. int, string, 111 * array, or stdClass) to be sent along with the request 147 $logger->debug('Request URL: ' . $url); 148 Terminus::getLogger()->debug('URL: {url}', compact('url')); 149 $resp = Request::send($url, $method, $options); 186 * [string] method GET is default 187 * [mixed] data Native PHP data structure (e.g. int, string array, or 188 * simple object) to be sent along with the request. Will be encoded as 213 try { 214 Terminus::getLogger()->debug('URL: {url}', compact('url')); 215 $resp = Request::send($url, $method, $options);class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
1<?php 2/** 94 $this->set_pagination_args( array( 95 'total_items' => wp_count_terms( $this->screen->taxonomy, compact( 'search' ) ), 96 'per_page' => $tags_per_page, 298 if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) 299 $actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>"; 300 if ( $tax->public ) 331 332 /** This filter is documented in wp-admin/edit-tag-form.php */ 333 $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>'; 343 function column_slug( $tag ) { 344 /** This filter is documented in wp-admin/edit-tag-form.php */ 345 return apply_filters( 'editable_slug', $tag->slug ); 366 if ( 'attachment' == $this->screen->post_type ) 367 return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>"; 368efectos_old.php https://gitlab.com/juancjara/gproc-react | PHP | 199 lines
81 82 <?php // Dimensiones (objetivos) ?> 83 <?php $oe = 0 ?> 121 122 <?php // Estandares ?> 123 <td class="t-ladoderecho"> 125 <tbody> 126 <?php // actividades ?> 127 <?php foreach (Arr::path($data, "actividades|{$row2['fact_codigo']}", 158 </tr> 159 <?php if ($val2 != $last1): ?> <tr> <?php endif ?> 160 <?php endforeach ?> 190 191 <?php endif ?> 192AdminBlogsController.php https://gitlab.com/jnettome/myproject | PHP | 241 lines
1<?php 2 35 // Show the page 36 return View::make('admin/blogs/index', compact('posts', 'title')); 37 } 49 // Show the page 50 return View::make('admin/blogs/create_edit', compact('title')); 51 } 121 // Show the page 122 return View::make('admin/blogs/create_edit', compact('post', 'title')); 123 } 181 // Show the page 182 return View::make('admin/blogs/delete', compact('post', 'title')); 183 }FileStore.php https://gitlab.com/ealexis.t/trends | PHP | 254 lines
1<?php 2 88 89 return compact('data', 'time'); 90 }ProjectsController.php https://gitlab.com/icaro.snts/webbuilder | PHP | 142 lines
1<?php 2namespace App\Controller; 22 23 $this->set(compact('projects')); 24 $this->set('_serialize', ['projects']); 76 $webpages = $this->Projects->Webpages->find('list', ['limit' => 200]); 77 $this->set(compact('project', 'webpages')); 78 $this->set('_serialize', ['project']); 110 $webpages = $this->Projects->Webpages->find('list', ['limit' => 200]); 111 $this->set(compact('project', 'webpages')); 112 $this->set('_serialize', ['project']);Mobile.php https://gitlab.com/devtoannh/cafe | PHP | 536 lines
1<?php 2/** 21 22require_once 'Zend/Http/UserAgent/AbstractDevice.php'; 23 37 38 const DEFAULT_FEATURES_ADAPTER_PATH = 'Zend/Http/UserAgent/Features/Adapter/WurflApi.php'; 39 409 $return = 'wml'; //text/vnd.wap.wml encoding="ISO-8859-15" 410 case 'html_wi_imode_compact_generic': 411 case 'html_wi_imode_html_1':simple_function_call.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 165 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 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 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_SIMPLE_FUNCTION_CALL_H_ 18#define incl_HPHP_SIMPLE_FUNCTION_CALL_H_ 49 } 50 int isStaticCompact() const { return m_type == FunType::StaticCompact; } 51 99 Compact, 100 StaticCompact, // compact() with statically known variable names 101 ShellExec,class-wp-rest-response.php https://gitlab.com/webkod3r/tripolis | PHP | 305 lines
1<?php 2/** 260 /** 261 * Retrieves the CURIEs (compact URIs) used for relations. 262 * 265 * 266 * @return array Compact URIs. 267 */DatabaseStore.php https://gitlab.com/kimting254/wbms | PHP | 228 lines
1<?php namespace Illuminate\Cache; 2 106 { 107 $this->table()->insert(compact('key', 'value', 'expiration')); 108 } 110 { 111 $this->table()->where('key', '=', $key)->update(compact('value', 'expiration')); 112 }paperclip.rb git://github.com/stevenbristol/lovd-by-less.git | Ruby | 244 lines
8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 55 def path_for_command command #:nodoc: 56 path = [options[:image_magick_path], command].compact 57 File.join(*path) 95 # geometry strings at the ImageMagick website 96 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 97 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximallyAuthPasswordBrokerTest.php https://gitlab.com/ezeql/framework | PHP | 159 lines
1<?php 2 5 6class AuthPasswordBrokerTest extends PHPUnit_Framework_TestCase 7{ 133 $callback = function ($user, $password) { 134 $_SERVER['__password.reset.test'] = compact('user', 'password'); 135update.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 257 lines
1<?php 2/** 12/** WordPress Administration Bootstrap */ 13require_once('./admin.php'); 14 14 15include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 16 36 37 $url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins)); 38 $nonce = 'bulk-update-plugins'; 42 43 $upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) ); 44 $upgrader->bulk_upgrade( $plugins ); 54 $title = __('Update Plugin'); 55 $parent_file = 'plugins.php'; 56 $submenu_file = 'plugins.php';template.php https://gitlab.com/inzorcom/sofline-test | PHP | 311 lines
1<?php 2 54 * 55 * Use unordered list markup in both compact and extended mode. 56 */ 60 if (!empty($content)) { 61 $output = system_admin_compact_mode() ? '<ul class="admin-list compact">' : '<ul class="admin-list">'; 62 foreach ($content as $item) { 64 $output .= l($item['title'], $item['href'], $item['localized_options']); 65 if (isset($item['description']) && !system_admin_compact_mode()) { 66 $output .= '<div class="description">' . filter_xss_admin($item['description']) . '</div>';HtmlBuilder.php https://gitlab.com/ealexis.t/trends | PHP | 527 lines
1<?php 2 81 82 return $this->toHtmlString('<script' . $this->attributes($attributes) . '></script>' . PHP_EOL); 83 } 101 102 return $this->toHtmlString('<link' . $this->attributes($attributes) . '>' . PHP_EOL); 103 } 139 140 return $this->toHtmlString('<link' . $this->attributes($attributes) . '>' . PHP_EOL); 141 } 481 { 482 $defaults = compact('name', 'content'); 483 485 486 return $this->toHtmlString('<meta' . $this->attributes($attributes) . '>' . PHP_EOL); 487 }vasm-unit.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 195 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.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 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_JIT_VASM_UNIT_H_ 18#define incl_HPHP_JIT_VASM_UNIT_H_base.php https://gitlab.com/thisishayat/itv-2016 | PHP | 294 lines
1<?php 2 176 177 return compact( 'comment_author', 'comment_author_email', 'comment_author_url', 'user_id' ); 178 } 272 if ( ( 'wordpress' != $id_source ) && is_user_logged_in() ) { 273 /** This filter is already documented in core/wp-includes/comment-functions.php */ 274 $comment_cookie_lifetime = apply_filters( 'comment_cookie_lifetime', 30000000 );DumpDataCollector.php https://gitlab.com/pthapa81/MeroSaaman-1.0 | PHP | 284 lines
1<?php 2 42 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 43 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 44 $this->requestStack = $requestStack; 68 69 $trace = PHP_VERSION_ID >= 50306 ? DEBUG_BACKTRACE_PROVIDE_OBJECT | DEBUG_BACKTRACE_IGNORE_ARGS : true; 70 if (PHP_VERSION_ID >= 50400) { 126 } else { 127 $this->data[] = compact('data', 'name', 'file', 'line', 'fileExcerpt'); 128 ++$this->dataCount; 151 if ($response->headers->has('Content-Type') && false !== strpos($response->headers->get('Content-Type'), 'html')) { 152 $this->dumper = new HtmlDumper('php://output', $this->charset); 153 } else { 153 } else { 154 $this->dumper = new CliDumper('php://output', $this->charset); 155 }SystemController.php git://github.com/drupal/drupal.git | PHP | 330 lines
1<?php 2 155 /** 156 * Sets whether the admin menu is in compact mode or not. 157 * 162 */ 163 public function compactPage($mode) { 164 user_cookie_save(['admin_compact_mode' => ($mode == 'on')]); 228 $theme->incompatible_region = !isset($theme->info['regions']['content']); 229 $theme->incompatible_php = version_compare(phpversion(), $theme->info['php']) < 0; 230 // Confirm that all base themes are available. 235 $theme->operations = []; 236 if (!empty($theme->status) || !$theme->info['core_incompatible'] && !$theme->incompatible_php && !$theme->incompatible_base && !$theme->incompatible_engine) { 237 // Create the operations links.avatar.php https://gitlab.com/najomie/ljm | PHP | 377 lines
1<?php 2/** 173 if ( !is_admin() ) { 174 include_once( ABSPATH . '/wp-admin/includes/template.php' ); 175 176 if ( is_multisite() ) 177 include_once( ABSPATH . '/wp-admin/includes/ms.php' ); 178 } 188 <p>You do not have access to upload / browse files. Contact your website admin to resolve.</p> 189 <?php 190 return; 207 208 pods_view( PODS_DIR . 'ui/fields/' . $field_type . '.php', compact( array_keys( get_defined_vars() ) ) ); 209 }