PageRenderTime 1725ms queryTime 126ms sortTime 816ms getByIdsTime 64ms findMatchingLines 84ms

100+ results results for 'php copy repo:stevoland/ez_patch' (1725 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
3 *
                    
4 * Copyright 2012 Oracle and/or its affiliates. All rights reserved.
                    
5 *
                    
24 * your own identifying information:
                    
25 * "Portions Copyrighted [year] [name of copyright owner]"
                    
26 *
                    
39 *
                    
40 * Portions Copyrighted 2012 Sun Microsystems, Inc.
                    
41 */
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
66import org.netbeans.modules.php.project.connections.sync.SyncItem;
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
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
                    
11 * obtain it through the world-wide-web, please send an email
                    
12 * to license@prestashop.com so we can send you a copy immediately.
                    
13 *
                    
20 * @author    Cubyn <modules@cubyn.com>
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
                
StorageServiceSettings.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 485 lines
                    
1<?php
                    
2
                    
5 * you may not use this file except in compliance with the License.
                    
6 * You may obtain a copy of the License at
                    
7 * http://www.apache.org/licenses/LICENSE-2.0
                    
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
                    
                
Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
                    
1/****************************************************************************
                    
2 Copyright (c) 2012 cocos2d-x.org
                    
3 Copyright (c) 2013-2016 Chukong Technologies Inc.
                    
3 Copyright (c) 2013-2016 Chukong Technologies Inc.
                    
4 Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
                    
5 
                    
7 
                    
8 Permission is hereby granted, free of charge, to any person obtaining a copy
                    
9 of this software and associated documentation files (the "Software"), to deal
                    
10 in the Software without restriction, including without limitation the rights
                    
11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
                    
12 copies of the Software, and to permit persons to whom the Software is
                    
14 
                    
15 The above copyright notice and this permission notice shall be included in
                    
16 all copies or substantial portions of the Software.
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
Font.php https://gitlab.com/rsilveira1987/Expresso | PHP | 640 lines
                    
4 *
                    
5 * Copyright (c) 2006 - 2012 PHPExcel
                    
6 *
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 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 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
627	/**
                    
628	 * Implement PHP __clone to create a deep clone, not just a shallow copy.
                    
629	 */
                    
                
Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
                    
1<?php
                    
2
                    
7|                                                                           |
                    
8| Copyright (c) 2003-2009 OpenX Limited                                     |
                    
9| For contact details, see: http://www.openx.org/                           |
                    
20|                                                                           |
                    
21| You should have received a copy of the GNU General Public License         |
                    
22| along with this program; if not, write to the Free Software               |
                    
35// Required classes
                    
36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
                    
37
                    
                
arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
7 * @author     Kohana Team
                    
8 * @copyright  (c) 2007-2012 Kohana Team
                    
9 * @license    http://kohanaframework.org/license
                    
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	 *
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
5 * @subpackage main
                    
6 * @copyright 2001-2014 Bitrix
                    
7 */
                    
                
VarCloner.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
                    
1<?php
                    
2
                    
7 *
                    
8 * For the full copyright and license information, please view the LICENSE
                    
9 * file that was distributed with this source code.
                    
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    }
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Copyright © 2016 Magento. All rights reserved.
                    
4 * See COPYING.txt for license details.
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
6 +--------------------------------------------------------------------+
                    
7 | Copyright CiviCRM LLC (c) 2004-2011                                |
                    
8 +--------------------------------------------------------------------+
                    
10 |                                                                    |
                    
11 | CiviCRM is free software; you can copy, modify, and distribute it  |
                    
12 | under the terms of the GNU Affero General Public License           |
                    
19 |                                                                    |
                    
20 | You should have received a copy of the GNU Affero General Public   |
                    
21 | License and the CiviCRM Licensing Exception along                  |
                    
31 * @package CRM
                    
32 * @copyright CiviCRM LLC (c) 2004-2011
                    
33 * $Id$
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
                
Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
                    
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 $
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
31 * @subpackage Autoloader
                    
