PageRenderTime 1595ms queryTime 119ms sortTime 731ms getByIdsTime 60ms findMatchingLines 94ms

100+ results results for 'php pack' (1595 ms)

Not the results you expected?
Font.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 640 lines
                    
21 * @category   PHPExcel
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
32 * @category   PHPExcel
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
                
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
                    
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;
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
25 * @author      Guilherme Blanco <guilhermeblanco@hotmail.com>
                    
26 * @package     Doctrine
                    
27 * @subpackage  Pager
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
6 * This source file is subject to the Academic Free License (AFL 3.0)
                    
7 * that is bundled with this package in the file LICENSE.txt.
                    
8 * It is also available through the world-wide-web at this URL:
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
                
StorageServiceSettings.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 485 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\Common\Internal
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/windowsazure/azure-sdk-for-php
                    
23 */
                    
35 * @package   WindowsAzure\Common\Internal
                    
36 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
37 * @copyright 2012 Microsoft Corporation
                    
38 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
39 * @version   Release: @package_version@
                    
40 * @link      https://github.com/windowsazure/azure-sdk-for-php
                    
                
rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 425 lines
                    
1<?php
                    
2
                    
8*
                    
9* @package NextGEN Gallery
                    
10* @author Alex Rabe
                    
211		//TODO: I could parse for the Picture name , gallery etc, but this increase the queries
                    
212		//TODO: Class nggdb need to cache the query for the nggfunctions.php
                    
213
                    
265            // XML request
                    
266            $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]'
                    
267		);  
                    
273	/**
                    
274	 * Mainly a copy of the same function in wp-includes\rewrite.php
                    
275     * Adding the NGG tags to each post & page. Never found easier and proper way to handle this with other functions.
                    
291
                    
292		$this->index = $wp_rewrite->index; //probably 'index.php'
                    
293
                    
                
packet.cpp https://gitlab.com/iranjith4/hhvm | C++ | 432 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
16*/
                    
17#include "hphp/runtime/ext/soap/packet.h"
                    
18
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Search_Lucene
                    
17 * @subpackage Storage
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
24 * @category   Zend
                    
25 * @package    Zend_Search_Lucene
                    
26 * @subpackage Storage
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
283			<label for="<?php echo $this->get_field_id( 'title' ); ?>">
                    
284				<?php esc_html_e( 'Title:', 'jetpack' ); ?>
                    
285			</label>
                    
439			<label for="<?php echo $this->get_field_id( 'border-color' ); ?>">
                    
440				<?php _e( 'Border Color (hex):', 'jetpack' ); ?>
                    
441			</label>
                    
452			<label for="<?php echo $this->get_field_id( 'theme' ); ?>">
                    
453				<?php _e( 'Timeline Theme:', 'jetpack' ); ?>
                    
454			</label>
                    
460				<option value="light"<?php selected( $instance['theme'], 'light' ); ?>>
                    
461					<?php esc_html_e( 'Light', 'jetpack' ); ?>
                    
462				</option>
                    
463				<option value="dark"<?php selected( $instance['theme'], 'dark' ); ?>>
                    
464					<?php esc_html_e( 'Dark', 'jetpack' ); ?>
                    
