PageRenderTime 388ms queryTime 32ms sortTime 38ms getByIdsTime 223ms findMatchingLines 25ms

100+ results results for 'php compact repo:webacteo/Platform-Twitter-Bootstrap' (388 ms)

Not the results you expected?
Index.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';
                    
                
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)
                    
                
Table.php https://gitlab.com/NermineBR/Crowdrise_Web | PHP | 409 lines
                    
1<?php
                    
2
                    
394
                    
395        $compact = new TableStyle();
                    
396        $compact
                    
405            'borderless' => $borderless,
                    
406            'compact' => $compact,
                    
407        );
                    
                
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';
                    
376
                    
                
new.html https://gitlab.com/Drulenium-test/pantheon-travis | 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.
                    
125
                    
                
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	}
                    
                
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 maximally 
                    
                
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.
                    
                
Processor.php https://gitlab.com/galaxy-pidev/AllForDealWeb | PHP | 190 lines
                    
1<?php
                    
2
                    
137            $pagination->getCustomParameters(),
                    
138            compact('options', 'title', 'direction', 'sorted', 'key')
                    
139        );
                    
186            $pagination->getCustomParameters(),
                    
187            compact('fields', 'action', 'filterFieldName', 'filterValueName', 'selectedField', 'selectedValue', 'options')
                    
188        );
                    
                
Util.php https://gitlab.com/Marwein/tnjobs | PHP | 289 lines
                    
1<?php
                    
2
                    
18    {
                    
19        $pathinfo = pathinfo($path) + compact('path');
                    
20        $pathinfo['dirname'] = array_key_exists('dirname', $pathinfo)
                    
                
comites_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
1<?php
                    
2class ComitesController extends AppController {
                    
31			
                    
32		$this->set(compact('comites','mes', 'zona'));	
                    
33				
                    
75		
                    
76		$this->set(compact('mes','zona'));
                    
77	}
                    
101		$zonas = $this->Comite->Zona->find('list');
                    
102		$this->set(compact('zonas'));
                    
103	}
                    
138		
                    
139		$this->set(compact('zona_id'));	
                    
140	}
                    
149		$zona_id = $this->Zona->find('all');
                    
150		$this->set(compact('zona_id'));	
                    
151	}
                    
                
comment.php https://gitlab.com/alexprowars/bitrix | PHP | 241 lines
                    
1<?php
                    
2
                    
67				'saveOnBlur' => false,
                    
68				'bAllowPhp' => false,
                    
69				'lazyLoad' => true,
                    
69				'lazyLoad' => true,
                    
70				'limitPhpAccess' => false,
                    
71				'setFocusAfterShow' => true,
                    
74				'controlsMap' => [
                    
75					['id' => 'Bold',  'compact' => true, 'sort' => 10],
                    
76					['id' => 'Italic',  'compact' => true, 'sort' => 20],
                    
76					['id' => 'Italic',  'compact' => true, 'sort' => 20],
                    
77					['id' => 'Underline',  'compact' => true, 'sort' => 30],
                    
78					['id' => 'Strikeout',  'compact' => true, 'sort' => 40],
                    
78					['id' => 'Strikeout',  'compact' => true, 'sort' => 40],
                    
79					['id' => 'RemoveFormat',  'compact' => true, 'sort' => 50],
                    
80					['id' => 'Color',  'compact' => true, 'sort' => 60],
                    
                
VideoController.php https://gitlab.com/tonycodes/Laravel-5-Bootstrap-3-Starter-Site | PHP | 244 lines
                    
1<?php namespace App\Http\Controllers\Admin;
                    
2
                    
36        // Show the page
                    
37        return view('admin.video.index', compact('album'));
                    
38    }
                    
51        // Show the page
                    
52        return view('admin.video.create_edit', compact('languages', 'language','videoalbums','videoalbum'));
                    
53    }
                    
109
                    
110        return view('admin.video.create_edit',compact('video','languages','language','videoalbums','videoalbum'));
                    
111    }
                    
164        // Show the page
                    
165        return view('admin.video.delete', compact('video'));
                    
166    }
                    
                
dd-manual.php https://gitlab.com/hop23typhu/list-theme | PHP | 389 lines
                    
12		"Normal" => "dd_buffer_generate('Normal')",
                    
13		"Compact" => "dd_buffer_generate('Compact')",
                    
14		"No Count" => "dd_buffer_generate('No Count')"
                    
33		"Normal" => "dd_google1_generate('Normal')",
                    
34		"Compact (15px)" => "dd_google1_generate('Compact (15px)')",
                    
35		"Compact (20px)" => "dd_google1_generate('Compact (20px)')",
                    
35		"Compact (20px)" => "dd_google1_generate('Compact (20px)')",
                    
36		"Compact (24px)" => "dd_google1_generate('Compact (24px)')"
                    
37	),
                    
61		"Compact" => "dd_tweetmeme_generate('Compact','twitter_username')",
                    
62		"Compact + URL" => "dd_tweetmeme_generate('Compact','twitter_username','awe.sm')",
                    
63		"Compact + URL + API" => "dd_tweetmeme_generate('Compact','twitter_username','bit.ly','api_key')",	
                    
104		"Normal" => "dd_pinterest_generate('Normal')",
                    
105		"Compact" => "dd_pinterest_generate('Compact')"
                    
106	),
                    
                
module.js https://gitlab.com/JrLucena/moodle | JavaScript | 259 lines
                    
22        // Properties.
                    
23        api : M.cfg.wwwroot + '/mod/chat/chat_ajax.php?sesskey=' + M.cfg.sesskey,  // The path to the ajax callback script.
                    
24        cfg : {},                                       // A configuration variable.
                    
120                {text: M.util.get_string('bubble', 'mod_chat'), url: this.cfg.chaturl + '&theme=bubble'},
                    
121                {text: M.util.get_string('compact', 'mod_chat'), url: this.cfg.chaturl + '&theme=compact'}
                    
122            ]);
                    
                
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&amp;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 );
                    
                
elgg.class.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 353 lines
                    
1<?php
                    
