PageRenderTime 426ms queryTime 29ms sortTime 28ms getByIdsTime 234ms findMatchingLines 64ms

100+ results results for 'php compact repo:kyoro/fluxflex_wordpress_en' (426 ms)

Not the results you expected?
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)
                    
                
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.
                    
                
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	}
                    
                
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
                    
                
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'] = '????';
                    
                
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);
                    
                
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;
                    
                
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        }
                    
                
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,
                    
                
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());
                    
                
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    }
                    
                
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;');
                    
                
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]);
                    
                
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	}
                    
                
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 );
                    
                
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
                    
                
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	}
                    
                
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');
                    
                
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;
                    
                
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:
                    
                
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]
                    
                
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		}
                    
                
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
                    
                
EmployeeController.php https://bitbucket.org/ahmed121446/hrsystem.git | PHP | 277 lines
                    
1<?php
                    
2
                    
44                        ->paginate(10);
                    
45        return view('user.employees.all',compact('employees'));
                    
46    }
                    
58        $types = UserType::all();
                    
59        return view('user.employees.create', compact('jobTitles','employees','countries','types'));
                    
60    }
                    
73        if ($user->id == auth()->user()->id) {
                    
74            return view('user.password.edit',compact('user'));
                    
75        }else{
                    
195        $salaries = Salary::with('contract')->whereIn('id',$salaries_ids)->latest()->get();
                    
196        return view('user.employees.show',compact('employee','contracts','experiences','certificates','recruitment','familyMembers','salaries'));
                    
197    }
                    
242        $skillLevels = SkillLevel::all();
                    
243        return view('user.employees.create_user_skill',compact('employee','skills','skillLevels'));
                    
244    }
                    
                
ShellTest.php https://bitbucket.org/laravelhemraj/vamaaddress.git | PHP | 325 lines
                    
1<?php
                    
2
                    
19
                    
20class ShellTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
40        $shell = new Shell($this->getConfig());
                    
41        $shell->setScopeVariables(compact('one', 'two', 'three', '__psysh__', '_', '_e'));
                    
42
                    