465				</option>
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
11data store of Event Server) through [PredictionIO's Storage
                    
12API](http://docs.prediction.io/api/current/index.html#io.prediction.data.storage.package).
                    
13
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
111```php
                    
112<?php
                    
113  require_once("vendor/autoload.php");
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
206```php
                    
207<?php
                    
208  require_once("vendor/autoload.php");
                    
                
WizardController.php https://github.com/rgranadino/magento-mirror.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the Open Software License (OSL 3.0)
                    
8 * that is bundled with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
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
                    
21 * @category    Mage
                    
22 * @package     Mage_Install
                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
251            $params['options'] = array('onlyreqdeps'=>1);
                    
252            $params['params'] = Mage::getModel('install/installer_pear')->getPackages();
                    
253            $params['success_callback'] = array($this, 'installSuccessCallback');
                    
                
Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
                    
1<?php
                    
2
                    
28/**
                    
29 * @package    OpenXDal
                    
30 * @subpackage Statistics
                    
35// Required classes
                    
36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
                    
37
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
3 * Bitrix Framework
                    
4 * @package bitrix
                    
5 * @subpackage main
                    
24/**
                    
25 * @package bitrix
                    
26 * @subpackage main
                    
                
VarCloner.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of the Symfony package.
                    
5 *
                    
148                    case 'object':
                    
149                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
150                            $stub = new Stub();
                    
164                                } else {
                    
165                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
166                                }
                    
300        $obj = (object) array();
                    
301        self::$hashOffset = 16 - PHP_INT_SIZE;
                    
302        self::$hashMask = -1;
                    
321
                    
322        self::$hashMask ^= hexdec(substr(spl_object_hash($obj), self::$hashOffset, PHP_INT_SIZE));
                    
323    }
                    
                
MaildirFolderTest.php https://github.com/MarcelloDuarte/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Mail
                    
17 * @subpackage UnitTests
                    
30 * @category   Zend
                    
31 * @package    Zend_Mail
                    
32 * @subpackage UnitTests
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
48        if (!is_dir($this->_originalDir . '/cur/')) {
                    
49            $this->markTestSkipped('You have to unpack maildir.tar in Zend/Mail/_files/test.maildir/ '
                    
50                                 . 'directory before enabling the maildir tests');
                    
                
arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
4 *
                    
5 * @package    Kohana
                    
6 * @category   Helpers
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
171        )->setComment(
                    
172            'Instances of Widget for Package Theme'
                    
173        );
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
30 *
                    
31 * @package CRM
                    
32 * @copyright CiviCRM LLC (c) 2004-2011
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
39require_once 'CRM/Contribute/PseudoConstant.php';
                    
40
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
224            //set defaults for pledgeBlock values.
                    
225            require_once 'CRM/Pledge/BAO/PledgeBlock.php';
                    
226            $pledgeBlockParams = array( 'entity_id'    => $this->_id,
                    
                
WizardController.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the Open Software License (OSL 3.0)
                    
8 * that is bundled with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
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
                    
21 * @category    Mage
                    
22 * @package     Mage_Install
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
251            $params['options'] = array('onlyreqdeps'=>1);
                    
252            $params['params'] = Mage::getModel('install/installer_pear')->getPackages();
                    
253            $params['success_callback'] = array($this, 'installSuccessCallback');
                    
                
class-wp-terms-list-table.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 454 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage List_Table
                    
298		if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
                    
299			$actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
                    
300		if ( $tax->public )
                    
331
                    
332		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
333		$out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
                    
343	function column_slug( $tag ) {
                    
344		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
345		return apply_filters( 'editable_slug', $tag->slug );
                    
366		if ( 'attachment' == $this->screen->post_type )
                    
367			return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>";
                    
368
                    
                
Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Loader
                    
17 * @subpackage Autoloader
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
29 * @uses       Zend_Loader_Autoloader_Interface
                    
30 * @package    Zend_Loader
                    
31 * @subpackage Autoloader
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
5 * @language en
                    
6 * @package modx
                    
7 * @subpackage lexicon
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
Inflector.php https://github.com/grandison/budo16.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Filter
                    
17 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Inflector.php 17705 2009-08-21 07:50:57Z thomas $
                    
20 */
                    
25 */
                    
26// require_once 'Zend/Filter.php';
                    
27
                    
30 */
                    
31// require_once 'Zend/Loader/PluginLoader.php';
                    
32
                    
                
web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
                    
1<?php
                    
2
                    
3/**
                    
4	Web pack for the PHP Fat-Free Framework
                    
5
                    
13
                    
14		@package Expansion
                    
15		@version 2.0.5
                    
17
                    
18//! Web pack
                    
19class Web extends Base {
                    
205		if ($echo) {
                    
206			if (PHP_SAPI!='cli' && !headers_sent())
                    
207				header(self::HTTP_Content.': '.$mime[$ext[1]].'; '.
                    
295				self::HTTP_Agent.': Mozilla/5.0 '.
                    
296					'(compatible;'.PHP_OS.')'.self::EOL.
                    
297				($reqhdrs?
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
15 * @version    CVS: $Id: pearcmd.php 286487 2009-07-29 05:57:28Z dufuz $
                    
16 * @link       http://pear.php.net/package/PEAR
                    
17 */
                    
155            if (strpos(dirname(__FILE__), 'scripts')) {
                    
156                $packagexml = dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'package2.xml';
                    
157                $pearbase = dirname(dirname(__FILE__));
                    
158            } else {
                    
159                $packagexml = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'package2.xml';
                    
160                $pearbase = dirname(__FILE__);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Loader
                    
17 * @subpackage Autoloader
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
29 * @uses       Zend_Loader_Autoloader_Interface
                    
30 * @package    Zend_Loader
                    
31 * @subpackage Autoloader
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
1<?php
                    
2
                    
26 *
                    
27 *     // to enable searching the include path (eg. for PEAR packages)
                    
28 *     $loader->setUseIncludePath(true);
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
376
                    
377        $file = $this->findFileWithExtension($class, '.php');
                    
378
                    
                
ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
                    
1<?php
                    
2/**
                    
11 *
                    
12 * @package I18n
                    
13 */
                    
18 * It can read MO files and use them for translating strings.
                    
19 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
20 *
                    
148        if ($magic == -1794895138 || $magic == 2500072158) {
                    
149            // (int)0x950412de; PHP 5.2 wont convert this properly
                    
150            $this->byteorder = 0;
                    
151        } elseif ($magic == -569244523 || $magic == 3725722773) {
                    
152            // (int)0xde120495; PHP 5.2 wont convert this properly
                    
153            $this->byteorder = 1;
                    
276            // low endian
                    
277            $data = unpack('V', $this->stream->read(4));
                    
278        } else {
                    
                
CakeRoute.php https://github.com/simkimsia/cake2-practice-app.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * PHP5
                    
10 *
                    
10 *
                    
11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
18 * @link          http://cakephp.org CakePHP(tm) Project
                    
19 * @package       Cake.Routing.Route
                    
19 * @package       Cake.Routing.Route
                    
20 * @since         CakePHP(tm) v 1.3
                    
21 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Http
                    
17 * @subpackage CookieJar
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
1<?php
                    
2/**
                    
6 *
                    
7 * @package BuddyPress
                    
8 * @subpackage Main
                    
42	 *
                    
43	 * Most of them have reference functions located in bp-core-functions.php.
                    
44	 * The ones that don't can be accessed via their respective WordPress API's.
                    
260		// Place your custom code (actions/filters) in a file called
                    
261		// '/plugins/bp-custom.php' and it will be loaded before anything else.
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
263			require( WP_PLUGIN_DIR . '/bp-custom.php' );
                    
264
                    
354		// Load the WP abstraction file so BuddyPress can run on all WordPress setups.
                    
355		require( BP_PLUGIN_DIR . '/bp-core/bp-core-wpabstraction.php' );
                    
356
                    
                
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $
                    
6* @package VirtueMart
                    
6* @package VirtueMart
                    
7* @subpackage classes
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
10* VirtueMart is free software. This version may have been modified pursuant
                    
13* other free or open source software licenses.
                    
14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
15*
                    
240		if( $size==1 ) {
                    
241			$values[0] = $VM_LANG->_('PHPSHOP_SELECT');
                    
242		}
                    
                
UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
                    
34
                    
35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php';
                    
36
                    
39/**
                    
40 * @package OpenXPlugin
                    
41 */
                    
60        /*$this->nobackupsFile    = MAX_PATH.$pluginPath.'NOBACKUPS';
                    
61        $this->postTaskFile     = MAX_PATH.$pluginPath.'TASKS.php';*/
                    
62
                    
132        {
                    
133            $this->aPackageList = $this->getUpgradePackageList($this->versionInitialApplication, $this->_readUpgradePackagesArray($this->upgradePath.$this->aComponentGroup['name'].'_upgrade_array.txt'));
                    
134            if (!$skipIntegrityCheck && count($this->aPackageList)>0)
                    
174        {
                    
175            foreach ($this->aPackageList AS $k => $this->package_file)
                    
176            {
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
11
                    
12require_once( './includes/default-list-tables.php' );
                    
13
                    
18if ( $_redirect = intval( max( @$_REQUEST['p'], @$_REQUEST['attachment_id'], @$_REQUEST['page_id'] ) ) ) {
                    
19	wp_redirect( admin_url('edit-comments.php?p=' . $_redirect ) );
                    
20	exit;
                    
113	$parent_file = "edit.php?post_type=$post_type";
                    
114	$submenu_file = "edit.php?post_type=$post_type";
                    
115	$post_new_file = "post-new.php?post_type=$post_type";
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @package     Joomla.Site
                    
4 * @subpackage  com_contact
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category  Zend
                    
16 * @package   Zend_TimeSync
                    
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @category  Zend
                    
34 * @package   Zend_TimeSync
                    
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
61    /**
                    
62     * Prepare local timestamp for transmission in our request packet
                    
63     *
                    
86        $nulbyte   = $nul . $nul . $nul . $nul;
                    
87        $ntppacket = chr(0xd9) . $nul . chr(0x0a) . chr(0xfa);
                    
88
                    
                
tcp_cubic.c https://gitlab.com/karrei/imx6-kernel | C | 497 lines
                    
19 * All testing results are available from:
                    
20 * http://netsrv.csc.ncsu.edu/wiki/index.php/TCP_Testing
                    
21 *
                    
75MODULE_PARM_DESC(hystart_detect, "hyrbrid slow start detection mechanisms"
                    
76		 " 1: packet-train 2: delay 3: both packet-train and delay");
                    
77module_param(hystart_low_window, int, 0644);
                    
96#define ACK_RATIO_LIMIT (32u << ACK_RATIO_SHIFT)
                    
97	u16	delayed_ack;	/* estimate the ratio of Packets/ACKs << 4 */
                    
98	u8	sample_cnt;	/* number of samples to decide curr_rtt */
                    
249	 * !!! The following code does not have overflow problems,
                    
250	 * if the cwnd < 1 million packets !!!
                    
251	 */
                    
375
                    
376		/* obtain the minimum delay of more than sampling packets */
                    
377		if (ca->sample_cnt < HYSTART_MIN_SAMPLES) {
                    
                
IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the Open Software License (OSL 3.0)
                    
8 * that is bundled with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
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
                    
21 * @category    Mage
                    
22 * @package     Mage_Adminhtml
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
30 * @category    Mage
                    
31 * @package     Mage_Adminhtml
                    
32 * @author      Magento Core Team <core@magentocommerce.com>
                    
                
File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Loader
                    
17 * @subpackage Autoloader
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
29 * @uses       Zend_Loader_Autoloader_Interface
                    
30 * @package    Zend_Loader
                    
31 * @subpackage Autoloader
                    
                
Editor.php https://github.com/adaykin/zf2.git | PHP | 601 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Dojo
                    
17 * @subpackage Form_Element
                    
34 * @category   Zend
                    
35 * @package    Zend_Dojo
                    
36 * @subpackage Form_Element
                    
                
class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package ClusterPress\user\classes
                    
6 * @subpackage user-relationships
                    
                
Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
272                    ->end()
                    
273                    ->fixXmlConfig('package')
                    
274                    ->children()
                    
274                    ->children()
                    
275                        ->arrayNode('packages')
                    
276                            ->useAttributeAsKey('name')
                    
                
permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package modx
                    
6 * @subpackage lexicon
                    
111$_lang['perm.new_weblink_desc'] = 'Neue Weblinks anlegen.';
                    
112$_lang['perm.packages_desc'] = 'Transport-Packages in der Package-Verwaltung benutzen.';
                    
113$_lang['perm.policy_delete_desc'] = 'Zugriffs-Richtlinien löschen.';
                    
192$_lang['perm.view_user_desc'] = 'Benutzer anzeigen.';
                    
193$_lang['perm.workspaces_desc'] = 'Package-Verwaltung benutzen.';
                    
                
phpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Implementation of phpBB converter.
                    
5 */
                    
5 */
                    
6class phpBB extends BBP_Converter_Base {
                    
7	function __construct() {
                    
357			'to_fieldname' => '_bbp_class',
                    
358			'default'      => 'phpBB'
                    
359		);
                    
472		 * We're kind of forced to use MD5 here since it's the only
                    
473		 * cryptographic primitive available in all versions of PHP
                    
474		 * currently in use.  To implement our own low-level crypto
                    
474		 * currently in use.  To implement our own low-level crypto
                    
475		 * in PHP would result in much worse performance and
                    
476		 * consequently in lower iteration counts and hashes that are
                    
                
Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP version 5                                                        |
                    
5// +----------------------------------------------------------------------+
                    
9// | This LICENSE is in the BSD license style.                            |
                    
10// | http://www.opensource.org/licenses/bsd-license.php                   |
                    
11// |                                                                      |
                    
43//
                    
44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $
                    
45//
                    
47/**
                    
48 * @package     VersionControl_SVN
                    
49 * @category    VersionControl
                    
112 * <code>
                    
113 * <?php
                    
114 * require_once 'VersionControl/SVN.php';
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
6 * @modified	Yorick Peterse
                    
7 * @package 	PyroCMS
                    
8 * @subpackage 	Pages module
                    
543			
                    
544					<li id="page_<?php echo $page['id']; ?>">
                    
545						<div>
                    
545						<div>
                    
546							<a href="#" rel="<?php echo $page['id'] . '">' . $page['title']; ?></a>
                    
547						</div>
                    
548					
                    
549				<?php if(isset($page['children'])): ?>
                    
550						<ol>
                    
550						<ol>
                    
551								<?php $this->tree_builder($page); ?>
                    
552						</ol>
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Search_Lucene
                    
17 * @subpackage Storage
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
24 * @category   Zend
                    
25 * @package    Zend_Search_Lucene
                    
26 * @subpackage Storage
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
1<?php
                    
2
                    
29 *
                    
30 * @package CRM
                    
31 * @copyright CiviCRM LLC (c) 2004-2009
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
38require_once 'CRM/Core/OptionValue.php';
                    
39
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
109
                    
110        //We execute some part of php after sql and then again sql
                    
111        //So using conditions for skipping some part of sql CRM-4575
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
29 *
                    
30 * @package CRM
                    
31 * @copyright CiviCRM LLC (c) 2004-2009
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
94    {
                    
95        require_once 'CRM/Contribute/BAO/Contribution.php';
                    
96
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
6 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
                    
7 * @package Reviews
                    
8 * @author Michael Ueberschaer <kontakt@webdesign-in-bremen.com>.
                    
45        $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf');
                    
46        $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml');
                    
47        $this->allowedFileSizes = array('review' => array('coverUpload' => 102400));
                    
325                break;
                    
326            case UPLOAD_ERR_INI_SIZE: //uploaded file exceeds the upload_max_filesize directive in php.ini
                    
327                $errmsg = __('File too big', $dom);
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
4 *
                    
5 * @package    Kohana
                    
6 * @category   Helpers
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
TrustRoot.php https://github.com/kbjr/EasyOpenID.git | PHP | 461 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP versions 4 and 5
                    
6 *
                    
8 *
                    
9 * @package OpenID
                    
10 * @author JanRain, Inc. <openid@janrain.com>
                    
14
                    
15require_once OPENID_DIRECTORY.'Auth/OpenID/Discover.php';
                    
16
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package WPBakeryVisualComposer
                    
6 * @since   4.2
                    
12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes
                    
13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes.
                    
14 *
                    
14 *
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
126	 * You need to shortcode's tag and  settings to map correctly.
                    
127	 * Default shortcodes are mapped in config/map.php file.
                    
128	 * The best way is to call this method with "init" action callback function of WP.
                    
541	/**
                    
542	 * Sorting method for WPBMap::generateUserData method. Called by usort php function.
                    
543	 * @deprecated - use Vc_Sort::sortByKey since 4.4
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
29 *
                    
30 * @package    Kohana
                    
31 * @category   Base
                    
288	 * The $uri parameter can either be a string for basic regex matching or it
                    
289	 * can be a valid callback or anonymous function (php 5.3+). If you use a
                    
290	 * callback or anonymous function, your method should return an array
                    
                
Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
                    
1<?php
                    
2/*
                    
25 * @author      Guilherme Blanco <guilhermeblanco@hotmail.com>
                    
26 * @package     Doctrine
                    
27 * @subpackage  Pager
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
                
version.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
                    
12  <meta name="application-url" content="http://www.imagemagick.org"></meta>
                    
13  <meta name="generator" content="PHP"></meta>
                    
14  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, the, version, copyrights, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"></meta>
                    
31  <!-- Add mousewheel plugin (this is optional) -->
                    
32  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
                    
33  
                    
177<h1>Module version Methods</h1>
                    
178<p class="navigation-index">[<a href="version.html#GetMagickCopyright">GetMagickCopyright</a> • <a href="version.html#GetMagickDelegates">GetMagickDelegates</a> • <a href="version.html#GetMagickFeatures">GetMagickFeatures</a> • <a href="version.html#GetMagickHomeURL">GetMagickHomeURL</a> • <a href="version.html#GetMagickPackageName">GetMagickPackageName</a> • <a href="version.html#GetMagickQuantumDepth">GetMagickQuantumDepth</a> • <a href="version.html#GetMagickQuantumRange">GetMagickQuantumRange</a> • <a href="version.html#GetMagickReleaseDate">GetMagickReleaseDate</a> • <a href="version.html#GetMagickSignature">GetMagickSignature</a> • <a href="version.html#GetMagickVersion">GetMagickVersion</a> • <a href="version.html#ListMagickVersion">ListMagickVersion</a>]</p>
                    
179
                    
231 </div>
                    
232<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickPackageName">GetMagickPackageName</a></h2>
                    
233<div class="doc-section">
                    
234
                    
235<p>GetMagickPackageName() returns the ImageMagick package name.</p>
                    
236
                    
                
File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Search_Lucene
                    
17 * @subpackage Storage
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
24 * @category   Zend
                    
25 * @package    Zend_Search_Lucene
                    
26 * @subpackage Storage
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
                
transformation.php https://github.com/Yannix/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
23 *
                    
24 * @package ImageConversion
                    
25 * @version //autogentag//
                    
75 *
                    
76 * @package ImageConversion
                    
77 * @version //autogentag//
                    
                
Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_XmlRpc
                    
17 * @subpackage Value
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_XmlRpc
                    
17 * @subpackage Value
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
                
mkdist.php https://gitlab.com/0072016/appengine-php | PHP | 548 lines
                    
16$dist_dir = $build_dir . "/php-" . phpversion();
                    
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
                    
18$pecl_dir = $build_dir . "/pecl-" . phpversion();
                    
219	$phppdb = str_replace(".dll", ".pdb", $phpdll);
                    
220	copy("$build_dir/$phppdb", "$dist_dir/dev/$phppdb");
                    
221}
                    
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
                    
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
                    
243);
                    
461}
                    
462copy('run-tests.php', $test_dir . '/run-test.php');
                    
463
                    
495
                    
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
                    
497	 * broken out of the tarballs */
                    
                
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"
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
1<?php
                    
2/**
                    
7 *
                    
8 * @package wp-e-commerce
                    
9 * @since 3.7
                    
13	global $wpdb;
                    
14	$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&amp;subpage=upgrade-purchase-logs';
                    
15	?>
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
55		</ul>
                    
56		<?php
                    
57		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
19 *
                    
20 * @package   media_videojs
                    
21 * @copyright 2016 Marina Glancy
                    
29 *
                    
30 * @package   media_videojs
                    
31 * @copyright 2016 Marina Glancy
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
203        if ($this->extensions === null) {
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
                
AclVoterTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 432 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of the Symfony package.
                    
5 *
                    
22
                    
23class AclVoterTest extends \PHPUnit_Framework_TestCase
                    
24{
                    
                
store.php https://github.com/dogma/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
19 *
                    
20 * @package    logstore_legacy
                    
21 * @copyright  2013 Petr Skoda {@link http://skodak.org}
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
246
                    
247        // If the 100 field size is changed, also need to alter print_log in course/lib.php.
                    
248        if (!empty($url) && \core_text::strlen($url) > 100) {
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
19require_once("tools/pushchecker.php");
                    
20require_once("tools/sitepatcher.php");
                    
21
                    
149	{
                    
150		/** @noinspection PhpVariableNamingConventionInspection */
                    
151		global $APPLICATION;
                    
183	{
                    
184		$bsmPackage = new Tools\BsmPackage();
                    
185		$bsmPackage->setId("bitrix:eshop");
                    
                
category.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 394 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @package		EasyBlog
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5* @license		GNU/GPL, see LICENSE.php
                    
6* EasyBlog is free software. This version may have been modified pursuant
                    
9* other free or open source software licenses.
                    
10* See COPYRIGHT.php for copyright notices and details.
                    
11*/
                    
76		
                    
77		$mainframe->redirect( 'index.php?option=com_easyblog&view=categories');
                    
78		exit;
                    
96		
                    
97		$mainframe->redirect( 'index.php?option=com_easyblog&view=categories' , $message , $type );
                    
98		exit;
                    
                
shortcodes.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 334 lines
                    
1<?php
                    
2/**
                    
29 *
                    
30 * @package WordPress
                    
31 * @subpackage Shortcodes
                    
                
wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
9 *
                    
10 * @package WordPress
                    
11 */
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
behat_config_manager.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 279 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
19 *
                    
20 * @package    core
                    
21 * @category   test
                    
27
                    
28require_once(__DIR__ . '/../lib.php');
                    
29require_once(__DIR__ . '/behat_command.php');
                    
29require_once(__DIR__ . '/behat_command.php');
                    
30require_once(__DIR__ . '/../../testing/classes/tests_finder.php');
                    
31
                    
37 *
                    
38 * @package    core
                    
39 * @category   test
                    
131            $diriterator = new DirectoryIterator($componentpath . self::get_behat_tests_path());
                    
132            $regite = new RegexIterator($diriterator, '|behat_.*\.php$|');
                    
133
                    
                
instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
19 *
                    
20 * @package    core
                    
21 * @subpackage enrol
                    
25
                    
26require('../config.php');
                    
27
                    
44
                    
45$PAGE->set_url('/enrol/instances.php', array('id'=>$course->id));
                    
46$PAGE->set_pagelayout('admin');
                    
104            echo $OUTPUT->header();
                    
105            $yesurl = new moodle_url('/enrol/instances.php', array('id'=>$course->id, 'action'=>'delete', 'instance'=>$instance->id, 'confirm'=>1,'sesskey'=>sesskey()));
                    
106            $displayname = $plugin->get_instance_name($instance);
                    
158$icount = count($instances);
                    
159$url = new moodle_url('/enrol/instances.php', array('sesskey'=>sesskey(), 'id'=>$course->id));
                    
160foreach ($instances as $instance) {
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
42
                    
43.. php:staticmethod:: tokenize($data, $separator = ',', $leftBound = '(', $rightBound = ')')
                    
44
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
63
                    
64.. php:staticmethod:: cleanInsert($string, $options = array())
                    
65
                    
81
                    
82.. php:staticmethod:: wrap($text, $options = array())
                    
83
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage List_Table
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
98		$role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>';
                    
99
                    
158			?>
                    
159			<tr class="<?php echo $alt; ?>">
                    
160			<?php
                    
175						<th scope="row" class="check-column">
                    
176							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
177							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
186						echo "<td $attributes>"; ?>
                    
187							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
188							if ( in_array( $user->user_login, $super_admins ) )
                    
                
Test.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
20 * @version    CVS: $Id: Test.php,v 1.1.1.1 2009/05/08 18:30:19 root Exp $
                    
40 * @version    Release: 1.4.9
                    
41 * @link       http://pear.php.net/package/PEAR
                    
42 * @since      Class available since Release 0.1
                    
81                    'shortopt' => 'u',
                    
82                    'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests',
                    
83                ),
                    
85            'doc' => '[testfile|dir ...]
                    
86Run regression tests with PHP\'s regression testing script (run-tests.php).',
                    
87            ),
                    
133                }
                    
134                $package = &$reg->getPackage($pname['package'], $pname['channel']);
                    
135                if (!$package) {
                    
                
sfValidatorBaseTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of the symfony package.
                    
5 * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
                    
10
                    
11require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
                    
12
                    
                
default_social_twitter_bootstrap.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 215 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @package		EasyBlog
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5* @license		GNU/GPL, see LICENSE.php
                    
6* EasyBlog is free software. This version may have been modified pursuant
                    
9* other free or open source software licenses.
                    
10* See COPYRIGHT.php for copyright notices and details.
                    
11*/
                    
18			<fieldset class="adminform">
                    
19			<legend><?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_TWITTER_TITLE' ); ?></legend>
                    
20			<table class="admintable" cellspacing="1">
                    
24						<span class="editlinktip">
                    
25							<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_USE_TWITTER_BUTTON' ); ?>
                    
26						</span>
                    
                
tag.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @package		EasyBlog
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5* @license		GNU/GPL, see LICENSE.php
                    
6* EasyBlog is free software. This version may have been modified pursuant
                    
9* other free or open source software licenses.
                    
10* See COPYRIGHT.php for copyright notices and details.
                    
11*/
                    
13
                    
14require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'table.php' );
                    
15require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' );
                    
15require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' );
                    
16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR . 'router.php' );
                    
17
                    
                
Base.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Service
                    
17 * @subpackage StrikeIron
                    
26 */
                    
27require_once 'Zend/Service/StrikeIron/Decorator.php';
                    
28
                    
31 * @category   Zend
                    
32 * @package    Zend_Service
                    
33 * @subpackage StrikeIron
                    
67             */
                    
68            require_once 'Zend/Service/StrikeIron/Exception.php';
                    
69            throw new Zend_Service_StrikeIron_Exception('SOAP extension is not enabled');
                    
                
Alignment.php https://gitlab.com/ptisky/API_prestashop | PHP | 409 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable
                    
37{
                    
143	 *		array(
                    
144	 *			'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,
                    
145	 *			'vertical'   => PHPExcel_Style_Alignment::VERTICAL_CENTER,
                    
181		} else {
                    
182			throw new PHPExcel_Exception("Invalid style array passed.");
                    
183		}
                    
                
Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Db
                    
17 * @subpackage Statement
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Db.php';
                    
27
                    
30 */
                    
31#require_once 'Zend/Db/Statement/Interface.php';
                    
32
                    
                
SimpleHeaderSet.php https://github.com/nattaphat/hgis.git | PHP | 387 lines
                    
1<?php
                    
2
                    
13 *
                    
14 * @package    Swift
                    
15 * @subpackage Mime
                    
                
Key.php https://github.com/drobbins/s3db.git | PHP | 316 lines
                    
13 * the PHP License and are unable to obtain it through the web, please
                    
14 * send a note to license@php.net so we can mail you a copy immediately.
                    
15 *
                    
16 * @category   Encryption
                    
17 * @package    Crypt_RSA
                    
18 * @author     Alexander Valyalkin <valyala@gmail.com>
                    
19 * @copyright  2005, 2006 Alexander Valyalkin
                    
20 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
21 * @version    1.2.0b
                    
21 * @version    1.2.0b
                    
22 * @link       http://pear.php.net/package/Crypt_RSA
                    
23 */
                    
90 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
91 * @link       http://pear.php.net/package/Crypt_RSA
                    
92 * @version    @package_version@
                    
                
Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP Version 5
                    
6 *
                    
7 * @category   DocBlox
                    
8 * @package    Transformer
                    
9 * @subpackage Writers
                    
11 * @copyright  2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
12 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
13 * @link       http://docblox-project.org
                    
21 * @category   DocBlox
                    
22 * @package    Transformer
                    
23 * @subpackage Writers
                    
24 * @author     Mike van Riel <mike.vanriel@naenius.com>
                    
25 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
26 * @link       http://docblox-project.org
                    
                
ProjectPropertiesProblemProviderTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 165 lines
                    
74        assertTrue(problemsProvider.getProblems().isEmpty());
                    
75        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.SRC_DIR, "nondir"), Collections.<String, String>emptyMap());
                    
76        assertEquals(1, problemsProvider.getProblems().size());
                    
85        assertTrue(problemsProvider.getProblems().isEmpty());
                    
86        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.TEST_SRC_DIR, "nondir"), Collections.<String, String>emptyMap());
                    
87        assertEquals(1, problemsProvider.getProblems().size());
                    
96        assertTrue(problemsProvider.getProblems().isEmpty());
                    
97        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.SELENIUM_SRC_DIR, "nondir"), Collections.<String, String>emptyMap());
                    
98        assertEquals(1, problemsProvider.getProblems().size());
                    
107        assertTrue(problemsProvider.getProblems().isEmpty());
                    
108        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.WEB_ROOT, "nondir"), Collections.<String, String>emptyMap());
                    