2/**
                    
10define('DOKU_AUTH', dirname(__FILE__));
                    
11require_once(DOKU_AUTH.'/basic.class.php');
                    
12
                    
12
                    
13//define('AUTH_USERFILE',DOKU_CONF.'users.auth.php');
                    
14
                    
136      if (io_saveFile(AUTH_USERFILE,$userline,true)) {
                    
137        $this->users[$user] = compact('pass','name','mail','grps');
                    
138        return $pwd;
                    
269        $acl = array();
                    
270	$acl[] = "# acl.auth.php";
                    
271        $acl[] = '# <?php exit()?\>';
                    
                
system.admin.inc git://github.com/drupal/drupal.git | Pascal | 388 lines
                    
1<?php
                    
2
                    
25  if (!empty($variables['content'])) {
                    
26    $variables['compact'] = system_admin_compact_mode();
                    
27    foreach ($variables['content'] as $key => $item) {
                    
28      $variables['content'][$key]['link'] = \Drupal::l($item['title'], $item['url']);
                    
29      if (!$variables['compact'] && isset($item['description'])) {
                    
30        $variables['content'][$key]['description'] = ['#markup' => $item['description']];
                    
51function template_preprocess_admin_page(&$variables) {
                    
52  $variables['system_compact_link'] = array(
                    
53    '#type' => 'system_compact_link',
                    
80function template_preprocess_system_admin_index(&$variables) {
                    
81  $variables['system_compact_link'] = array(
                    
82    '#type' => 'system_compact_link',
                    
364        }
                    
365        $current_theme['incompatible'] = t('This theme requires PHP version @php_required and is incompatible with PHP version @php_version.', array('@php_required' => $theme->info['php'], '@php_version' => phpversion()));
                    
366      }
                    
                
acp_email.php git://github.com/phpbb/phpbb.git | PHP | 351 lines
                    
5*
                    
6* @copyright (c) phpBB Limited <https://www.phpbb.com>
                    
7* @license GNU General Public License, version 2 (GPL-2.0)
                    
28		global $config, $db, $user, $template, $phpbb_log, $request;
                    
29		global $phpbb_root_path, $phpbb_admin_path, $phpEx, $phpbb_dispatcher;
                    
30
                    
235				);
                    
236				extract($phpbb_dispatcher->trigger_event('core.acp_email_send_before', compact($vars)));
                    
237
                    
329			'USERNAMES'				=> implode("\n", $usernames),
                    
330			'U_FIND_USERNAME'		=> append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&amp;form=acp_email&amp;field=usernames'),
                    
331			'SUBJECT'				=> $subject,
                    
346		$vars = array('template_data', 'exclude', 'usernames');
                    
347		extract($phpbb_dispatcher->trigger_event('core.acp_email_display', compact($vars)));
                    
348
                    
                
index.php https://gitlab.com/JrLucena/moodle | PHP | 288 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(dirname(dirname(__FILE__)).'/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) {
                    
                
ExtensionsLocalesController.php git://github.com/croogo/croogo.git | PHP | 244 lines
                    
1<?php
                    
2
                    
13 * @author   Fahad Ibnay Heylaal <contact@fahad19.com>
                    
14 * @license  http://www.opensource.org/licenses/mit-license.php The MIT License
                    
15 * @link     http://www.croogo.org
                    
63
                    
64		$this->set(compact('content', 'locales'));
                    
65	}
                    
197
                    
198		$this->set(compact('locale', 'content'));
                    
199	}
                    
                
XmlUtils.php git://github.com/spotweb/spotweb.git | PHP | 269 lines
                    
1<?php
                    
2
                    
58        $dom->validateOnParse = true;
                    
59        if (!$dom->loadXML($content, LIBXML_NONET | (\defined('LIBXML_COMPACT') ? LIBXML_COMPACT : 0))) {
                    
60            libxml_disable_entity_loader($disableEntities);
                    
137    /**
                    
138     * Converts a \DOMElement object to a PHP array.
                    
139     *
                    
165            }
                    
166            $config[$name] = static::phpize($node->value);
                    
167            $empty = false;
                    
196        if (false !== $nodeValue) {
                    
197            $value = static::phpize($nodeValue);
                    
198            if (\count($config)) {
                    
208    /**
                    
209     * Converts an xml value to a PHP type.
                    
210     *
                    
                
application_controller.rb git://github.com/fatfreecrm/fat_free_crm.git | Ruby | 261 lines
                    
5# Fat Free CRM is freely distributable under the terms of MIT license.
                    
6# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
                    
7#------------------------------------------------------------------------------
                    
81    return [] if related.blank?
                    
82    return [related.to_i].compact unless related.index('/')
                    
83
                    
                
labels.inc git://pkgs.fedoraproject.org/roundcubemail | PHP | 484 lines
                    
1<?php
                    
2
                    
181$labels['folderactions'] = '????...';
                    
182$labels['compact'] = '??';
                    
183$labels['empty'] = '??';
                    
372$labels['logoutclear'] = '????????';
                    
373$labels['logoutcompact'] = '????????';
                    
374$labels['uisettings'] = '????';
                    
                
Mobile.php https://gitlab.com/blingbang2016/shop | PHP | 536 lines
                    
1<?php
                    
2/**
                    
21
                    
22#require_once 'Zend/Http/UserAgent/AbstractDevice.php';
                    
23
                    
37
                    
38    const DEFAULT_FEATURES_ADAPTER_PATH = 'Zend/Http/UserAgent/Features/Adapter/Browscap.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':
                    
                
txplib_head.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 355 lines
                    
1<?php
                    
2
                    
91?><!DOCTYPE html>
                    
92<html lang="<?php echo LANG; ?>" dir="<?php echo $lang_direction; ?>">
                    
93<head>
                    
95<meta name="robots" content="noindex, nofollow">
                    
96<title><?php echo admin_title($pagetitle)?></title><?php echo
                    
97    script_js('vendors/jquery/jquery/jquery.js', TEXTPATTERN_SCRIPT_URL).
                    
125</style>
                    
126<?php
                    
127echo $theme->html_head();
                    
130</head>
                    
131<body id="<?php echo $body_id; ?>" class="not-ready <?php echo $area; ?>">
                    
132<header role="banner" class="txp-header">
                    
132<header role="banner" class="txp-header">
                    
133<?php callback_event('admin_side', 'pagetop');
                    
134    $theme->set_state($area, $event, $bm, $message);
                    
                
AdvertsController.php https://gitlab.com/dwalker109/carbon-and-classic | PHP | 368 lines
                    
1<?php
                    
2
                    
49        ]);
                    
50        return View::make('member.listings.index', compact('adverts'));
                    
51    }
                    
67            'member.listings.create',
                    
68            compact('advert', 'rules', 'categories', 'manufacturers')
                    
69        );
                    
95            'member.listings.edit',
                    
96            compact('advert', 'rules', 'categories', 'manufacturers')
                    
97        );
                    
168    {
                    
169        return View::make('public.advert.preview', compact('advert'));
                    
170    }
                    
180    {
                    
181        return View::make('member.listings.summary', compact('advert'));
                    
182    }
                    
                
ModelsController.php https://gitlab.com/joelopezcuenca/snipe-it | PHP | 291 lines
                    
1<?php namespace Controllers\Admin;
                    
2
                    
30        // Show the page
                    
31        return View::make('backend/models/index', compact('models'));
                    
32    }
                    
135        $category_list = array('' => '') + DB::table('categories')->lists('name', 'id');
                    
136        $view = View::make('backend/models/edit', compact('model'));
                    
137        $view->with('category_list',$category_list);
                    
252        if (isset($model->id)) {
                    
253                return View::make('backend/models/view', compact('model'));
                    
254        } else {
                    
255            // Prepare the error message
                    
256            $error = Lang::get('admin/models/message.does_not_exist', compact('id'));
                    
257
                    
                
plain.class.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 325 lines
                    
1<?php
                    
2/**
                    
10define('DOKU_AUTH', dirname(__FILE__));
                    
11require_once(DOKU_AUTH.'/basic.class.php');
                    
12
                    
12
                    
13define('AUTH_USERFILE',DOKU_CONF.'users.auth.php');
                    
14
                    
108      if (io_saveFile(AUTH_USERFILE,$userline,true)) {
                    
109        $this->users[$user] = compact('pass','name','mail','grps');
                    
110        return $pwd;
                    
                
TableTest.php https://gitlab.com/daigiangaitu91/magento | 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    }
                    
                
NewsController.php https://gitlab.com/tonycodes/Laravel-5-Bootstrap-3-Starter-Site | PHP | 193 lines
                    
1<?php namespace App\Http\Controllers\Admin;
                    
2
                    
38        // Show the page
                    
39        return view('admin.news.create_edit', compact('languages', 'language','newscategories','newscategory'));
                    
40    }
                    
88
                    
89        return view('admin.news.create_edit',compact('news','languages','language','newscategories','newscategory'));
                    
90    }
                    
137        // Show the page
                    
138        return view('admin.news.delete', compact('news'));
                    
139    }
                    
                
Service.php https://gitlab.com/BGCX262/zym-svn-to-git.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24require_once 'Zend/Json/Server/Smd.php';
                    
25
                    
30 * @subpackage Server
                    
31 * @version    $Id: Service.php 12195 2008-10-30 13:34:35Z matthew $
                    
32 * @copyright  Copyright (c) 2005-2010 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)));
                    
                
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        }
                    
                
Service.php https://gitlab.com/galaxy-pidev/AllForDealWeb | PHP | 465 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * @todo       Revised method regex to allow NS; however, should SMD be revised to strip PHP NS instead when attaching functions?
                    
19 */
                    