65    {
                    
66        $config = $this->getConfig(array('configFile' => __DIR__ . '/../../fixtures/empty.php'));
                    
67
                    
76        $config = $this->getConfig(array(
                    
77            'defaultIncludes' => array('/file.php'),
                    
78            'configFile'      => __DIR__ . '/../../fixtures/empty.php',
                    
83        $includes = $shell->getIncludes();
                    
84        $this->assertEquals('/file.php', $includes[0]);
                    
85    }
                    
                
zip.class.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 493 lines
                    
1<?php
                    
2class zip
                    
33
                    
34	function Add($files,$compact)
                    
35	{
                    
48			{
                    
49				$ret[basename($fn[0])]=$this->add_File($fn[1],$fn[0],$compact);
                    
50			}
                    
167
                    
168	function add_File($data, $name, $compact = 1)
                    
169	{
                    
175		eval('$hexdtime = "' . $hexdtime . '";');
                    
176		if($compact)
                    
177		$fr = "\x50\x4b\x03\x04\x14\x00\x00\x00\x08\x00".$hexdtime;
                    
182		$unc_len = strlen($data); $crc = crc32($data);
                    
183		if($compact)
                    
184		{
                    
                
wp-trackback.php git://github.com/wordpress/wordpress.git | PHP | 152 lines
                    
1<?php
                    
2/**
                    
11if ( empty( $wp ) ) {
                    
12	require_once __DIR__ . '/wp-load.php';
                    
13	wp( array( 'tb' => '1' ) );
                    
132
                    
133	$commentdata = compact( 'comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type' );
                    
134
                    
                
upload.php git://github.com/phpbb/phpbb.git | PHP | 378 lines
                    
5 *
                    
6 * @copyright (c) phpBB Limited <https://www.phpbb.com>
                    
7 * @license GNU General Public License, version 2 (GPL-2.0)
                    
21use \phpbb\mimetype\guesser;
                    
22use \phpbb\plupload\plupload;
                    
23use \phpbb\storage\storage;
                    
90	 */
                    
91	public function __construct(auth $auth, service $cache, config $config, \phpbb\files\upload $files_upload, language $language, guesser $mimetype_guesser, dispatcher $phpbb_dispatcher, plupload $plupload, storage $storage, temp $temp, user $user)
                    
92	{
                    
98		$this->mimetype_guesser = $mimetype_guesser;
                    
99		$this->phpbb_dispatcher = $phpbb_dispatcher;
                    
100		$this->plupload = $plupload;
                    
195		);
                    
196		extract($this->phpbb_dispatcher->trigger_event('core.modify_uploaded_file', compact($vars)));
                    
197		$this->file_data = $filedata;
                    
                
fx_config.php http://comet.googlecode.com/svn/trunk/ | PHP | 506 lines
                    
1<?php
                    
2	
                    
123			if (!$useNS) {
                    
124				$config_document = simplexml_load_file($file, 'SimpleXMLElement', LIBXML_NOBLANKS | LIBXML_COMPACT);
                    
125			} else {
                    
125			} else {
                    
126				$config_document = simplexml_load_file($file, 'SimpleXMLElement', LIBXML_NOBLANKS | LIBXML_COMPACT, self::XML_NAMESPACE, FALSE);
                    
127			}
                    
                
insertall.php https://code.google.com/p/s3db/ | PHP | 345 lines
                    
1<?php
                    
2#insertall.php is a form for inserting the values of rules in a single instance at once
                    
12	
                    
13	if(file_exists('../config.inc.php'))
                    
14	{
                    
14	{
                    
15		include('../config.inc.php');
                    
16	}
                    
32
                    
33include_once('../core.header.php');
                    
34
                    
63	#include all the javascript functions for the menus...
                    
64	include('../S3DBjavascript.php');
                    
65
                    
73		
                    
74	include('../action.header.php');
                    
75	
                    
                
focalizaciones_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 128 lines
                    
1<?php
                    
2class FocalizacionesController extends AppController {
                    
24		$registros=$this->Focalizacione->find('all',array('conditions'=>array('Focalizacione.zona_id'=>$zonas), 'order'=>'Focalizacione.fecha DESC'));				
                    
25		$this->set(compact('zonas','registros'));
                    
26	}
                    
66		}		
                    
67		$this->set(compact('zona_id'));
                    
68	}
                    
100		
                    
101		$this->set(compact('fecha'));
                    
102	}
                    
124		$zona_id = $this->Zona->find('all');
                    
125		$this->set(compact('zona_id'));
                    
126	}
                    
                
trabajos_articulados_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 118 lines
                    
1<?php
                    
2class TrabajosArticuladosController extends AppController {
                    
66		$group_id = $this->Access->getMy('group_id');	
                    
67		$this->set(compact('zona','bimestre','year','criterios','group_id'));
                    
68	}
                    
101		$group_id = $this->Access->getMy('group_id');	
                    
102		$this->set(compact('criterios','bimestre','year','zona','group_id'));
                    
103	}
                    
                
RecaptchaHelper.php git://github.com/CakeDC/recaptcha.git | PHP | 272 lines
                    
1<?php
                    
2/**
                    
8 * @copyright Copyright 2009-2014, Cake Development Corporation (http://cakedc.com)
                    
9 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
10 */
                    
12/**
                    
13 * CakePHP Recaptcha helper
                    
14 *
                    
129
                    
130			$output = $this->Html->tag('div', '', compact('id'));
                    
131		} else {
                    
193		if (!function_exists('mcrypt_encrypt')) {
                    
194			throw new Exception(__d('recaptcha', 'To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.', true));
                    
195		}
                    
                
users_controller.php http://croogo.googlecode.com/svn/trunk/ | PHP | 264 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
                    
64        $roles = $this->User->Role->find('list');
                    
65        $this->set(compact('roles'));
                    
66    }
                    
84        $roles = $this->User->Role->find('list');
                    
85        $this->set(compact('roles'));
                    
86    }
                    
192            $this->User->saveField('activation_key', $activationKey);
                    
193            $this->set(compact('user', 'activationKey'));
                    
194
                    
                
update.php https://github.com/mtaus/wordpress.git | PHP | 334 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
                    
26	global $wp_version, $wpdb, $wp_local_package;
                    
27	$php_version = phpversion();
                    
28
                    
46	$local_package = isset( $wp_local_package )? $wp_local_package : '';
                    
47	$url = "http://api.wordpress.org/core/version-check/1.3/?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package";
                    
48
                    
89 *
                    
90 * The WordPress version, PHP version, and Locale is sent along with a list of
                    
91 * all plugins installed. Checks against the WordPress server at
                    
117	$new_option->last_checked = time();
                    
118	$timeout = 'load-plugins.php' == current_filter() ? 3600 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours
                    
119	$time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked );
                    
                
main.php https://bitbucket.org/Crisu83/yii-bootstrap/ | PHP | 195 lines
                    
2<html>
                    
3<head prefix="og: http://ogp.me/ns# <?php echo Yii::app()->fb->appNamespace; ?>: http://ogp.me/ns/apps/<?php echo Yii::app()->fb->appNamespace; ?>#">
                    
4	<?php Yii::app()->controller->widget('ext.seo.widgets.SeoHead', array(
                    
10	<?php Yii::app()->bootstrap->registerAllCss(); ?>
                    
11	<?php Yii::app()->bootstrap->registerCoreScripts(); ?>
                    
12	<?php Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/styles.css'); ?>
                    
100				<p>
                    
101					Bringing together the <?php echo CHtml::link('Yii PHP framework', 'http://www.yiiframework.com'); ?> and
                    
102					<?php echo CHtml::link('Twitter Bootstrap', 'http://twitter.github.com/bootstrap/'); ?>.
                    
104				<p>
                    
105					<?php echo CHtml::link('Yii-Bootstrap', 'http://www.yiiframework.com/extension/bootstrap/'); ?>
                    
106					is an extension for Yii that provides a wide range of widgets that allow developers to easily use Bootstrap with Yii.
                    
171					<?php echo CHtml::link('jQuery', 'http://www.jquery.com', array('target'=>'_blank')); ?> /
                    
172					<?php echo CHtml::link('LESS', 'http://www.lesscss.org', array('target'=>'_blank')); ?>
                    
173				</p>
                    
                
category.php http://getk2.googlecode.com/svn/trunk/ | PHP | 157 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: category.php 1492 2012-02-22 17:40:09Z joomlaworks@gmail.com $
                    
4 * @package		K2
                    
31		jimport('joomla.filesystem.file');
                    
32		require_once (JPATH_COMPONENT.DS.'lib'.DS.'class.upload.php');
                    
33		$row = & JTable::getInstance('K2Category', 'Table');
                    
36		if (!$row->bind(JRequest::get('post'))) {
                    
37			$mainframe->redirect('index.php?option=com_k2&view=categories', $row->getError(), 'error');
                    
38		}
                    
57		if (!$row->check()) {
                    
58			$mainframe->redirect('index.php?option=com_k2&view=category&cid='.$row->id, $row->getError(), 'error');
                    
59		}
                    
61		if (!$row->store()) {
                    
62			$mainframe->redirect('index.php?option=com_k2&view=categories', $row->getError(), 'error');
                    
63		}
                    
                
ImageField.php git://github.com/QuickAppsCMS/QuickApps-CMS.git | PHP | 298 lines
                    
1<?php
                    
2/**
                    
57
                    
58        return $view->element('Field.ImageField/display', compact('field'));
                    
59    }
                    
65    {
                    
66        return $view->element('Field.ImageField/edit', compact('field'));
                    
67    }
                    
250    {
                    
251        return $view->element('Field.ImageField/settings_form', compact('instance'));
                    
252    }
                    
281    {
                    
282        return $view->element('Field.ImageField/view_mode_form', compact('instance', 'viewMode'));
                    
283    }
                    
                
class-wp-stream-connector-acf.php https://gitlab.com/wp-stream/stream.git | PHP | 542 lines
                    
1<?php
                    
2
                    
478	public static function callback_acf_update_value( $value, $post_id, $field ) {
                    
479		self::$cached_field_values_updates[ $post_id ][ $field['name'] ] = compact( 'field', 'value', 'post_id' );
                    
480		return $value;
                    
                
insertstatement.php https://code.google.com/p/s3db/ | PHP | 222 lines
                    
1<?php
                    
2#insertstatement.php is the interface for inserting a statement (instance, value, notes and file)
                    
13	
                    
14	if(file_exists('../config.inc.php'))
                    
15	{
                    
15	{
                    
16		include('../config.inc.php');
                    
17	}
                    
25
                    
26include_once('../core.header.php');
                    
27
                    
32#$instance_info = get_info('instance', $instance_id, $db);
                    
33#$instanceAcl = dataAcl(compact('instance_info', 'user_id', 'db', 'project_id'));
                    
34$instance_info = URIinfo('I'.$instance_id, $user_id, $key, $db);
                    
46
                    
47#include('../webActions.php');
                    
48
                    
                
AbstractAdapter.php git://github.com/fabpot/symfony.git | PHP | 198 lines
                    
1<?php
                    
2
                    
37    private static $apcuSupported;
                    
38    private static $phpFilesSupported;
                    
39
                    
53                // Detect wrapped values that encode for their expiry and creation duration
                    
54                // For compactness, these values are packed in the key of an array using
                    
55                // magic numbers in the form 9D-..-..-..-..-00-..-..-..-5F
                    
85                    }
                    
86                    // For compactness, expiry and creation duration are packed in the key of an array, using magic numbers as separators
                    
87                    $byLifetime[$ttl][$getId($key)] = $metadata ? ["\x9D".pack('VN', (int) (0.1 + $metadata[self::METADATA_EXPIRY] - self::METADATA_EXPIRY_OFFSET), $metadata[self::METADATA_CTIME])."\x5F" => $item->value] : $item->value;
                    
105    {
                    
106        $opcache = new PhpFilesAdapter($namespace, $defaultLifetime, $directory, true);
                    
107        if (null !== $logger) {
                    
115        $apcu = new ApcuAdapter($namespace, $defaultLifetime / 5, $version);
                    
116        if ('cli' === \PHP_SAPI && !filter_var(ini_get('apc.enable_cli'), FILTER_VALIDATE_BOOLEAN)) {
                    
117            $apcu->setLogger(new NullLogger());
                    
                
customize-widgets-rtl.css git://github.com/wordpress/wordpress.git | CSS | 484 lines
                    
21
                    
22/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
                    
23.customize-control-widget_form .widget-top {
                    
238
                    
239/* Keep rule that is no longer necessary on widgets.php. */
                    
240#available-widgets .widget-action {
                    
440@media screen and (max-height: 700px) and (min-width: 981px) {
                    
441	/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
                    
442	.customize-control-widget_form {
                    
475
                    
476	/* Compact the move widget areas. */
                    
477	#customize-theme-controls .widget-area-select li {
                    
                
CareerController.php https://gitlab.com/kidaa/ffxivcrafting.git | PHP | 398 lines
                    
1<?php namespace App\Http\Controllers;
                    
2
                    
31
                    
32		return view('career.index', compact('crafting_job_list', 'gathering_job_list', 'job_ids', 'previous_ccp', 'previous_ccr', 'previous_gc', 'previous_bc'));
                    
33	}
                    
115
                    
116		return view('career.production', compact('recipies', 'show_quests', 'jobs', 'job', 'min_level', 'max_level'));
                    
117	}
                    
191
                    
192		return view('career.receiver', compact('recipies', 'show_quests', 'jobs', 'job', 'min_level', 'max_level'));
                    
193	}
                    
