100+ results results for 'php compact' (2134 ms)
1<?php 2 34 if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS) 35 $this->print_message('error', sprintf(__('Link Mask Generator won’t work with default or “pathinfo” permalinks. Please change your <a href="%s">permalink structure</a> to enable this module’s functionality.', 'seo-ultimate'), 'options-permalink.php')); 36 78 if (!$delete && $from && $to) 79 $aliases[$id] = compact('from', 'to', 'posts'); 80 }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>"; 368Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
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 *Logger.php https://gitlab.com/hoanghung.dev/phunuvadoisong.com | PHP | 456 lines
1<?php 2/** 2/** 3 * Logger.php 4 * 9 * Logging utility class. This class handles basic logging with levels, log rotation and custom log formats. It's 10 * designed to be compact but still powerful and flexible. 11 *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>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} 393TableProcessor.php https://gitlab.com/jslee1/PrestaShop | 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':ShellTest.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 }repo-auth-type.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 387 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" 17ArticlesController.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);ListController.php https://gitlab.com/gideonmarked/atls-express | PHP | 486 lines
1<?php namespace Backend\Behaviors; 2 278 if (!isset($this->listDefinitions[$definition])) { 279 throw new ApplicationException(Lang::get('backend::lang.list.missing_parent_definition', compact('definition'))); 280 } 345 346 return implode(PHP_EOL, $collection); 347 }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 CTxOutCompressorkey.cpp https://gitlab.com/yenny.prathivi/bitcoin | C++ | 330 lines
2// Distributed under the MIT software license, see the accompanying 3// file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 197 198bool CKey::SignCompact(const uint256 &hash, std::vector<unsigned char>& vchSig) const { 199 if (!fValid) 205 assert(ret); 206 secp256k1_ecdsa_recoverable_signature_serialize_compact(secp256k1_context_sign, (unsigned char*)&vchSig[1], &rec, &sig); 207 assert(ret);config.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 ]);lang_sql.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 178 lines
1<?php 2//generated at 17.03.2007 5$lang['sql_view_normal']="Exibir: normal"; 6$lang['sql_view_compact']="Exibir: compacto"; 7$lang['import_notable']="Nenhuma tabela foi selecionada para importação!";class.jetpack-options.php https://gitlab.com/hunt9310/ras | 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 ); 78eiffel.php https://gitlab.com/brian0218/rk3188_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 }Builder.php https://gitlab.com/jjpa2018/dashboard | PHP | 433 lines
1<?php 2 383 384 return Container::getInstance()->make(Blueprint::class, compact('table', 'callback', 'prefix')); 385 }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 }about-rtl.css https://gitlab.com/kath.de/cibedo_cibedo.de | CSS | 537 lines
344 345.about-wrap ul.compact { 346 margin-bottom: 0 357 358.about-wrap ul.compact li.wp-person { 359 height: auto; 372 373.about-wrap ul.compact li.wp-person img.gravatar { 374 width: 30px; 396 397.freedoms-php .about-wrap ol { 398 margin: 40px 60px; 400 401.freedoms-php .about-wrap ol li { 402 list-style-type: decimal;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 }projectsController.php https://gitlab.com/php2laravel/php-project-boost | PHP | 341 lines
1<?php 2 41 42 return view('pages.projects', compact('projects', 'designershort')); 43 } 130 //-----------------------DB-----------------------------// 131 //return view('pages.showProject', compact('project', 'palette')); 132 // votes 196 $tags = Tag::lists('name', 'id'); 197 return view('pages.projects.edit', compact('project', 'tags')); 198 } 293 $tags = Tag::lists('name', 'id'); 294 return view('pages.projectsCreate', compact('tags')); 295rules.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 318 lines
1<?php 2/** 86 87 // Use the compact form for the content rules (deprecated). 88 //if (!empty($component) && $section != 'component') {ResourceRegistrar.php https://gitlab.com/phanthanh9787/crud-user | PHP | 359 lines
1<?php 2 83 84 return $this->router->group(compact('prefix'), $callback); 85 }LocaleController.php https://gitlab.com/campus-academy/krowkaramel | PHP | 162 lines
1<?php 2/** 123 if( 0 === $nfiles ){ 124 return $this->view('admin/errors/no-locale', compact('breadcrumb','locale') ); 125 } 157 158 return $this->view( 'admin/bundle/locale', compact('breadcrumb','translations','types','npofiles','modified') ); 159 }_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 -%>system.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:adminController.php https://gitlab.com/higordaniell/SIN-352 | PHP | 403 lines
1<?php 2class adminController extends Controller { 23 $venda = $vt->getById($venda_id); 24 $this->_page->adminView('admin/vendas/detalhes', compact('venda')); 25 } 27 $vendas = $vt->getAll(); 28 $this->_page->adminView('admin/vendas/view', compact('vendas')); 29 } 38 $usuario = $ut->getById($usuario_id); 39 $this->_page->adminView('admin/clientes/detalhes', compact('usuario')); 40 } 42 $usuarios = $ut->getAll(); 43 $this->_page->adminView('admin/clientes/view', compact('usuarios')); 44 } 69 70 $this->_page->adminView("admin/livros/view", compact('livros')); 71 }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>DumpDataCollector.php https://gitlab.com/madwanz64/laravel | PHP | 296 lines
1<?php 2 53 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 54 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 55 $this->requestStack = $requestStack; 94 } 95 $this->data[] = compact('data', 'name', 'file', 'line', 'fileExcerpt'); 96 ++$this->dataCount; 127 if ($response->headers->has('Content-Type') && str_contains($response->headers->get('Content-Type'), 'html')) { 128 $dumper = new HtmlDumper('php://output', $this->charset); 129 $dumper->setDisplayOptions(['fileLinkFormat' => $this->fileLinkFormat]); 130 } else { 131 $dumper = new CliDumper('php://output', $this->charset); 132 if (method_exists($dumper, 'setDisplayOptions')) { 244 245 if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && stripos($h[$i], 'html')) { 246 $dumper = new HtmlDumper('php://output', $this->charset);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)sql.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 302 lines
6include ('language/'.$config['language'].'/lang_sql.php'); 7include ('./inc/functions_sql.php'); 8include ('./'.$config['files']['parameter']); 46$no_order=false; 47$tdcompact=(isset($_GET['tdc'])) ? $_GET['tdc'] : $config['interface_table_compact']; 48$db=(!isset($_GET['db'])) ? $databases['db_actual'] : $_GET['db']; 189 190$params="sql.php?db=".$db."&tablename=".$tablename."&dbid=".$dbid.'&context='.$context.'&sql_statement='.urlencode($sql['sql_statement']).'&tdc='.$tdcompact.'&showtables='.$showtables; 191if ($order!="") $params.="&order=".$order."&orderdir=".$orderdir.'&context='.$context; 199 $aus=''; 200 include ('./inc/sqlbrowser/sqlbox.php'); 201 259 260 if ($mode=='edit'||$mode=='searchedit') include ('./inc/sqlbrowser/sql_record_update_inputmask.php'); 261 if ($mode=='new') include ('./inc/sqlbrowser/sql_record_insert_inputmask.php');XmlFileLoader.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 402 lines
1<?php 2 73 74 $this->container->getParameterBag()->add($xml->parameters->getArgumentsAsPhp('parameter')); 75 } 84 $this->currentDir = dirname($file); 85 $this->import((string) $import['resource'], (Boolean) $import->getAttributeAsPhp('ignore-errors')); 86 } 112 $method = 'set'.str_replace('-', '', $key); 113 $definition->$method((string) $service->getAttributeAsPhp($key)); 114 } 120 121 $definition->setArguments($service->getArgumentsAsPhp('argument')); 122 137 foreach ($service->call as $call) { 138 $definition->addMethodCall((string) $call['method'], $call->getArgumentsAsPhp('argument')); 139 }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>mod-search.tpl https://gitlab.com/ElvisAns/tiki | Smarty Template | 178 lines
8 {* <div class="{*col-auto*}{*me-2"> *} 9 <input style="min-width: 4rem;{if $smod_params.compact eq "y"}{*width:72%;border-bottom-right-radius:0;border-top-right-radius: 0;*}{/if}" placeholder="{tr}Find{/tr}" class="form-control my-1" id="search_mod_input_{$search_mod_usage_counter}" name="{if $smod_params.search_action eq 'tiki-searchindex.php'}filter~content{else}find{/if}" {if !empty($smod_params.input_size)}size="{$smod_params.input_size}" style="width: auto"{/if} type="text" accesskey="s" value="{$smod_params.input_value|escape}"> 10 <label class="sr-only" for="search_mod_input_{$search_mod_usage_counter}">Find</label> 16 <div class="col-auto"> 17 {if $smod_params.search_action eq 'tiki-searchindex.php'} 18 <select id="filterType" name="filter~type" class="form-select my-1" {*style="width:{$smod_params.select_size}em;"*}> 72 title="{tr}Search{/tr}|{tr}Search for text throughout the site.{/tr}" 73 {if $smod_params.compact eq "y"}data-bs-placement="bottom"{/if} 74 onclick = "$('#search-module-form{$search_mod_usage_counter}').attr('action', '{$smod_params.search_action|escape:javascript}').attr('page_selected','');" 81 title="{tr}Go{/tr}|{tr}Go directly to a page, or search in page titles if exact match is not found.{/tr}" 82 {if $smod_params.compact eq "y"}data-bs-placement="bottom"{/if} 83 onclick = "$('#search-module-form{$search_mod_usage_counter}').attr('action', '{$smod_params.go_action|escape:javascript}').attr('page_selected',''); 83 onclick = "$('#search-module-form{$search_mod_usage_counter}').attr('action', '{$smod_params.go_action|escape:javascript}').attr('page_selected',''); 84 {if $smod_params.search_action eq 'tiki-searchindex.php'} 85 $('#search-module-form{$search_mod_usage_counter} input[name=\'filter~content\']').attr('name', 'find');DashboardController.php https://gitlab.com/Ankit77/motiv8 | PHP | 249 lines
1<?php 2 23 $themes=DB::table("themes")->get(); 24 return view('backend.pages.themes', compact('themes')); 25 } 98 $userdetail=DB::table('users')->where('id', $id)->get(); 99 return view('backend.pages.viewuser', compact('userdetail')); 100 } 103 $themes=DB::table('themes')->where('id',$id)->get(); 104 return view('backend.pages.edittheme', compact('themes')); 105 } 153 154 return view('backend.pages.viewtheme', compact('themes')); 155 } 158 $challenges=DB::table('challenges')->join('user_challenges', 'challenges.id','=', 'user_challenges.challenge_id')->select('challenges.*', 'user_challenges.challenge_timeline', 'user_challenges.post_frequency', 'user_challenges.completion_reward', 'user_challenges.invite_friend')->get(); 159 return view('backend.pages.challenges', compact('challenges') ); 160 }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)) {Service.php https://github.com/ronseigel/agent-ohm.git | PHP | 473 lines
1<?php 2/** 23 */ 24#require_once 'Zend/Json/Server/Smd.php'; 25 30 * @subpackage Server 31 * @version $Id: Service.php 12510 2008-11-10 16:29:34Z matthew $ 32 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 132 if (null == $this->getName()) { 133 #require_once 'Zend/Json/Server/Exception.php'; 134 throw new Zend_Json_Server_Exception('SMD service description requires a name; none provided'); 169 if (!preg_match($this->_nameRegex, $name)) { 170 #require_once 'Zend/Json/Server/Exception.php'; 171 throw new Zend_Json_Server_Exception(sprintf('Invalid name "%s" provided for service; must follow PHP method naming conventions', $name)); 197 if (!in_array($transport, $this->_transportTypes)) { 198 #require_once 'Zend/Json/Server/Exception.php'; 199 throw new Zend_Json_Server_Exception(sprintf('Invalid transport "%s"; please select one of (%s)', $transport, implode(', ', $this->_transportTypes)));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 */paperclip.rb https://github.com/jmaziarz/evidence-locker.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 maximallySite.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 235HtmlBuilder.php https://gitlab.com/milton2913/myBlog | PHP | 563 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 } 502 { 503 $defaults = compact('name', 'content'); 504 521 $content = is_array($content) ? implode(PHP_EOL, $content) : $content; 522 return $this->toHtmlString('<' . $tag . $this->attributes($attributes) . '>' . PHP_EOL . $this->toHtmlString($content) . PHP_EOL . '</' . $tag . '>' . PHP_EOL); 523 }Commands.md https://gitlab.com/itlboy/yii2-starter-installed | Markdown | 271 lines
9* `codecept dry-run acceptance checkout.feature` 10* `codecept dry-run tests/acceptance/MyCest.php` 11 61* `codecept generate:cept suite Login` 62* `codecept g:cept suite subdir/subdir/testnameCept.php` 63* `codecept g:cept suite LoginCept -c path/to/project` 74* `codecept run acceptance` - run all acceptance tests 75* `codecept run tests/acceptance/MyCept.php` - run only MyCept 76* `codecept run acceptance MyCept` - same as above 87 --config (-c) Use custom path for config 88 --report Show output in compact style 89 --html Generate html with results (default: "report.html") 123 124* `php codecept.phar self-update` 125customize-widgets.css https://gitlab.com/morganestes/wordpress-develop | CSS | 483 lines
20 21/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */ 22.customize-control-widget_form .widget-top { 237 238/* Keep rule that is no longer necessary on widgets.php. */ 239#available-widgets .widget-action { 439@media screen and (max-height: 700px) and (min-width: 981px) { 440 /* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */ 441 .customize-control-widget_form { 474 475 /* Compact the move widget areas. */ 476 #customize-theme-controls .widget-area-select li {base.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 }system.routing.yml https://gitlab.com/mohamed_hussein/prodt | YAML | 522 lines
137 138system.admin_compact_page: 139 path: '/admin/compact/{mode}' 140 defaults: 141 _controller: '\Drupal\system\Controller\SystemController::compactPage' 142 mode: 'off' 315 316system.php: 317 path: '/admin/reports/status/php' 318 defaults: 319 _controller: '\Drupal\system\Controller\SystemInfoController::php' 320 requirements: 491system.db_update: 492 path: '/update.php/{op}' 493 defaults:grade_scale.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 388 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 27 28require_once('grade_object.php'); 29 247 /** 248 * Compacts (implodes) the array of items in $scale_items into a comma-separated string, $scale. 249 * There are three ways to achieve this: 259 */ 260 public function compact_items($items=NULL) { 261 if (empty($items)) { 379 global $CFG; 380 require_once($CFG->libdir . '/filelib.php'); 381 384 $options->noclean = true; 385 $description = file_rewrite_pluginfile_urls($this->description, 'pluginfile.php', $systemcontext->id, 'grade', 'scale', $this->id); 386 return format_text($description, $this->descriptionformat, $options);index.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 293 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 17/** 18 * file index.php 19 * index page to view blogs. if no blog is specified then site wide entries are shown 22 23require_once(__DIR__ . '/../config.php'); 24require_once($CFG->dirroot .'/blog/lib.php'); 24require_once($CFG->dirroot .'/blog/lib.php'); 25require_once($CFG->dirroot .'/blog/locallib.php'); 26require_once($CFG->dirroot .'/course/lib.php'); 26require_once($CFG->dirroot .'/course/lib.php'); 27require_once($CFG->dirroot .'/comment/lib.php'); 28 41 42$urlparams = compact('id', 'start', 'tag', 'userid', 'tagid', 'modid', 'entryid', 'groupid', 'courseid', 'search'); 43foreach ($urlparams as $var => $val) {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 }indexed-string-map.h https://gitlab.com/alvinahmadov2/hhvm | C Header | 253 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_VM_INDEXED_STRING_MAP_H_ 18#define incl_HPHP_VM_INDEXED_STRING_MAP_H_haml.php https://bitbucket.org/mintao/yii-phamlp.git | PHP | 287 lines
1<?php 2/** 13 * See below and HamlParser for a description of options 14 * * Add the following line in your app_controller.php 15 * <pre>var $view = 'Haml';</pre> 95 * expanded: block tags have their own lines as does content which is indented 96 * compact: block tags and their content go on one line 97 * compressed: all unneccessary whitepaces is removed. If ugly is true this 160 161 App::import('Vendor', 'HamlParser', array('file'=>'phamlp'.DS.'haml'.DS.'HamlParser.php')); 162 $this->haml = new HamlParser($options); 165 /** 166 * Renders a piece of PHP with provided parameters and returns HTML, XML, or 167 * any other string.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 }update.php https://gitlab.com/campus-academy/krowkaramel | PHP | 364 lines
1<?php 2/** 15/** WordPress Administration Bootstrap */ 16require_once __DIR__ . '/admin.php'; 17 17 18require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 19 43 44 $url = 'update.php?action=update-selected&plugins=' . urlencode( implode( ',', $plugins ) ); 45 $nonce = 'bulk-update-plugins'; 49 50 $upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) ); 51 $upgrader->bulk_upgrade( $plugins ); 63 $title = __( 'Update Plugin' ); 64 $parent_file = 'plugins.php'; 65 $submenu_file = 'plugins.php';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_PageManagementController.php https://gitlab.com/buildcode/cms | PHP | 257 lines
1<?php 2 77 if (! $block->hasChildTemplate() && ! $request->has('template')) { 78 return view('cms::admin.page_management.pick_template', compact('block')); 79 } 85 86 return view('cms::admin.page_management.form', compact('form', 'block')); 87 } 101 102 return view('cms::admin.page_management.form', compact('form', 'block')); 103 } 116 117 return view('cms::admin.page_management.block_deleted', compact('block')); 118 } 145 146 return view('cms::admin.page_management.properties', compact('block', 'templates')); 147 }update.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 250 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';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.FileStore.php https://gitlab.com/rmoshiur81/Larave-Grading | PHP | 255 lines
1<?php 2 89 90 return compact('data', 'time'); 91 }PatientController.php https://gitlab.com/omazon/SINRAIM | PHP | 202 lines
1<?php namespace SINRAIM\Http\Controllers; 2 50 51 return view('Patient.index',compact('patients','idnotificador')); 52 126 //retornar a la vista el arreglo recibido mas las variables independientes. 127 return view('Patient.show',compact('histories'))->with('nombrepaciente',$nombrepaciente)->with('idpaciente',$idpaciente); 128SurveyController.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; ?>'} ); 407Nominatim.php https://gitlab.com/team_fsn/fsn-php | PHP | 453 lines
1<?php 2/** 2/** 3 * Nominatim.php 4 * 20-Mar-2012 5 * 6 * PHP Version 5 7 * 10 * @subpackage Services_OpenStreetMap_Nominatim 11 * @author Ken Guest <kguest@php.net> 12 * @license BSD http://www.opensource.org/licenses/bsd-license.php 12 * @license BSD http://www.opensource.org/licenses/bsd-license.php 13 * @link Nominatim.php 14 */ 21 * @subpackage Services_OpenStreetMap_Nominatim 22 * @author Ken Guest <kguest@php.net> 23 * @license BSD http://www.opensource.org/licenses/bsd-license.phpauth.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);paperclip.rb https://github.com/dmitryame/railscollab.git | Ruby | 277 lines
8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 56 def path_for_command command #:nodoc: 57 path = [options[:image_magick_path], command].compact 58 File.join(*path) 112 # geometry strings at the ImageMagick website 113 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 114 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximally 128 # "-depth 8" to specify the bit depth of the resulting conversion. See ImageMagick 129 # convert documentation for more options: (http://www.imagemagick.org/script/convert.php) 130 # Note that this option takes a hash of options, each of which correspond to the styletiki-accounting_entry.tpl https://gitlab.com/ElvisAns/tiki | Smarty Template | 163 lines
40 {if $tiki_p_account_manage=='y'} 41 <tr><td colspan="2"><a href="tiki-accounting_account.php?bookId={$bookId}&action=new">{tr}Create account{/tr}</a></td></tr>{/if} 42 {foreach from=$accounts item=a} 43 <tr class="{cycle values="odd,even"} tips" {popup caption="{tr}Notes{/tr}" text=$a.accountNotes}> 44 <td class="accompactlist"> 45 {if $tiki_p_acct_manage_accounts =='y'} 45 {if $tiki_p_acct_manage_accounts =='y'} 46 <a href="tiki-accounting_account.php?bookId={$bookId}&action=edit&accountId={$a.accountId}">{icon name=edit}</a> 47 <a href="tiki-accounting_account.php?bookId={$bookId}&action=delete&accountId={$a.accountId}" onclick="confirmPopup('{tr _0="{$a.accountName|escape:'attr'}"}Delete account %0?{/tr}', '{ticket mode=get}')">{icon name=delete}</a> 50 </td> 51 <td class="accompactlist"> 52 {$a.accountName} 58<div id="mask" style="float:left;"> 59 <form method="post" action="{if $req_url}{$req_url}{else}tiki-accounting_entry.php{/if}"> 60 {ticket}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 }IncomeController.php https://gitlab.com/laher01/factu40 | PHP | 181 lines
1<?php 2 69 70 return compact('establishment','currency_types', 'income_types', 'payment_method_types', 'income_reasons', 'payment_destinations'); 71 }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 }OutputFormat.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 289 lines
1<?php 2 148 149 public static function createCompact() { 150 return self::create()->set('Space*Rules', "")->set('Space*Blocks', "")->setSpaceAfterRuleName('')->setSpaceBeforeOpeningBrace('')->setSpaceAfterSelectorSeparator('');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 ODS