45     *
                    
46     * @link http://php.net/manual/en/language.oop5.basic.php
                    
47     * @link http://www.jsonrpc.org/specification#request_object
                    
156        if (!preg_match($this->nameRegex, $name)) {
                    
157            throw new InvalidArgumentException("Invalid name '{$name} provided for service; must follow PHP method naming conventions");
                    
158        }
                    
411        if (empty($target)) {
                    
412            return compact('envelope', 'transport', 'name', 'parameters', 'returns');
                    
413        }
                    
414
                    
415        return compact('envelope', 'target', 'transport', 'name', 'parameters', 'returns');
                    
416    }
                    
                
Csv.php https://gitlab.com/blingbang2016/shop | PHP | 300 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
153//                $loadMethod = $this->getVar('method');
                    
154//                $adapter->$loadMethod(compact('i', 'row'));
                    
155//            }
                    
                
FormSelect.php https://gitlab.com/daigiangaitu91/magento | PHP | 326 lines
                    
1<?php
                    
2/**
                    
216
                    
217            $attributes = compact('value', 'selected', 'disabled');
                    
218
                    
                
Session.php https://bitbucket.org/amruthaviswanath/mls-qa-tool.git | PHP | 492 lines
                    
1<?php namespace PHRETS;
                    
2
                    
279            'Count' => 1,
                    
280            'Format' => 'COMPACT-DECODED',
                    
281            'Limit' => 99999999,
                    
                
PhotoController.php https://gitlab.com/tonycodes/Laravel-5-Bootstrap-3-Starter-Site | PHP | 246 lines
                    
1<?php namespace App\Http\Controllers\Admin;
                    
2
                    
34        // Show the page
                    
35        return view('admin.photo.index', compact('album'));
                    
36    }
                    
49        // Show the page
                    
50        return view('admin.photo.create_edit', compact('languages', 'language','photoalbums','photoalbum'));
                    
51    }
                    
104
                    
105        return view('admin.photo.create_edit',compact('photo','languages','language','photoalbums','photoalbum'));
                    
106    }
                    
157        // Show the page
                    
158        return view('admin.photo.delete', compact('photo'));
                    
159    }
                    
                
TropicController.php https://bitbucket.org/coredeveloper2013/navipi-test.git | PHP | 452 lines
                    
1<?php
                    
2
                    
82
                    
83        return view('admin.tropics.list', compact('tropics','current_language'));
                    
84
                    
326
                    
327        return view('admin.tropics.edit', compact('tropic','groups'));
                    
328
                    
                
cache.php http://skygames.googlecode.com/svn/trunk/ | PHP | 520 lines
                    
3/**
                    
4 * Caching for CakePHP.
                    
5 *
                    
6 *
                    
7 * PHP versions 4 and 5
                    
8 *
                    
8 *
                    
9 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
                    
10 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
                    
16 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
                    
17 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
                    
18 * @package       cake
                    
19 * @subpackage    cake.cake.libs
                    
20 * @since         CakePHP(tm) v 1.2.0.4933
                    
21 * @version       $Revision: 7847 $
                    
                
comment_model.php http://emlog.googlecode.com/svn/trunk/ | PHP | 315 lines
                    
1<?php
                    
2/**
                    
4 * @copyright (c) Emlog All Rights Reserved
                    
5 * $Id: comment_model.php 2030 2011-09-13 15:49:40Z qiyuuu@gmail.com $
                    
6 */
                    
87            }
                    
88            $comments = compact('comments','commentStacks','commentPageUrl');
                    
89		} elseif($spot == 2) {
                    
100            }
                    
101            $comments = compact('comments','commentStacks','commentPageUrl');
                    
102		}
                    
                
update.php git://github.com/wordpress/wordpress.git | PHP | 306 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
                    
41
                    
42		$url   = 'update.php?action=update-selected&amp;plugins=' . urlencode( implode( ',', $plugins ) );
                    
43		$nonce = 'bulk-update-plugins';
                    
47
                    
48		$upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) );
                    
49		$upgrader->bulk_upgrade( $plugins );
                    
60		$title        = __( 'Update Plugin' );
                    
61		$parent_file  = 'plugins.php';
                    
62		$submenu_file = 'plugins.php';
                    
                
eiffel.php git://github.com/josegonzalez/git-php.git | PHP | 395 lines
                    
1<?php
                    
2/*************************************************************************************
                    
2/*************************************************************************************
                    
3 * eiffel.php
                    
4 * ----------
                    
253            'COMPARABLE',
                    
254            'COMPACT_TREE_CURSOR',
                    
255            'COMPACT_CURSOR_TREE',
                    
                
contacts_controller.php https://github.com/Tamsmiranda/croogo.git | PHP | 206 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 *
                    
10 * @author   Fahad Ibnay Heylaal <contact@fahad19.com>
                    
11 * @license  http://www.opensource.org/licenses/mit-license.php The MIT License
                    
12 * @link     http://www.croogo.org
                    
140        $this->set('title_for_layout', $contact['Contact']['title']);
                    
141        $this->set(compact('continue'));
                    
142    }
                    
                
QueryTest.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 393 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Lithium: the most rad php framework
                    
4 *
                    
5 * @copyright     Copyright 2010, Union of RAD (http://union-of-rad.org)
                    
6 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
                    
7 */
                    
225		$entity->id = 12;
                    
226		$query = new Query(compact('entity') + array(
                    
227			'model' => $this->_model,
                    
322		$data = array('foo' => 1, 'bar' => 2, 'baz' => 3);
                    
323		$query = new Query(compact('data'));
                    
324		$this->assertEqual($data, $query->data());
                    
325
                    
326		$query = new Query(compact('data') + array('whitelist' => array('foo', 'bar')));
                    
327		$this->assertEqual(array('foo' => 1, 'bar' => 2), $query->data());
                    
                
ProductsController.php https://gitlab.com/marksuner/swann-portal | PHP | 192 lines
                    
1<?php
                    
2
                    
53
                    
54        return view('admin.products.index', compact('products', 'q'));
                    
55    }
                    
66
                    
67        return view('admin.products.create', compact('categories', 'specificationCategories'));
                    
68    }
                    
121
                    
122        return view('admin.products.edit', compact('product', 'categories', 'specificationCategories'));
                    
123    }
                    
                
OneTimePasswordVerifyTrait.php git://github.com/CakeDC/users.git | PHP | 197 lines
                    
1<?php
                    
2declare(strict_types=1);
                    
10 * @copyright Copyright 2010 - 2018, Cake Development Corporation (https://www.cakedc.com)
                    
11 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
12 */
                    
57            );
                    
58            $this->set(compact('secretDataUri'));
                    
59        }
                    
                
FinanceiroController.php https://bitbucket.org/joaoignan/lojaslogfitness.git | PHP | 293 lines
                    
1<?php
                    
2namespace App\Controller\Admin;
                    
106
                    
107        $this->set(compact('transactions', 'custo_final', 'valor_final'));
                    
108    }
                    
214
                    
215        $this->set(compact('transactions', 'custo_final', 'valor_final'));
                    
216    }
                    
290
                    
291        $this->set(compact('resp_iugu_conta_info'));
                    