394
                    
395		return view('career.items', compact('items', 'show_quests', 'jobs', 'job', 'min_level', 'max_level'));
                    
396	}
                    
                
datamatrix.php https://code.google.com/p/s3db/ | PHP | 317 lines
                    
1<?php
                    
2#datamatrix is a generic file of functions that generates the table of statements for several outputs
                    
141						
                    
142			$s3ql = compact('db', 'user_id');
                    
143			$s3ql['select'] = '*';
                    
                
AclActionsController.php git://github.com/croogo/croogo.git | PHP | 189 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
                    
56		$acos = $this->AclAco->getChildren($root['Aco']['id']);
                    
57		$this->set(compact('acos'));
                    
58	}
                    
85		$acos = $this->Acl->Aco->generateTreeList(null, '{n}.Aco.id', '{n}.Aco.alias');
                    
86		$this->set(compact('acos'));
                    
87	}
                    
113		$acos = $this->Acl->Aco->generateTreeList(null, '{n}.Aco.id', '{n}.Aco.alias');
                    
114		$this->set(compact('acos'));
                    
115	}
                    
                
TermsController.php git://github.com/croogo/croogo.git | PHP | 306 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
                    
69		$terms = $this->Term->find('byVocabulary', array('vocabulary_id' => $vocabularyId));
                    