32 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
119            if (!$this->hasResourceType($type)) {
                    
120                require_once 'Zend/Loader/Exception.php';
                    
121                throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource");
                    
123            if (empty($args)) {
                    
124                require_once 'Zend/Loader/Exception.php';
                    
125                throw new Zend_Loader_Exception("Cannot load resources; no resource specified");
                    
                
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
                    
35 * @package    Zend_CodeGenerator
                    
36 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
37 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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.');
                    
                
Inflector.php https://github.com/grandison/budo16.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
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
                    
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 */
                    
37 * @package    Zend_Filter
                    
38 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
39 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
44<p>This plugin is based on software developed by the Apache Commons Codec project at <a href="http://jakarta.apache.org/commons/codec/">http://jakarta.apache.org/commons/codec/</a>.
                    
45A copy of this library is distributed within this plugin and
                    
46therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained
                    
84      "Licensor" shall mean the copyright owner or entity authorized by
                    
85      the copyright owner that is granting the License.
                    
86</p>
                    
114      Object form, made available under the License, as indicated by a
                    
115      copyright notice that is included in or attached to the work
                    
116      (an example is provided in the Appendix below).
                    
147</p>
                    
148<p><b><a name="copyright">2. Grant of Copyright License</a></b>.
                    
149Subject to the terms and conditions of
                    
212</ol>
                    
213      You may add Your own copyright statement to Your modifications and
                    
214      may provide additional or different license terms and conditions
                    
                
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
                    
8	compliance with the license. Any of the license terms and conditions
                    
9	can be waived if you get permission from the copyright holder.
                    
10
                    
10
                    
11	Copyright (c) 2009-2011 F3::Factory
                    
12	Bong Cosca <bong.cosca@yahoo.com>
                    
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
                    
57
                    
58// remove this next part when we stop supporting that crap-ass PHP 4.2
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
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
                    
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 $
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
31 * @subpackage Autoloader
                    
32 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
119            if (!$this->hasResourceType($type)) {
                    
120                require_once 'Zend/Loader/Exception.php';
                    
121                throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource");
                    
123            if (empty($args)) {
                    
124                require_once 'Zend/Loader/Exception.php';
                    
125                throw new Zend_Loader_Exception("Cannot load resources; no resource specified");
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
4#
                    
5# Copyright (c) 2005 Imaginary Landscape LLC and Contributors.
                    
6#
                    
7# Permission is hereby granted, free of charge, to any person obtaining
                    
8# a copy of this software and associated documentation files (the
                    
9# "Software"), to deal in the Software without restriction, including
                    
9# "Software"), to deal in the Software without restriction, including
                    
10# without limitation the rights to use, copy, modify, merge, publish,
                    
11# distribute, sublicense, and/or sell copies of the Software, and to
                    
14#
                    
15# The above copyright notice and this permission notice shall be
                    
16# included in all copies or substantial portions of the Software.
                    
                
MaildirFolderTest.php https://github.com/obias/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage UnitTests
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
32 * @subpackage UnitTests
                    
33 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
1<?php
                    
2
                    
8 *
                    
9 * For the full copyright and license information, please view the LICENSE
                    
10 * file that was distributed with this source code.
                    
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
                    
                
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)
                    
14 * Licensed under The MIT License
                    
15 * Redistributions of files must retain the above copyright notice.
                    
16 *
                    
16 *
                    
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
                    
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
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
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)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
56 * @subpackage CookieJar
                    
57 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
58 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
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
                    
7* @subpackage classes
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
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		}
                    
317	/**
                    
318	 * Function from an old Mambo phpgacl integration function
                    
319	 * @deprecated (but necessary, sigh!)
                    
                
UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
                    
1<?php
                    
2
                    
7|                                                                           |
                    
8| Copyright (c) 2003-2009 OpenX Limited                                     |
                    
9| For contact details, see: http://www.openx.org/                           |
                    
20|                                                                           |
                    
21| You should have received a copy of the GNU General Public License         |
                    
22| along with this program; if not, write to the Free Software               |
                    
24+---------------------------------------------------------------------------+
                    
25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $
                    
26*/
                    
34
                    
35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php';
                    
36
                    
60        /*$this->nobackupsFile    = MAX_PATH.$pluginPath.'NOBACKUPS';
                    
61        $this->postTaskFile     = MAX_PATH.$pluginPath.'TASKS.php';*/
                    
62
                    
                
TestData.php https://github.com/orchestra-io/sample-openx.git | PHP | 301 lines
                    
1<?php
                    
2/*
                    
6|                                                                           |
                    
7| Copyright (c) 2003-2009 OpenX Limited                                     |
                    
8| For contact details, see: http://www.openx.org/                           |
                    
19|                                                                           |
                    
20| You should have received a copy of the GNU General Public License         |
                    
21| along with this program; if not, write to the Free Software               |
                    
244        $doBanners->htmltemplate    = "<script type='text/javascript'><!--//<![CDATA[
                    
245   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
246   var m3_r = Math.floor(Math.random()*99999999999);
                    
257   document.write (\"'><\\/scr\"+\"ipt>\");
                    
258//]]>--></script><noscript><a href='http://ads.openx.org/delivery/ck.php?n=abc986b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.openx.org/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=abc986b1' border='0' alt='' /></a></noscript>";
                    
259
                    
260        $doBanners->htmlcache    = "<script type='text/javascript'><!--//<![CDATA[
                    
261   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
262   var m3_r = Math.floor(Math.random()*99999999999);
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
                    
7 * @license     GNU General Public License version 2 or later; see LICENSE.txt
                    
154		 *
                    
155		 * Keep a copy of the raw email address so it can
                    
156		 * still be accessed in the layout if needed.
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
16 * @package   Zend_TimeSync
                    
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
34 * @package   Zend_TimeSync
                    
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/inel-imx6-kernel | C | 487 lines
                    
3 *
                    
4 * Copyright (C) 2004 Vernon Mauery <vernux@us.ibm.com>
                    
5 * Copyright (C) 2004 IBM Corp.
                    
19 *
                    
20 * You should have received a copy of the GNU General Public License
                    
21 * along with this program; if not, write to the Free Software
                    
27
                    
28#define pr_fmt(fmt) "acpiphp_ibm: " fmt
                    
29
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
104		u32 lvl, void *context, void **rv);
                    
105static int __init ibm_acpiphp_init(void);
                    
106static void __exit ibm_acpiphp_exit(void);
                    
                
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
                    
35 * @package    Zend_CodeGenerator
                    
36 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
37 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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.');
                    
                
WizardController.php https://bitbucket.org/chung/buyforher.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magentocommerce.com so we can send you a copy immediately.
                    
14 *
                    
22 * @package     Mage_Install
                    
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)
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
6 *
                    
7 * Copyright 1993-1998 Lucent Technologies, Inc.
                    
8 *
                    
149	}
                    
150	XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin),
                    
151	    chPtr->gc, chPtr->segArr, 2);
                    
234    if (!graphPtr->crosshairs->hidden) {
                    
235	TurnOnHairs(graphPtr, graphPtr->crosshairs);
                    
236    }
                    
243    if (!graphPtr->crosshairs->hidden) {
                    
244	TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs);
                    
245    }
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
EditView.php https://github.com/lukio/sugarcrm_dev.git | PHP | 349 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
4 * SugarCRM Community Edition is a customer relationship management program developed by
                    
5 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
                    
6 * 
                    
10 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
                    
11 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
                    
12 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
                    
18 * 
                    
19 * You should have received a copy of the GNU Affero General Public License along with
                    
20 * this program; if not, see http://www.gnu.org/licenses or write to the Free
                    
40 * Description: TODO:  To be written.
                    
41 * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
                    
42 * All Rights Reserved.
                    
45
                    
46require_once('modules/Campaigns/utils.php');
                    
47
                    
                
sbhnddma.h https://github.com/Entropy512/linux_kernel_sgh-i997r.git | C Header | 343 lines
                    
4 *
                    
5 * Copyright (C) 1999-2011, Broadcom Corporation
                    
6 * 
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
12 * 
                    
13 *      As a special exception, the copyright holders of this software give you
                    
14 * permission to link this software with independent modules, and to copy and
                    
                
linear_solver.h https://gitlab.com/khumba/cglab | C Header | 478 lines
                    
1// Copyright (c) 2005-2008  Inria Loria (France).
                    
2/*
                    
15 *
                    
16 * You should have received a copy of the GNU Lesser General Public
                    
17 * License along with this library; if not, write to the Free Software
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
87public:
                    
88    // Default contructor, copy constructor, operator=() and destructor are fine
                    
89
                    
148public:
                    
149    // Default contructor, copy constructor, operator=() and destructor are fine
                    
150
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
2
                    
3// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
                    
4//
                    
4//
                    
5// All Rights Reserved. See copyright.txt for details and a complete list of authors.
                    
6// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
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 $
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
31 * @subpackage Autoloader
                    
32 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
119            if (!$this->hasResourceType($type)) {
                    
120                require_once 'Zend/Loader/Exception.php';
                    
121                throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource");
                    
123            if (empty($args)) {
                    
124                require_once 'Zend/Loader/Exception.php';
                    
125                throw new Zend_Loader_Exception("Cannot load resources; no resource specified");
                    
                
Editor.php https://github.com/adaykin/zf2.git | PHP | 601 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Form_Element
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
36 * @subpackage Form_Element
                    
37 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
23$_lang['perm.content_types_desc'] = 'Die Inhaltstypen-Seite anzeigen und benutzen.';
                    
24$_lang['perm.copy_desc'] = 'Ein Objekt kopieren.';
                    
25$_lang['perm.countries_desc'] = 'Eine Liste von Ländern anzeigen.';
                    
                
Pager.php https://bitbucket.org/areeves42/openfisma.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
4 *
                    
5 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
                    
6 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
                    
7 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
                    
8 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
                    
9 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
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
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
1<?php
                    
2/**
                    
25$debug_page = false;
                    
26include_once('debug/header.php');
                    
27
                    
84        <tr>
                    
85          <td valign="top"><a href="../../index.php"><img name="company" src="/Common/images/company.gif" width="300" height="50" border="0" alt="<?= $language['label']['title1']; ?> Home"></a></td>
                    
86          <td align="right" valign="top">
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
336 */
                    
337include_once('debug/footer.php');
                    
338/**
                    
                
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// +----------------------------------------------------------------------+
                    
5// +----------------------------------------------------------------------+
                    
6// | Copyright (c) 2004-2007, Clay Loveless                               |
                    
7// | All rights reserved.                                                 |
                    
9// | This LICENSE is in the BSD license style.                            |
                    
10// | http://www.opensource.org/licenses/bsd-license.php                   |
                    
11// |                                                                      |
                    
15// |                                                                      |
                    
16// |  * Redistributions of source code must retain the above copyright    |
                    
17// |    notice, this list of conditions and the following disclaimer.     |
                    
19// |  * Redistributions in binary form must reproduce the above           |
                    
20// |    copyright notice, this list of conditions and the following       |
                    
21// |    disclaimer in the documentation and/or other materials provided   |
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
1<?php
                    
2
                    
6 +--------------------------------------------------------------------+
                    
7 | Copyright CiviCRM LLC (c) 2004-2009                                |
                    
8 +--------------------------------------------------------------------+
                    
10 |                                                                    |
                    
11 | CiviCRM is free software; you can copy, modify, and distribute it  |
                    
12 | under the terms of the GNU Affero General Public License           |
                    
19 |                                                                    |
                    
20 | You should have received a copy of the GNU Affero General Public   |
                    
21 | License along with this program; if not, contact CiviCRM LLC       |
                    
30 * @package CRM
                    
31 * @copyright CiviCRM LLC (c) 2004-2009
                    
32 * $Id$
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
6 +--------------------------------------------------------------------+
                    
7 | Copyright CiviCRM LLC (c) 2004-2009                                |
                    
8 +--------------------------------------------------------------------+
                    
10 |                                                                    |
                    
11 | CiviCRM is free software; you can copy, modify, and distribute it  |
                    
12 | under the terms of the GNU Affero General Public License           |
                    
19 |                                                                    |
                    
20 | You should have received a copy of the GNU Affero General Public   |
                    
21 | License along with this program; if not, contact CiviCRM LLC       |
                    
30 * @package CRM
                    
31 * @copyright CiviCRM LLC (c) 2004-2009
                    
32 * $Id$
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @copyright Michael Ueberschaer (MU)
                    
6 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
                    
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/**
                    
7 * @author     Kohana Team
                    
8 * @copyright  (c) 2007-2010 Kohana Team
                    
9 * @license    http://kohanaframework.org/license
                    
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 *
                    
6 *
                    
7 * LICENSE: See the COPYING file included in this distribution.
                    
8 *
                    
10 * @author JanRain, Inc. <openid@janrain.com>
                    
11 * @copyright 2005-2008 Janrain, Inc.
                    
12 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache
                    
14
                    
15require_once OPENID_DIRECTORY.'Auth/OpenID/Discover.php';
                    
16
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
32 * @author     Kohana Team
                    
33 * @copyright  (c) 2008-2011 Kohana Team
                    
34 * @license    http://kohanaframework.org/license
                    
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/*
                    
4 *
                    
5 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
                    
6 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
                    
7 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
                    
8 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
                    
9 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
                
rpcconsole.cpp https://gitlab.com/Quetzalcoatl/VekitaCoin | C++ | 433 lines
                    
1// Copyright (c) 2011-2013 The Bitcoin developers
                    
2// Distributed under the MIT/X11 software license, see the accompanying
                    
2// Distributed under the MIT/X11 software license, see the accompanying
                    
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
                    
4
                    
                
Location.js https://github.com/mengu/grooxdoo.git | JavaScript | 406 lines
                    
6
                    
7   Copyright:
                    
8     2004-2009 1&1 Internet AG, Germany, http://www.1und1.de
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
                
File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
transformation.php https://github.com/Yannix/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
7 * distributed with this work for additional information
                    
8 * regarding copyright ownership.  The ASF licenses this file
                    
9 * to you under the Apache License, Version 2.0 (the
                    
10 * "License"); you may not use this file except in compliance
                    
11 * with the License.  You may obtain a copy of the License at
                    
12 * 
                    
226        $fileTmp = tempnam( dirname( $fileOut ) . DIRECTORY_SEPARATOR, '.'. basename( $fileOut ) );
                    
227        copy( $fileIn, $fileTmp );
                    
228
                    
236            {
                    
237                copy( $fileTmp, $fileOut );
                    
238                unlink( $fileTmp );
                    
                
ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
                    
1<?php
                    
2
                    
11 *
                    
12 * For the full copyright and license information, please read the
                    
13 * LICENSE.txt file that was distributed with this source code.
                    
20use Prophecy\Argument;
                    
21use Prophecy\PhpUnit\ProphecyTrait;
                    
22use Prophecy\Prophecy\ObjectProphecy;
                    
                
Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
                    
17 * @subpackage Value
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
51/** Zend_XmlRpc_Value_Collection */
                    
52require_once 'Zend/XmlRpc/Value/Collection.php';
                    
53
                    
71 * @package    Zend_XmlRpc
                    
72 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
73 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
242     */
                    
243    private static function _phpVarToNativeXmlRpc($value)
                    
244    {
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
17 * @subpackage Value
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
51/** Zend_XmlRpc_Value_Collection */
                    
52require_once 'Zend/XmlRpc/Value/Collection.php';
                    
53
                    
71 * @package    Zend_XmlRpc
                    
72 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
73 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
242     */
                    
243    private static function _phpVarToNativeXmlRpc($value)
                    
244    {
                    
                
mkdist.php https://gitlab.com/0072016/appengine-php | PHP | 548 lines
                    
210/* the core dll */
                    
211copy("$build_dir/php.exe", "$dist_dir/php.exe");
                    
212copy("$build_dir/$phpdll", "$dist_dir/$phpdll");
                    
219	$phppdb = str_replace(".dll", ".pdb", $phpdll);
                    
220	copy("$build_dir/$phppdb", "$dist_dir/dev/$phppdb");
                    
221}
                    
461}
                    
462copy('run-tests.php', $test_dir . '/run-test.php');
                    
463
                    
474	echo "Downloading go-pear\n";
                    
475	copy("http://pear.php.net/go-pear", "$dist_dir/PEAR/go-pear.php");
                    
476
                    
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   +----------------------------------------------------------------------+
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com)     |
                    