292    }
                    
                
update.php https://gitlab.com/hop23typhu/list-theme | 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
                    
235
                    
                
taxonomy.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 271 lines
                    
1<?php
                    
2/**
                    
141
                    
142	$args = compact('name', 'slug', 'parent', 'description');
                    
143
                    
                
Service.php https://gitlab.com/blingbang2016/shop | PHP | 473 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24#require_once 'Zend/Json/Server/Smd.php';
                    
25
                    
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)));
                    
246        if (!in_array($envelopeType, $this->_envelopeTypes)) {
                    
247            #require_once 'Zend/Json/Server/Exception.php';
                    
248            throw new Zend_Json_Server_Exception(sprintf('Invalid envelope type "%s"; please specify one of (%s)', $envelopeType, implode(', ', $this->_envelopeTypes)));
                    
                
Mailer.php https://gitlab.com/PragmaticLinux/Laravel | PHP | 527 lines
                    
1<?php namespace Illuminate\Mail;
                    
2
                    
111	{
                    
112		$this->from = compact('address', 'name');
                    
113	}
                    
181
                    
182		return $this->queue->push('mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue);
                    
183	}
                    
212
                    
213		return $this->queue->later($delay, 'mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue);
                    
214	}
                    
                
extrafield.php http://getk2.googlecode.com/svn/trunk/ | PHP | 375 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: extrafield.php 1554 2012-04-19 12:22:40Z lefteris.kavadas $
                    
4 * @package		K2
                    
35		{
                    
36			$mainframe->redirect('index.php?option=com_k2&view=extrafields', $row->getError(), 'error');
                    
37		}
                    
97				{
                    
98					require_once (JPATH_COMPONENT.DS.'lib'.DS.'JSON.php');
                    
99					$json = new Services_JSON;
                    
120
                    
121		require_once (JPATH_COMPONENT.DS.'lib'.DS.'JSON.php');
                    
122		$json = new Services_JSON;
                    
126		{
                    
127			$mainframe->redirect('index.php?option=com_k2&view=extrafield&cid='.$row->id, $row->getError(), 'error');
                    
128		}
                    
                
shopCore.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 417 lines
                    
33
                    
34        if(file_exists(BASE_DIR.'/upgrade.php')){ //review: ????
                    
35            header('HTTP/1.1 503 Service Unavailable',true,503);
                    
35            header('HTTP/1.1 503 Service Unavailable',true,503);
                    
36            require(CORE_DIR.'/func_ext.php');
                    
37            $smarty = &$this->loadModel('system/frontend');
                    
63            if($url=$urlTools->oldVersionShopEx($_GET)){
                    
64                $this->compactUrl($url);
                    
65            }
                    
95            if(!function_exists('shop_match_network')){
                    
96                require(CORE_INCLUDE_DIR.'/shop/core.match_network.php');
                    
97            }
                    
152            $cookieLife = $this->getConf('system.cookie.life');
                    
153            $this->_cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/';
                    
154            $this->_cookieLife = $cookieLife;
                    
                
doc.php https://gitlab.com/BillRocha/plim.git | PHP | 438 lines
                    
1<?php
                    
2/**
                    
148
                    
149    /* Produção dos links ou arquivos compactados.
                    
150     * para Style e Javascript
                    
152     * Em modo 'dev' gera somente os links;
                    
153     * Em modo 'pro' compacta e obfusca os arquivos e insere diretamente no HTML.
                    
154     */
                    
223    */
                    
224    function produce($php = false, $brade = false, $sTag = true){
                    
225        //With blade ???
                    
252        //Eval PHP in HTML
                    
253        if($php) $this->evalPHP();
                    
254
                    
                
OrderHelper.php https://bitbucket.org/icoa/bladecommerce-core.git | PHP | 475 lines
                    
1<?php
                    
2
                    
161        $address_trackings = $order->getAddressTrackings();
                    
162        return Theme::partial('order.address_verification', compact('address', 'order', 'address_responses', 'address_trackings'));
                    
163    }
                    
168        $trackings = $order->getAddressTrackings();
                    
169        return Theme::partial('order.tracking_info', compact('order', 'trackings'));
                    
170    }
                    
                
messages.inc git://pkgs.fedoraproject.org/roundcubemail | PHP | 163 lines
                    
1<?php
                    
2
                    
92$messages['folderpurged'] = 'Folder has successfully been emptied.';
                    
93$messages['folderexpunged'] = 'Folder has successfully been compacted.';
                    
94$messages['deletedsuccessfully'] = 'Successfully deleted.';
                    
                
PlaceHelper.php git://github.com/CakeDC/utils.git | PHP | 266 lines
                    
1<?php
                    
2/**
                    
8 * @copyright Copyright 2009 - 2013, Cake Development Corporation (http://cakedc.com)
                    
9 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
10 */
                    
84		$url = $this->_imageUrl($width, $height);
                    
85		$options = array_merge($options, compact('width', 'height'));
                    
86		$options['alt'] = isset($options['alt']) ? $options['alt'] : "$width x $height";
                    
126				}
                    
127				return implode(PHP_EOL, $content);
                    
128		}
                    
144		$start = (string)$start;
                    
145		return implode('_', compact('name', 'type', 'amount', 'start'));
                    
146	}
                    
162			$eol = '__EOL__';
                    
163			$result = json_decode(str_replace(PHP_EOL, $eol, $response->body));
                    