70		$this->set(compact('vocabulary', 'terms', 'defaultType'));
                    
71
                    
102		$parentTree = $this->Term->Taxonomy->getTree($vocabulary['Vocabulary']['alias'], array('taxonomyId' => true));
                    
103		$this->set(compact('vocabulary', 'parentTree', 'vocabularyId'));
                    
104	}
                    
152		$parentTree = $this->Term->Taxonomy->getTree($vocabulary['Vocabulary']['alias'], array('taxonomyId' => true));
                    
153		$this->set(compact('vocabulary', 'parentTree', 'term', 'taxonomy', 'vocabularyId'));
                    
154	}
                    
                
TableProcessor.php https://bitbucket.org/fanch1/testlb.git | PHP | 356 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * TableProcessor.php
                    
4 *
                    
32
                    
33require_once(dirname(__FILE__) . '/AbstractProcessor.php');
                    
34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php');
                    
34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php');
                    
35require_once(dirname(__FILE__) . '/../utils/ExpressionType.php');
                    
36
                    
208            case 'REDUNDANT':
                    
209            case 'COMPACT':
                    
210            case 'NO':
                    
                
ezSQL_oracleTNSTest_.php git://github.com/jv2222/ezSQL.git | PHP | 262 lines
                    
1<?php
                    
2require_once('ez_sql_loader.php');
                    
3
                    
4require 'vendor/autoload.php';
                    
5use PHPUnit\Framework\TestCase;
                    
