PageRenderTime 3882ms queryTime 568ms sortTime 571ms getByIdsTime 114ms findMatchingLines 199ms

100+ results results for 'php list repo:Roberto5/toolraider' (3882 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
51import java.nio.charset.Charset;
                    
52import java.util.List;
                    
53import java.util.logging.Level;
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
66import org.netbeans.modules.php.project.connections.sync.SyncItem;
                    
67import org.netbeans.modules.php.project.connections.transfer.TransferFile;
                    
                
Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
                    
1<?php
                    
2
                    
187        } else {
                    
188            list($host, $port) = explode(':', $host);
                    
189            $this->host = $host;
                    
                
arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
287	 * @param   array   $array      array to extract keys from
                    
288	 * @param   array   $keys       list of key names
                    
289	 * @param   mixed   $default    default value
                    
303	/**
                    
304	 * Retrieves muliple single-key values from a list of arrays.
                    
305	 *
                    
308	 *
                    
309	 * [!!] A list of arrays is an array that contains arrays, eg: array(array $a, array $b, array $c, ...)
                    
310	 *
                    
310	 *
                    
311	 * @param   array   $array  list of arrays to check
                    
312	 * @param   string  $key    key to pluck
                    
333	 *
                    
334	 *     // Add an empty value to the start of a select list
                    
335	 *     Arr::unshift($array, 'none', 'Select a value');
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
116
                    
117			$result = \CSaleUser::getList($filter);
                    
118
                    
125
                    
126				$viewResult = CatalogViewedProductTable::getList(array(
                    
127					'select' => array('RECOMMENDATION'),
                    
323
                    
324		$result = \CSaleOrderPropsValue::GetList(array(), array("ORDER_ID" => $orderId));
                    
325		while ($row = $result->fetch())
                    
351
                    
352		$result = \CSaleBasket::getList(
                    
353			array(), $arFilter = array('ORDER_ID' => $orderId), false, false,
                    
447
                    
448		$bestList = array();
                    
449		$iblockGroup = array();
                    
                
Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
                    
1<?php
                    
2
                    
468  /**
                    
469   * Returns the list of fields that can be imported
                    
470   *
                    
480  /**
                    
481   * Returns the list of fields that can be exported
                    
482   *
                    
492  /**
                    
493   * Returns the list of indices
                    
494   *
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
                    
17		at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
                    
18		For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
                    
60
                    
61<p>Your use of the this plugin and the components listed above is subject to the terms and conditions of the Apache License v2.0
                    
62which is available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>.
                    
136      to the Licensor or its representatives, including but not limited to
                    
137      communication on electronic mailing lists, source code control systems,
                    
138      and issue tracking systems that are managed by, or on behalf of, the
                    
                
core.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @package       app.Config
                    
21/**
                    
22 * CakePHP Debug Level:
                    
23 *
                    
205 *
                    
206 * - 'php' - Uses settings defined in your php.ini.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
210 *
                    
211 * To define a custom session handler, save it at /app/Model/Datasource/Session/<name>.php.
                    
212 * Make sure the class implements `CakeSessionHandlerInterface` and set Session.handler to <name>
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
31and sets ``REMOTE_USER``, ``REMOTE_USER_TOKENS`` (a comma-separated
                    
32list of groups) and ``REMOTE_USER_DATA`` (arbitrary string data).
                    
33
                    
52    the shared secret, the userid, and the IP address.  Optionally you
                    
53    can include tokens (a list of strings, representing role names),
                    
54    'user_data', which is arbitrary data available for your own use in
                    
234        This sets a cookie that logs the user in.  ``tokens`` is a
                    
235        string (comma-separated groups) or a list of strings.
                    
236        ``user_data`` is a string for your own use.
                    
                
SqlBase.php https://gitlab.com/andecode/theme-spark | PHP | 415 lines
                    
1<?php
                    
2
                    
244    if ($error) {
                    
245      $form_state->setErrorByName('pager_options][expose][items_per_page_options', $this->t('Insert a list of integer numeric values separated by commas: e.g: 10, 20, 50, 100'));
                    
246    }
                    
                
ZoomPrintController.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 392 lines
                    
35
                    
36   public ZoomPrintController(ZoomerXmlBean zoomerXmlBean, PrintXmlBean printXmlBean, EdgesListener edgesListener, GraphPrintable printable, ISession session, GraphPlugin plugin)
                    
37   {
                    
94
                    
95      _panel.chkShowEdges.addActionListener(new ActionListener()
                    
96      {
                    
104
                    
105      _panel.btnPrint.addActionListener(new ActionListener()
                    
106      {
                    
192
                    
193         ArrayList<BufferedImage> images = new ArrayList<BufferedImage>();
                    
194
                    
226
                    
227            BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height);
                    
228            _printable.print(img.getGraphics(), pf, 0);
                    
                
DeleteComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 355 lines
                    
1<?php
                    
2
                    
5 */
                    
6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
                    
7
                    
18	/**
                    
19	 * List of comments
                    
20	 * @var array
                    
71		$_POST['_page']       = 1;
                    
72		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
73
                    
128		$_POST['_page']       = 1;
                    
129		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
130
                    
158		$_POST['_page']       = 1;
                    
159		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
160
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/inel-imx6-kernel | C | 487 lines
                    
27
                    
28#define pr_fmt(fmt) "acpiphp_ibm: " fmt
                    
29
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
104		u32 lvl, void *context, void **rv);
                    
105static int __init ibm_acpiphp_init(void);
                    
106static void __exit ibm_acpiphp_exit(void);
                    
117};
                    
118static struct acpiphp_attention_info ibm_attention_info =
                    
119{
                    
167 *
                    
168 * Description: This method is registered with the acpiphp module as a
                    
169 * callback to do the device specific task of setting the LED status.
                    
                
Country.php https://gitlab.com/goolic/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
117     * @param bool $contain_states return only country with states
                    
118     * @param bool $list_states Include the states list with the returned list
                    
119     *
                    
121     */
                    
122    public static function getCountries($id_lang, $active = false, $contain_states = false, $list_states = true)
                    
123    {
                    
135
                    
136        if ($list_states) {
                    
137            $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC');
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
171            <li>
                    
172                <a href="../Gender/create.php">
                    
173                    <span class="title">Add New</span>
                    
231                <a href="../Hobbies/index.php">
                    
232                    <span class="title">View List</span>
                    
233                </a>
                    
272            <a href="xl.php" class="btn btn-primary" role="button">Download as XL</a>
                    
273            <a href="email.php?list=1" class="btn btn-primary" role="button">Email to friend</a>
                    
274        </td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
hostkreskoweczki.py https://gitlab.com/nunigaia/iptvplayer-for-e2 | Python | 318 lines
                    
232        elif category == 'list_abc':
                    
233            self.listABC(self.currItem, 'list_items')
                    
234        elif category == 'list_titles':
                    
234        elif category == 'list_titles':
                    
235            self.listTitles(self.currItem, 'list_items')
                    
236        elif category == 'list_items':
                    
253        # for now we must disable favourites due to problem with links extraction for types other than movie
                    
254        CHostBase.__init__(self, KreskoweczkiPL(), True, favouriteTypes=[CDisplayListItem.TYPE_VIDEO, CDisplayListItem.TYPE_AUDIO])
                    
255    
                    
260        
                    
261        urlList = self.host.getLinksForVideo(self.host.currList[Index])
                    
262        for item in urlList:
                    
300            
                    
301        if type in [CDisplayListItem.TYPE_AUDIO, CDisplayListItem.TYPE_VIDEO]:
                    
302            url = cItem.get('url', '')
                    
                
SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
                    
1<?php
                    
2
                    
6
                    
7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php');
                    
8
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
253    /**
                    
254     * Setups message list and if it should be combined or separate
                    
255     * @param $message
                    
                
class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
                    
1<?php
                    
2// Load dependencies.
                    
2// Load dependencies.
                    
3require_once PO_INC_DIR . 'class-popup-base.php';
                    
4
                    
18	/**
                    
19	 * Lists all popups that have been enqueued via the footer loading method.
                    
20	 * @var array
                    
70		 * @param  string $content The popup contents (HTML code allowed).
                    
71		 * @param  array $options Optional. List of popup configuration options.
                    
72		 */
                    
237
                    
238		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
261
                    
262		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
263			/*
                    
                
SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
                    
1<?php
                    
2/**
                    
40  /**
                    
41   * List of sensors info keyed by sensor name that are meant to run.
                    
42   *
                    
87   * @param \Drupal\monitoring\Entity\SensorConfig[] $sensors_config
                    
88   *   List of sensor config object that we want to run.
                    
89   */
                    
108   * @param \Drupal\monitoring\Entity\SensorConfig[] $sensors_config_all
                    
109   *   List of sensor config object that we want to run.
                    
110   * @param bool $force
                    
                
Cloud.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 410 lines
                    
144        // Validate and cleanup the tags
                    
145        $itemList = $this->getItemList();
                    
146
                    
184     *
                    
185     * @param  Zend_Tag_ItemList $itemList
                    
186     * @return Zend_Tag_Cloud
                    
187     */
                    
188    public function setItemList(Zend_Tag_ItemList $itemList)
                    
189    {
                    
203        if (null === $this->_tags) {
                    
204            #require_once 'Zend/Tag/ItemList.php';
                    
205            $this->setItemList(new Zend_Tag_ItemList());
                    
380    {
                    
381        $tags = $this->getItemList();
                    
382
                    
                
class.jetpack-landing-page.php https://gitlab.com/thisishayat/itv-2016 | PHP | 299 lines
                    
10
                    
11		list( $jetpack_version ) = explode( ':', Jetpack_Options::get_option( 'version' ) );
                    
12		if (
                    
49		add_action( "admin_footer-$hook", apply_filters( 'jetpack_landing_page_js_templates_callback', array( $this, 'js_templates' ), $hook ) );
                    
50		/** This action is documented in class.jetpack.php */
                    
51		do_action( 'jetpack_admin_menu', $hook );
                    
111	/*
                    
112	 * List of recommended modules for the Jump Start paragraph text.
                    
113	 * Will only show up in the paragraph if they are not active.
                    
144	function js_templates() {
                    
145		Jetpack::init()->load_view( 'admin/landing-page-templates.php' );
                    
146	}
                    
172			'show_jumpstart'    => $this->jetpack_show_jumpstart(),
                    
173			'jumpstart_list'    => $this->jumpstart_list_modules(),
                    
174			'recommended_list'  => $this->jumpstart_module_tag( 'Recommended' ),
                    
                
db_datadict.php https://gitlab.com/albert925/lading-ach | PHP | 325 lines
                    
48        ?>
                    
49    <p> <?php echo $strDBComment; ?>
                    
50        <i><?php echo htmlspecialchars($comment); ?></i></p>
                    
175    <th width="80"><?php echo $strType; ?></th>
                    
176<?php /*    <th width="50"><?php echo $strAttr; ?></th>*/ ?>
                    
177    <th width="40"><?php echo $strNull; ?></th>
                    
178    <th width="70"><?php echo $strDefault; ?></th>
                    
179<?php /*    <th width="50"><?php echo $strExtra; ?></th>*/ ?>
                    
180    <?php
                    
265    <td<?php echo $type_nowrap; ?> xml:lang="en" dir="ltr"><?php echo $type; ?></td>
                    
266<?php /*    <td<?php echo $type_nowrap; ?>><?php echo $strAttribute; ?></td>*/ ?>
                    
267    <td><?php echo (($row['Null'] == 'NO') ? $strNo : $strYes); ?></td>
                    
268    <td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td>
                    
269<?php /*    <td<?php echo $type_nowrap; ?>><?php echo $row['Extra']; ?></td>*/ ?>
                    
270        <?php
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
1<?php
                    
2class SiteMailer
                    
37	private function setheaders() {
                    
38	  /*$BccList = array('nakarinb@bluecube.com.sg','bobby.tan@bluecube.com.sg');*/
                    
39		$this->headers = "To: " . $this->toMail . "\r\n";	
                    
52		$this->headers .= "MIME-Version: 1.0\r\n";		
                    
53		//$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
                    
54		$this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
                    
66        
                    
67        private function GetMailsFromList($mails) {
                    
68            $line = "";
                    
75         private function GetCcMails() {
                    
76            return $this->GetMailsFromList($this->ccMails);
                    
77        }
                    
79        private function GetBccMails() {
                    
80            return $this->GetMailsFromList($this->bccMails);
                    
81        }
                    
                
CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
                    
1<?php
                    
2/**
                    
111	 * For each row of results, this function will be called. The returned value will
                    
112	 * be displayed inside an LI element in the results list. Autocompleter will
                    
113	 * provide 4 parameters: the results row, the position of the row in the list of
                    
113	 * provide 4 parameters: the results row, the position of the row in the list of
                    
114	 * results (starting at 1), the number of items in the list of results and the search term.
                    
115	 * The default behavior assumes that a single row contains a single value.
                    
173	/**
                    
174	 * @var string the CSS class for the dropdown list. Defaults to "ac_results".
                    
175	 */
                    
202	{
                    
203		list($name,$id)=$this->resolveNameID();
                    
204		if(isset($this->htmlOptions['id']))
                    
                
ses.php https://gitlab.com/zenfork/vektor | PHP | 454 lines
                    
1<?php
                    
2/**
                    
17    'group' => ' ',
                    
18    'list' => ';',
                    
19    'percentSign' => '%',
                    
                
dav_ke.php https://gitlab.com/zenfork/vektor | PHP | 455 lines
                    
1<?php
                    
2/**
                    
17    'group' => ',',
                    
18    'list' => ';',
                    
19    'percentSign' => '%',
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
10$selfFolderUrl = $adminPage->getSelfFolderUrl();
                    
11$listUrl = $selfFolderUrl."cat_contractor_list.php?lang=".LANGUAGE_ID;
                    
12$listUrl = $adminSidePanelHelper->editUrlToPublicPage($listUrl);
                    
38
                    
39$typeList = Catalog\ContractorTable::getTypeList(true);
                    
40
                    
96		{
                    
97			$adminSidePanelHelper->localRedirect($listUrl);
                    
98			LocalRedirect($listUrl);
                    
121
                    
122require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
123$str_ACTIVE = "Y";
                    
174	);
                    
175	$deleteUrl = $selfFolderUrl."cat_contractor_list.php?action=delete&ID[]=".$ID."&lang=".LANGUAGE_ID."&".bitrix_sessid_get()."#tb";
                    
176	if ($adminSidePanelHelper->isPublicFrame())
                    
                
Filesystem.php https://gitlab.com/techniconline/kmc | PHP | 426 lines
                    
1<?php namespace Illuminate\Filesystem;
                    
2
                    
280        // out any "files" that are not truly files so we do not end up with any
                    
281        // directories in our list, but only true files within the directory.
                    
282        return array_filter($glob, function ($file) {
                    
                
PageRepositoryTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 282 lines
                    
1<?php
                    
2/**
                    
246                'serviceVersion' => self::SERVICE_VERSION,
                    
247                'operation' => self::SERVICE_NAME . 'GetList',
                    
248            ],
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
4//
                    
5// All Rights Reserved. See copyright.txt for details and a complete list of authors.
                    
6// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
                    
55                    ],
                    
56                    'listmax' => [
                    
57                        'name' => tr('Display Limit (List)'),
                    
57                        'name' => tr('Display Limit (List)'),
                    
58                        'description' => tr('Maximum number of characters to be displayed in list mode before the value gets truncated.'),
                    
59                        'filter' => 'int',
                    
189
                    
190        if (! empty($context['list_mode']) && $context['list_mode'] === 'y' && $this->getOption('listmax')) {
                    
191            TikiLib::lib('smarty')->loadPlugin('smarty_modifier_truncate');
                    
191            TikiLib::lib('smarty')->loadPlugin('smarty_modifier_truncate');
                    
192            return smarty_modifier_truncate(strip_tags($output), $this->getOption('listmax'));
                    
193        } else {
                    
                
lib.php https://bitbucket.org/ngmares/moodle.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24 */
                    
25require_once($CFG->dirroot . '/repository/lib.php');
                    
26require_once($CFG->libdir.'/flickrlib.php');
                    
58
                    
59        $this->flickr = new phpFlickr($this->api_key, $this->secret, $this->token);
                    
60
                    
157    /**
                    
158     * Converts result received from phpFlickr::photo_search to Filepicker/repository format
                    
159     *
                    
162     */
                    
163    private function build_list($photos) {
                    
164        $photos_url = $this->flickr->urls_getUserPhotos($this->nsid);
                    
210        $ret = $this->build_list($photos);
                    
211        $ret['list'] = array_filter($ret['list'], array($this, 'filter')); // TODO this breaks pagination
                    
212        return $ret;
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
1<?php
                    
2/**
                    
33$_lang['profile_recent_resources'] = 'Recent Resources';
                    
34$_lang['profile_recent_resources_desc'] = 'This is a list of your most recently edited Resources.';
                    
35$_lang['remote_data'] = 'Remote Data';
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
9 */
                    
10class WP_Terms_List_Table extends WP_List_Table {
                    
11
                    
49			/**
                    
50			 * Filter the number of terms displayed per page for the Tags list table.
                    
51			 *
                    
368
                    
369		return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
                    
370	}
                    
433
                    
434			/** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */
                    
435			do_action( 'quick_edit_custom_box', $column_name, 'edit-tags', $this->screen->taxonomy );
                    
445			<?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
                    
446			<input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" />
                    
447			<input type="hidden" name="post_type" value="<?php echo esc_attr( $this->screen->post_type ); ?>" />
                    
                
config.values.php https://gitlab.com/luyxtran264/myproject | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
38$cfg_db['NavigationTreeDefaultTabTable'] = array(
                    
39    'structure' => __('Structure'), // fields list
                    
40    'sql' => __('SQL'),             // SQL form
                    
46    '' => '', //don't display
                    
47    'structure' => __('Structure'), // fields list
                    
48    'sql' => __('SQL'),             // SQL form
                    
103    'welcome' => __('Welcome'),
                    
104    'databases' => __('Databases'),    // list of databases
                    
105    'status' => __('Status'),          // runtime information
                    
                
ConfigListener.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 383 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25class ConfigListener extends AbstractListener implements
                    
26    ConfigMergerInterface,
                    
26    ConfigMergerInterface,
                    
27    ListenerAggregateInterface
                    
28{
                    
116     * @param  ModuleEvent $e
                    
117     * @return ConfigListener
                    
118     */
                    
175    {
                    
176        foreach ($this->listeners as $key => $listener) {
                    
177            $events->detach($listener);
                    
341     * @param string $type
                    
342     * @return ConfigListener
                    
343     */
                    
                
Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
                    
59
                    
60            new TemplateList($this, 'pageList', function () use ($theme) {
                    
61                return Page::listInTheme($theme, true);
                    
67
                    
68            new TemplateList($this, 'layoutList', function () use ($theme) {
                    
69                return Layout::listInTheme($theme, true);
                    
71
                    
72            new TemplateList($this, 'contentList', function () use ($theme) {
                    
73                return Content::listInTheme($theme, true);
                    
75
                    
76            new ComponentList($this, 'componentList');
                    
77
                    
77
                    
78            new AssetList($this, 'assetList');
                    
79        }
                    
                
AbstractContainer.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 282 lines
                    
2/**
                    
3 * This file is part of PHPWord - A pure PHP library for reading and writing
                    
4 * word processing documents.
                    
28 * @method void addTextBreak(int $count = 1, mixed $fStyle = null, mixed $pStyle = null)
                    
29 * @method ListItem addListItem(string $txt, int $depth = 0, mixed $font = null, mixed $list = null, mixed $para = null)
                    
30 * @method ListItemRun addListItemRun(int $depth = 0, mixed $listStyle = null, mixed $pStyle = null)
                    
82            'Text', 'TextRun', 'Bookmark', 'Link', 'PreserveText', 'TextBreak',
                    
83            'ListItem', 'ListItemRun', 'Table', 'Image', 'Object',
                    
84            'Footnote', 'Endnote', 'CheckBox', 'TextBox', 'Field',
                    
257     *
                    
258     * @return \PhpOffice\PhpWord\Element\TextRun
                    
259     *
                    
273     *
                    
274     * @return \PhpOffice\PhpWord\Element\Footnote
                    
275     *
                    
                
AclVoterTest.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 432 lines
                    
1<?php
                    
2
                    
22
                    
23class AclVoterTest extends \PHPUnit_Framework_TestCase
                    
24{
                    
29    {
                    
30        list($voter, , $permissionMap, ,) = $this->getVoter(true, false);
                    
31
                    
46    {
                    
47        list($voter, , , , ,) = $this->getVoter(true, false);
                    
48
                    
74    {
                    
75        list($voter, , , ,) = $this->getVoter();
                    
76
                    
90    {
                    
91        list($voter, , $permissionMap, ,) = $this->getVoter();
                    
92        $permissionMap
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
17 * @since 3.1
                    
70	 * if $is_init is FALSE, then all activity like add, update and delete for shortcodes attributes will be hold in
                    
71	 * the list of activity and will be executed after initialization.
                    
72	 *
                    
185	/**
                    
186	 * Generates list of shortcodes taking into account the access rules for shortcodes from VC Settings page.
                    
187	 *
                    
187	 *
                    
188	 * This method parses the list of mapped shortcodes and creates categories list for users.
                    
189	 *
                    
247	/**
                    
248	 * Get sorted list of mapped shortcode settings for current user.
                    
249	 *
                    
                
style.css https://bitbucket.org/zachisit/zachis.it-m.git | CSS | 374 lines
                    
7The CSS, XHTML and design is released under GPL: 
                    
8http://www.opensource.org/licenses/gpl-license.php
                    
9Header photo by Ville Miettinen, used with permission
                    
94	display: inline;
                    
95	list-style-type: none;
                    
96	margin: 0px 10px;
                    
206	font-family: Helvetica Bold, Arial Bold, Verdana, Sans-Serif;;
                    
207	list-style: none;
                    
208	padding: 10px 0px 10px 0px;
                    
213#sidebar ul {
                    
214	list-style: none;
                    
215	margin: 0px;
                    
219#sidebar li {
                    
220	list-style: none;
                    
221	margin: 0px;
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
1<?php
                    
2
                    
177								$by[] = array(array('import_id' => $id, 'type NOT LIKE' => 'trigger'), 'AND');
                    
178								$historyLogs = new PMXI_History_List();
                    
179								$historyLogs->setColumns('id', 'import_id', 'type', 'date')->getBy($by, 'id ASC');
                    
                
index.php https://gitlab.com/Rumpa/LabExam8_AtomicProject_UmmeBatul_136509_b36 | PHP | 253 lines
                    
48
                    
49    <?php include_once('../../../sidebar_menu.php'); ?>
                    
50
                    
120                                                        <p data-placement="top" data-toggle="tooltip" title="View">
                    
121                                                            <a href="view.php?id=<?php echo $oneData->id;?>"><button class="btn btn-info btn-xs" data-title="View" data-toggle="modal"><span
                    
122                                                                        class="glyphicon glyphicon-info-sign"></span></button></a>
                    
127                                                        <p data-placement="top" data-toggle="tooltip" title="Edit">
                    
128                                                            <a href="edit.php?id=<?php echo $oneData->id;?>"><button class="btn btn-primary btn-xs" data-title="Edit" data-toggle="modal"><span
                    
129                                                                        class="glyphicon glyphicon-pencil"></span></button></a>
                    
134                                                        <p data-placement="top" data-toggle="tooltip" title="Trash">
                    
135                                                            <a href="trashed.php?id=<?php echo $oneData->id;?>"><button class="btn btn-success btn-xs" data-title="Trash" data-toggle="modal"><span
                    
136                                                                        class="glyphicon glyphicon-trash"></span></button></a>
                    
141                                                        <p data-placement="top" data-toggle="tooltip" title="Delete">
                    
142                                                            <a href="trash.php?id=<?php echo $oneData->id;?>"><button class="btn btn-danger btn-xs"  data-title="Edit" data-toggle="modal"><span
                    
143                                                                        class="glyphicon glyphicon-remove"></span></button></a>
                    
                
rpcconsole.cpp https://gitlab.com/Quetzalcoatl/VekitaCoin | C++ | 433 lines
                    
2// Distributed under the MIT/X11 software license, see the accompanying
                    
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
                    
4
                    
55/**
                    
56 * Split shell command line into a list of arguments. Aims to emulate \c bash and friends.
                    
57 *
                    
65 *
                    
66 * @param[out]   args        Parsed arguments will be appended to this list
                    
67 * @param[in]    strCommand  Command line to split
                    
151        std::string strPrint;
                    
152        // Convert argument list to JSON objects in method-dependent way,
                    
153        // and pass it along with the method name to the dispatcher.
                    
                
OracleSchemaManager.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 322 lines
                    
1<?php
                    
2/*
                    
69     */
                    
70    protected function _getPortableTableIndexesList($tableIndexes, $tableName=null)
                    
71    {
                    
90
                    
91        return parent::_getPortableTableIndexesList($indexBuffer, $tableName);
                    
92    }
                    
211     */
                    
212    protected function _getPortableTableForeignKeysList($tableForeignKeys)
                    
213    {
                    
213    {
                    
214        $list = array();
                    
215        foreach ($tableForeignKeys as $value) {
                    
216            $value = \array_change_key_case($value, CASE_LOWER);
                    
217            if (!isset($list[$value['constraint_name']])) {
                    
218                if ($value['delete_rule'] == "NO ACTION") {
                    
                
Amazon.php https://gitlab.com/devtoannh/cafe | PHP | 323 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Amazon.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Rest/Client.php';
                    
28
                    
55    /**
                    
56     * List of Amazon Web Service base URLs, indexed by country code
                    
57     *
                    
59     */
                    
60    protected $_baseUriList = array('US' => 'http://webservices.amazon.com',
                    
61                                    'UK' => 'http://webservices.amazon.co.uk',
                    
88        $countryCode = (string) $countryCode;
                    
89        if (!isset($this->_baseUriList[$countryCode])) {
                    
90            /**
                    
                
Tabs.php https://gitlab.com/piotrbilski/yiiPriceWatcher | PHP | 268 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * ```php
                    
19 * echo Tabs::widget([
                    
59    /**
                    
60     * @var array list of tabs in the tabs widget. Each array element represents a single
                    
61     * tab with the following structure:
                    
82    /**
                    
83     * @var array list of HTML attributes for the item container tags. This will be overwritten
                    
84     * by the "options" set in individual [[items]]. The following special options are recognized:
                    
91    /**
                    
92     * @var array list of HTML attributes for the header container tags. This will be overwritten
                    
93     * by the "headerOptions" set in individual [[items]].
                    
97    /**
                    
98     * @var array list of HTML attributes for the tab header link tags. This will be overwritten
                    
99     * by the "linkOptions" set in individual [[items]].
                    
                
CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: CreditCard.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Validate/Abstract.php';
                    
26
                    
35    /**
                    
36     * Detected CCI list
                    
37     *
                    
76    /**
                    
77     * List of allowed CCV lengths
                    
78     *
                    
95    /**
                    
96     * List of accepted CCV provider tags
                    
97     *
                    
                
Db.php https://gitlab.com/devtoannh/cafe | PHP | 286 lines
                    
1<?php
                    
2
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Db.php 24417 2011-08-28 10:15:47Z padraic $
                    
21 */
                    
74     *
                    
75     * $list = array(
                    
76     *    'PARAM_BOOL', 'PARAM_NULL', 'PARAM_INT', 'PARAM_STR', 'PARAM_LOB',
                    
98     * $const = array();
                    
99     * foreach ($list as $name) {
                    
100     *    $const[$name] = constant("PDO::$name");
                    
226             */
                    
227            require_once 'Zend/Db/Exception.php';
                    
228            throw new Zend_Db_Exception('Adapter parameters must be in an array or a Zend_Config object');
                    
237             */
                    
238            require_once 'Zend/Db/Exception.php';
                    
239            throw new Zend_Db_Exception('Adapter name must be specified in a string');
                    
                
parameter.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 454 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: parameter.php 14401 2010-01-26 14:10:00Z louis $
                    
4 * @package		Joomla.Framework
                    
6 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
                    
7 * @license		GNU/GPL, see LICENSE.php
                    
8 * Joomla! is free software. This version may have been modified pursuant
                    
11 * other free or open source software licenses.
                    
12 * See COPYRIGHT.php for copyright notices and details.
                    
13 */
                    
20//Register the element class with the loader
                    
21JLoader::register('JElement', dirname(__FILE__).DS.'parameter'.DS.'element.php');
                    
22
                    
195		$html = array ();
                    
196		$html[] = '<table width="100%" class="paramlist admintable" cellspacing="1">';
                    
197
                    
                
class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_VM_CLASS_INL_H_
                    
18#error "class-inl.h should only be included by class.h"
                    
                
mkdist.php https://gitlab.com/0072016/appengine-php | PHP | 548 lines
                    
15
                    
16$dist_dir = $build_dir . "/php-" . phpversion();
                    
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
                    
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
                    
238	"php.ini-development" => "php.ini-development",
                    
239	"php.ini-production" => "php.ini-production",
                    
240	"win32/install.txt" => "install.txt",
                    
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
                    
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
                    
250$general_files = array(
                    
251	"php.gif"			=>	"php.gif",
                    
252);
                    
495
                    
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
                    
497	 * broken out of the tarballs */
                    
                
SimpleHeaderSet.php https://gitlab.com/madwanz64/laravel | PHP | 399 lines
                    
1<?php
                    
2
                    
26
                    
27    /** List of fields which are required to be displayed */
                    
28    private $required = [];
                    
63    /**
                    
64     * Add a new Mailbox Header with a list of $addresses.
                    
65     *
                    
229     */
                    
230    public function listAll()
                    
231    {
                    
265    /**
                    
266     * Define a list of Header names as an array in the correct order.
                    
267     *
                    
275    /**
                    
276     * Set a list of header names which must always be displayed when set.
                    
277     *
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
                    
77        $addedRoute = $collectionBuilder->add('/checkout', 'AppBundle:Order:checkout');
                    
78        $addedRoute2 = $collectionBuilder->add('/blogs', 'AppBundle:Blog:list', 'blog_list');
                    
79        $this->assertInstanceOf('Symfony\Component\Routing\Route', $addedRoute);
                    
160
                    
161        $routes->add('/blogs/{page}', 'listAction', 'blog_list')
                    
162            // unique things for the route
                    
193        $collection = $routes->build();
                    
194        $actualListRoute = $collection->get('blog_list');
                    
195
                    
197        $this->assertEquals('\d+', $actualListRoute->getRequirement('id'));
                    
198        $this->assertTrue($actualListRoute->getOption('expose'));
                    
199        // none of these should be overridden
                    
200        $this->assertEquals('html', $actualListRoute->getDefault('_format'));
                    
201        $this->assertEquals('json|xml', $actualListRoute->getRequirement('_format'));
                    
202        $this->assertTrue($actualListRoute->getOption('fooBar'));
                    
                
class-cp-user-relationships.php https://gitlab.com/dev73/clusterpress | PHP | 543 lines
                    
1<?php
                    
2/**
                    
62	 * @param  string      $cluster The cluster ID
                    
63	 * @param  array       $types   The list of relationships type to add
                    
64	 * @return bool|array  True if the relationship was registered. An array
                    
275	/**
                    
276	 * Get the last active date for a specified list of user ids.
                    
277	 *
                    
279	 *
                    
280	 * @param  array $user_ids The list of user IDs.
                    
281	 * @return array           The list of last active date by user_id.
                    
296	 * @param  string $in_field Name of the field
                    
297	 * @param  array  $in List of object/item IDs
                    
298	 * @return string The where clause.
                    
340			} else {
                    
341				$in = wp_parse_id_list( $in );
                    
342				$in = join( ',', $in );
                    
                
collateral-form-common.php https://gitlab.com/eluar/infocus | PHP | 252 lines
                    
93    <div class="small-1 medium-1 columns">
                    
94          <img class="lets-do-this" src="<?php echo $thumb ?>?<?php echo rand(199,9999);?>" data-big="<?php echo $src ?>?<?php echo rand(199,9999);?>" data-big2x="<?php echo $src ?>" width="40" height="40" />
                    
95    </div>
                    
102      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
103        <input type="number" placeholder="Qty" id="item1<?php echo ($key + 3) ?>_number_1" class="form-control" autocomplete="off" min="0" max="999999999" step="1" data-hint="" name="qty_<?php echo $name ?>">
                    
104      </label>
                    
107      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
108        <textarea id="item1<?php echo $key ?>_textarea_1" placeholder="Notes" class="form-control" maxlength="10000" placeholder="" data-hint="" name="notes_<?php echo $name ?>"></textarea>
                    
109      </label>
                    
162        <?php foreach ($costCenters as $costCenter): ?>
                    
163          <option value="<?php echo $costCenter;?>"><?php echo $costCenter;?></option>
                    
164        <?php endforeach; ?>
                    
198        <label <?php echo ($key == 'state')? 'id="state_label"' : '' ?>>
                    
199            <?php echo ($key !== 'province') ? '*' : ''?><?php echo $value ?>
                    
200            <input type="text" id="item102_text_1" class="no-margin-bottom" maxlength="254" placeholder="" autocomplete="off" data-hint="" name="<?php echo $key ?>" required="">
                    
                
requests.php https://gitlab.com/grimkirill/mb-base | PHP | 297 lines
                    
1<?php
                    
2
                    
81			}
                    
82			$this->showlist($sql, $show_date, $show_servicer, $form->return_values['num']);
                    
83		}	
                    
90			$sql = "SELECT * FROM `requests` WHERE `date` >= '".date('Y-m-d')."' AND `date` <= '".date('Y-m-d')."' ";
                    
91			$this->showlist($sql);
                    
92		}
                    
95	
                    
96	function showlist($sql, $show_date = TRUE, $show_servicer = TRUE, $num = FALSE)
                    
97	{
                    
153			new View_Form_Date('date', date('Y-m-d')), ' C ',
                    
154			new View_Form_Select('time_start', '', array('options' => request_data::timeList()) ), ' продолжительность: ',
                    
155			new View_Form_Select('time_count', '', array('options' => request_data::timeCount()) )
                    
178			$this->AddContent($form_request);
                    
179			$this->AddContent('<div id="ajax_request_list"></div><script type="text/javascript">bind_request_list_load(); request_list_load();</script>');
                    
180		}	
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);}

                    
290span.filePhp{background-image:url(../images/small_icon/filePhp.png);}

                    
291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);}

                    
328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);}

                    
329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);}

                    
330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);}

                    
367}

                    
368/** thumbnail listing */

                    
369.thumbnailListing{

                    
376}

                    
377.thumbnailListing dt{

                    
378width:120px;

                    
395}

                    
396dd.thumbnailListing_info span, dd.thumbnailListing_info input, dd.thumbnailListing_info a{

                    
397vertical-align:middle;

                    
                
Listing.php https://gitlab.com/gothcon/cthulhu | PHP | 247 lines
                    
1<?php
                    
2	require_once("lib/Views/HtmlListView.php");
                    
3	require_once("lib/Controllers/AdminControllers/OrderController.php");
                    
3	require_once("lib/Controllers/AdminControllers/OrderController.php");
                    
4	class ListingView extends HtmlListView{
                    
5		
                    
142					else if($count + 1 == count($this->path)){ ?>
                    
143						/<a href="<?php echo $this->createArticleLink($category->id);?>"><?php psafe($category->name)?></a>
                    
144					<?php }
                    
145					else{ ?>
                    
146						/<a href="<?php echo $this->createCategoryLink($category->id);?>"><?php psafe($category->name)?></a>
                    
147					<?php } 
                    
169						<td><img src ="<?php psafe($image);?>"></td>
                    
170						<td><a href="<?php echo $this->createCategoryLink($category->id);?>"><?php pnum($category->id)?></a></td>
                    
171						<td><a href="<?php echo $this->createCategoryLink($category->id);?>"><?php psafe($category->name);?></a></td>
                    
                
sysvmsg.c https://gitlab.com/envieidoc/tomato | C | 477 lines
                    
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  +----------------------------------------------------------------------+
                    
90const zend_function_entry sysvmsg_functions[] = {
                    
91	PHP_FE(msg_get_queue,				arginfo_msg_get_queue)
                    
92	PHP_FE(msg_send,					arginfo_msg_send)
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
148	php_info_print_table_row(2, "Revision", "$Id: adf1d2d6be849c46eed3c3ee6f1cbebd1448d6e5 $");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
44
                    
45		'et_pb_posts-list_title_font_size'                        => '14px',
                    
46		'et_pb_posts-list_title_font_style'                       => '',
                    
46		'et_pb_posts-list_title_font_style'                       => '',
                    
47		'et_pb_posts-list_title_text_color'                       => 'rgba(0,0,0,0.75)',
                    
48		'et_pb_posts-list_title_line_height'                      => '1.3em',
                    
48		'et_pb_posts-list_title_line_height'                      => '1.3em',
                    
49		'et_pb_posts-list_title_letter_spacing'                   => '0px',
                    
50
                    
50
                    
51		'et_pb_posts-list_meta_font_size'                         => '12px',
                    
52		'et_pb_posts-list_meta_font_style'                        => '',
                    
52		'et_pb_posts-list_meta_font_style'                        => '',
                    
53		'et_pb_posts-list_meta_text_color'                        => 'rgba(0, 0, 0, 0.5)',
                    
54		'et_pb_posts-list_meta_line_height'                       => '1.7em',
                    
                
Flat.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 362 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
62    /**
                    
63     * Whether the indexer should be displayed on process/list page
                    
64     *
                    
132                || ($addFilterable && $attribute->getOrigData('is_filterable') > 0)
                    
133                || ($attribute->getOrigData('used_in_product_listing') == 1)
                    
134                || ($attribute->getOrigData('is_used_for_promo_rules') == 1)
                    
138                || ($addFilterable && $attribute->getData('is_filterable') > 0)
                    
139                || ($attribute->getData('used_in_product_listing') == 1)
                    
140                || ($attribute->getData('is_used_for_promo_rules') == 1)
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
67			?>
                    
68			<div class="mt-3 alert alert-secondary"><?= Loc::getMessage('SPOL_TPL_EMPTY_ORDER_LIST')?></div>
                    
69			<?
                    
248											$link = $checkInfo['LINK'];
                    
249											$listCheckLinks .= "<div><a href='$link' target='_blank'>$title</a></div>";
                    
250										}
                    
257											<div class="sale-order-list-payment-check-left"><?=Loc::getMessage('SPOL_CHECK_TITLE')?>:</div>
                    
258											<div class="sale-order-list-payment-check-left"><?=$listCheckLinks?></div>
                    
259										</div>
                    
267						<div class="personal-order-item-product-container">
                    
268							<div class="personal-order-item-product-image-list">
                    
269								<img class="personal-order-item-product-pict" src="http://store.solj.bx/upload/iblock/631/631c95680c87d7b185ead9f163315e08.jpg" alt="">
                    
346							{
                    
347								?><a class="g-font-size-15 sale-order-list-cancel-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_CANCEL"])?>"><?=Loc::getMessage('SPOL_TPL_CANCEL_ORDER')?></a><?
                    
348							}
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
137
                    
138		$paySystemList = PaySystem\Manager::getListWithRestrictions($payment);
                    
139
                    
139
                    
140		foreach ($paySystemList as $paySystemElement)
                    
141		{
                    
161				{
                    
162					$this->arResult['PAYSYSTEMS_LIST'][] = $paySystemElement;
                    
163				}
                    
287		$paymentClassName = $registry->getPaymentClassName();
                    
288		$paymentList = $paymentClassName::getList(
                    
289			array(
                    
398
                    
399		$accountList = CSaleUserAccount::GetList(
                    
400			array("CURRENCY" => "ASC"),
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
53
                    
54				$userList = \Bitrix\Main\UserTable::getList(array(
                    
55					"select" => array("ID", "XML_ID"),
                    
151
                    
152		$crmUsersListTmp = $usersListTmp= array();
                    
153		foreach($usersList as $key => $user)
                    
235			$companyTypeList = \CCrmStatus::getStatusListEx('COMPANY_TYPE');
                    
236			$companyIndustryList = \CCrmStatus::getStatusListEx('INDUSTRY');
                    
237
                    
250				{
                    
251					$descList[] = $companyTypeList[$company['COMPANY_TYPE']];
                    
252				}
                    
254				{
                    
255					$descList[] = $companyIndustryList[$company['INDUSTRY']];
                    
256				}
                    
                
fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
                    
1<?php
                    
2$translations = array(
                    
16	'No extension' => 'پسوند نامعتبر',
                    
17	'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
19	'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد',
                    
20	'%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s',
                    
21	'Refresh' => 'بازيابي',
                    
36	
                    
37	'Process list' => 'ليست فرآيند',
                    
38	'%d process(es) have been killed.' => '%d فرآيند متوقف شد',
                    
271	'Binary' => 'دودویی',
                    
272	'Lists' => 'لیستها',
                    
273	'Network' => 'شبکه',
                    
                
length_class.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 412 lines
                    
1<?php
                    
2class ControllerLocalisationLengthClass extends Controller {
                    
11		
                    
12		$this->getList();
                    
13	}
                    
109
                    
110		$this->getList();
                    
111	}
                    
112
                    
113	protected function getList() {
                    
114		if (isset($this->request->get['sort'])) {
                    
257
                    
258		$this->template = 'localisation/length_class_list.tpl';
                    
259		$this->children = array(
                    
                
Explosion.php https://gitlab.com/wesleyvanneck/ImagicalMine | PHP | 277 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * src/pocketmine/level/Explosion.php
                    
4 *
                    
45use pocketmine\math\Vector3;
                    
46use pocketmine\nbt\tag\ListTag;
                    
47use pocketmine\nbt\tag\DoubleTag;
                    
177                $yield = $ev->getYield();
                    
178                $this->affectedBlocks = $ev->getBlockList();
                    
179            }
                    
191
                    
192        $list = $this->level->getNearbyEntities($explosionBB, $this->what instanceof Entity ? $this->what : null);
                    
193        foreach ($list as $entity) {
                    
222                $tnt = Entity::createEntity("PrimedTNT", $this->level->getChunk($block->x >> 4, $block->z >> 4), new CompoundTag("", [
                    
223                            "Pos" => new ListTag("Pos", [
                    
224                                    new DoubleTag("", $block->x + 0.5),
                    
                
CurrentEmployer.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 394 lines
                    
1<?php
                    
2/*
                    
326  public function alterDisplay(&$rows) {
                    
327    $checkList = [];
                    
328    $entryFound = FALSE;
                    
349        foreach ($row as $colName => $colVal) {
                    
350          if (!empty($checkList[$colName]) && is_array($checkList[$colName]) &&
                    
351            in_array($colVal, $checkList[$colName])
                    
355          if (in_array($colName, $this->_noRepeats)) {
                    
356            $checkList[$colName][] = $colVal;
                    
357          }
                    
                
class-wp-media-list-table.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 396 lines
                    
9 */
                    
10class WP_Media_List_Table extends WP_List_Table {
                    
11
                    
174?>
                    
175	<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
                    
176<?php
                    
270?>
                    
271		<td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td>
                    
272<?php
                    
291?>
                    
292		<td <?php echo $attributes ?>><?php echo $h_time ?></td>
                    
293<?php
                    
313?>
                    
314			<td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br />
                    
315			<?php if( $user_can_edit ) {?>
                    
                
Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
                    
1<?php
                    
2/**
                    
245	/**
                    
246	 * Returns a maximum cost in a list of costs. If an array of costs is not passed in, the array of costs is fetched
                    
247	 * via query.
                    
257	/**
                    
258	 * Returns a minimum cost in a list of costs. If an array of costs is not passed in, the array of costs is fetched
                    
259	 * via query.
                    
                
Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
                    
1<?php
                    
2/*
                    
22 */
                    
23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
                    
24/**
                    
26 */
                    
27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
                    
28/**
                    
30 */
                    
31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
                    
32/**
                    
34 */
                    
35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
                    
36
                    
382        reset($GLOBALS['config']['ResourceType']);
                    
383        while (list($_key,$_resourceTypeNode) = each($GLOBALS['config']['ResourceType'])) {
                    
384            if ($_resourceTypeNode['name'] === $resourceTypeName) {
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
195        // Vulnerable:
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
202            || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
                    
203        ) {
                    
222
                    
223        // Hard coded list of PHP distributions with the fix backported.
                    
224        if (
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
246        $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
DictionaryLoader.php https://github.com/sitengine/sitengine.git | PHP | 265 lines
                    
1<?php
                    
2/**
                    
41     * It takes a string which is actually <segment_name>.tii index file data and
                    
42     * returns two arrays - term and tremInfo lists.
                    
43     *
                    
60            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
                    
61                require_once 'Zend/Search/Lucene/Exception.php';
                    
62                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
                    
65        // $indexTermCount = $tiiFile->readLong();
                    
66        if (PHP_INT_SIZE > 4) {
                    
67            $indexTermCount = ord($data[$pos]) << 56  |
                    
80                ((ord($data[$pos+4]) & 0x80) != 0)) {
                    
81                    require_once 'Zend/Search/Lucene/Exception.php';
                    
82                    throw new Zend_Search_Lucene_Exception('Largest supported segment size (for 32-bit mode) is 2Gb');
                    
98        if ($indexTermCount < 1) {
                    
99            require_once 'Zend/Search/Lucene/Exception.php';
                    
100            throw new Zend_Search_Lucene_Exception('Wrong number of terms in a term dictionary index');
                    
                
Ini.php https://github.com/sitengine/sitengine.git | PHP | 293 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Ini.php 14667 2009-04-05 09:18:21Z rob $
                    
20 */
                    
25 */
                    
26require_once 'Zend/Config.php';
                    
27
                    
105             */
                    
106            require_once 'Zend/Config/Exception.php';
                    
107            throw new Zend_Config_Exception('Filename is not set');
                    
148                     */
                    
149                    require_once 'Zend/Config/Exception.php';
                    
150                    throw new Zend_Config_Exception("Section '$sectionName' cannot be found in $filename");
                    
182             */
                    
183            require_once 'Zend/Config/Exception.php';
                    
184            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
de_de.lang.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 281 lines
                    
1<?php
                    
2/*********************************************************************************
                    
38    'LBL_TABULAT_REPORT'=>'tabellarischer Bericht',
                    
39    'LBL_REPORT_TYPE_HDR1'=>'Tabellarische Berichte sind der einfachste und schnellste Weg um eine Auflistung aller Daten zu erhalten.',
                    
40    'LBL_SUMMARY_REPORT'=>'zusammenfassender Bericht',
                    
40    'LBL_SUMMARY_REPORT'=>'zusammenfassender Bericht',
                    
41    'LBL_REPORT_TYPE_HDR2'=>'Zusammenfassende Berichte erlauben die Auflistung der Daten mit Zwischensummen.',
                    
42    'LBL_AVAILABLE_COLUMNS'=>'verfügbare Spalten:',
                    
59    'LBL_SF_ENDDATE'=>'Enddatum',
                    
60    'LBL_AF_HDR1'=>'Setzen Sie Suchkriterien um die Resultatsliste zu begrenzen.',
                    
61    'LBL_AF_HDR2'=>'Sie können &quot;or&quot; Filter durch die Eingabe mehrerer Einträge in der dritten Spalte setzen.',
                    
104    'LBL_TABULAR_FORMAT'=>'Tabellenformat',
                    
105    'LBL_TABULAR_REPORTS_ARE_SIMPLEST'=>' 	Tabellarische Berichte sind der einfachste und schnellste Weg um eine Auflistung aller Daten zu erhalten.',
                    
106    'LBL_SUMMARY_REPORT_VIEW_DATA_WITH_SUBTOTALS'=>'Zusammenfassende Berichte erlauben die Auflistung der Daten mit Zwischensummen.',
                    
                
Loader.php https://gitlab.com/buitenzorg812/garapic.cms | PHP | 481 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
12 *
                    
13 * Install this file as application/third_party/MX/Loader.php
                    
14 *
                    
120
                    
121		list($path, $_helper) = Modules::find($helper.'_helper', $this->_module, 'helpers/');
                    
122
                    
161
                    
162		list($path, $_library) = Modules::find($library, $this->_module, 'libraries/');
                    
163
                    
166		{
                    
167			list($path2, $file) = Modules::find($_alias, $this->_module, 'config/');
                    
168			($path2) && $params = Modules::load_file($file, $path2, 'config');
                    
207		/* check module */
                    
208		list($path, $_model) = Modules::find(strtolower($model), $this->_module, 'models/');
                    
209
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
61			if (count($clienteslist) > 0) {
                    
62				$ascensoreslistcli = DB::table('ascensores')->whereIn('cliente_id', $clienteslist)->lists('id');
                    
63				$mantenimientoexternoslistcli = DB::table('mantenimientoexternos')->whereIn('cliente_id', $clienteslist)->lists('id');
                    
64			} else {
                    
65				$ascensoreslistcli = DB::table('ascensores')->where('id', '=', 0)
                    
66					->lists('id');
                    
70
                    
71			$ascensoreslist = Ascensor::where('rae', 'like', '%'.Input::get('texto').'%')->lists('id');
                    
72			$mantenimientoexternoslist = Mantenimientoexterno::where('rae', 'like', '%'.Input::get('texto').'%')->lists('id');
                    
73
                    
74			$unionascensores = array_merge($ascensoreslist, $ascensoreslistcli);
                    
75			$resultascensores = array_unique($unionascensores);
                    
76
                    
77			$unionmantenimientos = array_merge($mantenimientoexternoslist, $mantenimientoexternoslistcli);
                    
78			$resultmantenimientos = array_unique($unionmantenimientos);
                    
                
mssql_driver.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 517 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
275	/**
                    
276	 * List table query
                    
277	 *
                    
282	 */
                    
283	protected function _list_tables($prefix_limit = FALSE)
                    
284	{
                    
300	/**
                    
301	 * List column query
                    
302	 *
                    
307	 */
                    
308	protected function _list_columns($table = '')
                    
309	{
                    
                
admin.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 503 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
36	/**
                    
37	 * Index methods, lists all pages
                    
38	 */
                    
304
                    
305		// Turn the CSV list back to an array
                    
306		$page->restricted_to = explode(',', $page->restricted_to);
                    
421
                    
422		// Load navigation list
                    
423		$this->load->model('navigation/navigation_m');
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
1<?php
                    
2/**
                    
26
                    
27require_once $gfcommon.'include/account.php';
                    
28require_once $gfcommon.'include/escapingUtils.php';
                    
63function session_get_session_cookie_hash($session_cookie) {
                    
64	list ($junk, $hash) = explode('-*-', $session_cookie);
                    
65	return $hash;
                    
75
                    
76	list ($session_serial, $hash) = explode('-*-', $session_cookie);
                    
77	$session_serial = base64_decode($session_serial);
                    
83
                    
84	list($user_id, $time, $ip, $user_agent) = explode('-*-', $session_serial, 4);
                    
85
                    
490
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
                
klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access');
                    
9 *
                    
10 *     1. Redistributions of source code must retain the above copyright notice, this list of
                    
11 *        conditions and the following disclaimer.
                    
12 *
                    
13 *     2. Redistributions in binary form must reproduce the above copyright notice, this list
                    
14 *        of conditions and the following disclaimer in the documentation and/or other materials
                    
101     *
                    
102     * @ignore Do not show in PHPDoc.
                    
103     * @var string
                    
109     *
                    
110     * @ignore Do not show in PHPDoc.
                    
111     * @var int
                    
117     *
                    
118     * @ignore Do not show in PHPDoc.
                    
119     * @var float
                    
                
ext_spl.cpp https://gitlab.com/iranjith4/hhvm | C++ | 384 lines
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
29#include "hphp/runtime/base/glob-stream-wrapper.h"
                    
30#include "hphp/runtime/base/request-event-handler.h"
                    
31#include "hphp/runtime/base/stream-wrapper-registry.h"
                    
317
                    
318IMPLEMENT_STATIC_REQUEST_LOCAL(ExtensionList, s_extension_list);
                    
319}
                    
327  }
                    
328  return StringUtil::Implode(s_extension_list->extensions, ",");
                    
329}
                    
                
Mmc.c https://gitlab.com/envieidoc/Clover | C | 454 lines
                    
8  which accompanies this distribution.  The full text of the license may be found at
                    
9  http://opensource.org/licenses/bsd-license.php
                    
10
                    
42//
                    
43LIST_ENTRY  mMmcHostPool;
                    
44
                    
59{
                    
60  InitializeListHead (&mMmcHostPool);
                    
61}
                    
70{
                    
71  InsertTailList (&mMmcHostPool, &(MmcHostInstance->Link));
                    
72}
                    
81{
                    
82  RemoveEntryList (&(MmcHostInstance->Link));
                    
83}
                    
                
Mmc.h https://gitlab.com/envieidoc/Clover | C Header | 302 lines
                    
8  which accompanies this distribution.  The full text of the license may be found at        
                    
9  http://opensource.org/licenses/bsd-license.php                                            
                    
10
                    
141  UINTN                     Signature;
                    
142  LIST_ENTRY                Link;
                    
143  EFI_HANDLE                MmcHandle;
                    
181
                    
182extern LIST_ENTRY mMmcHostPool;
                    
183
                    
                
site-users.php https://gitlab.com/sihabudinahmad/asppi | PHP | 330 lines
                    
18
                    
19$wp_list_table = _get_list_table('WP_Users_List_Table');
                    
20$wp_list_table->prepare_items();
                    
41	'heading_pagination' => __( 'Site users list navigation' ),
                    
42	'heading_list'       => __( 'Site users list' ),
                    
43) );
                    
205<h1 id="edit-site"><?php echo $title; ?></h1>
                    
206<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
                    
207<?php
                    
258
                    
259<?php $wp_list_table->display(); ?>
                    
260
                    
302<h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2>
                    
303<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post">
                    
304	<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
                    
                
MultishippingTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 271 lines
                    
1<?php
                    
2/**
                    
7
                    
8class MultishippingTest extends \PHPUnit_Framework_TestCase
                    
9{
                    
15    /**
                    
16     * @var \PHPUnit_Framework_MockObject_MockObject
                    
17     */
                    
20    /**
                    
21     * @var \PHPUnit_Framework_MockObject_MockObject
                    
22     */
                    
25    /**
                    
26     * @var \PHPUnit_Framework_MockObject_MockObject
                    
27     */
                    
30    /**
                    
31     * @var \PHPUnit_Framework_MockObject_MockObject
                    
32     */
                    
                
u8g_dev_ssd1322_nhd31oled_bw.c https://gitlab.com/anthem/Marlin | C | 338 lines
                    
15
                    
16  * Redistributions of source code must retain the above copyright notice, this list 
                    
17    of conditions and the following disclaimer.
                    
19  * Redistributions in binary form must reproduce the above copyright notice, this 
                    
20    list of conditions and the following disclaimer in the documentation and/or other 
                    
21    materials provided with the distribution.
                    
56  http://www.newhavendisplay.com/app_notes/OLED_25664.txt 
                    
57  http://www.newhavendisplay.com/forum/viewtopic.php?f=15&t=3758
                    
58*/
                    
                
helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
                    
360	 *
                    
361	 * @param   array   $list                        list of items
                    
362	 * @param   string  $fieldName                   name of field that is used for grouping
                    
373
                    
374		if (!is_array($list))
                    
375		{
                    
380
                    
381			$list = array($list);
                    
382		}
                    
410	 *
                    
411	 * @param   array   $list                        list of items
                    
412	 * @param   string  $type                        type of grouping
                    
430
                    
431			$list = array($list);
                    
432		}
                    
                
componentbase.php https://gitlab.com/alexprowars/bitrix | PHP | 558 lines
                    
190		{
                    
191			$params['LIST_PATH'] = '/bitrix/admin/translate_list.php';
                    
192		}
                    
198		{
                    
199			$params['SHOW_SOURCE_PATH'] = '/bitrix/admin/translate_show_php.php';
                    
200		}
                    
202		{
                    
203			$params['EDIT_SOURCE_PATH'] = '/bitrix/admin/translate_edit_php.php';
                    
204		}
                    
227		{
                    
228			unset($languageList[$inx]);
                    
229		}
                    
232
                    
233		return $languageList;
                    
234	}
                    
                
composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
                    
29$sorting = new CAdminSorting($tableID, "ID", "DESC");
                    
30$adminList = new CAdminList($tableID, $sorting);
                    
31
                    
128
                    
129$logList = LogTable::getList(array(
                    
130	"select" => array(
                    
147
                    
148$adminList->addHeaders(array(
                    
149	array(
                    
287$adminList->addAdminContextMenu($toolbar);
                    
288$adminList->checkListMode();
                    
289
                    
457
                    
458$adminList->displayList();
                    
459
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
                    
1<?php
                    
2$module_id = 'landing';
                    
23// lang
                    
24IncludeModuleLangFile($docRoot . '/bitrix/modules/main/options.php');
                    
25Loc::loadMessages(__FILE__);
                    
41		$iblockTypes = [];
                    
42		$res = \CIBlockType::getList();
                    
43		while($row = $res->fetch())
                    
54		// and iblocks then
                    
55		$res = \CIBlock::getList(['sort' => 'asc']);
                    
56		while ($row = $res->GetNext(true, false))
                    
90
                    
91	// sites list
                    
92	$sites = [];
                    
92	$sites = [];
                    
93	$res = \Bitrix\Main\SiteTable::getList(array(
                    
94		'select' => array(
                    
                
index.php https://gitlab.com/tanvir/Library-Management-System | PHP | 322 lines
                    
196                            <select class="form-control"  id="sel1" name="itemPerPage"  onchange='this.form.submit()'>
                    
197                                <option<?php if($itemPerPage==5){?> selected <?php }?>>5</option>
                    
198                                <option<?php if($itemPerPage==10){?> selected <?php }?>>10</option>
                    
200                                <option<?php if($itemPerPage==20){?> selected <?php }?>>20</option>
                    
201                                <option<?php if($itemPerPage==25){?> selected <?php }?>>25</option>
                    
202                            </select><noscript><input type="submit" value="Submit"></noscript>
                    
241                                        <a href="edit.php?book_id=<?php echo $book->book_id ?>" ><i class="fa fa-edit"></i></a>
                    
242                                        <a href="delete.php?book_id=<?php echo $book->book_id ?>"><i class="fa fa-trash"></i></a>
                    
243                                    </td>
                    
252                                <?php if( $pageNo > 1 ): ?>
                    
253                                    <li><a href="index.php?pageNo=<?php $prev = $pageNo-1; echo $prev; ?>">Prev</a></li>
                    
254                                <?php endif; ?>
                    
258                                <?php  if( $pageNo < $noOfPage ): ?>
                    
259                                    <li><a href="index.php?pageNo=<?php $next = $pageNo+1; echo $next;?>">Next</a></li>
                    
260                                <?php endif; ?>
                    
                
MappingInfo.php https://gitlab.com/cserobiul/BITM-LabMs-New | PHP | 517 lines
                    
1<?php
                    
2
                    
16  public function __construct() {
                    
17    if (session_status() == PHP_SESSION_NONE) {
                    
18      session_start();
                    
313
                    
314// get lab list
                    
315  public function getLabList() {
                    
494}
                    
495    // get course list
                    
496public function getCourseList() {
                    
                
class-cp-interactions-cluster.php https://gitlab.com/dev73/clusterpress | PHP | 345 lines
                    
1<?php
                    
2/**
                    
26	 * @param array args The Interactions Cluster arguments.
                    
27	 * {@see CP_Cluster::__construct() for a detailled list of available arguments}
                    
28	 */
                    
71	 *
                    
72	 * @param  array  $files The list of files and class files
                    
73	 */
                    
149	 *
                    
150	 * @return  array The list of settings for the Cluster.
                    
151	 */
                    
218	 * @param array $post_types The list of Post Type names.
                    
219	 * @param array $features   The list of features to add to the list of Post types.
                    
220	 */
                    
241	 *
                    
242	 * @return array The list of Rest API Routes.
                    
243	 */
                    
                
SqliteMetadata.php https://gitlab.com/jalon/doadoronline | PHP | 392 lines
                    
1<?php
                    
2/**
                    
23
                    
24        $results = $this->fetchPragma('database_list');
                    
25        foreach ($results as $row) {
                    
129        $constraints = array();
                    
130        $indexes = $this->fetchPragma('index_list', $table, $schema);
                    
131        foreach ($indexes as $index) {
                    
163
                    
164        $foreignKeys = $this->fetchPragma('foreign_key_list', $table, $schema);
                    
165
                    
263            $identifier = $this->getIdentifierRegularExpression();
                    
264            $identifierList = $this->getIdentifierListRegularExpression();
                    
265            $identifierChain = $this->getIdentifierChainRegularExpression();
                    
290            $identifier = $this->getIdentifierRegularExpression();
                    
291            $identifierList = $this->getIdentifierListRegularExpression();
                    
292            $identifierChain = $this->getIdentifierChainRegularExpression();
                    
                
theme-install.php https://gitlab.com/mostafame/team_website | PHP | 329 lines
                    
140
                    
141	<h2 class="screen-reader-text hide-if-no-js"><?php _e( 'Filter themes list' ); ?></h2>
                    
142
                    
181				<a class="apply-filters button button-secondary" href="#"><?php _e( 'Apply Filters' ); ?><span></span></a>
                    
182				<a class="clear-filters button button-secondary" href="#"><?php _e( 'Clear' ); ?></a>
                    
183			</div>
                    
184		<?php
                    
185		$feature_list = get_theme_feature_list();
                    
186		foreach ( $feature_list as $feature_name => $features ) {
                    
206	</div>
                    
207	<h2 class="screen-reader-text hide-if-no-js"><?php _e( 'Themes list' ); ?></h2>
                    
208	<div class="theme-browser content-filterable"></div>
                    
313			<div class="wp-full-overlay-footer">
                    
314				<button type="button" class="collapse-sidebar button-secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">
                    
315					<span class="collapse-sidebar-arrow"></span>
                    
                
resources_zh_CN.properties https://bitbucket.org/LANJr4D/sc-android.git | Properties File | 304 lines
                    
57callVia=转接呼叫:
                    
58callList=呼叫名单
                    
59cancel=&取消
                    
181msgDeliveryOfflineNotSupported=您正在使用的协议不支持离线消息. 请尝试其他协议或者等待该用户上线.
                    
182msgDeliveryInternalError=内部出错. 可能是程序自身错误. 请发送您的错误报告到: http://www.sip-communicator.org/index.php/Development/BugsAndIssues
                    
183msgNotDelivered=网络错误.
                    
264showCallPanel=显示呼叫控制面板
                    
265showChannelsList=显示频道清单
                    
266showOffline=离线状态
                    
                
mmc_ffu.c https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C | 496 lines
                    
12 *
                    
13 * This program includes bug.h, card.h, host.h, mmc.h, scatterlist.h,
                    
14 * slab.h, ffu.h & swap.h header files
                    
17 * http://www.gnu.org/licenses/,
                    
18 * or http://www.opensource.org/licenses/gpl-2.0.php
                    
19*/
                    
25#include <linux/mmc/mmc.h>
                    
26#include <linux/scatterlist.h>
                    
27#include <linux/slab.h>
                    
65static unsigned int mmc_ffu_map_sg(struct mmc_ffu_mem *mem, int size,
                    
66	struct scatterlist *sglist)
                    
67{
                    
67{
                    
68	struct scatterlist *sg = sglist;
                    
69	unsigned int i;
                    
                
export_execute.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 252 lines
                    
1<?php
                    
2
                    
2
                    
3require_once('../config.php');
                    
4//require_once($CFG->dirroot.'/course/lib.php');
                    
4//require_once($CFG->dirroot.'/course/lib.php');
                    
5require_once($CFG->dirroot.'/calendar/lib.php');
                    
6require_once($CFG->libdir.'/bennu/bennu.inc.php');
                    
54
                    
55    $link = new moodle_url('/calendar/export.php', $params);
                    
56    redirect($link->out());
                    
63        // Array of courses that we will pass to calendar_get_legacy_events() which
                    
64        // is initially set to the list of the user's courses.
                    
65        $paramcourses = $courses;
                    
102                if ($startmonthday > calendar_days_in_month($startmonth, $startyear)) {
                    
103                    list($startmonth, $startyear) = calendar_add_month($startmonth, $startyear);
                    
104                    $startmonthday = find_day_in_month(1, $startweekday, $startmonth, $startyear);
                    
                
ClientesController.php https://gitlab.com/fabiorf/fsipedidos | PHP | 320 lines
                    
1<?php
                    
2 
                    
2 
                    
3// namespace de localizacao clientesController.php
                    
4namespace Cliente\Controller;
                    
62            if(strlen($conteudoCsv)){
                    
63                $aListArquivo = explode("\n",$conteudoCsv);
                    
64               
                    
64               
                    
65                if(is_array($aListArquivo)){
                    
66                    array_shift($aListArquivo);
                    
66                    array_shift($aListArquivo);
                    
67                    foreach($aListArquivo as $lineFile){
                    
68                        $aDadosCsv = explode(",",$lineFile);
                    
                
Pgsql.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
95    /**
                    
96     * Returns a list of the tables in the database.
                    
97     *
                    
99     */
                    
100    public function listTables()
                    
101    {
                    
209            }
                    
210            list($primary, $primaryPosition, $identity) = array(false, null, false);
                    
211            if ($row[$contype] == 'p') {
                    
                
class-gf-field-checkbox.php https://gitlab.com/screamud/gravity-forms-project | PHP | 380 lines
                    
1<?php
                    
2
                    
91
                    
92	public function get_value_entry_list( $value, $entry, $field_id, $columns, $form ) {
                    
93		//if this is the main checkbox field (not an input), display a comma separated list of all inputs
                    
105			if ( $this->type == 'post_category' ) {
                    
106				$value = GFCommon::prepare_post_category_value( $value, $this, 'entry_list' );
                    
107			}
                    
166			if ( $use_value ) {
                    
167				list( $val, $price ) = rgexplode( '|', $item, 2 );
                    
168			} elseif ( $use_price ) {
                    
168			} elseif ( $use_price ) {
                    
169				list( $name, $val ) = rgexplode( '|', $item, 2 );
                    
170				if ( $format_currency ) {
                    
                
joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
                    
1<?php
                    
2class JoomleagueConnector extends JLCalendar{
                    
50		$database->setQuery($query);
                    
51		$fav=$database->loadObjectList();
                    
52
                    
159
                    
160		$players=$database->loadObjectList();
                    
161
                    
193			// new insert for link to player profile
                    
194			//$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id;
                    
195			$newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);
                    
376		$database->setQuery($query.$where.$limit);
                    
377		$result = $database->loadObjectList();
                    
378		if ($result)
                    
397
                    
398		$listTeamId = implode( ",", array_unique($teamsId) );
                    
399
                    
                
PDFLetterCommon.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 339 lines
                    
1<?php
                    
2/*
                    
82      ts('Paper Size'),
                    
83      [0 => ts('- default -')] + CRM_Core_BAO_PaperSize::getList(TRUE),
                    
84      FALSE,
                    
277      foreach ((array) $documentInfo as $info) {
                    
278        list($html_message, $formValues['document_type']) = CRM_Utils_PDF_Document::docReader($info['fullPath'], $info['mime_type']);
                    
279        $formValues['document_file_path'] = $info['fullPath'];
                    
283    elseif (!empty($formValues['document_file'])) {
                    
284      list($html_message, $formValues['document_type']) = CRM_Utils_PDF_Document::docReader($formValues['document_file']['name'], $formValues['document_file']['type']);
                    
285      $formValues['document_file_path'] = $formValues['document_file']['name'];
                    
                
jurnal_umum.js https://gitlab.com/zetrosoft/pos-ci | JavaScript | 384 lines
                    
2$(document).ready(function(e) {
                    
3	$('#v_listjurnalumum #ListTable').hide();
                    
4	$(':radio#new').attr('checked','checked');
                    
7	var prs=$('#prs').val();
                    
8		$('#listjurnalumum').removeClass('tab_button');
                    
9		$('#listjurnalumum').addClass('tab_select');
                    
60	$('#process').click(function(){
                    
61		var path=$('#path').val().replace('index.php/','');
                    
62		var ajax="<tr><td class='kotak' colspan='8'>Data being processed, please wait...<img src='"+path+"asset/img/indicator.gif'></td></tr>";
                    
62		var ajax="<tr><td class='kotak' colspan='8'>Data being processed, please wait...<img src='"+path+"asset/img/indicator.gif'></td></tr>";
                    
63		$('#v_listjurnalumum #ListTable').show();
                    
64		$('#v_listjurnalumum #ListTable tbody').html(ajax)
                    
72			},function(result){
                    
73			$('#v_listjurnalumum #ListTable tbody').html(result)
                    
74			$('span#ttd').html('Total data :'+$('#v_listjurnalumum #ListTable tbody tr').length);
                    
                
SelectableAssociationTrait.php https://gitlab.com/alexandresgv/siteentec | PHP | 341 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         3.0.0
                    
12 * @since         3.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
31     * @param array $options The options containing the strategy to be used.
                    
32     * @return bool true if a list of keys will be required
                    
33     */
                    
83        $finder = isset($options['finder']) ? $options['finder'] : $this->finder();
                    
84        list($finder, $opts) = $this->_extractFinder($finder);
                    
85        $fetchQuery = $this
                    
                
Chunk.php https://gitlab.com/matthww/Elywing | PHP | 463 lines
                    
1<?php
                    
2
                    
29use pocketmine\nbt\tag\CompoundTag;
                    
30use pocketmine\nbt\tag\ListTag;
                    
31use pocketmine\nbt\tag\IntTag;
                    
51
                    
52		if(isset($this->nbt->Entities) and $this->nbt->Entities instanceof ListTag){
                    
53			$this->nbt->Entities->setTagType(NBT::TAG_Compound);
                    
54		}else{
                    
55			$this->nbt->Entities = new ListTag("Entities", []);
                    
56			$this->nbt->Entities->setTagType(NBT::TAG_Compound);
                    
58
                    
59		if(isset($this->nbt->TileEntities) and $this->nbt->TileEntities instanceof ListTag){
                    
60			$this->nbt->TileEntities->setTagType(NBT::TAG_Compound);
                    
61		}else{
                    
62			$this->nbt->TileEntities = new ListTag("TileEntities", []);
                    
63			$this->nbt->TileEntities->setTagType(NBT::TAG_Compound);
                    
                
 

Source

Language