164			if (!empty($result->feed->lipsum)) {
                    
                
system.schema.yml https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | YAML | 488 lines
                    
31          label: 'Default front page'
                    
32    admin_compact_mode:
                    
33      type: boolean
                    
33      type: boolean
                    
34      label: 'Compact mode'
                    
35    weight_select_max:
                    
139      mapping:
                    
140        php:
                    
141          type: date_format
                    
141          type: date_format
                    
142          label: 'PHP date format'
                    
143        intl:
                    
                
tiny_mce_gzip.php http://core.svn.wordpress.org/ | PHP | 331 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * $RCSfile: tiny_mce_gzip.php,v $
                    
4 * $Revision: $
                    
15
                    
16@require_once('../../../wp-config.php');
                    
17
                    
60
                    
61function wp_compact_tinymce_js($text) {
                    
62	// This function was custom-made for TinyMCE 2.0, not expected to work with any other JS.
                    
99
                    
100// Patch older versions of PHP < 4.3.0
                    
101if (!function_exists('file_get_contents')) {
                    
148	if ($index == 0) {
                    
149		TinyMCE_echo(wp_compact_tinymce_js(file_get_contents(realpath("tiny_mce" . $suffix . ".js")))); // WP
                    
150		TinyMCE_echo('TinyMCE.prototype.orgLoadScript = TinyMCE.prototype.loadScript;');
                    
                
pt.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 58 lines
                    
1<?php
                    
2define('lang_Select','Seleccionar');
                    
8define('lang_Images','Imagens');
                    
9define('lang_Archives','Compactados');
                    
10define('lang_Error_Upload','O ficheiro enviado é maior que o limite permitido.');
                    
                
functions.php https://gitlab.com/Marwein/tnjobs | PHP | 220 lines
                    
1<?php
                    
2
                    
39            'PsySH version'       => Shell::VERSION,
                    
40            'PHP version'         => PHP_VERSION,
                    
41            'default includes'    => $config->getDefaultIncludes(),
                    
121
                    
122        return array_merge($core, compact('pcntl', 'readline', 'history', 'docs', 'autocomplete'));
                    
123    }
                    
173                if ($usageException !== null) {
                    
174                    echo $usageException->getMessage() . PHP_EOL . PHP_EOL;
                    
175                }
                    
198            if ($input->getOption('version')) {
                    
199                echo $shell->getVersion() . PHP_EOL;
                    
200                exit(0);
                    
209            } catch (Exception $e) {
                    
210                echo $e->getMessage() . PHP_EOL;
                    
211
                    
                
mimetype.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 241 lines
                    
1<?php
                    
2/**
                    
35/** 
                    
36   Name: PHP MimeType Class
                    
37
                    
40
                    
41   Description: This class allows a PHP script to determine the mime type
                    
42   a file based on the file extension.  This class is handy for PHP versions
                    
102         "hqx" => "application/mac-binhex40",
                    
103         "cpt" => "application/mac-compactpro",
                    
104         "doc" => "application/msword",
                    
                
AbstractTagAwareAdapter.php git://github.com/fabpot/symfony.git | PHP | 323 lines
                    
1<?php
                    
2
                    
60                if (isset($value['meta'])) {
                    
61                    // For compactness these values are packed, & expiry is offset to reduce size
                    
62                    $v = unpack('Ve/Nc', $value['meta']);
                    
96                    if ($metadata) {
                    
97                        // For compactness, expiry and creation duration are packed, using magic numbers as separators
                    
98                        $value['meta'] = pack('VN', (int) (0.1 + $metadata[self::METADATA_EXPIRY] - self::METADATA_EXPIRY_OFFSET), $metadata[self::METADATA_CTIME]);
                    
                
Multiline.php https://gitlab.com/blingbang2016/shop | PHP | 157 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
109     */
                    
110    public function compactValue($value)
                    
111    {
                    
114        }
                    
115        return parent::compactValue($value);
                    
116    }
                    
125    {
                    
126        return $this->compactValue($value);
                    
127    }
                    
                
paginator.php git://github.com/ericbarnes/Status-Board.git | PHP | 424 lines
                    
1<?php namespace Laravel;
                    
2
                    
375
                    
376		return HTML::link(URI::current().$query, $text, compact('class'), Request::secure());
                    
377	}
                    
                
base.php https://gitlab.com/endomorphosis/falkenstein | PHP | 293 lines
                    
1<?php
                    
2
                    
176
                    
177		return compact( 'comment_author', 'comment_author_email', 'comment_author_url', 'user_id' );
                    
178	}
                    
                
Form.php https://gitlab.com/blingbang2016/shop | PHP | 553 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
403    /**
                    
404     * Compact data array to current entity
                    
405     *
                    
408     */
                    
409    public function compactData(array $data)
                    
410    {
                    
419            }
                    
420            $dataModel->compactValue($data[$attribute->getAttributeCode()]);
                    
421        }
                    
                
class-wc-connect-options.php https://bitbucket.org/spirulineteam/spiruline.git | PHP | 338 lines
                    
