100+ results results for 'php tan repo:tav/confluence' (1556 ms)
1<?php 2 43 /** 44 * The meta-data bag instance. 45 * 71 /** 72 * Create a new session instance. 73 * 669 { 670 if ($this->handler instanceof ExistenceAwareInterface) { 671 $this->handler->setExists($value); 691 { 692 return $this->handler instanceof CookieSessionHandler; 693 } 695 /** 696 * Set the request on the handler instance. 697 *DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
41 */ 42package org.netbeans.modules.php.project.connections.sync.diff; 43 57import javax.swing.JPanel; 58import javax.swing.SwingConstants; 59import javax.swing.SwingUtilities; 61import org.netbeans.api.diff.StreamSource; 62import org.netbeans.modules.php.api.util.StringUtils; 63import org.netbeans.modules.php.project.connections.RemoteClient; 63import org.netbeans.modules.php.project.connections.RemoteClient; 64import org.netbeans.modules.php.project.connections.RemoteException; 65import org.netbeans.modules.php.project.connections.TmpLocalFile; 65import org.netbeans.modules.php.project.connections.TmpLocalFile; 66import org.netbeans.modules.php.project.connections.sync.SyncItem; 67import org.netbeans.modules.php.project.connections.transfer.TransferFile;Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
1<?php 2 426 $this->query = new QueryString($query); 427 } elseif ($query instanceof QueryString) { 428 $this->query = $query;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 21 * @copyright 2015-2016 Cubyn 22 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 23 */ 94 vertical-align: middle; 95 background-color: transparent !important; 96 color: transparent; 103 .sweet-alert[data-has-cancel-button=false] button { 104 box-shadow: none !important; } 105 .sweet-alert .icon {Command.php https://github.com/nicnocquee/PPION-Website.git | PHP | 512 lines
83 * 84 * @param InputInterface $input An InputInterface instance 85 * @param OutputInterface $output An OutputInterface instance 187 /** 188 * Sets an array of argument and option instances. 189 * 189 * 190 * @param array|Definition $definition An array of argument and option instances or a definition instance 191 * 191 * 192 * @return Command The current instance 193 */ 195 { 196 if ($definition instanceof InputDefinition) { 197 $this->definition = $definition;StorageServiceSettings.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 485 lines
1<?php 2 14 * 15 * PHP version 5 16 * 18 * @package WindowsAzure\Common\Internal 19 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 20 * @copyright 2012 Microsoft Corporation 21 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 22 * @link https://github.com/windowsazure/azure-sdk-for-php 23 */ 35 * @package WindowsAzure\Common\Internal 36 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 37 * @copyright 2012 Microsoft Corporation 39 * @version Release: @package_version@ 40 * @link https://github.com/windowsazure/azure-sdk-for-php 41 */Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
15 The above copyright notice and this permission notice shall be included in 16 all copies or substantial portions of the Software. 17 62 63 FileUtils::getInstance()->addSearchPath("Particle3D/materials"); 64 FileUtils::getInstance()->addSearchPath("Particle3D/scripts"); 64 FileUtils::getInstance()->addSearchPath("Particle3D/scripts"); 65 FileUtils::getInstance()->addSearchPath("Sprite3DTest"); 66 //FileUtils::getInstance()->addSearchPath("Particle3D/textures"); 67 68 Size size = Director::getInstance()->getWinSize(); 69 _camera = Camera::createPerspective(30.0f, size.width / size.height, 1.0f, 1000.0f); 78 listener->onTouchesEnded = CC_CALLBACK_2(Particle3DTestDemo::onTouchesEnded, this); 79 _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this); 80rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 425 lines
1<?php 2 5* 6* sorry wp-guys I didn't understand this at all. 7* I tried it a couple of hours : this is the only pooooor result 211 //TODO: I could parse for the Picture name , gallery etc, but this increase the queries 212 //TODO: Class nggdb need to cache the query for the nggfunctions.php 213 265 // XML request 266 $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]' 267 ); 273 /** 274 * Mainly a copy of the same function in wp-includes\rewrite.php 275 * Adding the NGG tags to each post & page. Never found easier and proper way to handle this with other functions. 291 292 $this->index = $wp_rewrite->index; //probably 'index.php' 293TrustedMath.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 274 lines
1<?php 2/** 44$messages['bs'] = array( 45 'trustedmath-desc' => 'Omogućava umetanje LaTeX jednačina na stranicu, slično kao ugrađeni matematički uređivač, ali bez zavisnosti od Ocaml', 46 'trustedmath-permission-error' => 'Neprovjereni matematski izrazi su onemogućeni na ovoj wiki', 96 97/** Franco-Provençal (Arpetan) 98 * @author ChrisPtDe 152$messages['id'] = array( 153 'trustedmath-desc' => 'Memungkinkan penyertaan persamaan LaTeX pada halaman, mirip dengan penggambar matematika bawaan, tetapi tanpa memerlukan Ocaml', 154 'trustedmath-permission-error' => 'Matematika tidak tepercaya dinonaktifkan pada wiki ini',twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
195 196 $instance['widget-id'] = sanitize_text_field( $new_instance['widget-id'] ); 197 433 type="text" 434 value="<?php echo esc_attr( $instance['link-color'] ); ?>" 435 /> 446 type="text" 447 value="<?php echo esc_attr( $instance['border-color'] ); ?>" 448 /> 459 > 460 <option value="light"<?php selected( $instance['theme'], 'light' ); ?>> 461 <?php esc_html_e( 'Light', 'jetpack' ); ?> 462 </option> 463 <option value="dark"<?php selected( $instance['theme'], 'dark' ); ?>> 464 <?php esc_html_e( 'Dark', 'jetpack' ); ?>ImageMagick.php https://gitlab.com/yousafsyed/easternglamor | PHP | 480 lines
1<?php 2/** 33 /** 34 * Set/get background color. Check Imagick::COLOR_* constants 35 * 237 * @throws \Exception 238 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 239 * @SuppressWarnings(PHPMD.NPathComplexity) 332 if (!class_exists('\Imagick', false)) { 333 throw new \Exception("Required PHP extension 'Imagick' was not loaded."); 334 } 349 /** 350 * Standard destructor. Destroy stored information about image 351 */ 363 { 364 if (null !== $this->_imageHandler && $this->_imageHandler instanceof \Imagick) { 365 $this->_imageHandler->clear();VarCloner.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
1<?php 2 79 if ($zval['zval_isref'] = $vals[$k] === $cookie) { 80 $zval['zval_hash'] = $v instanceof Stub ? spl_object_hash($v) : null; 81 } 88 $vals[$k] = $useExt ? ($v = $hardRefs[$zval['zval_hash']]) : ($refs[$k] = $v); 89 if ($v->value instanceof Stub && (Stub::TYPE_OBJECT === $v->value->type || Stub::TYPE_RESOURCE === $v->value->type)) { 90 ++$v->value->refCount; 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;Font.php https://bitbucket.org/nfredricks/wp-employee-time.git | PHP | 640 lines
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 */ 35 */ 36class PHPExcel_Style_Font implements PHPExcel_IComparable 37{ 153 $this->_strikethrough = NULL; 154 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); 155 } else { 155 } else { 156 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 157 }bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
32extern Tk_CustomOption bltPointOption; 33extern Tk_CustomOption bltDistanceOption; 34extern Tk_CustomOption bltDashesOption; 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,arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 49 * Arr::is_array('not an array!'); 50 * Arr::is_array(Database::instance()); 51 * 64 // Possibly a Traversable object, functionally the same as an array 65 return (is_object($value) AND $value instanceof Traversable); 66 } 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 *InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
127 ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true], 128 'Instance Id' 129 )->addColumn( 215 [], 216 'For instance entities' 217 )->addColumn( 229 )->addIndex( 230 $installer->getIdxName('widget_instance_page', 'instance_id'), 231 'instance_id' 232 )->addForeignKey( 233 $installer->getFkName('widget_instance_page', 'instance_id', 'widget_instance', 'instance_id'), 234 'instance_id', 271 )->addForeignKey( 272 $installer->getFkName('widget_instance_page_layout', 'page_id', 'widget_instance_page', 'page_id'), 273 'page_id',ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
1<?php 2 37require_once 'CRM/Core/Form.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 39require_once 'CRM/Contribute/PseudoConstant.php'; 115 // set up tabs 116 require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php'; 117 CRM_Contribute_Form_ContributionPage_TabHeader::build( $this ); 224 //set defaults for pledgeBlock values. 225 require_once 'CRM/Pledge/BAO/PledgeBlock.php'; 226 $pledgeBlockParams = array( 'entity_id' => $this->_id, 237 } 238 require_once 'CRM/Core/BAO/CustomOption.php'; 239 if ( CRM_Utils_Array::value( 'pledge_frequency_unit', $pledgeBlockDefaults ) ) { 245 // fix the display of the monetary value, CRM-4038 246 require_once 'CRM/Utils/Money.php'; 247 if (isset($defaults['goal_amount'])) {permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
1<?php 2/** 82$_lang['perm.list_desc'] = 'Elementare Berechtigung, Objekte "aufzulisten". Auflisten bedeutet, eine Sammlung von Objekten zu erhalten.'; 83$_lang['perm.load_desc'] = 'Elementare Berechtigung, Objekte zu "laden" oder überhaupt in der Lage zu sein, sie als Instanzen zurückzugeben.'; 84$_lang['perm.logout_desc'] = 'Als Benutzer ausloggen.'; 165$_lang['perm.undelete_document_desc'] = 'Ressourcen wiederherstellen.'; 166$_lang['perm.unlock_element_properties_desc'] = 'Standard-Eigenschaften von Elementen bearbeiten.'; 167$_lang['perm.unpublish_desc'] = 'Ressourcen zurückziehen.'; // Unterschied?CakeRoute.php https://github.com/gustavor/lore.git | PHP | 506 lines
1<?php 2/** 5 * 6 * Not normally created as a standalone. Use Router::connect() to create 7 * Routes for your application. 8 * 9 * PHP5 10 * 10 * 11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 18 * @link http://cakephp.org CakePHP(tm) Project 19 * @package Cake.Routing.Route 19 * @package Cake.Routing.Route 20 * @since CakePHP(tm) v 1.3 21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
1<?php 2 35 * @param array $configuration 36 * A configuration array containing information about the plugin instance. 37 * @param string $plugin_id 37 * @param string $plugin_id 38 * The plugin_id for the plugin instance. 39 * @param mixed $plugin_definitionResource.php https://github.com/rico/flextrine.git | PHP | 467 lines
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 69 { 70 if ($options instanceof Zend_Config) { 71 $options = $options->toArray(); 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 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"); 439 * type if none provided). If the resource has been loaded previously, 440 * returns the previous instance; otherwise, instantiates it. 441 *File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 209 require_once 'Zend/CodeGenerator/Php/Exception.php'; 210 throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock'); 211 } 293 require_once 'Zend/CodeGenerator/Php/Exception.php'; 294 throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class'); 295 } 460 if ($this->_filename == '' || !is_writable(dirname($this->_filename))) { 461 require_once 'Zend/CodeGenerator/Php/Exception.php'; 462 throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
44$_lang['resource_delete'] = 'Hapus'; 45$_lang['resource_delete_confirm'] = 'Apakah Anda yakin Anda ingin menghapus sumber daya ini? <br /> Catatan: sumber daya anak juga akan dihapus!'; 46$_lang['resource_description'] = 'Deskripsi'; 101$_lang['resource_publish'] = 'Mempublikasikan'; 102$_lang['resource_publish_confirm'] = 'Penerbitan sumber daya ini sekarang akan menghapus tanggal yang tidak diterbitkan yang mungkin telah ditetapkan. Jika Anda ingin mengatur atau terus menerbitkan atau menghentikan penayangan tanggal, silakan memilih untuk mengedit bukan sumber <br /><br /> lanjutkan?'; 103$_lang['resource_publishdate'] = 'Tanggal publikasi'; 103$_lang['resource_publishdate'] = 'Tanggal publikasi'; 104$_lang['resource_publishdate_help'] = 'Jika Anda menetapkan tanggal publikasikan, sumber daya yang akan diterbitkan segera setelah tanggal publikasi tercapai. Klik pada ikon kalender untuk memilih tanggal, atau Biarkan kosong untuk mengaturnya sehingga sumber daya tidak pernah secara otomatis dipublikasikan.'; 105$_lang['resource_published'] = 'Diterbitkan'; 125$_lang['resource_unpublish'] = 'Menghentikan penayangan'; 126$_lang['resource_unpublish_confirm'] = 'Membatalkan penerbitan sumber daya ini sekarang akan menghapus tanggal yang tidak diterbitkan yang mungkin telah ditetapkan. Jika Anda ingin mengatur atau terus menerbitkan atau menghentikan penayangan tanggal, silakan memilih untuk mengedit bukan sumber <br /><br /> lanjutkan?'; 127$_lang['resource_unpublishdate'] = 'Menghentikan penayangan tanggal'; 127$_lang['resource_unpublishdate'] = 'Menghentikan penayangan tanggal'; 128$_lang['resource_unpublishdate_help'] = 'Jika Anda menetapkan pembatalan tanggal publikasi, sumber daya akan dihentikan penayangannya segera setelah tanggal publikasi tercapai. Klik pada ikon kalender untuk memilih tanggal, atau Biarkan kosong untuk mengaturnya sehingga sumber daya tidak pernah secara otomatis tidak dipublikasikan.'; 129$_lang['resource_unpublished'] = 'Tidak diterbitkan';Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
1<?php 2 17 /** 18 * Static instance to hold the table name. 19 * 318 ], 319 'pseudoconstant' => [ 320 'optionGroupName' => 'batch_status', 336 ], 337 'pseudoconstant' => [ 338 'optionGroupName' => 'batch_type', 354 ], 355 'pseudoconstant' => [ 356 'optionGroupName' => 'batch_mode', 404 ], 405 'pseudoconstant' => [ 406 'optionGroupName' => 'payment_instrument',Inflector.php https://github.com/grandison/budo16.git | PHP | 506 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Inflector.php 17705 2009-08-21 07:50:57Z thomas $ 20 */ 25 */ 26// require_once 'Zend/Filter.php'; 27 30 */ 31// require_once 'Zend/Loader/PluginLoader.php'; 32 75 { 76 if ($target instanceof Zend_Config) { 77 $this->setConfig($target); 103 { 104 if (!$this->_pluginLoader instanceof Zend_Loader_PluginLoader_Interface) { 105 $this->_pluginLoader = new Zend_Loader_PluginLoader(array('Zend_Filter_' => 'Zend/Filter/'), __CLASS__);about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
16 Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available 17 at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>. 18 For purposes of the EPL, "Program" will mean the Content.</p> 93 otherwise, or (ii) ownership of fifty percent (50%) or more of the 94 outstanding shares, or (iii) beneficial ownership of such entity. 95 224 this License, without any additional terms or conditions. 225 Notwithstanding the above, nothing herein shall supersede or modify 226 the terms of any separate license agreement you may have executed 261 the Work or Derivative Works thereof, You may choose to offer, 262 and charge a fee for, acceptance of support, warranty, indemnity, 263 or other liability obligations and/or rights consistent with thiscore.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package app.Config 89 * To configure CakePHP *not* to use mod_rewrite and to 90 * use CakePHP pretty URLs, remove these .htaccess 91 * files: 205 * 206 * - 'php' - Uses settings defined in your php.ini. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory. 208 * - 'database' - Uses CakePHP's database sessions. 209 * - 'cache' - Use the Cache class to save sessions.Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 69 { 70 if ($options instanceof Zend_Config) { 71 $options = $options->toArray(); 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 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"); 439 * type if none provided). If the resource has been loaded previously, 440 * returns the previous instance; otherwise, instantiates it. 441 *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########################################################################## 15# The above copyright notice and this permission notice shall be 16# included in all copies or substantial portions of the Software. 17# 186def maybe_encode(s, encoding='utf8'): 187 if isinstance(s, unicode): 188 s = s.encode(encoding) 202 ``secret``: 203 A secret that should be shared by any instances of this application. 204 If this app is served from more than one machine, they should all 303 def set_user_cookie(self, environ, userid, tokens, user_data): 304 if not isinstance(tokens, basestring): 305 tokens = ','.join(tokens)NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
1<?php 2 119 { 120 $this->LogoutAndDisconnect(); 121 } 187 */ 188 public function capturePhpErrorWithException($iErrNo, $sErrStr, $sErrFile, $iErrLine) 189 { 270 271 \set_error_handler(array(&$this, 'capturePhpErrorWithException')); 272 363 */ 364 public function LogoutAndDisconnect() 365 { 590 { 591 if ($oException instanceof Exceptions\SocketCanNotConnectToHostException) 592 {ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
1<?php 2 30 * In this example, if you try to use a class in the Symfony\Component 31 * namespace or one of its children (Symfony\Component\Console for instance), 32 * the autoloader will first look for the class under the component/ 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/ 304 /** 305 * Registers this instance as an autoloader. 306 * 325 /** 326 * Unregisters this instance as an autoloader. 327 */ 376 377 $file = $this->findFileWithExtension($class, '.php'); 378PersistentTokenBasedRememberMeServicesTest.php https://github.com/jdewit/symfony.git | PHP | 329 lines
1<?php 2 26 27class PersistentTokenBasedRememberMeServicesTest extends \PHPUnit_Framework_TestCase 28{ 124 125 public function testAutoLoginDoesNotAcceptAnExpiredCookie() 126 { 175 176 $this->assertInstanceOf('Symfony\Component\Security\Core\Authentication\Token\RememberMeToken', $returnedToken); 177 $this->assertSame($user, $returnedToken->getUser());CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
1<?php 2/** 17 * @subpackage CookieJar 18 * @version $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $ 19 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 25 */ 26require_once "Zend/Uri.php"; 27/** 29 */ 30require_once "Zend/Http/Cookie.php"; 31/** 33 */ 34require_once "Zend/Http/Response.php"; 35 134 135 if ($cookie instanceof Zend_Http_Cookie) { 136 $domain = $cookie->getDomain();bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
1<?php 2/** 223 * 224 * @uses BuddyPress::constants() Setup legacy constants 225 * @uses BuddyPress::setup_globals() Setup globals needed 229 public function __construct() { 230 $this->constants(); 231 $this->setup_globals(); 236 /** 237 * Legacy BuddyPress constants 238 * 249 */ 250 private function constants() { 251 415 require( $this->plugin_dir . 'bp-core/bp-core-actions.php' ); 416 require( $this->plugin_dir . 'bp-core/bp-core-caps.php' ); 417 require( $this->plugin_dir . 'bp-core/bp-core-cache.php' );view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
1<?php 2/** 117 // Get Category Model data 118 $categoryModel = JModelLegacy::getInstance('Category', 'ContactModel', array('ignore_request' => true)); 119 291 292 $dispatcher = JEventDispatcher::getInstance(); 293 328 329 JEventDispatcher::getInstance()->trigger('onContentPrepare', array ('com_users.user', &$contactUser, &$item->params, 0)); 330 426 $path = array(array('title' => $this->contact->name, 'link' => '')); 427 $category = JCategories::getInstance('Contact')->get($this->contact->catid); 428Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
1<?php 2/** 113 * The local time, in timestamp format, at the peer when its latest NTP message 114 * was sent. Contanis an integer and a fractional part 115 */ 127 * This is the local time, in timestamp format, when the latest NTP message from 128 * the peer arrived. Contanis an integer and a fractional part. 129 */ 134 * The local time, in timestamp format, at which the 135 * NTP message departed the sender. Contanis an integer 136 * and a fractional part. 295 * exchange messages and one or both of them create and maintain an 296 * instantiation of the protocol machine, called an association. 297 */acpiphp_ibm.c https://gitlab.com/karrei/imx6-kernel | C | 487 lines
27 28#define pr_fmt(fmt) "acpiphp_ibm: " fmt 29 39 40#include "acpiphp.h" 41#include "../pci.h" 104 u32 lvl, void *context, void **rv); 105static int __init ibm_acpiphp_init(void); 106static void __exit ibm_acpiphp_exit(void); 117}; 118static struct acpiphp_attention_info ibm_attention_info = 119{ 167 * 168 * Description: This method is registered with the acpiphp module as a 169 * callback to do the device specific task of setting the LED status.IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 138 } 139 $searchInstance = new $className(); 140 $results = $searchInstance->setStart($start)Country.php https://gitlab.com/goolic/PrestaShop | PHP | 417 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 108 } 109 return Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'cart_rule_country WHERE id_country = '.(int)$this->id); 110 } 124 $countries = array(); 125 $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' 126 SELECT cl.*,c.*, cl.`name` country, z.`name` zone 136 if ($list_states) { 137 $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC'); 138 foreach ($result as $row) {sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
1<?php 2class SiteMailer 37 private function setheaders() { 38 /*$BccList = array('nakarinb@bluecube.com.sg','bobby.tan@bluecube.com.sg');*/ 39 $this->headers = "To: " . $this->toMail . "\r\n"; 52 $this->headers .= "MIME-Version: 1.0\r\n"; 53 //$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n"; 54 $this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; 90 { 91 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--"; 92 $this->msgBody .= $this->attachment; 92 $this->msgBody .= $this->attachment; 93 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--"; 94 }*/ 156 private function sendActivationToCustomer($property) { 157 /*$htmlCT = "--PHP-alt-" . $this->randomHash . "\r\n"; 158 $htmlCT .= 'Content-Type: text/html; charset="iso-8859-1"' . "\r\n";sbhnddma.h https://github.com/netarchy/infuse4g-sources.git | C Header | 343 lines
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: 20 * 21 * Notwithstanding the above, under no circumstances may you combine this 22 * software in any way with any other Broadcom software provided under a licenseResource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 69 { 70 if ($options instanceof Zend_Config) { 71 $options = $options->toArray(); 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 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"); 439 * type if none provided). If the resource has been loaded previously, 440 * returns the previous instance; otherwise, instantiates it. 441 *facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
1<?php 2/** 20 */ 21 var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'; 22 81 * - confirm string Alert dialog which will be visible if user clicks on the button/link 82 * - custom used to create custom link instead of standart fbml. if redirect option is set this one is not required. 83 * @return string XFBML tag for logout button 176 else { 177 $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor'])); 178 $retval .= $this->Html->script($this->__fbShareScript); 353 * - font : font type (arial, lucida grande, segoe ui, tahoma, trebuchet ms, verdana) 354 * - layout : the layout type if the button (button_count, standard, default: standard) 355 * - action : the title of the action (like or recommend, default: like) 380 appId : '{$appId}', 381 session : {$session}, // don't refetch the session when PHP already has it 382 status : true, // check login statusevent.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 418 lines
1<?php 2/** 4 * @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5 * @license GNU/GPL, see LICENSE.php 6 * 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 15 16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR .'helper.php' ); 17jimport( 'joomla.filesystem.file' ); 54 case 'jomsocial': 55 return JFile::exists( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_community' . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . 'core.php' ); 56 break; 110 $my = JFactory::getUser(); 111 $file = JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_community' . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . 'core.php'; 112trackback.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 372 lines
1<?php 2/** 2/** 3 * PHP Class to handle TrackBacks (send/ping, receive, retreive, detect, seed, etc...) 4 * 4 * 5 * <code><?php 6 * include('trackback_cls.php'); 11 * 12 * @version $Id: trackback_cls.php,v 1.2 2004/12/11 18:54:32 Ran Exp $ 13 * @copyright Copyright (c) 2004 Ran Aroussi (http://www.blogish.org) 14 * @author Ran Aroussi <ran@blogish.org> 15 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 16 * 137 * 138 * <code><?php 139 * // 1index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 428 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require('../../config.php'); 27require_once($CFG->libdir . '/completionlib.php'); 36} 37$context = context_course::instance($course->id); 38 66 67$url = new moodle_url('/report/progress/index.php', array('course'=>$id)); 68if ($sort !== '') { 92// nothing to display (no users or no activities) 93$reportsurl = $CFG->wwwroot.'/course/report.php?id='.$course->id; 94$completion = new completion_info($course); 331 '<a href="'.$CFG->wwwroot.'/mod/'.$activity->modname. 332 '/view.php?id='.$activity->id.'" title="' . $formattedactivityname . '">'. 333 '<img src="'.$OUTPUT->pix_url('icon', $activity->modname).'" alt="'.index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
46 47<html><!-- InstanceBegin template="/Templates/vnmain.dwt.php" codeOutsideHTMLIsLocked="false" --> 48 <head> 86 <td align="right" valign="top"> 87 <!-- InstanceBeginEditable name="topRightMenu" --><!-- #BeginLibraryItem "/Library/close.lbi" --><a href="javascript:window.close();" class="dark">[close]</a><!-- #EndLibraryItem --><!-- InstanceEndEditable --> </td> 88 </tr> 96 </table> 97 <!-- InstanceEndEditable --></td> 98 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>ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
1<?php 2 35 36require_once 'CRM/Upgrade/Form.php'; 37require_once 'CRM/Core/OptionGroup.php'; 37require_once 'CRM/Core/OptionGroup.php'; 38require_once 'CRM/Core/OptionValue.php'; 39 72 73 $errorMessage .= ' Few important tables were found missing.'; 74 return false; 81 // db looks to have stuck somewhere between 2.1 & 2.2 82 $errorMessage .= ' Few important fields were found missing in some of the tables.'; 83 return false; 90 91 // fix CRM-5270: if civicrm_report_instance.description is localised, 92 // recreate it based on the first locale’s description_xx_YY contentsTab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
1<?php 2 35 36require_once 'CRM/Contact/Page/View.php'; 37 94 { 95 require_once 'CRM/Contribute/BAO/Contribution.php'; 96 216 217 if ( $context == 'standalone' && !$contactID ) { 218 $this->_action = CRM_Core_Action::ADD; 230 // check if we can process credit card contribs 231 $processors = CRM_Core_PseudoConstant::paymentProcessor( false, false, 232 "billing_mode IN ( 1, 3 )" ); 325 326 case 'standalone': 327 $url = CRM_Utils_System::url( 'civicrm/dashboard', 'reset=1' );RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
1<?php 2 18 19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase 20{ 50 // we should get back a RouteCollectionBuilder 51 $this->assertInstanceOf('Symfony\Component\Routing\RouteCollectionBuilder', $importedRoutes); 52 78 $addedRoute2 = $collectionBuilder->add('/blogs', 'AppBundle:Blog:list', 'blog_list'); 79 $this->assertInstanceOf('Symfony\Component\Routing\Route', $addedRoute); 80 $this->assertEquals('AppBundle:Order:checkout', $addedRoute->getDefault('_controller'));route.php https://github.com/ymtn/core.git | PHP | 589 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 20 * 21 * // This is the standard default route, and no keys are required 22 * Route::set('default', '(<controller>(/<action>(/<id>)))'); 129 * 130 * @param object Route instance 131 * @return string 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/* 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$ 119 * 120 * Handy method to execute the query without need to retrieve the Pager instance 121 *transformation.php https://github.com/Yannix/zetacomponents.git | PHP | 417 lines
1<?php 2/** 367 { 368 if ( !$filter instanceof ezcImageFilter ) 369 {Entry.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 630 lines
1<?php 2 14 * 15 * PHP version 5 16 * 18 * @package WindowsAzure\Common\Internal\Atom 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 */ 30/** 31 * The Entry class of ATOM standard. 32 * 34 * @package WindowsAzure\Common\Internal\Atom 35 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 36 * @copyright 2012 Microsoft Corporationaddons_modules.php https://bitbucket.org/mbaily/tremain.git | PHP | 468 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 118 { 119 if (IS_CORE && in_array($module, $this->core->standard_modules)) 120 { 173 { 174 $show_action = '<a class="less_important_link" href="'.BASE.AMP.'C=addons_modules'.AMP.'M=module_installer'.AMP.'module='.$module.'" title="'.lang('install').'">'.lang('install').'</a>'; 175 } 177 { 178 $show_action = '<a class="less_important_link" href="'.BASE.AMP.'C=addons_modules'.AMP.'M=module_uninstaller'.AMP.'module='.$module.'" title="'.lang('deinstall').'">'.lang('deinstall').'</a>'; 179 } 186 // Send version to update class and let it do any required work 187 if ($this->input->get('check_updates') && $status == 'installed' && file_exists($this->installed_modules[$module]['path'].'upd.'.$module.'.php')) 188 { 188 { 189 require $this->installed_modules[$module]['path'].'upd.'.$module.'.php'; 190PerformanceScenarioTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 438 lines
13 The above copyright notice and this permission notice shall be included in 14 all copies or substantial portions of the Software. 15 77 listener->onTouchesMoved = CC_CALLBACK_2(ScenarioTest::onTouchesMoved, this); 78 _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this); 79 82 // get the window size & origin position 83 auto s = Director::getInstance()->getVisibleSize(); 84 auto origin = Director::getInstance()->getVisibleOrigin(); 87 _map1 = TMXTiledMap::create("TileMaps/iso-test.tmx"); 88 _map1->setAnchorPoint( Vec2(0.5, 0.5) ); 89 _map1->setPosition(origin); 92 _map2 = TMXTiledMap::create("TileMaps/iso-test2.tmx"); 93 _map2->setAnchorPoint( Vec2(0.5, 0.5) ); 94 _map2->setPosition(origin);ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
1<?php 2 20use Prophecy\Argument; 21use Prophecy\PhpUnit\ProphecyTrait; 22use Prophecy\Prophecy\ObjectProphecy; 51 */ 52 protected bool $resetSingletonInstances = true; 53 122 $connectionPool->getQueryBuilderForTable('tt_content')->willReturn($queryBuilder); 123 GeneralUtility::addInstance(ConnectionPool::class, $connectionPool->reveal()); 124install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
1<?php 2//error_reporting(E_ALL); 8 9require_once ABS_PATH . 'config.php'; 10require_once LIB_PATH . 'osclass/db.php'; 10require_once LIB_PATH . 'osclass/db.php'; 11require_once LIB_PATH . 'osclass/classes/DAO.php'; 12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php'; 12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php'; 13require_once LIB_PATH . 'osclass/install-functions.php'; 14require_once LIB_PATH . 'osclass/formatting.php'; 14require_once LIB_PATH . 'osclass/formatting.php'; 15require_once LIB_PATH . 'osclass/compatibility.php'; 16require_once LIB_PATH . 'osclass/utils.php'; 96 try{ 97 require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ; 98 $mail = new PHPMailer(true) ;Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 41 { 42 $CI =& get_instance(); 43 68 * 69 * This function is identical to PHPs date() function, 70 * except that it allows date codes to be formatted using 100/** 101 * Standard Date 102 * 102 * 103 * Returns a date formatted according to the submitted standard. 104 *TransducerGraph.ObjectToSetNodeProcessor.html https://github.com/ryantanner/thesis.git | HTML | 259 lines
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A> 58 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD> 100<DL> 101<DT><B>Enclosing class:</B><DD><A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.html" title="class in edu.stanford.nlp.fsm">TransducerGraph</A></DD> 102</DL> 104<DL> 105<DT><PRE>public static class <B>TransducerGraph.ObjectToSetNodeProcessor</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html" title="interface in edu.stanford.nlp.fsm">TransducerGraph.NodeProcessor</A></DL> 106</PRE> 190<DD><DL> 191<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html#processNode(java.lang.Object)">processNode</A></CODE> in interface <CODE><A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html" title="interface in edu.stanford.nlp.fsm">TransducerGraph.NodeProcessor</A></CODE></DL> 192</DD> 226<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 227 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A> 228 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35sysvmsg.c https://gitlab.com/envieidoc/advancedtomato2 | C | 477 lines
28#include "php_sysvmsg.h" 29#include "ext/standard/php_var.h" 30#include "ext/standard/php_smart_str.h" 132 le_sysvmsg = zend_register_list_destructors_ex(sysvmsg_release, NULL, "sysvmsg queue", module_number); 133 REGISTER_LONG_CONSTANT("MSG_IPC_NOWAIT", PHP_MSG_IPC_NOWAIT, CONST_PERSISTENT|CONST_CS); 134 REGISTER_LONG_CONSTANT("MSG_EAGAIN", EAGAIN, CONST_PERSISTENT|CONST_CS); 135 REGISTER_LONG_CONSTANT("MSG_ENOMSG", ENOMSG, CONST_PERSISTENT|CONST_CS); 136 REGISTER_LONG_CONSTANT("MSG_NOERROR", PHP_MSG_NOERROR, CONST_PERSISTENT|CONST_CS); 137 REGISTER_LONG_CONSTANT("MSG_EXCEPT", PHP_MSG_EXCEPT, CONST_PERSISTENT|CONST_CS); 141 142/* {{{ PHP_MINFO_FUNCTION 143 */ 342 343 messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf)); 344modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
1<?php 2// Prevent file from being loaded directly 151 152 // Blog Feed Standard 153 'et_pb_posts_blog_feed_standard-header_font_size' => '16px', 153 'et_pb_posts_blog_feed_standard-header_font_size' => '16px', 154 'et_pb_posts_blog_feed_standard-header_font_style' => 'uppercase', 155 'et_pb_posts_blog_feed_standard-header_text_color' => '', 155 'et_pb_posts_blog_feed_standard-header_text_color' => '', 156 'et_pb_posts_blog_feed_standard-header_line_height' => '1', 157 'et_pb_posts_blog_feed_standard-header_letter_spacing' => '1.2px', 158 159 'et_pb_posts_blog_feed_standard-title_font_size' => '18px', 160 'et_pb_posts_blog_feed_standard-title_font_style' => '', 160 'et_pb_posts_blog_feed_standard-title_font_style' => '', 161 'et_pb_posts_blog_feed_standard-title_text_color' => '', 162 'et_pb_posts_blog_feed_standard-title_letter_spacing' => '0.5px',OLE.php https://bitbucket.org/blackriver/openx.git | PHP | 410 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP Version 4 | 5// +----------------------------------------------------------------------+ 5// +----------------------------------------------------------------------+ 6// | Copyright (c) 1997-2002 The PHP Group | 7// +----------------------------------------------------------------------+ 7// +----------------------------------------------------------------------+ 8// | This source file is subject to version 2.02 of the PHP license, | 9// | that is bundled with this package in the file LICENSE, and is | 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/2_02.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_VM_CLASS_INL_H_ 18#error "class-inl.h should only be included by class.h" 274/////////////////////////////////////////////////////////////////////////////// 275// Constants. 276 276 277inline size_t Class::numConstants() const { 278 return m_constants.size(); 285inline bool Class::hasConstant(const StringData* clsCnsName) const { 286 // m_constants.contains(clsCnsName) returns abstract constants 287 auto clsCnsInd = m_constants.findIndex(clsCnsName);BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
1<?php 2 120 121 public function getAnual($val=false) 122 { 136 137 public function getAnualt($val=false) 138 { 144 145 public function getAnovig() 146 { 236 237 public function setAnual($v) 238 { 256 257 public function setAnualt($v) 258 {FixtureTask.php https://bitbucket.org/00firestar00/ejfirestar.com.git | PHP | 445 lines
1<?php 2/** 4 * 5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://cakephp.org CakePHP(tm) Project 14 * @since CakePHP(tm) v 1.3 14 * @since CakePHP(tm) v 1.3 15 * @license http://www.opensource.org/licenses/mit-license.php MIT License 16 */ 43/** 44 * Schema instance 45 * 273 $path = $this->getPath(); 274 $filename = Inflector::camelize($model) . 'Fixture.php'; 275derivative.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 540 lines
29 * the original file for a jpg/png/... or a 'representative' image 30 * of a non image file or a standard icon for the non-image file. 31 */ 71 $this->flags |= self::IS_MIMETYPE; 72 if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false) 73 { 74 $this->rel_path = 'themes/default/icon/mimetypes/unknown.png'; 75 $size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path); 76 } 189 /** 190 * @param string|DerivativeParams $type standard derivative param type (e.g. IMG_*) 191 * or a DerivativeParams object 379 $rel_url = 'i'; 380 if ($conf['php_extension_in_urls']) $rel_url .= '.php'; 381 if ($conf['question_mark_in_urls']) $rel_url .= '?';Client.php https://bitbucket.org/cryofrost/portal.git | PHP | 489 lines
50 * @param History $history A History instance to store the browser history 51 * @param CookieJar $cookieJar A CookieJar instance to store the cookies 52 * 135 /** 136 * Returns the History instance. 137 * 197 * 198 * @param Link $link A Link instance 199 * 226 227 return $this->request($form->getMethod(), $form->getUri(), $form->getPhpValues(), $form->getPhpFiles()); 228 } 316 * 317 * @param Request $request A Request instance 318 *display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
1<?php 2/** 13 global $wpdb; 14 $fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs'; 15 ?> 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> 55 </ul> 56 <?php 57 if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) { 79 </ul> 80 <?php 81 }CurrentEmployer.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 394 lines
1<?php 2/* 181 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 182 'options' => CRM_Core_PseudoConstant::country(NULL, FALSE), 183 ], 187 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 188 'options' => CRM_Core_PseudoConstant::stateProvince(), 189 ],Account.php https://github.com/grandison/budo16.git | PHP | 317 lines
1<?php 2 9 * @license http://www.socialengine.net/license/ 10 * @version $Id: Account.php 8913 2011-05-02 18:03:07Z shaun $ 11 * @author John 110 $description = sprintf($description, $_SERVER['HTTP_HOST'] 111 . Zend_Controller_Front::getInstance()->getRouter() 112 ->assemble(array('id' => 'yourname'), 'user_profile')); 174 'Europe/Berlin' => '(UTC+1) Amsterdam, Berlin, Paris, Rome, Madrid', 175 'Europe/Athens' => '(UTC+2) Athens, Helsinki, Istanbul, Cairo, E. Europe', 176 'Europe/Moscow' => '(UTC+3) Baghdad, Kuwait, Nairobi, Moscow', 264 $description = Zend_Registry::get('Zend_Translate')->_('I have read and agree to the <a target="_blank" href="%s/help/terms">terms of service</a>.'); 265 $description = sprintf($description, Zend_Controller_Front::getInstance()->getBaseUrl()); 266 294 // Set default action 295 $this->setAction(Zend_Controller_Front::getInstance()->getRouter()->assemble(array(), 'user_signup', true)); 296 }AlbumController.php https://github.com/grandison/budo16.git | PHP | 454 lines
1<?php 2/** 8 * @license http://www.socialengine.net/license/ 9 * @version $Id: AlbumController.php 8381 2011-02-02 05:03:02Z john $ 10 * @author John Boehr <j@webligo.com> 18 */ 19class Album_AlbumController extends Core_Controller_Action_Standard 20{ 226 return $this->_forward('success' ,'utility', 'core', array( 227 'parentRedirect' => Zend_Controller_Front::getInstance()->getRouter()->assemble(array('action' => 'manage'), 'album_general', true), 228 'messages' => Array($this->view->message)otb.c https://bitbucket.org/ardalanaz/dava.framework.git | C | 387 lines
25% % 26% http://www.imagemagick.org/script/license.php % 27% % 243 entry->adjoin=MagickFalse; 244 entry->description=ConstantString("On-the-air bitmap"); 245 entry->module=ConstantString("OTB");Config.php https://github.com/mrbanzai/zf2.git | PHP | 536 lines
173 /** 174 * Deep clone of this instance to ensure that nested Zend_Configs 175 * are also cloned. 182 foreach ($this->_data as $key => $value) { 183 if ($value instanceof Config) { 184 $array[$key] = clone $value; 201 foreach ($data as $key => $value) { 202 if ($value instanceof Config) { 203 $array[$key] = $value->toArray(); 222 /** 223 * Support unset() overloading on PHP 5.1 224 * 390 if(array_key_exists($key, $this->_data)) { 391 if($item instanceof Config && $this->$key instanceof Config) { 392 $this->$key = $this->$key->merge(new Config($item->toArray(), !$this->readOnly()));Part.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 486 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Part.php 9099 2008-03-30 19:35:47Z thomas $ 20 */ 25 */ 26require_once 'Zend/Mime/Decode.php'; 27 30 */ 31require_once 'Zend/Mail/Part/Interface.php'; 32 93 * Zend_Mail_Part supports different sources for content. The possible params are: 94 * - handler a instance of Zend_Mail_Storage_Abstract for late fetch 95 * - id number of message for handler 106 if (isset($params['handler'])) { 107 if (!$params['handler'] instanceof Zend_Mail_Storage_Abstract) { 108 /**plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 55 global $CFG; 56 require_once($CFG->libdir . '/filelib.php'); 57 58 $sources = array(); 59 $mediamanager = core_media_manager::instance(); 60 $datasetup = []; 201 global $CFG; 202 require_once($CFG->libdir . '/filelib.php'); 203 if ($this->extensions === null) { 237 foreach ($urls as $url) { 238 $ext = core_media_manager::instance()->get_extension($url); 239 if (in_array('.' . $ext, $extensions)) { 314 * Returns regular expression used to match URLs for single youtube video 315 * @return string PHP regular expression e.g. '~^https?://example.org/~' 316 */TbInput.php https://bitbucket.org/haichau59/manga.git | PHP | 588 lines
1<?php 2/** 5 * @copyright Copyright © Christoffer Niska 2011- 6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 7 * @package bootstrap.widgets.input 11 * Bootstrap input widget. 12 * Used for rendering inputs according to Bootstrap standards. 13 */text_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: 46 -- Turn antialias on - not sure this makes a difference 47 dw `setTextAntialias` True 48 -- Now draw the textAttributes.php https://bitbucket.org/kdms/sh-magento.git | PHP | 381 lines
1<?php 2/** 38 /** 39 * Value type values constants 40 * 41 */ 42 const VALUE_TYPE_CONSTANT = 'constant'; 43 const VALUE_TYPE_SAME_AS = 'same_as'; 149 array( 150 'value' => self::VALUE_TYPE_CONSTANT, 151 'label' => Mage::helper('enterprise_targetrule')->__('Constant Value') 302 $select->where('category_id IN(?)', $subSelect); 303 } else { //self::VALUE_TYPE_CONSTANT 304 $operator = ($operator == '==') ? '' : 'NOT'; 312 313 if ($valueType == self::VALUE_TYPE_CONSTANT) { 314 $useBind = false;de_de.lang.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 281 lines
1<?php 2/********************************************************************************* 55 'LBL_ADVANCED_FILTER'=>'erweiterte Filter', 56 'LBL_STANDARD_FILTER'=>'Standardfilter', 57 'LBL_SF_COLUMNS'=>'Spalte', 227 'LBL_VIEW_DETAILS' => 'Details ansehen', 228 'LBL_SHOW_STANDARD_FILTERS' => 'zeige Standardfilter', 229ki.php https://bitbucket.org/rezanachmad/php-selenium-training.git | PHP | 457 lines
1<?php 2/** 64 4 => 'Mwere wa kana', 65 5 => 'Mwere wa gatano', 66 6 => 'Mwere wa gatandatũ', 114 2 => 'Njumaine', 115 3 => 'Njumatana', 116 4 => 'Aramithi', 231 'ae' => 'Falme za Kiarabu', 232 'af' => 'Afuganistani', 233 'ag' => 'Antigua na Barbuda', 258 'bs' => 'Bahama', 259 'bt' => 'Butani', 260 'bw' => 'Botswana', 330 'ke' => 'Kenya', 331 'kg' => 'Kirigizistani', 332 'kh' => 'Kambodia',include_require_php.ml https://github.com/Tener/pfff.git | OCaml | 458 lines
49 (* e.g. require BASEPATH .'/lib/init/ajax.php'; *) 50 | ConcatConstant of Ast_php.name * Common.filename 51 (* e.g. require $_SERVER['PHP_ROOT'].'/lib/init/ajax.php'; *) 143 144 (* ./ffi -dump_php_ml ../tests/require_realpath.php *) 145 | (Binary( 196 197 (* ./ffi -dump_php_ml ../tests/require_realpath3.php *) 198 | (Lv( 224 225 (* ./ffi -dump_php_ml ../tests/require_constant_concat.php *) 226 | (Binary((Sc(C(CName(name))), t_3), 232 233 (* ./ffi -dump_php_ml ../tests/require_classic_bis2.php *) 234 | (Sc(CloneCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 431 lines
7 * accompanies this distribution, is reproduced below, and is 8 * available at http://www.eclipse.org/org/documents/edl-v10.php 9 * 90 91 private String remote = Constants.DEFAULT_REMOTE_NAME; 92 92 93 private String branch = Constants.HEAD; 94 156 157 final String dst = (bare ? Constants.R_HEADS : Constants.R_REMOTES 158 + config.getName() + "/") + "*"; //$NON-NLS-1$//$NON-NLS-2$ 271 final String n = r.getName(); 272 if (!n.startsWith(Constants.R_HEADS)) 273 continue;BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
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. 149 * 150 * PHP 5.4 or above is required to parse the exported value. 151 * 198 } catch (\Exception $e) { 199 // serialize may fail, for example: if object contains a `\Closure` instance 200 // so we use a fallbackBasePhysicalObjectI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 563 lines
249 { 250 if ($name == $column->getPhpName()) 251 { 342 { 343 $this->row[$offset] = $this->values[$column->getPhpName()]; 344 } 360 // Convert to DateTime or SQL zero special case 361 if (isset($value) && $column->isTemporal() && !$value instanceof DateTime) 362 { 409 { 410 if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName()) 411 { 438 $columns = $table->getPrimaryKeyColumns(); 439 $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id; 440 }simpletest.php https://github.com/orchestra-io/sample-openx.git | PHP | 433 lines
5 * @subpackage UnitTester 6 * @version $Id: simpletest.php 7321 2007-06-05 09:08:01Z andrew.hill@openads.org $ 7 */ 12 if (version_compare(phpversion(), '5') >= 0) { 13 require_once(dirname(__FILE__) . '/reflection_php5.php'); 14 } else { 14 } else { 15 require_once(dirname(__FILE__) . '/reflection_php4.php'); 16 } 39 * because the class is an abstract case that should 40 * not be run. Once PHP4 is dropped this will disappear 41 * as a public method and "abstract" will rule. 186 /** 187 * Constant default values. 188 * @return hash All registry defaults.Resource.php https://github.com/orchestra-io/sample-openx.git | PHP | 436 lines
73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 115 if (!$this->hasResourceType($type)) { 116 require_once 'Zend/Loader/Exception.php'; 117 throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource"); 119 if (empty($args)) { 120 require_once 'Zend/Loader/Exception.php'; 121 throw new Zend_Loader_Exception("Cannot load resources; no resource specified"); 408 * type if none provided). If the resource has been loaded previously, 409 * returns the previous instance; otherwise, instantiates it. 410 * 425 if (!$this->hasResourceType($type)) { 426 require_once 'Zend/Loader/Exception.php'; 427 throw new Zend_Loader_Exception('Invalid resource type specified');walkthrough_test.php https://github.com/raymanuk/moodle.git | PHP | 309 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 30global $CFG; 31require_once(dirname(__FILE__) . '/../../../engine/lib.php'); 32require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php'); 49 $this->check_current_state(question_state::$todo); 50 $this->check_output_contains_lang_string('notyetanswered', 'question'); 51 $this->check_current_mark(null); 104 // Now change the correct answer to the question, and regrade. 105 $tf->rightanswer = false; 106 $this->quba->regrade_all_questions(); 125 $this->check_current_state(question_state::$todo); 126 $this->check_output_contains_lang_string('notyetanswered', 'question'); 127 $this->check_current_mark(null); 181 $this->check_current_state(question_state::$todo); 182 $this->check_output_contains_lang_string('notyetanswered', 'question'); 183 $this->check_current_mark(null);contact.php https://gitlab.com/h94373035/web | PHP | 301 lines
76 <ul class="lavaLampWithImage"> 77 <li><a href="home.php">首頁</a></li> 78 <?php 80 { 81 echo "<li><a href=\"register.php\">志工報名</a></li>"; 82 } 110 <li><a href="contact.php">聯繫我們</a></li> 111 <?php 112 if($_SESSION["login_status"]=="login_ok") 294 <div id="footer_content"> 295 <fb案讚><center><iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&width=450&layout=standard&action=like&show_faces=true&share=true&height=80&appId" width="450" height="80" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe></center><fb案讚 end> 296 <a href="http://validator.w3.org/check?uri=referer">Valid XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> | <a href="http://fotogrph.com/">Images</a> | website template by <a href="http://www.araynordesign.co.uk">ARaynorDesign</a> 300</body> 301<!-- InstanceEnd --></html> 302SqliteMetadata.php https://bitbucket.org/saifshuvo/zf2.git | PHP | 392 lines
1<?php 2/** 178 'referenced_columns' => array(), 179 // TODO: Verify match, on_update, and on_delete values conform to SQL Standard 180 'match_option' => strtoupper($fk['match']), 252 $results = $this->adapter->query($sql, Adapter::QUERY_MODE_EXECUTE); 253 if ($results instanceof ResultSetInterface) { 254 return $results->toArray();Ini.php https://github.com/hansdubois/Docblox.git | PHP | 293 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Ini.php 16201 2009-06-21 18:51:15Z thomas $ 20 */ 25 */ 26require_once 'Zend/Config.php'; 27 105 */ 106 require_once 'Zend/Config/Exception.php'; 107 throw new Zend_Config_Exception('Filename is not set'); 148 */ 149 require_once 'Zend/Config/Exception.php'; 150 throw new Zend_Config_Exception("Section '$sectionName' cannot be found in $filename"); 162 * Load the ini file and preprocess the section separator (':' in the 163 * section name (that is used for section extension) so that the resultant 164 * array has the correct section names and the extension information ispaperclip.rb https://github.com/palladius/lovd-by-less.git | Ruby | 244 lines
8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 64 65 class PaperclipError < StandardError #:nodoc: 66 end 95 # geometry strings at the ImageMagick website 96 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 97 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximally 118 def has_attached_file name, options = {} 119 include InstanceMethods 120 151 def validates_attachment_size name, options = {} 152 attachment_definitions[name][:validations] << lambda do |attachment, instance| 153 unless options[:greater_than].nil?Item.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 447 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 40 /** 41 * Object instance to populate entry data 42 * 47 /** 48 * Item instance to update entry data 49 * 98 /** 99 * Return Store level Service Instance 100 *class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
1<?php 2// Load dependencies. 2// Load dependencies. 3require_once PO_INC_DIR . 'class-popup-base.php'; 4 24 /** 25 * Returns the singleton instance of the popup (front end) class. 26 * 28 */ 29 static public function instance() { 30 static $Inst = null; 237 238 if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) { 239 // Data is loaded via a normal WordPress ajax request. 261 262 if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) { 263 /*Extracted.php https://github.com/grjones/qframe.git | PHP | 274 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Extracted.php 20893 2010-02-03 22:59:25Z yoshida@zend.co.jp $ 21 */ 24/** @see Zend_Pdf_Resource_Font */ 25require_once 'Zend/Pdf/Resource/Font.php'; 26 78 // Multiple descendant fonts are not supported 79 require_once 'Zend/Pdf/Exception.php'; 80 throw new Zend_Pdf_Exception(self::TYPE_NOT_SUPPORTED); 90 if ($fontDictionary->FontDescriptor === null) { 91 // That's one of the standard fonts 92 $standardFont = Zend_Pdf_Font::fontWithName($fontDictionary->BaseFont->value); 93 94 $this->_fontNames = $standardFont->getFontNames(); 95 $this->_isBold = $standardFont->isBold();Twig.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 420 lines
1<?php 2<<<<<<< HEAD 181 182 // Set some standard variables for twig 183 $this->twig_vars = $this->twig_vars + [klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
1<?php 2defined('_JEXEC') or die('Restricted access'); 101 * 102 * @ignore Do not show in PHPDoc. 103 * @var string 109 * 110 * @ignore Do not show in PHPDoc. 111 * @var int 117 * 118 * @ignore Do not show in PHPDoc. 119 * @var float 125 * 126 * @ignore Do not show in PHPDoc. 127 * @var float 133 * 134 * @ignore Do not show in PHPDoc. 135 * @var floatSensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
1<?php 2/** 19/** 20 * Instantiate and run requested sensors. 21 * 297 /** 298 * Instantiates sensor result object. 299 * 303 * @return \Drupal\monitoring\Result\SensorResultInterface 304 * Instantiated sensor result object. 305 */Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Application.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 20 */ 72 73 require_once 'Zend/Loader/Autoloader.php'; 74 $this->_autoloader = Zend_Loader_Autoloader::getInstance(); 78 $options = $this->_loadConfig($options); 79 } elseif ($options instanceof Zend_Config) { 80 $options = $options->toArray(); 99 /** 100 * Retrieve autoloader instance 101 * 127 if (!empty($options['phpsettings'])) { 128 $this->setPhpSettings($options['phpsettings']); 129 }Cloud.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 410 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tag/Item.php'; 27 80 { 81 if ($options instanceof Zend_Config) { 82 $this->setConfig($options); 147 foreach ($tags as $tag) { 148 if ($tag instanceof Zend_Tag_Taggable) { 149 $itemList[] = $tag; 152 } else { 153 #require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 169 $tags = $this->getItemList(); 170 if ($tag instanceof Zend_Tag_Taggable) { 171 $tags[] = $tag;CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
1<?php 2/** 78 /** 79 * @var boolean whether or not the comparison is case sensitive. Important 80 * only if you use caching. Defaults to false. 84 * @var boolean whether or not the comparison looks inside 85 * (i.e. does "ba" match "foo bar") the search results. Important only if 86 * you use caching. Don't mix with autofill. Defaults to false. 284 { 285 if($this->$func instanceof CJavaScriptExpression) 286 $options[$func]=$this->$func;ses.php https://gitlab.com/zenfork/vektor | PHP | 454 lines
1<?php 2/** 66 8 => 'Ut', 67 9 => 'Sektanbur', 68 10 => 'Oktoobur', 229 'ae' => 'Laaraw Imaarawey Margantey', 230 'af' => 'Afgaanistan', 231 'ag' => 'Antigua nda Barbuuda', 327 'ke' => 'Keeniya', 328 'kg' => 'Kyrgyzstan', 329 'kh' => 'Kamboogi', 336 'ky' => 'Kayman gungey', 337 'kz' => 'Kaazakstan', 338 'la' => 'Laawos', 386 'ph' => 'Filipine', 387 'pk' => 'Paakistan', 388 'pl' => 'Poloɲe',mysql.php https://gitlab.com/nacridan/Nacridan | PHP | 372 lines
1<?php 2 10if (!function_exists('mysql_connect')) 11 exit('This PHP environment doesn\'t have MySQL support built in. MySQL support is required if you want to use a MySQL database to run this forum. Consult the PHP documentation for further assistance.'); 12 205 return array( 206 'name' => 'MySQL Standard', 207 'version' => preg_replace('%^([^-]+).*$%', '\\1', $this->result($result))helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
1<?php 2/** 12$com_path = JPATH_SITE . '/components/com_content/'; 13require_once $com_path . 'helpers/route.php'; 14 37 { 38 // Get an instance of the generic articles model 39 $articles = JModelLegacy::getInstance('Articles', 'ContentModel', array('ignore_request' => true)); 82 { 83 // Get an instance of the generic article model 84 $article = JModelLegacy::getInstance('Article', 'ContentModel', array('ignore_request' => true)); 129 { 130 // Get an instance of the generic categories model 131 $categories = JModelLegacy::getInstance('Categories', 'ContentModel', array('ignore_request' => true)); 239 $menu = $app->getMenu(); 240 $menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login'); 241postgresql.php https://gitlab.com/ricardosanchez/prueba | PHP | 641 lines
1<?php 2/** 160 161 if (!($elements[0] instanceof $this)) 162 { 180 181 if ($this instanceof JDatabaseQueryLimitable) 182 {glossary_document.php https://github.com/kpike/moodle.git | PHP | 287 lines
1<?php 2/** 17* Functions for iterating and retrieving the necessary records are now also included 18* in this file, rather than mod/glossary/lib.php 19* 24*/ 25require_once($CFG->dirroot.'/search/documents/document.php'); 26 42 $doc->documenttype = SEARCH_TYPE_GLOSSARY; 43 $doc->itemtype = 'standard'; 44 $doc->contextid = $context_id; 106 global $CFG; 107 require_once($CFG->dirroot.'/search/querylib.php'); 108 109 //links directly to entry 110 // return $CFG->wwwroot.'/mod/glossary/showentry.php?eid='.$entry_id; 111