27    function errorHandler($errno, $errstr, $errfile, $errline, $errcontext) {
                    
28        $this->errors[] = compact("errno", "errstr", "errfile",
                    
29            "errline", "errcontext");
                    
                
Hessian2Writer.php http://hessianphp.googlecode.com/svn/trunk/ | PHP | 368 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This file is part of the HessianPHP package.
                    
4 * (c) 2004-2011 Manuel Gómez
                    
222			$stream .= pack('N', $ts);
                    
223		} else { // compact date, only minutes
                    
224			$ts = intval($ts / 60);
                    
                
mimes.php git://github.com/pyrocms/pyrocms.git | PHP | 139 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/*
                    
11$mimes = array('hqx'	=>	array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'),
                    
12				'cpt'	=>	'application/mac-compactpro',
                    
13				'csv'	=>	array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
                    
42				'gzip'  =>	'application/x-gzip',
                    
43				'php'	=>	'application/x-httpd-php',
                    
44				'php4'	=>	'application/x-httpd-php',
                    
44				'php4'	=>	'application/x-httpd-php',
                    
45				'php3'	=>	'application/x-httpd-php',
                    
46				'phtml'	=>	'application/x-httpd-php',
                    
46				'phtml'	=>	'application/x-httpd-php',
                    
47				'phps'	=>	'application/x-httpd-php-source',
                    
48				'js'	=>	'application/x-javascript',
                    
138
                    
139/* End of file mimes.php */
                    
                
classwso2wsf_1_1ICallback.html git://pkgs.fedoraproject.org/wso2-wsf-cpp | HTML | 140 lines
                    
17    <li>
                    
18      <form action="search.php" method="get">
                    
19        <table cellspacing="0" cellpadding="0" border="0">
                    
98<p>
                    
99Handler to be invoked in a Complete Event. <dl compact><dt><b>Parameters:</b></dt><dd>
                    
100  <table border="0" cellspacing="2" cellpadding="0">
                    
123<p>
                    
124Handler to be invoked in a Fault Event. <dl compact><dt><b>Parameters:</b></dt><dd>
                    
125  <table border="0" cellspacing="2" cellpadding="0">
                    
                
RedisTest.php git://github.com/UnionOfRAD/lithium.git | PHP | 395 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Lithium: the most rad php framework
                    
4 *
                    
5 * @copyright     Copyright 2012, Union of RAD (http://union-of-rad.org)
                    
6 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
                    
7 */
                    
74
                    
75		$params = compact('key', 'data', 'expiry');
                    
76		$result = $closure($this->redis, $params, null);
                    
96
                    
97		$params = compact('key', 'data', 'expiry');
                    
98		$result = $closure($this->redis, $params, null);
                    
120
                    
121		$params = compact('key', 'data');
                    
122		$result = $closure($redis, $params, null);
                    
                
HomeController.php https://bitbucket.org/laravelte2018/firlaravelpro.git | PHP | 236 lines
                    
1<?php
                    
2
                    
57                ->get();
                    
58        return view('home', compact('bestSellProducts', 'numberUser', 'saleProducts', 'numberproductsale', 'numberProduct', 'newProducts', 'randomProducts', 'types', 'authors', 'languages', 'publishers'));
                    
59    }
                    
88        
                    
89        return view('product_detail', compact('comments', 'user', 'image', 'product', 'allproducts', 'types', 'proByAuthor', 'authors', 'languages', 'publishers', 'type', 'author', 'language', 'publisher'));
                    
90    }
                    
125                        ->orderBy('books.id', 'desc')->paginate(5);
                    
126        return view('shop.contact', compact('allproducts', 'types', 'authors', 'languages', 'publishers'));
                    
127    }
                    
142                        ->orderBy('books.id', 'desc')->paginate(5);
                    
143        return view('checkout', compact('allproducts', 'types', 'authors', 'languages', 'publishers'));
                    
144    }
                    
160        
                    
161        return view('shop.about', compact('allproducts', 'types', 'authors', 'languages', 'publishers'));
                    
162    }
                    
                
GalleryImageIndexBuilderProvider.cs https://hg.codeplex.com/mojoportal | C# | 232 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
73                    // TODO: it would be good to check the module settings and if not
                    
74                    // in compact mode use the GalleryBrowse.aspx page
                    
75                    //indexItem.ViewPage = "GalleryBrowse.aspx";
                    
                
lock-free-ptr-wrapper.h https://github.com/facebook/hhvm.git | C Header | 301 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
21
                    
22#include "hphp/util/assertions.h"
                    
23#include "hphp/util/low-ptr.h"
                    
                
pts_VerticalBarGraph.php git://pkgs.fedoraproject.org/phoronix-test-suite | PHP | 138 lines
                    
1<?php
                    
2
                    
7	Copyright (C) 2008 - 2012, Michael Larabel
                    
8	pts_VerticalBarGraph.php: The vertical bar graph object that extends pts_Graph.php
                    
9
                    