21			switch ( $type ) {
                    
22				case 'non_compact':
                    
23					return array(
                    
72
                    
73			$non_compacts = self::get_option_names( 'non_compact' );
                    
74			foreach ( $non_compacts as $non_compact ) {
                    
89		public static function get_option( $name, $default = false ) {
                    
90			if ( self::is_valid( $name, 'non_compact' ) ) {
                    
91				return get_option( "wc_connect_$name", $default );
                    
303				foreach ( $group_keys as $_group ) {
                    
304					$compact_names = array_merge( $compact_names, self::get_option_names( $_group ) );
                    
305				}
                    
305				}
                    
306				$result = array_diff( $name, self::get_option_names( 'non_compact' ), $compact_names );
                    
307				return empty( $result );
                    
                
Language.php https://gitlab.com/JrLucena/moodle | PHP | 204 lines
                    
1<?php
                    
2
                    
103     * Retrieves a localised error name.
                    
104     * @param int $int error number, corresponding to PHP's error reporting
                    
105     * @return string localised message
                    
171                    }
                    
172                    $subst['$'.$i.'.Compact'] =
                    
173                    $subst['$'.$i.'.Serialized'] = $generator->generateFromToken($value);
                    
173                    $subst['$'.$i.'.Serialized'] = $generator->generateFromToken($value);
                    
174                    // a more complex algorithm for compact representation
                    
175                    // could be introduced for all types of tokens. This
                    
179                        $stripped_token->attr = array();
                    
180                        $subst['$'.$i.'.Compact'] = $generator->generateFromToken($stripped_token);
                    
181                    }
                    
                
jquery.json-1.3.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 156 lines
                    
5 * This document is licensed as free software under the terms of the
                    
6 * MIT License: http://www.opensource.org/licenses/mit-license.php
                    
7 *
                    
65    
                    
66    $.toJSON = function(o, compact)
                    
67    {
                    
84        if (type == "object" && typeof o.toJSON == "function") 
                    
85            return o.toJSON(compact);
                    
86        
                    
91            for (var i = 0; i < o.length; i++) {
                    
92                ret.push( $.toJSON(o[i], compact) );
                    
93            }
                    
93            }
                    
94            if (compact)
                    
95                return "[" + ret.join(",") + "]";
                    
                
ManageController.php git://github.com/QuickAppsCMS/QuickApps-CMS.git | PHP | 375 lines
                    
1<?php
                    
2/**
                    
143        $this->title(__d('content', 'Create New Content <small>({0})</small>', $type->slug));
                    
144        $this->set(compact('content', 'type', 'languages', 'roles'));
                    
145        $this->Breadcrumb
                    
241        $this->title(__d('content', 'Editing Content: {0} <small>({1})</small>', $content->title, $content->content_type_slug));
                    
242        $this->set(compact('content', 'languages', 'roles'));
                    
243        $this->Breadcrumb
                    
316        $this->title(__d('content', 'Translate Content'));
                    
317        $this->set(compact('content', 'translations', 'languages'));
                    
318        $this->Breadcrumb
                    
                
Util.php https://gitlab.com/Niqera/e3e | PHP | 295 lines
                    
1<?php
                    
2
                    
18    {
                    
19        $pathinfo = pathinfo($path) + compact('path');
                    
20        $pathinfo['dirname'] = static::normalizeDirname($pathinfo['dirname']);
                    
                
Select.php https://gitlab.com/blingbang2016/shop | PHP | 140 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
86     */
                    
87    public function compactValue($value)
                    
88    {
                    
102    {
                    
103        return $this->compactValue($value);
                    
104    }
                    
                
ISO14496_Box_STSS.html http://xepec.googlecode.com/svn/trunk/ | HTML | 236 lines
                    
23	<div class="info-box-body">
                    
24        		<!-- ========== Info from phpDoc block ========= -->
                    
25<p class="short-description">The <em>Sync Sample Box</em> provides a compact marking of the random access  points within the stream. The table is arranged in strictly increasing order  of sample number. If the sync sample box is not present, every sample is a  random access point.</p>
                    
28				<li><span class="field">version:</span> $Rev: 92 $</li>
                    
29				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
30				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
                    
32		<p class="notes">
                    
33			Located in <a class="field" href="_ISO14496---Box---STSS.php.html">/ISO14496/Box/STSS.php</a> (line <span class="field">55</span>)
                    
34		</p>
                    
36				
                    
37		<pre><a href="../../php-reader/ISO/ISO14496_Box.html">ISO14496_Box</a>
                    
38   |
                    
232	<p class="notes" id="credit">
                    
233		Documentation generated on Thu, 01 Jan 2009 14:59:41 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
234	</p>
                    
                
html-main.php https://bitbucket.org/ericstrom/ballmerpeak.git | PHP | 214 lines
                    
11		<?php require WC_Helper::get_view_filename( 'html-section-account.php' ); ?>
                    
12		<p><?php printf( __( 'Below is a list of extensions available on your WooCommerce.com account. To receive extension updates please make sure the extension is installed, and its subscription activated and connected to your WooCommerce.com account. Extensions can be activated from the <a href="%s">Plugins</a> screen.', 'woocommerce' ), admin_url( 'plugins.php' ) ); ?></p>
                    
13	</div>
                    
108						<?php elseif ( ! $subscription['local']['installed'] && ! $subscription['expired'] ) : ?>
                    
109							<a class="button <?php echo empty( $subscription['download_primary'] ) ? 'button-secondary' : ''; ?>" href="<?php echo esc_url( $subscription['download_url'] ); ?>" target="_blank"><?php _e( 'Download', 'woocommerce' ); ?></a>
                    
110						<?php elseif ( $subscription['active'] ) : ?>
                    
111							<span class="form-toggle__wrapper">
                    
112								<a href="<?php echo esc_url( $subscription['deactivate_url'] ); ?>" class="form-toggle active is-compact" role="link" aria-checked="true"><?php _e( 'Active', 'woocommerce' ); ?></a>
                    
113								<label class="form-toggle__label" for="activate-extension">
                    
121							<span class="form-toggle__wrapper">
                    
122								<a href="<?php echo esc_url( $subscription['activate_url'] ); ?>" class="form-toggle is-compact" role="link" aria-checked="false"><?php _e( 'Inactive', 'woocommerce' ); ?></a>
                    
123								<label class="form-toggle__label" for="activate-extension">
                    
151						<?php if ( ! empty( $action['button_label'] ) && ! empty( $action['button_url'] ) ) : ?>
                    
152						<a class="button <?php echo empty( $action['primary'] ) ? 'button-secondary' : ''; ?>" href="<?php echo esc_url( $action['button_url'] ); ?>"><?php echo esc_html( $action['button_label'] ); ?></a>
                    
153						<?php endif; ?>
                    
                
AuthController.php https://bitbucket.org/coredeveloper2013/navipi-test.git | PHP | 299 lines
                    
1<?php
                    
2
                    
179
                    
180		return view('register', compact('timezones','type'));
                    
181	}
                    
                
dd-global-variable.php https://gitlab.com/hop23typhu/list-theme | PHP | 348 lines
                    
1<?php 
                    
2/**
                    
4 */
                    
5require_once 'dd-class.php';
                    
6
                    
45define('DD_PLUGIN_STYLE_DELICIOUS', 'dd_delicious_normal_image');
                    
46define('DD_PLUGIN_STYLE_DELICIOUS_COMPACT', 'dd_delicious_compact_image');
                    
47
                    
                
s3rl.php https://code.google.com/p/s3db/ | PHP | 455 lines
                    
1<?php
                    
2#this script accepts inputs of url,public key and, in case an update is attemtped, an encripted message as well
                    
15else {
                    
16	echo 's3rl.php is a function to retrieve the url of a specific Did. For documentation and usage please refer to  <a href="http://s3db.org/">s3db.org</a>';
                    
17
                    
32
                    
33list($regValid, $msg) = registerURL(compact('url', 'publicKey', 'Did', 's3rl', 'newUrl', 'case', 'message','name','format'));
                    
34
                    
48	$format =($_REQUEST['format']=='')?'html':$_REQUEST['format'];
                    
49	$z = compact('data','cols', 'format');
                    
50	
                    
68
                    
69include_once('config.inc.php');
                    
70$key=$GLOBALS['deployment_project']['key'];
                    
70$key=$GLOBALS['deployment_project']['key'];
                    
71include 'core.header.php';
                    
72#include (S3DB_SERVER_ROOT.'/webActions.php');
                    
                
Queue.php https://gitlab.com/Urtekin/ertexAdmin | PHP | 213 lines
                    
1<?php
                    
2
                    
148
                    
149        return ['job' => 'IlluminateQueueClosure', 'data' => compact('closure')];
                    
150    }
                    
                
update.php https://gitlab.com/hop23typhu/list-theme | PHP | 272 lines
                    
1<?php
                    
2/**
                    
12/** WordPress Administration Bootstrap */
                    
13require_once( dirname( __FILE__ ) . '/admin.php' );
                    
14
                    
14
                    
15include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
                    
16
                    
36
                    
37		$url = 'update.php?action=update-selected&amp;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';
                    
                
04_Create_a_GridField_ActionProvider.md git://github.com/silverstripe/sapphire.git | Markdown | 286 lines
                    
29
                    
30A basic outline of our new `GridFieldCustomAction.php` will look like something
                    
31below:
                    
33
                    
34```php
                    
35use SilverStripe\Forms\GridField\GridField_ColumnProvider;
                    
52    {
                    
53        return ['class' => 'grid-field__col-compact'];
                    
54    }
                    
113
                    
114```php
                    
115// option 1: creating a new GridField with the CustomAction
                    
178
                    
179```php
                    
180use SilverStripe\Forms\GridField\GridField_ColumnProvider;
                    
                
externallib.php https://gitlab.com/JrLucena/moodle | PHP | 349 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
26
                    
27require_once("$CFG->libdir/externallib.php");
                    
28
                    
75
                    
76        // Compact/extract functions are not recommended.
                    
77        $courseid = $params['courseid'];
                    
112        // Require files here to save some memory in case validation fails.
                    
113        require_once($CFG->dirroot . '/group/lib.php');
                    
114        require_once($CFG->libdir  . '/gradelib.php');
                    
114        require_once($CFG->libdir  . '/gradelib.php');
                    
115        require_once($CFG->dirroot . '/grade/lib.php');
                    
116        require_once($CFG->dirroot . '/grade/report/user/lib.php');
                    
286        global $CFG, $USER;
                    
287        require_once($CFG->dirroot . "/grade/lib.php");
                    
288        require_once($CFG->dirroot . "/grade/report/user/lib.php");
                    
                
lightbox.Manage.php http://compactcms.googlecode.com/svn/trunk/compactcms/ | PHP | 220 lines
                    
106				<table border="0" cellspacing="5" cellpadding="5">
                    
107						<?php if($_SESSION['ccms_userLevel']>=$perm['manageModLightbox']) { ?><th class="span-1">&#160;</th><?php } ?>
                    
108						<th class="span-7">Album</th>
                    
123							<?php } ?>
                    
124							<td><span class="ss_sprite ss_folder_picture"><a href="lightbox.Manage.php?album=<?php echo $value;?>"><?php echo $value;?></a></span></td>
                    
125							<td><span class="ss_sprite ss_pictures"><?php echo ($count[$i]>0?$count[$i]:'0'); ?></span></td>
                    
149					<?php if($_SESSION['ccms_userLevel']>=$perm['manageModLightbox']) {?>
                    
150					<a href="lightbox.Process.php?album=<?php echo $_GET['album']; ?>&amp;image=<?php echo $key; ?>&amp;action=del-image"><img src="<?php echo $value; ?>" class="thumbview" alt="Thumbnail of <?php echo $key; ?>" /></a>
                    
151					<?php } else { ?>
                    
151					<?php } else { ?>
                    
152						<img src="<?php echo $value; ?>" class="thumbview" alt="Thumbnail of <?php echo $key; ?>" />
                    
153					<?php } ?>
                    
180				<?php foreach ($albums as $value) { ?>
                    
181					<option <?php echo (isset($_GET['album'])&&$_GET['album']===$value?"selected":null); ?> value="<?php echo $value; ?>"><?php echo $value; ?></option>
                    
182				<?php } ?>
                    
                
system.routing.yml git://github.com/drupal/drupal.git | YAML | 515 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:
                    
484system.db_update:
                    
485  path: '/update.php/{op}'
                    
486  defaults:
                    
                
fileExtensions.php https://gitlab.com/zenfork/vektor | PHP | 780 lines
                    
1<?php
                    
2/**
                    
49	'application/mac-binhex40'=>'hqx',
                    
50	'application/mac-compactpro'=>'cpt',
                    
51	'application/mads+xml'=>'mads',
                    
92	'application/reginfo+xml'=>'rif',
                    
93	'application/relax-ng-compact-syntax'=>'rnc',
                    
94	'application/resource-lists+xml'=>'rl',
                    
                
Parser.php https://gitlab.com/btkm/correct_fb | PHP | 778 lines
                    
1<?php
                    
2
                    
16/**
                    
17 * Parser parses YAML strings to convert them to PHP arrays.
                    
18 *
                    
41    /**
                    
42     * Parses a YAML string to a PHP value.
                    
43     *
                    
44     * @param string $value                  A YAML string
                    
45     * @param bool   $exceptionOnInvalidType true if an exception must be thrown on invalid types (a PHP resource or object), false otherwise
                    
46     * @param bool   $objectSupport          true if object support is enabled, false otherwise
                    
48     *
                    
49     * @return mixed A PHP value
                    
50     *
                    
102                    ) {
                    
103                        // this is a compact notation element, add to next block and parse
                    
104                        $c = $this->getRealCurrentLineNb();
                    
                
meta.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 867 lines
                    
1<?php
                    
2/**
                    
140
                    
141	$data  = compact( 'meta_value' );
                    
142	$where = array( $column => $object_id, 'meta_key' => $meta_key );
                    
                
comment.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 1482 lines
                    
1<?php
                    
2/**
                    
232		// $args can be whatever, only use the args defined in defaults to compute the key
                    
233		$key = md5( serialize( compact(array_keys($defaults)) )  );
                    
234		$last_changed = wp_cache_get('last_changed', 'comment');
                    
326
                    
327		$post_fields = array_filter( compact( array( 'post_author', 'post_name', 'post_parent', 'post_status', 'post_type', ) ) );
                    
328		if ( ! empty( $post_fields ) ) {
                    
334		$pieces = array( 'fields', 'join', 'where', 'orderby', 'order', 'limits' );
                    
335		$clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );
                    
336		foreach ( $pieces as $piece )
                    
                
admin.php https://gitlab.com/endomorphosis/falkenstein | PHP | 518 lines
                    
322<h3><?php echo esc_html( sprintf( __( 'Use the default language (%s)', 'contact-form-7' ), $available_locales[$default_locale] ) ); ?></h3>
                    
323<p><a href="<?php echo esc_url( add_query_arg( array( 'locale' => $default_locale ), menu_page_url( 'wpcf7-new', false ) ) ); ?>" class="button button-primary" /><?php echo esc_html( __( 'Add New', 'contact-form-7' ) ); ?></a></p>
                    
324
                    
325<?php unset( $available_locales[$default_locale] ); ?>
                    
326<h3><?php echo esc_html( __( 'Or', 'contact-form-7' ) ); ?></h3>
                    
327<form action="" method="get">
                    
331<?php foreach ( $available_locales as $code => $locale ) : ?>
                    
332<option value="<?php echo esc_attr( $code ); ?>"><?php echo esc_html( $locale ); ?></option>
                    
333<?php endforeach; ?>
                    
433<div class="error">
                    
434<p><?php echo sprintf( __( '<strong>Contact Form 7 %1$s requires WordPress %2$s or higher.</strong> Please <a href="%3$s">update WordPress</a> first.', 'contact-form-7' ), WPCF7_VERSION, WPCF7_REQUIRED_WP_VERSION, admin_url( 'update-core.php' ) ); ?></p>
                    
435</div>
                    
459	<?php wp_nonce_field( 'wpcf7-welcome-panel-nonce', 'welcomepanelnonce', false ); ?>
                    
460	<a class="welcome-panel-close" href="<?php echo esc_url( menu_page_url( 'wpcf7', false ) ); ?>"><?php echo esc_html( __( 'Dismiss', 'contact-form-7' ) ); ?></a>
                    
461
                    
                
update.php https://gitlab.com/endomorphosis/falkenstein | PHP | 435 lines
                    
1<?php
                    
2/**
                    
76
                    
77	include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
                    
78
                    
105
                    
106	$url = $http_url = 'http://api.wordpress.org/core/checksums/1.0/?' . http_build_query( compact( 'version', 'locale' ), null, '&' );
                    
107
                    
182	case 'development' :
                    
183		return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) );
                    
184	break;
                    
186	case 'upgrade' :
                    
187		return sprintf( '<strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', network_admin_url( 'update-core.php' ), $cur->current);
                    
188	break;
                    
203
                    
204	if ( 'update-core.php' == $pagenow )
                    
205		return;
                    
                
update.php https://gitlab.com/rio.munas/gddc | PHP | 506 lines
                    
1<?php
                    
2/**
                    
76
                    
77	include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
                    
78
                    
103function get_core_checksums( $version, $locale ) {
                    
104	$url = $http_url = 'http://api.wordpress.org/core/checksums/1.0/?' . http_build_query( compact( 'version', 'locale' ), null, '&' );
                    
105
                    
202	case 'development' :
                    
203		return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) );
                    
204
                    
205	case 'upgrade' :
                    
206		return '<strong><a href="' . network_admin_url( 'update-core.php' ) . '">' . sprintf( __( 'Get Version %s' ), $cur->current ) . '</a></strong>';
                    
207
                    
224
                    
225	if ( 'update-core.php' == $pagenow )
                    
226		return;
                    
                
knockout-2.1.0.debug.js https://gitlab.com/orsanawwad/HackerULessonProjects | JavaScript | 1138 lines
                    
2// (c) Steven Sanderson - http://knockoutjs.com/
                    
3// License: MIT (http://www.opensource.org/licenses/mit-license.php)
                    
4
                    
44
                    
45    // Represent the known event types in a compact way, then at runtime transform it into a hash with event name as key (for fast lookup)
                    
46    var knownEvents = {}, knownEventTypesByEventName = {};
                    
                
editor.php https://gitlab.com/alexprowars/bitrix | PHP | 1291 lines
                    
22	CONST BLOCK_PLACE_ATTR = 'data-bx-block-editor-place';
                    
23	CONST BLOCK_PHP_ATTR = 'data-bx-editor-php-slice';
                    
24	CONST STYLIST_TAG_ATTR = 'data-bx-stylist-container';
                    
239		$this->useLightTextEditor = isset($params['useLightTextEditor']) ? (bool) $params['useLightTextEditor'] : false;
                    
240		$this->isUserHavePhpAccess = isset($params['isUserHavePhpAccess']) ? (bool) $params['isUserHavePhpAccess'] : false;
                    
241		$this->ownResultId = isset($params['own_result_id']) ? $params['own_result_id'] : true;
                    
371	{
                    
372		$isUserHavePhpAccess = $this->isUserHavePhpAccess;
                    
373		$useLightTextEditor = $this->useLightTextEditor;
                    
455						array('id' => 'Color',  'compact' => true, 'sort' => 130),
                    
456						array('id' => 'FontSelector',  'compact' => false, 'sort' => 135),
                    
457						array('id' => 'FontSize',  'compact' => false, 'sort' => 140),
                    
471						array('id' => 'RemoveFormat',  'compact' => false, 'sort' => 310),
                    
472						array('id' => 'Fullscreen',  'compact' => false, 'sort' => 320),
                    
473						array('id' => 'BbCode',  'compact' => true, 'sort' => 340),
                    
                
legacy.cpp git://pkgs.fedoraproject.org/task | C++ | 215 lines
                    
23//
                    
24// http://www.opensource.org/licenses/mit-license.php
                    
25//
                    
56    legacyMap["countdown"]            = "due.countdown";        // Deprecated.
                    
57    legacyMap["countdown_compact"]    = "due.countdown";        // Deprecated.
                    
58    legacyMap["age"]                  = "entry.age";            // Deprecated.
                    
58    legacyMap["age"]                  = "entry.age";            // Deprecated.
                    
59    legacyMap["age_compact"]          = "entry.age";            // Deprecated.
                    
60    legacyMap["active"]               = "start.active";         // Deprecated.
                    
86    legacyMap["countdown"]            = "due";                  // Deprecated
                    
87    legacyMap["countdown_compact"]    = "due";                  // Deprecated
                    
88    legacyMap["age"]                  = "entry";                // Deprecated
                    
88    legacyMap["age"]                  = "entry";                // Deprecated
                    
89    legacyMap["age_compact"]          = "entry";                // Deprecated
                    
90    legacyMap["active"]               = "start";                // Deprecated
                    
                
LayoutHelper.php git://github.com/croogo/croogo.git | PHP | 575 lines
                    
1<?php
                    
2
                    
11 * @author   Fahad Ibnay Heylaal <contact@fahad19.com>
                    
12 * @license  http://www.opensource.org/licenses/mit-license.php The MIT License
                    
13 * @link     http://www.croogo.org
                    
41	public $coreHelpers = array(
                    
42		// CakePHP
                    
43		'Ajax',
                    
223		if (method_exists($this->Html, 'icon')) {
                    
224			return $this->Html->icon($icon, compact('class'));
                    
225		} else {
                    
228			}
                    
229			return $this->_View->CroogoHtml->icon($icon, compact('class'));
                    
230		}
                    
400 *
                    
401 * Original post by Stefan Zollinger: http://bakery.cakephp.org/articles/view/element-helper
                    
402 * [element:element_name] or [e:element_name]
                    
                
update.php https://gitlab.com/hop23typhu/list-theme | 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&amp;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';
                    
                
extrafield.php http://joomlaworks.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: extrafield.php 1172 2011-10-17 11:42:15Z lefteris.kavadas $
                    
4 * @package		K2
                    
32		if (!$row->bind(JRequest::get('post'))) {
                    
33			$mainframe->redirect('index.php?option=com_k2&view=extraFields', $row->getError(), 'error');
                    
34		}
                    
80					else {
                    
81						require_once(JPATH_COMPONENT.DS.'lib'.DS.'JSON.php');
                    
82						$json=new Services_JSON;
                    
103
                    
104		require_once(JPATH_COMPONENT.DS.'lib'.DS.'JSON.php');
                    
105		$json=new Services_JSON;
                    
108		if (!$row->check()) {
                    
109			$mainframe->redirect('index.php?option=com_k2&view=extraField&cid='.$row->id, $row->getError(), 'error');
                    
110		}
                    
                
Smd.php https://gitlab.com/daigiangaitu91/magento | PHP | 461 lines
                    
1<?php
                    
2/**
                    
380        $SMDVersion  = static::SMD_VERSION;
                    
381        $service = compact('transport', 'envelope', 'contentType', 'SMDVersion', 'description');
                    
382
                    
411        $serviceType = 'JSON-RPC';
                    
412        $service = compact('SMDVersion', 'serviceType');
                    
413
                    
                
index.php git://github.com/phpbb/phpbb.git | PHP | 252 lines
                    
5*
                    
6* @copyright (c) phpBB Limited <https://www.phpbb.com>
                    
7* @license GNU General Public License, version 2 (GPL-2.0)
                    
20define('IN_PHPBB', true);
                    
21$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
                    
22$phpEx = substr(strrchr(__FILE__, '.'), 1);
                    
66			$vars = array('mark_notification', 'notification');
                    
67			extract($phpbb_dispatcher->trigger_event('core.index_mark_notification_after', compact($vars)));
                    
68
                    
229	'U_MARK_FORUMS'		=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&amp;mark=forums&amp;mark_time=' . time()) : '',
                    
230	'U_MCP'				=> ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&amp;mode=front', true, $user->session_id) : '')
                    
231);
                    
242$vars = array('page_title');
                    
243extract($phpbb_dispatcher->trigger_event('core.index_modify_page_title', compact($vars)));
                    
244
                    
                
fck_startup.js https://SplendidCRM.svn.codeplex.com/svn | JavaScript | 25 lines
                    
5 * Licensed under the terms of the GNU Lesser General Public License:
                    
6 * 		http://www.opensource.org/licenses/lgpl-license.php
                    
7 * 
                    
12 * 
                    
13 * This file has been compacted for best loading performance.
                    
14 */
                    
                
SelectChannelEndPointTest.java git://pkgs.fedoraproject.org/jetty | Java | 452 lines
                    
10//The Apache License v2.0 is available at
                    
11//http://www.opensource.org/licenses/apache2.0.php
                    
12//You may elect to redistribute this code under either of these licenses.
                    
135                progress=false;
                    
136                _in.compact();
                    
137                if (_in.space()>0 && _endp.fill(_in)>0)
                    
152
                    
153                _out.compact();
                    
154
                    
                
registration.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 333 lines
                    
1<?php
                    
2/**
                    
193
                    
194	$data = compact( 'user_pass', 'user_email', 'user_url', 'user_nicename', 'display_name', 'user_registered' );
                    
195	$data = stripslashes_deep( $data );
                    
197	if ( $update ) {
                    
198		$wpdb->update( $wpdb->users, $data, compact( 'ID' ) );
                    
199		$user_id = (int) $ID;
                    
200	} else {
                    
201		$wpdb->insert( $wpdb->users, $data + compact( 'user_login' ) );
                    
202		$user_id = (int) $wpdb->insert_id;
                    
310
                    
311	$userdata = compact('user_login', 'user_email', 'user_pass');
                    
312	return wp_insert_user($userdata);
                    
                
robot_properties_dialog.php https://gitlab.com/alexprowars/bitrix | PHP | 241 lines
                    
1<?php
                    
2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
                    
46	<div class="bizproc-automation-popup-settings" data-role="inline-selector-html">
                    
47		<div class="bizproc-automation-popup-select"><?php
                    
48			$emailEditor = new CHTMLEditor;
                    
77				'saveOnBlur'          => false,
                    
78				'bAllowPhp'           => false,
                    
79				'limitPhpAccess'      => false,
                    
83				'controlsMap'         => array(
                    
84					array('id' => 'Bold',  'compact' => true, 'sort' => 10),
                    
85					array('id' => 'Italic',  'compact' => true, 'sort' => 20),
                    
85					array('id' => 'Italic',  'compact' => true, 'sort' => 20),
                    
86					array('id' => 'Underline',  'compact' => true, 'sort' => 30),
                    
87					array('id' => 'Strikeout',  'compact' => true, 'sort' => 40),
                    
87					array('id' => 'Strikeout',  'compact' => true, 'sort' => 40),
                    
88					array('id' => 'RemoveFormat',  'compact' => true, 'sort' => 50),
                    
89					array('id' => 'Color',  'compact' => true, 'sort' => 60),
                    
                
Queue.php https://gitlab.com/PragmaticLinux/Laravel | PHP | 224 lines
                    
1<?php namespace Illuminate\Queue;
                    
2
                    
157
                    
158		return ['job' => 'IlluminateQueueClosure', 'data' => compact('closure')];
                    
159	}
                    
                
 

Source

Language