109        assertEquals(1, problemsProvider.getProblems().size());
                    
118        assertTrue(problemsProvider.getProblems().isEmpty());
                    
119        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.INCLUDE_PATH, "nondir"), Collections.<String, String>emptyMap());
                    
120        assertEquals(1, problemsProvider.getProblems().size());
                    
                
DiscriminatorColumnLineParserTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 209 lines
                    
1package org.netbeans.modules.php.doctrine2.annotations.orm.parser;
                    
2
                    
5import org.netbeans.modules.csl.api.OffsetRange;
                    
6import org.netbeans.modules.php.spi.annotation.AnnotationLineParser;
                    
7import org.netbeans.modules.php.spi.annotation.AnnotationParsedLine;
                    
7import org.netbeans.modules.php.spi.annotation.AnnotationParsedLine;
                    
8import org.netbeans.modules.php.spi.annotation.AnnotationParsedLine.ParsedLine;
                    
9
                    
                
PHPCodeCompletion160444Test.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 217 lines
                    
41 */
                    
42package org.netbeans.modules.php.editor;
                    
43
                    
47import org.netbeans.api.java.classpath.ClassPath;
                    
48import org.netbeans.modules.php.project.api.PhpSourcePath;
                    
49import org.netbeans.spi.java.classpath.support.ClassPathSupport;
                    