6   +----------------------------------------------------------------------+
                    
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        |
                    
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          |
                    
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   +----------------------------------------------------------------------+
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
9
                    
10# copyleft: jensdiemer.de (GPL v2 or above)
                    
11
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
                
BaseFcvalinmold.php https://github.com/cidesa/roraima-comunal.git | PHP | 714 lines
                    
662	
                    
663	public function copyInto($copyObj, $deepCopy = false)
                    
664	{
                    
677
                    
678		$copyObj->setAlitip($this->alitip);
                    
679
                    
681
                    
682		$copyObj->setAlitipt($this->alitipt);
                    
683
                    
696	
                    
697	public function copy($deepCopy = false)
                    
698	{
                    
700		$copyObj = new $clazz();
                    
701		$this->copyInto($copyObj, $deepCopy);
                    
702		return $copyObj;
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
13	global $wpdb;
                    
14	$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&amp;subpage=upgrade-purchase-logs';
                    
15	?>
                    
38			<li>
                    
39				<a href='?page=wpsc-debug&amp;wpsc_debug_action=test_copying_themes'>Copy Themes to New Theme Directory</a>
                    
40			</li>
                    
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>
                    
79			</ul>
                    
80			<?php
                    
81		}
                    
                
index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
                    
1<?php
                    
2/* Copyright (C) 2001-2006	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
                    
2/* Copyright (C) 2001-2006	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
                    
3 * Copyright (C) 2004-2012	Laurent Destailleur	<eldy@users.sourceforge.net>
                    
4 * Copyright (C) 2005-2012	Regis Houssin		<regis.houssin@inodbox.com>
                    
4 * Copyright (C) 2005-2012	Regis Houssin		<regis.houssin@inodbox.com>
                    
5 * Copyright (C) 2012		Vinicius Nogueira	<viniciusvgn@gmail.com>
                    
6 * Copyright (C) 2019           Nicolas ZABOURI         <info@inovea-conseil.com>
                    
17 *
                    
18 * You should have received a copy of the GNU General Public License
                    
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
                    
22/**
                    
23 *	 \file	   htdocs/fourn/commande/index.php
                    
24 *	 \ingroup	commande fournisseur
                    
27
                    
28require '../../main.inc.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
20 * @package   media_videojs
                    
21 * @copyright 2016 Marina Glancy
                    
22 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
30 * @package   media_videojs
                    
31 * @copyright 2016 Marina Glancy
                    
32 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
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) {
                    
                
AclVoterTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 432 lines
                    
1<?php
                    
2
                    
7 *
                    
8 * For the full copyright and license information, please view the LICENSE
                    
9 * file that was distributed with this source code.
                    
22
                    
23class AclVoterTest extends \PHPUnit_Framework_TestCase
                    
24{
                    
                
grade_object.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 441 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
21 * @category  grade
                    
22 * @copyright 2006 Nicolas Connault
                    
23 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
32 * @category  grade
                    
33 * @copyright 2006 Nicolas Connault
                    
34 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
75            </div>
                    
76            <p class="kopa-desc"><?php _e('Iphone Retina (114px - 114px)', kopa_get_domain()); ?></p>    
                    
77            <div class="clearfix">
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
158                foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?>
                    
159                    <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option>
                    
160                <?php } // endforeach ?>
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
212            <p class="kopa-desc"><?php _e('Enter the content you want to display in your left footer (e.g. copyright text).', kopa_get_domain()); ?></p>    
                    
213            <textarea class="" rows="6" id="kopa_setting_copyrights" name="kopa_theme_options_copyright"><?php echo htmlspecialchars_decode(stripslashes(get_option('kopa_theme_options_copyright', __( 'Copyright &copy; 2013 . All Rights Reserved. Designed by kopatheme.com.', kopa_get_domain() )))); ?></textarea>
                    
214        </div><!--kopa-element-box-->
                    
                
HelperForm.php https://gitlab.com/staging06/myproject | PHP | 337 lines
                    
1<?php
                    
2/*
                    
9* It is also available through the world-wide-web at this URL:
                    
10* http://opensource.org/licenses/osl-3.0.php
                    
11* If you did not receive a copy of the license and are unable to
                    
12* obtain it through the world-wide-web, please send an email
                    
13* to license@prestashop.com so we can send you a copy immediately.
                    
14*
                    
21*  @author PrestaShop SA <contact@prestashop.com>
                    
22*  @copyright  2007-2015 PrestaShop SA
                    
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
253            'required_fields' => $this->getFieldsRequired(),
                    
254            'vat_number' => Module::isInstalled('vatnumber') && file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'),
                    
255            'module_dir' => _MODULE_DIR_,
                    
                
Form.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 475 lines
                    
1<?php
                    
2
                    
7 *
                    
8 * For the full copyright and license information, please view the LICENSE
                    
9 * file that was distributed with this source code.
                    
132    /**
                    
133     * Gets the field values as PHP.
                    
134     *
                    
135     * This method converts fields with the array notation
                    
136     * (like foo[bar] to arrays) like PHP does.
                    
137     *
                    
139     */
                    
140    public function getPhpValues()
                    
141    {
                    
155    /**
                    
156     * Gets the file field values as PHP.
                    
157     *
                    
                
function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com)     |
                    
6   +----------------------------------------------------------------------+
                    
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        |
                    
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          |
                    
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   +----------------------------------------------------------------------+
                    
25#include "hphp/compiler/analysis/block_scope.h"
                    
26#include "hphp/compiler/option.h"
                    
27#include "hphp/compiler/json.h"
                    
                
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/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
21 * @category   test
                    
22 * @copyright  2012 David Monllaó
                    
23 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
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
                    
39 * @category   test
                    
40 * @copyright  2012 David Monllaó
                    
41 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
                
instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
21 * @subpackage enrol
                    
22 * @copyright  2010 Petr Skoda {@link http://skodak.org}
                    
23 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
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);
                    
                
product-list.tpl https://gitlab.com/ptisky/API_prestashop | Smarty Template | 222 lines
                    
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
                    
11* obtain it through the world-wide-web, please send an email
                    
12* to license@prestashop.com so we can send you a copy immediately.
                    
13*
                    
20*  @author PrestaShop SA <contact@prestashop.com>
                    
21*  @copyright  2007-2015 PrestaShop SA
                    
22*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
                
PSWebServiceLibrary.php https://gitlab.com/ptisky/API_prestashop | PHP | 410 lines
                    
1<?php

                    
2/*

                    
9* It is also available through the world-wide-web at this URL:

                    
10* http://opensource.org/licenses/osl-3.0.php

                    
11* If you did not receive a copy of the license and are unable to

                    
12* obtain it through the world-wide-web, please send an email

                    
13* to license@prestashop.com so we can send you a copy immediately.

                    
14*

                    
21*  @author PrestaShop SA <contact@prestashop.com>

                    
22*  @copyright  2007-2013 PrestaShop SA

                    
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)

                    
53	 * <code>

                    
54	 * <?php

                    
55	 * require_once('./PrestaShopWebservice.php');

                    
72		if (!extension_loaded('curl'))

                    
73		  throw new PrestaShopWebserviceException('Please activate the PHP extension \'curl\' to allow use of PrestaShop webservice library');

                    
74		$this->url = $url;

                    
                
restore_quiz_stepslib.php https://bitbucket.org/kudutest/moodlegit.git | PHP | 359 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
19 * @subpackage backup-moodle2
                    
20 * @copyright  2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
                    
21 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
30 *
                    
31 * @copyright  2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
                    
32 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
122        if (isset($data->review)) {
                    
123            require_once($CFG->dirroot . '/mod/quiz/locallib.php');
                    
124
                    
                
shell.test.php https://github.com/cpfarher/pruebascake.git | PHP | 501 lines
                    
6 *
                    
7 * PHP versions 4 and 5
                    
8 *
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2005-2011, Cake Software Foundation, Inc.
                    
14 *
                    
15 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
395		$path = APP . 'index.php';
                    
396		$expected = DS . basename(APP) . DS . 'index.php';
                    
397		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
                
print.cpp https://github.com/tstarling/hiphop-php.git | C++ | 516 lines
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com)     |
                    
6   +----------------------------------------------------------------------+
                    
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        |
                    
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          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
21#include "hphp/util/abi-cxx.h"
                    
22#include "hphp/vixl/a64/disasm-a64.h"
                    
23#include "hphp/runtime/base/smart-containers.h"
                    
                
store.php https://github.com/dogma/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
20 * @package    logstore_legacy
                    
21 * @copyright  2013 Petr Skoda {@link http://skodak.org}
                    
22 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
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) {
                    
                
NpgsqlSchema.cs https://github.com/iainlane/mono.git | C# | 286 lines
                    
5//
                    
6//  Copyright (C) 2002-2005 The Npgsql Development Team
                    
7//  npgsql-general@gborg.postgresql.org
                    
7//  npgsql-general@gborg.postgresql.org
                    
8//  http://gborg.postgresql.org/project/npgsql/projdisplay.php
                    
9//
                    
19//
                    
20// You should have received a copy of the GNU Lesser General Public
                    
21// License along with this library; if not, write to the Free Software
                    
                
bcm_umi_nand.c https://bitbucket.org/zozo123/boeffla-kernel-jb-u6-s3.git | C | 579 lines
                    
1/*****************************************************************************
                    
2* Copyright 2004 - 2009 Broadcom Corporation.  All rights reserved.
                    
3*
                    
6* under the terms of the GNU General Public License version 2, available at
                    
7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
                    
8*
                    
                
jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
                    
7 *
                    
8 * Copyright (c) 2012 Igor Escobar http://blog.igorescobar.com
                    
9 *
                    
9 *
                    
10 * The MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
11 *
                    
12 * Permission is hereby granted, free of charge, to any person
                    
13 * obtaining a copy of this software and associated documentation
                    
14 * files (the "Software"), to deal in the Software without
                    
15 * restriction, including without limitation the rights to use,
                    
16 * copy, modify, merge, publish, distribute, sublicense, and/or sell
                    
17 * copies of the Software, and to permit persons to whom the
                    
20 *
                    
21 * The above copyright notice and this permission notice shall be
                    
22 * included in all copies or substantial portions of the Software.
                    
                
ApiQueryDeletedrevs.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 408 lines
                    
1<?php
                    
2/**
                    
6 *
                    
7 * Copyright © 2007 Roan Kattouw <Firstname>.<Lastname>@gmail.com
                    
8 *
                    
18 *
                    
19 * You should have received a copy of the GNU General Public License along
                    
20 * with this program; if not, write to the Free Software Foundation, Inc.,
                    
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                    
22 * http://www.gnu.org/copyleft/gpl.html
                    
23 *
                    
28	// Eclipse helper - will be ignored in production
                    
29	require_once( 'ApiQueryBase.php' );
                    
30}
                    
390			'List the last deleted revisions of Main Page and Talk:Main Page, with content (mode 1):',
                    
391			'  api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&drprop=user|comment|content',
                    
392			'List the last 50 deleted contributions by Bob (mode 2):',
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
9
                    
10/*  Copyright 2012 Marcus Kober (m.kober@koeln-dialog.de)
                    
11
                    
20
                    
21	You should have received a copy of the GNU General Public License
                    
22	along with this program; if not, write to the Free Software
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
Test.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
                    
8 * that is available through the world-wide-web at the following URI:
                    
9 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
                    
10 * the PHP License and are unable to obtain it through the web, please
                    
17 * @author     Greg Beaver <cellog@php.net>
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
38 * @copyright  1997-2006 The PHP Group
                    
39 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
40 * @version    Release: 1.4.9
                    
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            ),
                    
                
sfValidatorBaseTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
                    
1<?php
                    
2
                    
6 *
                    
7 * For the full copyright and license information, please view the LICENSE
                    
8 * file that was distributed with this source code.
                    
10
                    
11require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
                    
12
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Copyright 1999-2001, VA Linux Systems, Inc.
                    
6 * Copyright 2001-2002, Roland Mas
                    
6 * Copyright 2001-2002, Roland Mas
                    
7 * Copyright 2004-2005, GForge, LLC
                    
8 *
                    
20 *
                    
21 * You should have received a copy of the GNU General Public License
                    
22 * along with FusionForge; if not, write to the Free Software
                    
26
                    
27require_once $gfcommon.'include/account.php';
                    
28require_once $gfcommon.'include/escapingUtils.php';
                    
490
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
                
Profiler.php https://github.com/grjones/qframe.git | PHP | 471 lines
                    
1<?php
                    
2/**
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Profiler
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
27 * @subpackage Profiler
                    
28 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
29 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
shell.test.php https://github.com/campagsi/bisad.git | PHP | 501 lines
                    
6 *
                    
7 * PHP versions 4 and 5
                    
8 *
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
14 *
                    
15 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
395		$path = APP . 'index.php';
                    
396		$expected = DS . basename(APP) . DS . 'index.php';
                    
397		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
                
Alignment.php https://gitlab.com/ptisky/API_prestashop | PHP | 409 lines
                    
4 *
                    
5 * Copyright (c) 2006 - 2013 PHPExcel
                    
6 *
                    
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{
                    
141	 * <code>
                    
142	 * $objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray(
                    
143	 *		array(
                    
                
imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
20 * @package    enrol_imsenterprise
                    
21 * @category   phpunit
                    
22 * @copyright  2012 David Monllaó
                    
22 * @copyright  2012 David Monllaó
                    
23 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
24 */
                    
28global $CFG;
                    
29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php');
                    
30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php');
                    
35 * @package    enrol_imsenterprise
                    
36 * @category   phpunit
                    
37 * @copyright  2012 David Monllaó
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
12 *
                    
13 * @copyright: Daniel Morris
                    
14 * @email: dan@rootcube.com
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
462	/**
                    
463	 * Method to be called by another php script. Processes for SQL injection
                    
464	 *
                    
                
jquery.tagsinput.js https://gitlab.com/techniconline/kmc | JavaScript | 358 lines
                    
4
                    
5 Copyright (c) 2011 XOXCO, Inc
                    
6
                    
10 Licensed under the MIT license:
                    
11 http://www.opensource.org/licenses/mit-license.php
                    
12
                    
                
jplayer.blue.monday.css https://github.com/kawazrepos/Kommonz.git | CSS | 448 lines
                    
6 *
                    
7 * Copyright (c) 2010 Happyworm Ltd
                    
8 * Dual licensed under the MIT and GPL licenses.
                    
8 * Dual licensed under the MIT and GPL licenses.
                    
9 *  - http://www.opensource.org/licenses/mit-license.php
                    
10 *  - http://www.gnu.org/copyleft/gpl.html
                    
                
runner.js https://github.com/wycats/todomvc.git | JavaScript | 319 lines
                    
1/** MIT License (c) copyright 2010-2013 B Cavalier & J Hann */
                    
2
                    
6 * Licensed under the MIT License at:
                    
7 * 		http://www.opensource.org/licenses/mit-license.php
                    
8 *
                    
153			// enqueue cache snapshot
                    
154			enqueue(function _copyCache () {
                    
155				cacheSnapshot = copyCache(priv['cache']);
                    
291
                    
292	function copyCache (cache) {
                    
293		var copy = {};
                    
294		for (var p in cache) {
                    
295			copy[p] = cache[p];
                    
296		}
                    
296		}
                    
297		return copy;
                    
298	}
                    
                
SimpleHeaderSet.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 387 lines
                    
1<?php
                    
2
                    
6 *
                    
7 * For the full copyright and license information, please view the LICENSE
                    
8 * file that was distributed with this source code.
                    
                
bcmath.c https://gitlab.com/envieidoc/advancedtomato2 | C | 579 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | PHP Version 5                                                        |
                    
4   +----------------------------------------------------------------------+
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 1997-2014 The PHP Group                                |
                    
6   +----------------------------------------------------------------------+
                    
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          |
                    
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   +----------------------------------------------------------------------+
                    
134PHP_INI_BEGIN()
                    
135	STD_PHP_INI_ENTRY("bcmath.scale", "0", PHP_INI_ALL, OnUpdateLongGEZero, bc_precision, zend_bcmath_globals, bcmath_globals)
                    
136PHP_INI_END()
                    
                
UrlTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 427 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Copyright © 2016 Magento. All rights reserved.
                    
4 * See COPYING.txt for license details.
                    
9
                    
10class UrlTest extends \PHPUnit_Framework_TestCase
                    
11{
                    
46    {
                    
47        $this->assertEquals('http://localhost/index.php/', $this->_model->getBaseUrl());
                    
48    }
                    
87         */
                    
88        $this->assertEquals('http://localhost/index.php/', $this->_model->getBaseUrl(), 'Incorrect link url');
                    
89
                    
94        $this->assertEquals('http://localhost/', $webUrl, 'Incorrect web url');
                    
95        $this->assertEquals('http://localhost/index.php/', $this->_model->getBaseUrl(), 'Incorrect link url');
                    
96
                    
                
overview_table.php https://github.com/kpike/moodle.git | PHP | 349 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
13//
                    
14// You should have received a copy of the GNU General Public License
                    
15// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
                    
21 * @subpackage overview
                    
22 * @copyright  2008 Jamie Pratt
                    
23 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
32 *
                    
33 * @copyright  2008 Jamie Pratt
                    
34 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
221        }
                    
222        return html_writer::link(new moodle_url('/mod/quiz/review.php',
                    
223                array('attempt' => $attempt->attempt)), $grade,
                    
229     * @param object $attempt the row of data - see the SQL in display() in
                    
230     * mod/quiz/report/overview/report.php to see what fields are present,
                    
231     * and what they are called.
                    
                
Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP Version 5
                    
6 *
                    
10 * @author     Mike van Riel <mike.vanriel@naenius.com>
                    
11 * @copyright  2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
12 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
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
                    
127            if (!isset($this->class_paths[$sub_element->getElementsByTagName('full_name')->item(0)->nodeValue])) {
                    
128                echo $sub_element->getElementsByTagName('full_name')->item(0)->nodeValue.PHP_EOL;
                    
129            } else {
                    
                
Key.php https://github.com/drobbins/s3db.git | PHP | 316 lines
                    
1<?php
                    
2/**
                    
9 *
                    
10 * LICENSE: This source file is subject to version 3.0 of the PHP license
                    
11 * that is available through the world-wide-web at the following URI:
                    
11 * that is available through the world-wide-web at the following URI:
                    
12 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
                    
13 * the PHP License and are unable to obtain it through the web, please
                    
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 *
                    
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
                    
89 * @copyright  2005, 2006 Alexander Valyalkin
                    
90 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
91 * @link       http://pear.php.net/package/Crypt_RSA
                    
                
ajax.function.php https://github.com/ardowz/Thesis-SideB.git | PHP | 302 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * @version $Id: ajax.function.php 14684 2011-06-11 06:32:40Z remi $
                    
4 -------------------------------------------------------------------------
                    
5 GLPI - Gestionnaire Libre de Parc Informatique
                    
6 Copyright (C) 2003-2011 by the INDEPNET Development Team.
                    
7
                    
24
                    
25 You should have received a copy of the GNU General Public License
                    
26 along with GLPI; if not, write to the Free Software Foundation, Inc.,
                    
                
 

Source

Language