121				{
                    
122					// Make things more compact
                    
123					$this->svg_dom->add_text_element($value, array('x' => $x, 'y' => ($value_plot_top + 2), 'font-size' => floor(self::$c['size']['bars'] * 0.6), 'fill' => self::$c['color']['body_text'], 'text-anchor' => 'middle', 'dominant-baseline' => 'text-before-edge'));
                    
                
sets.php git://github.com/concrete5/concrete5.git | PHP | 266 lines
                    
64
                    
65                    <?php foreach ($files as $f) {
                    
66                        ?>
                    
205                    <tbody>
                    
206                    <?php foreach ($fileSets as $fs) { ?>
                    
207
                    
214
                    
215                        <?php
                    
216                    }
                    
246                <option
                    
247                    value="<?= FileSet::TYPE_PUBLIC ?>" <?php if ($fsType != FileSet::TYPE_PRIVATE) { ?> selected <?php } ?>><?= t('Public Sets') ?></option>
                    
248                <option
                    
248                <option
                    
249                    value="<?= FileSet::TYPE_PRIVATE ?>" <?php if ($fsType == FileSet::TYPE_PRIVATE) { ?> selected <?php } ?>><?= t('My Sets') ?></option>
                    
250            </select>
                    
                
CacheContextsManager.php git://github.com/drupal/drupal.git | PHP | 325 lines
                    
1<?php
                    
2
                    
132   *
                    
133   * Hence a minimal representative subset is the most compact representation
                    
134   * possible of a set of cache context tokens, that still captures the entire
                    
                
mimes.php https://github.com/ukd1/kohana.git | PHP | 222 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
6 * If there are any missing options, please create a ticket on our issue tracker,
                    
7 * http://kohanaphp.com/trac/newticket. Be sure to give the filename and
                    
8 * expected MIME type, as well as any additional information you can provide.
                    
33	'cpp'   => array('text/x-c++src'),
                    
34	'cpt'   => array('application/mac-compactpro'),
                    
35	'csh'   => array('text/x-csh'),
                    
137	'pdf'   => array('application/pdf', 'application/x-download'),
                    
138	'php'   => array('application/x-httpd-php'),
                    
139	'php3'  => array('application/x-httpd-php'),
                    
139	'php3'  => array('application/x-httpd-php'),
                    
140	'php4'  => array('application/x-httpd-php'),
                    
141	'php5'  => array('application/x-httpd-php'),
                    
141	'php5'  => array('application/x-httpd-php'),
                    
142	'phps'  => array('application/x-httpd-php-source'),
                    
143	'phtml' => array('application/x-httpd-php'),
                    
                
class.xsltprocess.php https://github.com/bauhouse/sym-designprojectx.git | PHP | 350 lines
                    
142        $xml = str_replace(chr(0), '', $xml);
                    
143        $xmlDoc->loadXML($xml, LIBXML_NONET | LIBXML_DTDLOAD | LIBXML_DTDATTR | defined('LIBXML_COMPACT') ? LIBXML_COMPACT : 0);
                    
144        libxml_disable_entity_loader($elOLD);
                    
153        $elOLD = libxml_disable_entity_loader(false);
                    
154        $xslDoc->loadXML($xsl, LIBXML_NONET | LIBXML_DTDLOAD | LIBXML_DTDATTR | defined('LIBXML_COMPACT') ? LIBXML_COMPACT : 0);
                    
155        libxml_disable_entity_loader($elOLD);
                    
220        $elOLD = libxml_disable_entity_loader(true);
                    
221        $xmlDoc->loadXML($xml, LIBXML_NONET | LIBXML_DTDLOAD | LIBXML_DTDATTR | defined('LIBXML_COMPACT') ? LIBXML_COMPACT : 0);
                    
222        libxml_disable_entity_loader($elOLD);
                    
244     *
                    
245     * @link http://au.php.net/manual/en/function.set-error-handler.php
                    
246     * @param integer $errno
                    
258     *
                    
259     * @link http://au.php.net/manual/en/function.set-error-handler.php
                    
260     * @param integer $errno
                    
                
ColUDA.cpp git://pkgs.fedoraproject.org/task | C++ | 163 lines
                    
23//
                    
24// http://www.opensource.org/licenses/mit-license.php
                    
25//
                    
88      {
                    
89        minimum = maximum = Duration (value).formatCompact ().length ();
                    
90      }
                    
141            rightJustify (
                    
142              Duration (value).formatCompact (),
                    
143              width)));
                    
                
SignalIndexCache.java https://TimeSeriesFramework.svn.codeplex.com/svn | Java | 129 lines
                    
10//
                    
11//      http://www.opensource.org/licenses/eclipse-1.0.php
                    
12//
                    
33 * Represents a cache used to map 16-bit indexes to {@link MeasurementKey}s
                    
34 * in order to compact measurement IDs for the compact measurement format.
                    