56 */
                    
57public class PHPCodeCompletion160444Test extends PHPCodeCompletionTestBase {
                    
58
                    
58
                    
59    public PHPCodeCompletion160444Test(String testName) {
                    
60        super(testName);
                    
63    public void testIssue160444_1() throws Exception {
                    
64        checkCompletion("testfiles/completion/lib/tests160444/issue160444.php", "$obj/**/->^foo();", false);
                    
65    }
                    
                
SAPI.h https://gitlab.com/iranjith4/hhvm | C Header | 310 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | PHP Version 5                                                        |
                    
4   +----------------------------------------------------------------------+
                    
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:           |
                    
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   |
                    
248  int php_ini_ignore;
                    
249  int php_ini_ignore_cwd; /* don't look for php.ini in the current directory */
                    
250
                    
285#define SAPI_DEFAULT_CHARSET    ""
                    
286#define SAPI_PHP_VERSION_HEADER    "X-Powered-By: PHP/" PHP_VERSION
                    
287
                    
                
paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
                    
1<?php
                    
2/**
                    
13 *
                    
14 * @package s2Member\PayPal
                    
15 * @since 110720
                    
24	 *
                    
25	 * @package s2Member\PayPal
                    
26	 * @since 110720
                    
32		 *
                    
33		 * @package s2Member\PayPal
                    
34		 * @since 110720
                    
                
about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
                    
87		'heading'     => __( 'Template Hierarchy' ),
                    
88		/* Translators: 1: singular.php; 2: single.php; 3:page.php */
                    
89		'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ),
                    
104		<h2 class="nav-tab-wrapper">
                    
105			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
106			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
106			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
107			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
108		</h2>
                    
171				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
172					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
173						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
175				<?php endif; ?>
                    
176				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
177			</div>
                    
                
recaptchalib.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 277 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This is a PHP library that handles calling reCAPTCHA.
                    
4 *    - Documentation and latest version
                    
4 *    - Documentation and latest version
                    
5 *          http://recaptcha.net/plugins/php/
                    
6 *    - Get a reCAPTCHA API Key
                    
74        $http_request .= "Content-Length: " . strlen($req) . "\r\n";
                    
75        $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
                    
76        $http_request .= "\r\n";
                    
86        while ( !feof($fs) )
                    
87                $response .= fgets($fs, 1160); // One TCP-IP packet
                    
88        fclose($fs);
                    
215	if (! function_exists ("mcrypt_encrypt")) {
                    
216		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
                    
217	}
                    
                
class-wc-shortcode-my-account.php https://gitlab.com/webkod3r/tripolis | PHP | 363 lines
                    
1<?php
                    
2/**
                    
8 * @category 	Shortcodes
                    
9 * @package 	WooCommerce/Shortcodes/My_Account
                    
10 * @version     2.0.0
                    
50
                    
51				wc_get_template( 'myaccount/form-login.php' );
                    
52
                    
90
                    
91		wc_get_template( 'myaccount/my-account.php', array(
                    
92			'current_user' 	=> get_user_by( 'id', get_current_user_id() ),
                    
266		if ( empty( $wp_hasher ) ) {
                    
267			require_once ABSPATH . 'wp-includes/class-phpass.php';
                    
268			$wp_hasher = new PasswordHash( 8, true );
                    
310			if ( empty( $wp_hasher ) ) {
                    
311				require_once ABSPATH . 'wp-includes/class-phpass.php';
                    
312				$wp_hasher = new PasswordHash( 8, true );
                    
                
ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
28 *
                    
29 * @package	CodeIgniter
                    
30 * @author	EllisLab Dev Team
                    
46 *
                    
47 * @package		CodeIgniter
                    
48 * @subpackage	Drivers
                    
                
CDbCache.php https://bitbucket.org/rezanachmad/php-selenium-training.git | PHP | 313 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * CDbCache relies on {@link http://www.php.net/manual/en/ref.pdo.php PDO} to access database.
                    
19 * By default, it will use a SQLite3 database under the application runtime directory.
                    
29 * @author Qiang Xue <qiang.xue@gmail.com>
                    
30 * @package system.caching
                    
31 * @since 1.0
                    
                
smarty_internal_config.php https://github.com/raphaelbastide/berta.git | PHP | 270 lines
                    
1<?php
                    
2/**
                    
7 * @ignore 
                    
8 * @package Smarty
                    
9 * @subpackage Config
                    
151        } 
                    
152        return $_compile_dir . $_filepath . '.' . basename($this->config_resource_name) . '.config' . '.php';
                    
153    } 
                    
                
Currency.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 357 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the Open Software License (OSL 3.0)
                    
8 * that is bundled with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
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
                    
21 * @category    Mage
                    
22 * @package     Mage_Directory
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
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 */
                    
30 * @category   Mage
                    
31 * @package    Mage_Directory
                    
32 * @author      Magento Core Team <core@magentocommerce.com>
                    
                
Observer.php https://github.com/rgranadino/magento-mirror.git | PHP | 282 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the Open Software License (OSL 3.0)
                    
8 * that is bundled with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
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
                    
21 * @category    Mage
                    
22 * @package     Mage_Bundle
                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
30 * @category    Mage
                    
31 * @package     Mage_Bundle
                    
32 * @author      Magento Core Team <core@magentocommerce.com>
                    
                
Mail.php https://github.com/magikcypress/bbbweb.git | PHP | 270 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP versions 4 and 5
                    
6 *
                    
37 * @category    Mail
                    
38 * @package     Mail
                    
39 * @author      Chuck Hagenbuch <chuck@horde.org>
                    
40 * @copyright   1997-2010 Chuck Hagenbuch
                    
41 * @license     http://opensource.org/licenses/bsd-license.php New BSD License
                    
42 * @version     CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $
                    
42 * @version     CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $
                    
43 * @link        http://pear.php.net/package/Mail/
                    
44 */
                    
45
                    
46require_once 'PEAR.php';
                    
47
                    
                
BannerServiceImpl.php https://bitbucket.org/blackriver/openx.git | PHP | 344 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: BannerServiceImpl.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
28/**
                    
29 * @package    OpenX
                    
30 * @author     Ivan Klishch <iklishch@lohika.com>
                    
34// Base class BaseLogonService
                    
35require_once MAX_PATH . '/www/api/v1/common/BaseServiceImpl.php';
                    
36
                    
37// Banner Dll class
                    
38require_once MAX_PATH . '/lib/OA/Dll/Banner.php';
                    
39
                    
                
service.php https://gitlab.com/alexprowars/bitrix | PHP | 416 lines
                    
1<?php
                    
2/**
                    
3 * Bitrix Framework
                    
4 * @package bitrix
                    
5 * @subpackage seo
                    
36	const AUTHORIZE = "/register/";
                    
37	const REDIRECT_URI = "/bitrix/tools/seo_client.php";
                    
38
                    
                
Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of the Sonata package.
                    
5 *
                    
                
FingersCrossedHandlerTest.php https://gitlab.com/techniconline/kmc | PHP | 255 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of the Monolog package.
                    
5 *
                    
                
CakeValidationSetTest.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 337 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
15 * @since         CakePHP(tm) v 2.2.0
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
23 *
                    
24 * @package       Cake.Test.Case.Model.Validator
                    
25 */
                    
                
Matcher.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 308 lines
                    
36 *
                    
37 * @package    PHPUnit_MockObject
                    
38 * @author     Sebastian Bergmann <sb@sebastian-bergmann.de>
                    
53 *
                    
54 * @package    PHPUnit_MockObject
                    
55 * @author     Sebastian Bergmann <sb@sebastian-bergmann.de>
                    
58 * @version    Release: @package_version@
                    
59 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
60 * @since      Class available since Release 1.0.0
                    
61 */
                    
62class PHPUnit_Framework_MockObject_Matcher implements PHPUnit_Framework_MockObject_Matcher_Invocation
                    
63{
                    
149            $builder = $invocation->object
                    
150                                  ->__phpunit_getInvocationMocker()
                    
151                                  ->lookupId($this->afterMatchBuilderId);
                    
                
Type.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 303 lines
                    
36 *
                    
37 * @package    PHPUnit
                    
38 * @subpackage Util
                    
38 * @subpackage Util
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
48 *
                    
49 * @package    PHPUnit
                    
50 * @subpackage Util
                    
50 * @subpackage Util
                    
51 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
52 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
159            // There seems to be no other way to check arrays for recursion
                    
160            // http://www.php.net/manual/en/language.types.array.php#73936
                    
161            preg_match_all('/\n            \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);
                    
                
FormErrorsTest.php https://github.com/mfairchild365/zf2.git | PHP | 295 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Form
                    
17 * @subpackage UnitTests
                    
26    Zend\Form\SubForm,
                    
27    Zend\View\PhpRenderer as View;
                    
28
                    
32 * @category   Zend
                    
33 * @package    Zend_Form
                    
34 * @subpackage UnitTests
                    
38 */
                    
39class FormErrorsTest extends \PHPUnit_Framework_TestCase
                    
40{
                    
                
NullTest.php https://github.com/mfairchild365/zf2.git | PHP | 329 lines
                    
1<?php
                    
2/**
                    
7 * This source file is subject to the new BSD license that is bundled
                    
8 * with this package in the file LICENSE.txt.
                    
9 * It is also available through the world-wide-web at this URL:
                    
15 * @category   Zend
                    
16 * @package    Zend_Filter
                    
17 * @subpackage UnitTests
                    
27 * @category   Zend
                    
28 * @package    Zend_Filter
                    
29 * @subpackage UnitTests
                    
33 */
                    
34class NullTest extends \PHPUnit_Framework_TestCase
                    
35{
                    
                
eclipse.php https://github.com/kpike/moodle.git | PHP | 307 lines
                    
1<?php
                    
2/**
                    
3 *  base include file for eclipse plugin  
                    
4 *  @package    SimpleTest
                    
5 *  @subpackage Eclipse
                    
10 */
                    
11include_once 'unit_tester.php';
                    
12include_once 'test_case.php';
                    
12include_once 'test_case.php';
                    
13include_once 'invoker.php';
                    
14include_once 'socket.php';
                    
14include_once 'socket.php';
                    
15include_once 'mock_objects.php';
                    
16/**#@-*/
                    
19 *  base reported class for eclipse plugin  
                    
20 *  @package    SimpleTest
                    
21 *  @subpackage Eclipse
                    
                
recorded.php https://github.com/fracmak/mythweb.git | PHP | 233 lines
                    
48    <td><select name="recgroup">
                    
49        <option value=""><?php echo t('All groups') ?></option><?php
                    
50        foreach($Groups as $recgroup => $count) {
                    
138    <td rowspan="2" class="x-pixmap">
                    
139        <a class="x-pixmap" href="<?php echo $show->url ?>" title="<?php echo t('Direct Download') ?>"
                    
140            ><img src="<?php echo $show->thumb_url(100,0) ?>"></a>
                    
141        <a class="x-download"
                    
142            href="<?php echo video_url($show, true) ?>" title="<?php echo t('ASX Stream') ?>"
                    
143            ><img src="<?php echo skin_url ?>/img/play_sm.png"></a>
                    
167        }
                    
168        ?><a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>"
                    
169            title="<?php echo html_entities(t('Delete $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"
                    
170            ><?php echo t('Delete') ?></a>
                    
171        <a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>&forget_old=yes"
                    
172            title="<?php echo html_entities(t('Delete and rerecord $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"
                    
                
 

Source

Language