100+ results results for 'php copy repo:propelorm/Propel2' (3835 ms)
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;Font.php https://gitlab.com/adamlwalker/generatedata | 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 */VarCloner.php https://gitlab.com/Sigpot/AirSpot | 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 }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)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 */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';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.');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 conditionsFile.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.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-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 Licenseauth_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.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'); 378view.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 LicenseResource.php https://github.com/ParveenArora/AddressHunter.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");StorageServiceSettings.php https://bitbucket.org/skudatech/azure-sdk-for-php.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 Corporationacpiphp_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);CakeRoute.php https://github.com/rnmd/cakephp.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)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 LicenseFile.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.');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!)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{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'); 47sbhnddma.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 andlinear_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 150TextArea.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");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.';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> <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> </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 |Resource.php https://github.com/ayhanbaris/Zend-Framework-Skeleton.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/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 LicenseThreeZero.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'; 37Editor.php https://github.com/agelang/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 LicenseUploadHandler.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 stringTrustRoot.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'; 16route.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 arrayLayout.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. 4Location.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 Licensetransformation.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 {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 +----------------------------------------------------------------------+Value.php https://github.com/jakedorst/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 {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&subpage=upgrade-purchase-logs'; 15 ?> 38 <li> 39 <a href='?page=wpsc-debug&wpsc_debug_action=test_copying_themes'>Copy Themes to New Theme Directory</a> 40 </li> 49 <li> 50 <a href='?page=wpsc-debug&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{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 © 2013 . All Rights Reserved. Designed by kopatheme.com.', kopa_get_domain() )))); ?></textarea> 214 </div><!--kopa-element-box-->Form.php https://gitlab.com/ealexis.t/trends | 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 *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_,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"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;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) {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.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. 375session.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 toAlignment.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(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 12bcmath.c https://gitlab.com/envieidoc/tomato | 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'); 96text_effects.hs https://gitlab.com/stallmanifold/imagemagick | Haskell | 313 lines
5See this forum thread for the genesis of these effects 6http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=11586 7and Anthony's Text Effects page at: 57 58 -- Make a copy of the text image 59 (_,cloneW) <- cloneMagickWand wibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 8 * 9 * Copyright (c) 2014 - 2016, British Columbia Institute of Technology 10 * 10 * 11 * Permission is hereby granted, free of charge, to any person obtaining a copy 12 * of this software and associated documentation files (the "Software"), to deal 13 * in the Software without restriction, including without limitation the rights 14 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 * copies of the Software, and to permit persons to whom the Software is 30 * @author EllisLab Dev Team 31 * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/) 32 * @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)Currency.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 357 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@magento.com so we can send you a copy immediately. 14 * 22 * @package Mage_Directory 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)DatabaseDriver.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 415 lines
1<?php 2/* 2/* 3 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 5 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 6 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
1<?php 2 19 if(file_exists($new_path)) return false; 20 return copy($old_path,$new_path); 21 } 44 if(image_check_memory_usage($imgfile,$newwidth,$newheight)){ 45 require_once('php_image_magician.php'); 46 $magicianObj = new imageLib($imgfile); 55 if(image_check_memory_usage($imgfile,$newwidth,$newheight)){ 56 require_once('php_image_magician.php'); 57 $magicianObj = new imageLib($imgfile);service.php https://gitlab.com/alexprowars/bitrix | PHP | 416 lines
1<?php 2/** 5 * @subpackage seo 6 * @copyright 2001-2013 Bitrix 7 */ 36 const AUTHORIZE = "/register/"; 37 const REDIRECT_URI = "/bitrix/tools/seo_client.php"; 38CakeValidationSetTest.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 337 lines
1<?php 2/** 4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 8 * Licensed under The MIT License 9 * For full copyright and license information, please see the LICENSE.txt 10 * Redistributions of files must retain the above copyright notice 11 * 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 14 * @package Cake.Test.Case.Model.Validator 15 * @since CakePHP(tm) v 2.2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT LicenseFingersCrossedHandlerTest.php https://gitlab.com/techniconline/kmc | PHP | 255 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.Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
17 * @subpackage Statement 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: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $ 21 */ 38 * @subpackage Statement 39 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 40 * @license http://framework.zend.com/license/new-bsd New BSD License 150 */ 151 #require_once 'Zend/Db/Statement/Exception.php'; 152 throw new Zend_Db_Statement_Exception("Invalid bind-variable position '$val'"); 158 */ 159 #require_once 'Zend/Db/Statement/Exception.php'; 160 throw new Zend_Db_Statement_Exception("Invalid bind-variable name '$val'");SimpleMessage.php https://github.com/popovag/kohana_email.git | PHP | 607 lines
1<?php 2 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 21//@require 'Swift/Mime/Message.php'; 22//@require 'Swift/Mime/MimePart.php'; 22//@require 'Swift/Mime/MimePart.php'; 23//@require 'Swift/Mime/MimeEntity.php'; 24//@require 'Swift/Mime/HeaderSet.php'; 24//@require 'Swift/Mime/HeaderSet.php'; 25//@require 'Swift/Mime/ContentEncoder.php'; 26Exception.php https://github.com/Br3nda/statusnet-debian.git | PHP | 397 lines
9 * that is available through the world-wide-web at the following URI: 10 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 11 * the PHP License and are unable to obtain it through the web, please 11 * the PHP License and are unable to obtain it through the web, please 12 * send a note to license@php.net so we can mail you a copy immediately. 13 * 19 * @author Greg Beaver <cellog@php.net> 20 * @copyright 1997-2008 The PHP Group 21 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @copyright 1997-2008 The PHP Group 97 * @license http://www.php.net/license/3_0.txt PHP License 3.0 98 * @version Release: 1.7.2 154 /** 155 * @param mixed $callback - A valid php callback, see php func is_callable() 156 * - A PEAR_Exception::OBSERVER_* constantcategories.php https://github.com/bantu/customisation-db.git | PHP | 357 lines
183 'CATEGORY_VISIBLE' => $category_object->category_visible, 184 'SECTION_NAME' => ($action == 'add') ? phpbb::$user->lang['CREATE_CATEGORY'] : phpbb::$user->lang['EDIT_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$old_category_name])) ? phpbb::$user->lang[$old_category_name] : $old_category_name), 185 272 'CATEGORY_NAME' => (isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name, 273 'SECTION_NAME' => phpbb::$user->lang['DELETE_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name), 274 'S_HAS_SUBCATS' => ($category_object->right_id - $category_object->left_id > 1) ? true : false, 326 phpbb::$template->assign_vars(array( 327 'ICON_MOVE_UP' => '<img src="' . titania::$images_path . 'icon_up.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />', 328 'ICON_MOVE_UP_DISABLED' => '<img src="' . titania::$images_path . 'icon_up_disabled.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />', 328 'ICON_MOVE_UP_DISABLED' => '<img src="' . titania::$images_path . 'icon_up_disabled.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />', 329 'ICON_MOVE_DOWN' => '<img src="' . titania::$images_path . 'icon_down.gif" alt="' . phpbb::$user->lang['MOVE_DOWN'] . '" title="' . phpbb::$user->lang['MOVE_DOWN'] . '" />', 330 'ICON_MOVE_DOWN_DISABLED' => '<img src="' . titania::$images_path . 'icon_down_disabled.gif" alt="' . phpbb::$user->lang['MOVE_DOWN'] . '" title="' . phpbb::$user->lang['MOVE_DOWN'] . '" />', 332 'ICON_EDIT_DISABLED' => '<img src="' . titania::$images_path . 'icon_edit_disabled.gif" alt="' . phpbb::$user->lang['EDIT'] . '" title="' . phpbb::$user->lang['EDIT'] . '" />', 333 'ICON_DELETE' => '<img src="' . titania::$images_path . 'icon_delete.gif" alt="' . phpbb::$user->lang['DELETE'] . '" title="' . phpbb::$user->lang['DELETE'] . '" />', 334 'ICON_DELETE_DISABLED' => '<img src="' . titania::$images_path . 'icon_delete_disabled.gif" alt="' . phpbb::$user->lang['DELETE'] . '" title="' . phpbb::$user->lang['DELETE'] . '" />',BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
1<?php 2/** 3 * @link http://www.yiiframework.com/ 4 * @copyright Copyright (c) 2008 Yii Software LLC 5 * @license http://www.yiiframework.com/license/ 56 if ($highlight) { 57 $result = highlight_string("<?php\n" . self::$_output, true); 58 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 119 self::$_output .= "$className#$id\n" . $spaces . '('; 120 if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) { 121 $dumpValues = $var->__debugInfo(); 141 * 142 * The string is a valid PHP expression that can be evaluated by PHP parser 143 * and the evaluation result will give back the variable value. 147 * 148 * It also handles objects by using the PHP functions serialize() and unserialize(). 149 *forms.php https://bitbucket.org/ngmares/moodle.git | PHP | 301 lines
1<?php 2 17// // 18// You should have received a copy of the GNU General Public License // 19// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // 26 * @author Jerome Mouneyrac <jerome@mouneyrac.com> 27 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL 28 * @copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com 32 33require_once($CFG->libdir . '/formslib.php'); 34require_once($CFG->dirroot . '/course/publish/lib.php'); 34require_once($CFG->dirroot . '/course/publish/lib.php'); 35require_once($CFG->dirroot . '/' . $CFG->admin . '/registration/lib.php'); 36 100 $params = array(); 101 $serverurl = HUB_HUBDIRECTORYURL . "/local/hubdirectory/webservice/webservices.php"; 102 require_once($CFG->dirroot . "/webservice/xmlrpc/lib.php");Profiler.php https://gitlab.com/luisrepo/ClienteWS | 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-2011 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 23775 2011-03-01 17:25:24Z ralph $ 21 */ 27 * @subpackage Profiler 28 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 29 * @license http://framework.zend.com/license/new-bsd New BSD Licenserecaptchalib.php https://bitbucket.org/Mainboarder/s2firewall.git | PHP | 277 lines
1<?php 2/* 2/* 3 * This is a PHP library that handles calling reCAPTCHA. 4 * - Documentation and latest version 4 * - Documentation and latest version 5 * http://recaptcha.net/plugins/php/ 6 * - Get a reCAPTCHA API Key 10 * 11 * Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net 12 * AUTHORS: 15 * 16 * Permission is hereby granted, free of charge, to any person obtaining a copy 17 * of this software and associated documentation files (the "Software"), to deal 18 * in the Software without restriction, including without limitation the rights 19 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 20 * copies of the Software, and to permit persons to whom the Software isProfiler.php https://github.com/vivid-planet/library.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 Licensetcpdf_filters.php https://github.com/vivid-planet/library.git | PHP | 477 lines
1<?php 2//============================================================+ 2//============================================================+ 3// File name : tcpdf_filters.php 4// Version : 1.0.000 7// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com 8// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) 9// ------------------------------------------------------------------- 9// ------------------------------------------------------------------- 10// Copyright (C) 2011-2013 Nicola Asuni - Tecnick.com LTD 11// 23// 24// You should have received a copy of the License 25// along with TCPDF. If not, see 30// 31// Description : This is a PHP class for decoding common PDF filters (PDF 32000-2008 - 7.4 Filters). 32//Test.php https://github.com/vivid-planet/library.git | PHP | 386 lines
39 * @author Sebastian Bergmann <sb@sebastian-bergmann.de> 40 * @copyright 2002-2009 Sebastian Bergmann <sb@sebastian-bergmann.de> 41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 46 47require_once 'PHPUnit/Util/Filesystem.php'; 48require_once 'PHPUnit/Util/Filter.php'; 49require_once 'PHPUnit/Util/Skeleton.php'; 50require_once 'PHPUnit/Util/Template.php'; 51 51 52PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT'); 53 65 */ 66class PHPUnit_Util_Skeleton_Test extends PHPUnit_Util_Skeleton 67{shell.test.php https://gitlab.com/hakimkal/evricaevents | 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);tlAttachment.class.php https://github.com/viglesiasce/testlink.git | PHP | 342 lines
1<?php 2/** 7 * @author Francisco Mancardi 8 * @copyright 2007-2009, TestLink community 9 * @version CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $ 9 * @version CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $ 10 * @link http://www.teamst.org/index.php 11 * 13/** parenthal class */ 14require_once( 'object.class.php' ); 15exec.inc.php https://github.com/viglesiasce/testlink.git | PHP | 298 lines
1<?php 2/** 10 * @author Martin Havlat 11 * @copyright 2005-2009, TestLink community 12 * @version CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $ 12 * @version CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $ 13 * @link http://www.teamst.org/index.php 14 * 34/** 35 * @uses common.php required basic environment (configuration and core libraries) 36 **/ 36 **/ 37require_once('common.php'); 38Source.php https://github.com/brtriver/sukonv.git | PHP | 280 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 4 * 5 * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD LicenseTag.php https://github.com/michaelmcandrew/vaw.git | PHP | 215 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$ 107 $tagset[$tagsetItem]['entityId'] = $entityId; 108 require_once 'CRM/Core/BAO/EntityTag.php'; 109 $entityTags = CRM_Core_BAO_EntityTag::getChildEntityTags( $parentId, $entityId, $entityTable );ProxyFactory.php https://github.com/weaverryan/mongodb-odm.git | PHP | 283 lines
1<?php 2/* 2/* 3 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 5 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 6 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 29 * 30 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 31 * @since 1.0 199 $methods .= $parameterString . ')'; 200 $methods .= PHP_EOL . ' {' . PHP_EOL; 201 $methods .= ' $this->load();' . PHP_EOL; 202 $methods .= ' return parent::' . $method->getName() . '(' . $argumentString . ');'; 203 $methods .= PHP_EOL . ' }' . PHP_EOL; 204 }AccessToken.php https://gitlab.com/hoanghung.dev/aloads | PHP | 379 lines
1<?php 2/** 2/** 3 * Copyright 2014 Facebook, Inc. 4 * 5 * You are hereby granted a non-exclusive, worldwide, royalty-free license to 6 * use, copy, modify, and distribute this software in source code or binary 7 * form for use in connection with the web services and APIs provided by 11 * of this software is subject to the Facebook Developer Principles and 12 * Policies [http://developers.facebook.com/policy/]. This copyright notice 13 * shall be included in all copies or substantial portions of the software. 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 246 * @TODO fix this malarkey - getResponse() should always return an object 247 * @see https://github.com/facebook/facebook-php-sdk-v4/issues/36 248 */wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
1/** 2* This is a nearly exact copy of the corresponding wordpress file, we needed to copy and modify it for our use of swfupoader as the wordpress handler code is specific to posts 3*/ 43 else { 44 jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()}); 45 } 61 // Tell the server to delete it. TODO: handle exceptions 62 jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{ 63 id : this.id.replace(/[^0-9]/g,''), 150 output_html += " <div id='gallery_image_"+image_id+"' class='previewimage'>\n"; 151 output_html += " <a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&imagename="+image_src+"&imgheight=480&imgwidth=600&product_id=103&width=640&height=342' id='extra_preview_link_"+image_id+"'>\n"; 152 output_html += " <img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n"; 195 postVars = "product_id="+product_id+"&order="+order; 196 jQuery.post( 'index.php?wpsc_admin_action=rearrange_images', postVars, function(returned_data) { 197 eval(returned_data);lagrange_triangle.cpp https://gitlab.com/philipclaude/avro2 | C++ | 411 lines
3// 4// Copyright 2017-2022, Philip Claude Caplan 5// All rights reserved 7// Licensed under The GNU Lesser General Public License, version 2.1 8// See http://www.opensource.org/licenses/lgpl-2.1.php 9//CliTesterActions.php https://gitlab.com/cornernote/yii2-gii | PHP | 489 lines
1<?php //[STAMP] c4e01b07b254dbff83924bac13d25a3b 2namespace _generated; 39 * 40 * ``` php 41 * <?php 59 * 60 * ``` php 61 * <?php 78 * 79 * ``` php 80 * <?php 97 * 98 * ``` php 99 * <?php 99 * <?php 100 * $I->copyDir('vendor','old_vendor'); 101 * ?>RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | 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. 18 19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase 20{