35 */
                    
                
category.php http://bedita.googlecode.com/svn/trunk/ | PHP | 507 lines
                    
1<?php
                    
2/*-----8<--------------------------------------------------------------------
                    
28 * 
                    
29 * $Id: category.php 3905 2012-08-08 16:21:17Z ste $
                    
30 */
                    
32	var $actsAs = array(
                    
33			'CompactResult' 		=> array()
                    
34	);
                    
408		
                    
409		// don't compact find result
                    
410		$this->bviorCompactResults = false;
                    
417		
                    
418		// reset to default compact result
                    
419		$this->bviorCompactResults = true;
                    
490			$n = trim($n);
                    
491			$this->bviorCompactResults = false;
                    
492			$idCat = $this->field('id', array('name' => $n, 'object_type_id' => $objTypeId));
                    
                
deleteclass.php https://code.google.com/p/s3db/ | PHP | 150 lines
                    
1<?php
                    
2#deleterule.php is a form for changing rules, classes or not
                    
10	else $def = $_SERVER['HTTP_HOST'];
                    
11	if(file_exists('../config.inc.php')) {
                    
12		include('../config.inc.php');}
                    
21#Get the key, send it to check validity
                    
22include_once('../core.header.php');
                    
23
                    
36# echo '<pre>';print_r($resource_info);
                    
37$uni = compact('db', 'user_id');
                    
38if($class_id=='')
                    
81#include all the javascript functions for the menus...
                    
82include('../S3DBjavascript.php');
                    
83
                    
99			<tr class="odd">
                    
100				<?php
                    
101				echo '<td class="message" colspan="8">'.$message.'</b><br /><br /></td>';
                    
                
instance.php https://code.google.com/p/s3db/ | PHP | 251 lines
                    
1<?php
                    
2	#instance.php displays all statements in a certain instance and links to create more
                    
12	
                    
13	if(file_exists('../config.inc.php'))
                    
14	{
                    
14	{
                    
15		include('../config.inc.php');
                    
16	}
                    
32
                    
33include_once('../core.header.php');
                    
34
                    
62	
                    
63	include('../action.header.php');
                    
64	
                    
71	#include the header for the instance
                    
72	include('instance.header.php');
                    
73
                    
                
plugin.php https://github.com/gabelula/Ushahidi_Web.git | PHP | 292 lines
                    
1<?php
                    
2/**
                    
178
                    
179			$file_data = compact( array_keys( $plugin_headers ) );
                    
180			
                    
197		// Determine if readme.txt (Case Insensitive) exists
                    
198		$file = PLUGINPATH.$plugin."/controllers/admin/".$plugin."_settings.php";
                    
199		if ( file::file_exists_i($file) )
                    
272		
                    
273		$file = PLUGINPATH.$name.'/config/'.$name.'.php';
                    
274		if ( file_exists($file) )
                    
                
ResResource.php https://code.google.com/p/s3db/ | PHP | 212 lines
                    
1<?php
                    
2/**
                    
12* range of methods, such as getProperty() and addProperty() which will access or modify 
                    
13* that model. This enables the programmer to write code in a compact and easy style.
                    
14*
                    
14*
                    
15* @version  $Id: ResResource.php,v 1.8 2006/11/21 09:38:50 tgauss Exp $
                    
16* @author Daniel Westphal <mail at d-westphal dot de>
                    
                
asset.php git://github.com/ericbarnes/Status-Board.git | PHP | 356 lines
                    
1<?php namespace Laravel; defined('DS') or die('No direct script access.');
                    
2
                    
194
                    
195		$this->assets[$type][$name] = compact('source', 'dependencies', 'attributes');
                    
196	}
                    
                
SerializableBehavior.php git://github.com/QuickAppsCMS/QuickApps-CMS.git | PHP | 195 lines
                    
1<?php
                    
2/**
                    
69     *
                    
70     * ```php
                    
71     * [
                    
79     *
                    
80     * ```php
                    
81     * [
                    
105                    $columnData = (array)$dataArray[$column];
                    
106                    $this->_table->dispatchEvent($eventName, compact('columnData', 'options'));
                    
107                }
                    
128     *
                    
129     *   ```php
                    
130     *   object(Cake\Datasource\EntityInterface) {
                    
140     *
                    
141     *   ```php
                    
142     *   object(Cake\Datasource\EntityInterface) {
                    
                
base-app.php https://bitbucket.org/hcdesenvolvimentos/tiagobalabuch_site.git | PHP | 464 lines
                    
1<?php
                    
2namespace Elementor\Core\Common\Modules\Connect\Apps;
                    
253	protected function add_notice( $content, $type = 'success' ) {
                    
254		$this->add( 'notices', compact( 'content', 'type' ), [] );
                    
255	}
                    
416			} else {
                    
417				location = '<?php echo $url; ?>';
                    
418			}
                    
419		</script>
                    
420		<?php
                    
421		die;
                    
                
string_data.h https://bitbucket.org/asuhan/happy/ | C Header | 388 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef __HPHP_STRING_DATA_H__
                    
18#define __HPHP_STRING_DATA_H__
                    
                
admin-db.php http://core.svn.wordpress.org/ | PHP | 350 lines
                    
1<?php
                    
2
                    
180function wp_create_category($cat_name) {
                    
181	$cat_array = compact('cat_name');
                    
182	return wp_insert_category($cat_array);
                    
                
ca.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 182 lines
                    
1<?php
                    
2
                    
28	 'groups:widget:size'  =>  "Mida" , 
                    
29	 'groups:widget:small'  =>  "Vista compacta" , 
                    
30	 'groups:widget:normal'  =>  "Vista normal" , 
                    
                
compact-vector.h git://github.com/facebook/hiphop-php.git | C Header | 477 lines
                    
158template <typename T, typename A>
                    
159CompactVector<T, A>::CompactVector(CompactVector&& other) noexcept
                    
160  : m_data(other.m_data) {
                    
164template <typename T, typename A>
                    
165CompactVector<T, A>::CompactVector(const CompactVector& other)
                    
166  : m_data(nullptr) {
                    
179template <typename T, typename A>
                    
180CompactVector<T, A>::CompactVector(std::initializer_list<T> init) :
                    
181    m_data(nullptr) {
                    
199template <typename T, typename A>
                    
200CompactVector<T, A>& CompactVector<T, A>::operator=(CompactVector&& other) {
                    
201  std::swap(m_data, other.m_data);
                    
249template <typename T, typename A>
                    
250typename CompactVector<T, A>::size_type CompactVector<T, A>::size() const {
                    
251  return m_data ? m_data->m_len : 0;
                    
                
validate_HTML401TRANSITIONAL.inc.php http://prosporous.googlecode.com/svn/trunk/ | PHP | 894 lines
                    
1<?php
                    
2
                    
273		'%attrs',
                    
274		'compact'
                    
275		),
                    
280		'type',
                    
281		'compact',
                    
282		'start'
                    
286		'type',
                    
287		'compact'
                    
288		),
                    
290		'%attrs',
                    
291		'compact'
                    
292		),
                    
294		'%attrs',
                    
295		'compact'
                    
296		),
                    
                
sparqlForm.php https://code.google.com/p/s3db/ | PHP | 272 lines
                    
25
                    
26#include(S3DB_SERVER_ROOT.'/dbstruct.php');
                    
27include_once(S3DB_SERVER_ROOT.'/core.header.php');
                    
27include_once(S3DB_SERVER_ROOT.'/core.header.php');
                    
28include_once(S3DB_SERVER_ROOT.'/rdfheader.inc.php');
                    
29include_once(S3DB_SERVER_ROOT.'/s3dbcore/sparql_read.php');
                    
179		$newLeaf[$key][2] = '[ "Collections", "../frames/sparqlForm.php?query=select distinct ?collection_id where { ?collection_id a s3db:s3dbCollection . ?collection_id rdfs:subClassOf :'.$forJS.' . }&callback=?collection_id&leadInd='.$key.'"];';
                    
180		$newLeaf[$key][3] = '[ "Rules", "../frames/sparqlForm.php?query=select distinct ?rule_id where { ?rule_id a s3db:s3dbRule . ?rule_id rdfs:subClassOf :'.$forJS.' . }&callback=?rule_id&leadInd='.$key.'"];';
                    
181		
                    
186		$nextVar = ereg_replace('^\?','',$nextCallback);
                    
187		$newLeaf[$key][1] = '[ "'.$forJS.'", "../frames/sparqlForm.php?query='.urlencode('select * where { '.$nextCallback.' a s3db:s3db'.$GLOBALS['COREidsInv'][$nextVar].' .  }').'&callback='.$nextCallback.'&leadInd='.$key.'" ]';
                    
188		$newLeaf[$key][2] = '[ "Items", "../frames/sparqlForm.php?query=select distinct ?item_id where { ?item_id a s3db:s3dbItem . ?item_id rdf:type :'.$forJS.' . }&callback=?item_id&leadInd='.$key.'"];';
                    
261//echo '<script type="text/javascript">parent.sparqltrial.location = (\'../tigre_tree/sparqlTrial.php?newTree=sparqlNewTree.js\')</script>';
                    
262#echo '<script type="text/javascript">var php=js2php (TREE_ITEMS); </script>';
                    
263#echo '<script type="text/javascript">setCookie("treePHP",php,7);</script>';
                    
                
update.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 254 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 );
                    
                
 

Source

Language