100+ results results for 'php array_key_exists repo:joebushi/joomla' (327 ms)
22/** Zend_View_Helper_Placeholder_Container_Standalone */ 23require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php'; 24 89 * 90 * Set separator to PHP_EOL. 91 * 96 parent::__construct(); 97 $this->setSeparator(PHP_EOL); 98 } 203 if (1 > count($args)) { 204 require_once 'Zend/View/Exception.php'; 205 throw new Zend_View_Exception(sprintf('Method "%s" requires at least one argument', $method)); 413 if (!empty($item->source)) { 414 $html .= PHP_EOL . $indent . $escapeStart . PHP_EOL . $indent . $indent . $item->source . PHP_EOL . $indent . $escapeEnd . PHP_EOL . $indent; 415 }Borders.php https://PHPExcel.svn.codeplex.com/svn | PHP | 547 lines
29/** PHPExcel_Style_Border */ 30require_once 'PHPExcel/Style/Border.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Borders implements PHPExcel_IComparable 44{ 170 * 171 * Returns the PHPExcel_Style_Borders that is actual bound to PHPExcel_Style 172 *Borders.php https://PHPExcel.svn.codeplex.com/svn | PHP | 494 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** PHPExcel_Style_Border */ 30require_once 'PHPExcel/Style/Border.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Borders implements PHPExcel_IComparable 44{course_section.class.php https://bitbucket.org/chamilo/chamilo-app-weblcms-dev/ | PHP | 254 lines
1<?php 2namespace application\weblcms; 87 { 88 if(!array_key_exists($type, self :: $type_name_mapping)) 89 {PopulateDatabases.php http://xerxes-portal.googlecode.com/svn/trunk/ | PHP | 408 lines
1<?php 2 9 * @license http://www.gnu.org/licenses/ 10 * @version $Id: PopulateDatabases.php 1515 2010-11-25 13:55:26Z helix84@centrum.sk $ 11 * @package Xerxes 250 251 if ( array_key_exists($objData->metalib_id, $arrDatabases) ) 252 { 382 383 /* We need to register a straight function for the XSL to call with php:function. Sorry. */ 384SilvercartGroupViewHandler.php https://bitbucket.org/silvercart/silvercart/ | PHP | 355 lines
1<?php 2/** 51 * a list of removed group view types. It is implemented to provide the 52 * configuration example in _config.php of silvercart. 53 * 59 * a list of removed group view types. It is implemented to provide the 60 * configuration example in _config.php of silvercart. 61 * 237 public static function setGroupView($groupView) { 238 if (array_key_exists($groupView, self::$groupViews)) { 239 Session::set('SilvercartGroupView', $groupView); 255 public static function setGroupHolderView($groupHolderView) { 256 if (array_key_exists($groupHolderView, self::$groupHolderViews)) { 257 Session::set('SilvercartGroupHolderView', $groupHolderView); 287 public static function getGroupView($code) { 288 if (array_key_exists($code, self::$groupViews)) { 289 return self::$groupViews[$code];Fill.php https://PHPExcel.svn.codeplex.com/svn | PHP | 417 lines
37/** PHPExcel_Style_Color */ 38require_once PHPEXCEL_ROOT . 'PHPExcel/Style/Color.php'; 39 40/** PHPExcel_IComparable */ 41require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php'; 42 48 * @package PHPExcel_Style 49 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 50 */ 50 */ 51class PHPExcel_Style_Fill implements PHPExcel_IComparable 52{ 136 $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor); 137 $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 138all.php http://showslow.googlecode.com/svn/trunk/ | PHP | 247 lines
46 } else { 47 ?><li><a href="<?php echo $showslow_base.'all.php?'.(is_null($searchstring) ? '' : 'search='.urlencode(trim($_GET['search'])).'&').'group='.$id; ?>"><?php echo $group['title']?></a></li><?php 48 } 204 <td class="score" title="Current YSlow grade: <?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)"><?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)</td> 205 <td title="Current YSlow grade: <?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)"><div class="gbox"><div style="width: <?php echo $row['o']+1?>px" class="bar c<?php echo scoreColorStep($row['o'])?>"/></div></td> 206 <?php }?> 213 <td class="score" title="Current Page Speed score: <?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)"><?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)</td> 214 <td title="Current Page Speed score: <?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)"><div class="gbox"><div style="width: <?php echo $row['ps_o']+1?>px" class="bar c<?php echo scoreColorStep($row['ps_o'])?>"/></div></td> 215 <?php }?> 222 <td class="score" title="Current dynaTrace score: <?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)"><?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)</td> 223 <td title="Current dynaTrace score: <?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)"><div class="gbox"><div style="width: <?php echo $row['dt_o']+1?>px" class="bar c<?php echo scoreColorStep($row['dt_o'])?>"/></div></td> 224 <?php }?> 225 226 <td class="url"><a href="details/?url=<?php echo urlencode($row['url'])?>"><?php echo htmlentities(substr($row['url'], 0, 100))?><?php if (strlen($row['url']) > 100) { ?>...<?php } ?></a></td> 227 </tr><?phparr.php git://github.com/gallery/gallery3-contrib.git | PHP | 275 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 4 * 5 * $Id: arr.php 4680 2009-11-10 01:57:00Z isaiah $ 6 * 9 * @copyright (c) 2007-2009 Kohana Team 10 * @license http://kohanaphp.com/license 11 */ 77 { 78 if ( ! array_key_exists($key, $array)) 79 return NULL; 124 /** 125 * Because PHP does not have this function. 126 * 141 /** 142 * Because PHP does not have this function, and array_walk_recursive creates 143 * references in arrays and is not truly recursive.Manager.php git://github.com/openid/php-openid.git | PHP | 572 lines
1<?php 2 11 * The base session class used by the Auth_Yadis_Manager. This 12 * class wraps the default PHP session machinery and should be 13 * subclassed if your application doesn't use PHP sessioning. 16 */ 17class Auth_Yadis_PHPSession { 18 /** 39 { 40 if (isset($_SESSION) && array_key_exists($name, $_SESSION)) { 41 return $_SESSION[$name]; 111 foreach ($required as $k) { 112 if (!array_key_exists($k, $data)) { 113 return null; 334 335 // Stale flag for cleanup if PHP lib has trouble. 336 $this->stale = false;Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 525 lines
32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 42 */ 43class PHPExcel_Style_Font implements PHPExcel_IComparable 44{ 136 $this->_strikethrough = false; 137 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 138 } 158 * 159 * Returns the PHPExcel_Style_Font that is actual bound to PHPExcel_Style 160 * 175 * 176 * If no PHPExcel_Style_Font has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 177 *ms_storage_raw_info_pop.php http://prohits.googlecode.com/svn/trunk/ | PHP | 363 lines
25 26include("./ms_permission.inc.php"); 27/*echo "<pre>"; 47 foreach($BACKUP_SOURCE_FOLDERS as $baseTable => $var_arr){ 48 if(array_key_exists($baseTable, $table_arr)) continue; 49 $bar_color = array_pop($colorArr); 203 if($line_style){ 204 $tmp_file = "./line_status_gif.php?tital=$tital&imageWidth=$tableWidth&border=$border&size_unit=$size_unit&tableName=$tableName&file_type=$file_type&bigest_size=$bigest_size&bigest_num_file=$bigest_num_file&show_single=$show_single&show_all=$show_all&content=$content&interval=$interval"; 205?> 209 <td width="100"> 210 <img src="./line_status_gif.php?tital=<?=$tital?>&imageWidth=<?=$tableWidth?>&border=<?=$border?>&size_unit=<?=$size_unit?>&tableName=<?=$tableName?>&file_type=<?=$file_type?>&bigest_size=<?=$bigest_size?>&bigest_num_file=<?=$bigest_num_file?>&show_single=<?=$show_single?>&show_all=<?=$show_all?>&content=<?=$content?>&interval=<?=$interval?>"> 211 <!--a href="javascript: newpopwin('<?=$tmp_file?>',850,1000);">table</a--> 227 <td width="100"> 228 <img src="./bar_status_gif.php?tital=<?=$tital?>&imageWidth=<?=$imageWidth?>&border=<?=$border?>&orientation=<?=$orientation?>&size_unit=<?=$size_unit?>&tableName=<?=$tableName?>&file_type=<?=$file_type?>&date_time=<?=$time_val?>&bigest_size=<?=$bigest_size?>&bigest_num_file=<?=$bigest_num_file?>&show_single=<?=$show_single?>&content=<?=$content?>"> 229 <!--a href="./bar_status_gif.php?tital=<?=$tital?>&imageWidth=<?=$imageWidth?>&border=<?=$border?>&orientation=<?=$orientation?>&size_unit=<?=$size_unit?>&tableName=<?=$tableName?>&file_type=<?=$file_type?>&date_time=<?=$time_val?>&bigest_size=<?=$bigest_size?>&bigest_num_file=<?=$bigest_num_file?>&show_single=<?=$show_single?>&content=<?=$content?>" class=button>[test]</a-->edit.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 204 lines
46 47 <head><title> <?php echo url::organizationName() ; ?> </title> 48 48 49 <?php 50 include($location->GLOO_META_TAGS); 91 92 <?php 93 $sticky = $glooWeb->getStickyMap('page_edit_section'); 109 110 <div id="tabs-1"> <?php include('inc/rename.php'); ?> </div> 111 <div id="tabs-2"> <?php include('inc/lock.php'); ?></div> 111 <div id="tabs-2"> <?php include('inc/lock.php'); ?></div> 112 <div id="tabs-3"> <?php include('inc/seo.php'); ?> </div> 113PHPReportInputCrosstab.php http://tracmor.googlecode.com/svn/trunk/ | PHP | 93 lines
1<?php 2 require_once("PHPReportInputObject.php"); 3 3 4 class PHPReportInputCrosstab extends PHPReportInputObject { 5 function run(){ 12 // first step - find what columns we have, let's make a query that returns nothing but the columns 13 $stmt = PHPReportsDBI::db_query($this->_con,"select * from (".$this->_sql.") crosstab_table where 1=2"); 14 $cols = Array(); 14 $cols = Array(); 15 for($i=1; $i<=PHPReportsDBI::db_colnum($stmt); $i++) 16 array_push($cols,PHPReportsDBI::db_columnName($stmt,$i)); 16 array_push($cols,PHPReportsDBI::db_columnName($stmt,$i)); 17 PHPReportsDBI::db_free($stmt); 18Syslog.php git://github.com/silverstripe/sapphire.git | PHP | 267 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Syslog.php 23953 2011-05-03 05:47:39Z ralph $ 21 */ 23/** Zend_Log */ 24require_once 'Zend/Log.php'; 25 26/** Zend_Log_Writer_Abstract */ 27require_once 'Zend/Log/Writer/Abstract.php'; 28 40 /** 41 * Maps Zend_Log priorities to PHP's syslog priorities 42 * 197 if (!in_array($facility, $this->_validFacilities)) { 198 require_once 'Zend/Log/Exception.php'; 199 throw new Zend_Log_Exception('Invalid log facility provided; please see http://php.net/openlog for a list of valid facility values');Dispatcher.php https://code.google.com/p/ontowiki/ | PHP | 160 lines
1<?php 2/** 5 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 6 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 7 */ 17 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 18 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 19 * @author Norman Heino <norman.heino@gmail.com> 36 { 37 if (array_key_exists('url_base', $params)) { 38 $urlBase = (string)$params['url_base']; 96 } else { 97 require_once 'Zend/Controller/Exception.php'; 98 throw new Zend_Controller_Exception('No default module defined for this application');class.dc.namespace.php https://bitbucket.org/dotclear/dotclear/ | PHP | 433 lines
1<?php 2# -- BEGIN LICENSE BLOCK --------------------------------------- 316 317 if (!array_key_exists($oldId,$this->settings) || array_key_exists($newId,$this->settings)) { 318 return false;settings.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 214 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2 5 * 6 * PHP version 5 7 * LICENSE: This source file is subject to LGPL license 33 { 34 return array_key_exists('key', ORM::factory('settings')->reload_columns($force)->table_columns); 35 } 158 // non-existent setting, skip current iteration 159 if (in_array($key, $skip) OR empty($key) OR ! array_key_exists($key, $all_settings)) 160 continue;PdoSessionStorage.php git://github.com/fabpot/symfony.git | PHP | 257 lines
1<?php 2 37 { 38 if (!array_key_exists('db_table', $dbOptions)) { 39 throw new \InvalidArgumentException('You must provide the "db_table" option for a PdoSessionStorage.');Creating.php http://magento-w2p.googlecode.com/svn/trunk/ | PHP | 339 lines
1<?php 2 108 if ($has_products) 109 if (array_key_exists($template->getGuid(), $used_templates)) { 110 $this->debug("{$line}. Product {$template->getGuid()} already exists");Tests.php https://code.google.com/p/molinos-cms/ | PHP | 520 lines
1<?php 2 316 foreach (array('edit', 'delete', 'publish') as $action) 317 $this->assertTrue(array_key_exists($action, $links)); 318 }Registry.php https://code.google.com/p/ontowiki/ | PHP | 327 lines
1<?php 2 6 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 7 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 8 */ 17 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 18 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 19 * @author Norman Heino <norman.heino@gmail.com> 28 const MODULE_CLASS_POSTFIX = 'Module'; 29 const MODULE_FILE_POSTFIX = 'Module.php'; 30 139 // create module context if necessary 140 if (!array_key_exists($context, $this->_moduleOrder)) { 141 $this->_moduleOrder[$context] = array(); 147 148 if (!array_key_exists($moduleName, $this->_modules)) { 149 // merge defaultsCakeRoute.php git://github.com/cakephp/cakephp.git | PHP | 514 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 9 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @link http://cakephp.org CakePHP(tm) Project 11 * @since CakePHP(tm) v 1.3 11 * @since CakePHP(tm) v 1.3 12 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 13 */ 139 $option = null; 140 if ($name !== 'plugin' && array_key_exists($name, $this->defaults)) { 141 $option = '?'; 356 foreach ($this->options['persist'] as $persistKey) { 357 if (array_key_exists($persistKey, $params) && !isset($url[$persistKey])) { 358 $url[$persistKey] = $params[$persistKey];GridFieldPresenter.php git://github.com/silverstripe/sapphire.git | PHP | 0 lines
1<?php 2/** 266 267 if(array_key_exists($name, $this->sorting)) { 268 $data['IsSorted'] = true; 383 // casting 384 if(array_key_exists($fieldName, $this->parent->fieldCasting)) { 385 $value = $this->parent->getCastedValue($value, $this->parent->fieldCasting[$fieldName]); 391 $item = $this->item; 392 if(array_key_exists($fieldName, $this->parent->fieldFormatting)) { 393 $format = str_replace('$value', "__VAL__", $this->parent->fieldFormatting[$fieldName]);Ibm.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Ibm.php 9577 2008-05-31 01:50:27Z peptolab $ 21 */ 24/** @see Zend_Db_Adapter_Pdo_Abstract */ 25require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 26 27/** @see Zend_Db_Abstract_Pdo_Ibm_Db2 */ 28require_once 'Zend/Db/Adapter/Pdo/Ibm/Db2.php'; 29 30/** @see Zend_Db_Abstract_Pdo_Ibm_Ids */ 31require_once 'Zend/Db/Adapter/Pdo/Ibm/Ids.php'; 32 33/** @see Zend_Db_Statement_Pdo_Ibm */ 34require_once 'Zend/Db/Statement/Pdo/Ibm.php'; 35BasePartition.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 543 lines
1<?php 2 353 354 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 355 { 393 394 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 395 { 410 411 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 412 { 447 448 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 449 { 451 452 if (array_key_exists($keys[0], $arr)) $this->setId($arr[$keys[0]]); 453 if (array_key_exists($keys[1], $arr)) $this->setSize($arr[$keys[1]]);Border.php https://PHPExcel.svn.codeplex.com/svn | PHP | 332 lines
32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 42 */ 43class PHPExcel_Style_Border implements PHPExcel_IComparable 44{ 95 $this->_borderStyle = PHPExcel_Style_Border::BORDER_NONE; 96 $this->_borderColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 97 } 117 * 118 * Returns the PHPExcel_Style_Border that is actual bound to PHPExcel_Style_Borders 119 * 158 * 159 * If no PHPExcel_Style_Border has been bound to PHPExcel_Style_Borders then bind this one. Return the actual bound one. 160 *sfI18N.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 402 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfI18N.class.php 11700 2008-09-21 10:53:44Z fabien $ 18 */ 241 242 return (array_key_exists($iso, $countries)) ? $countries[$iso] : ''; 243 }HeadScript.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
22/** Zend_View_Helper_Placeholder_Container_Standalone */ 23require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php'; 24 89 * 90 * Set separator to PHP_EOL. 91 * 96 parent::__construct(); 97 $this->setSeparator(PHP_EOL); 98 } 203 if (1 > count($args)) { 204 require_once 'Zend/View/Exception.php'; 205 throw new Zend_View_Exception(sprintf('Method "%s" requires at least one argument', $method)); 413 if (!empty($item->source)) { 414 $html .= PHP_EOL . $indent . ' ' . $escapeStart . PHP_EOL . $item->source . $indent . ' ' . $escapeEnd . PHP_EOL . $indent; 415 }TextBoxTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TextBoxTest.php 11973 2008-10-15 16:00:56Z matthew $ 21 */ 23// Call Zend_Dojo_Form_Element_TextBoxTest::main() if this source file is executed directly. 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Dojo_Form_Element_TextBoxTest::main"); 27 28require_once dirname(__FILE__) . '/../../../../TestHelper.php'; 29 30/** Zend_Dojo_Form_Element_TextBox */ 31require_once 'Zend/Dojo/Form/Element/TextBox.php'; 32 33/** Zend_View */ 34require_once 'Zend/View.php'; 35SioceditController.php https://code.google.com/p/ontowiki/ | PHP | 276 lines
1<?php 2 6 * @copyright Copyright (c) 2009, {@link http://aksw.org AKSW} 7 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 8 * @version $Id:$ 10 11require_once 'OntoWiki/Controller/Component.php'; 12 16 * @copyright Copyright (c) 2009, {@link http://aksw.org AKSW} 17 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 18 * @category OntoWiki 83 $graphBase = $this->_model->getBaseUri(); 84 if (!array_key_exists($graphBase, $namespaces)) { 85 $namespaces = array_merge($namespaces, array($graphBase => OntoWiki_Utils::DEFAULT_BASE)); 107 $property = $row['p']['value']; 108 if (array_key_exists($property, $data) ) { 109Route.php git://github.com/fabpot/symfony.git | PHP | 568 lines
1<?php 2 323 { 324 return \array_key_exists($name, $this->options); 325 } 392 { 393 return \array_key_exists($name, $this->defaults); 394 } 480 { 481 return \array_key_exists($key, $this->requirements); 482 }Borders.php https://PHPExcel.svn.codeplex.com/svn | PHP | 347 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/lgpl.txt LGPL 29/** PHPExcel_Style_Border */ 30require_once 'PHPExcel/Style/Border.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Borders implements PHPExcel_IComparable 44{Style.php https://PHPExcel.svn.codeplex.com/svn | PHP | 415 lines
38/** PHPExcel_Style_Borders */ 39require_once 'PHPExcel/Style/Borders.php'; 40 50/** PHPExcel_Style_Protection */ 51require_once 'PHPExcel/Style/Protection.php'; 52 53/** PHPExcel_IComparable */ 54require_once 'PHPExcel/IComparable.php'; 55 60 * @package PHPExcel_Cell 61 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 62 */ 62 */ 63class PHPExcel_Style implements PHPExcel_IComparable 64{Deserializer.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 22/** Zend_Amf_Parse_Deserializer */ 23require_once 'Zend/Amf/Parse/Deserializer.php'; 24 25/** 26 * Read an AMF0 input stream and convert it into PHP data types 27 * 64 * @param integer $typeMarker 65 * @return mixed whatever the data type is of the marker in php 66 * @return mixed 136 default: 137 require_once 'Zend/Amf/Exception.php'; 138 throw new Zend_Amf_Exception('Unsupported marker type: ' . $typeMarker); 142 /** 143 * Read AMF objects and convert to PHP objects 144 *sfValidatorBase.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 456 lines
1<?php 2 18 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 19 * @version SVN: $Id: sfValidatorBase.class.php 10893 2008-08-14 12:30:27Z hartym $ 20 */ 425 { 426 if (array_key_exists($key, $messages) && $messages[$key] === $value) 427 { 446 { 447 if (array_key_exists($key, $options) && $options[$key] === $value) 448 {package.php git://github.com/fuel/core.git | PHP | 159 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 94 \Finder::instance()->add_path($path, 1); 95 \Fuel::load($path.'bootstrap.php'); 96 static::$packages[$package] = $path; 126 127 return array_key_exists($package, static::$packages); 128 } 137 { 138 if (array_key_exists($package, static::$packages)) 139 {admin_dashboard.php git://github.com/gallery/gallery3.git | PHP | 97 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 61 62 if (array_key_exists($id, $blocks_sidebar)) { 63 $deleted = $blocks_sidebar[$id]; 64 block_manager::remove("dashboard_sidebar", $id); 65 } else if (array_key_exists($id, $blocks_center)) { 66 $deleted = $blocks_center[$id];PartialHelper.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: PartialHelper.php 10227 2008-07-11 19:36:32Z fabien $ 18 */ 160 * The partial name is composed as follows: 'mymodule/mypartial'. 161 * The partial file name is _mypartial.php and is looked for in modules/mymodule/templates/. 162 * If the partial name doesn't include a module name, 290{ 291 return array_key_exists($name, sfContext::getInstance()->getResponse()->getSlots()); 292}NumberFormat.php https://PHPExcel.svn.codeplex.com/svn | PHP | 273 lines
29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 37 * @package PHPExcel_Style 38 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 39 */ 39 */ 40class PHPExcel_Style_NumberFormat implements PHPExcel_IComparable 41{ 123 * 124 * Returns the PHPExcel_Style_NumberFormat that is actual bound to PHPExcel_Style 125 * 140 * 141 * If no PHPExcel_Style_NumberFormat has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 142 *set_view.php http://candydolldb.googlecode.com/svn/trunk/ | PHP | 297 lines
195<h2><?php echo sprintf( 196 '<a href="index.php">%5$s</a> - <a href="model_view.php?model_id=%1$d">%3$s</a> - <a href="set.php?model_id=%1$d">%6$s</a> - %7$s %4$s', 197 $ModelID, 222<label><?php echo $lang->g('LabelContains')?>: </label> 223<input type="radio" id="radImages" name="radContains" value="<?php echo SET_CONTENT_IMAGE?>"<?php echo ($Set->getContainsWhat() & SET_CONTENT_IMAGE) > 0 ? ' checked="checked"' : NULL?><?php echo HTMLstuff::DisabledStr($DisableControls)?> /> 224<label for="radImages" class="Radio"><?php echo $lang->g('NavigationImages')?></label> 224<label for="radImages" class="Radio"><?php echo $lang->g('NavigationImages')?></label> 225<input type="radio" id="radVideos" name="radContains" value="<?php echo SET_CONTENT_VIDEO?>"<?php echo ($Set->getContainsWhat() & SET_CONTENT_VIDEO) > 0 ? ' checked="checked"' : NULL?><?php echo HTMLstuff::DisabledStr($DisableControls)?> /> 226<label for="radVideos" class="Radio"><?php echo $lang->g('NavigationVideos')?></label> 226<label for="radVideos" class="Radio"><?php echo $lang->g('NavigationVideos')?></label> 227<input type="radio" id="radBoth" name="radContains" value="<?php echo (SET_CONTENT_IMAGE + SET_CONTENT_VIDEO)?>"<?php echo (($Set->getContainsWhat() & SET_CONTENT_IMAGE) > 0 && ($Set->getContainsWhat() & SET_CONTENT_VIDEO) > 0) ? ' checked="checked"' : NULL?><?php echo HTMLstuff::DisabledStr($DisableControls)?> /> 228<label for="radBoth" class="Radio"><?php echo $lang->g('LabelBoth')?></label> 275<input type="button" class="FormButton" value="<?php echo $lang->g('ButtonCancel')?>" onclick="window.location='<?php echo $ReturnURL?>';" /> 276<input type="button" class="FormButton" value="<?php echo $lang->g('ButtonClearCacheImage')?>" onclick="window.location='cacheimage_delete.php?set_id=<?php echo $SetID ?>';"<?php echo HTMLstuff::DisabledStr($DisableCacheDeleteButton)?> /> 277</div>Login.php git://github.com/daylightstudio/FUEL-CMS.git | PHP | 373 lines
1<?php 2class Login extends CI_Controller { 100 $parsed_url = parse_url($forward_uri); 101 $host = array_key_exists('host', $parsed_url) ? $parsed_url['host'] : null; 102access.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 377 lines
1<?php 2/** 125 // Make sure groupId is valid 126 if (!array_key_exists($groupId, $groups)) 127 {bwbbcode.class.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 287 lines
1<?php 2/* 3+-----------------------------------------------------------------------------+ 4| $Id: bwbbcode.class.php 2009-08-18 08:02:23Z Bleakwind $ 5| Parse BBCODE 65 } 66 if(array_key_exists($pattern['bw_bb_name'], $this->bw_tag)) { 67 $this->halt("bw_bb_name[".$pattern['bw_bb_name']."] is already in use..."); 90 { 91 if(!array_key_exists($aliasof, $this->bw_tag) || array_key_exists($name, $this->bw_tag)) { 92 return false; 100 { 101 if(!array_key_exists($name, $this->bw_tag)){ 102 return ""; 146 foreach($this->bw_tag as $tag_name => $tag_data){ 147 if (array_key_exists('alias', $tag_data)) { 148 $tag_data = $this->get_data($tag_data['alias'], $tag_name);Item.php https://bitbucket.org/zurmo/zurmo/ | PHP | 350 lines
1<?php 2 /********************************************************************************* 71 $this->getScenario() == 'importModel' && 72 array_key_exists('modifiedDateTime', $this->originalAttributeValues)) && 73 $this->getScenario() != 'doNotSetModifiedDateTimeOrUser') 80 $this->getScenario() == 'importModel' && 81 array_key_exists('modifiedByUser', $this->originalAttributeValues)) && 82 $this->getScenario() != 'doNotSetModifiedDateTimeOrUser') 288 * attributes. 289 * (non-PHPdoc) 290 * @see RedBeanModel::isAllowedToSetReadOnlyAttribute()Count.php git://github.com/zendframework/zf2.git | PHP | 252 lines
1<?php 2/** 204 { 205 if (($file !== null) && !array_key_exists('destination', $file)) { 206 $file['destination'] = dirname($value); 208 209 if (($file !== null) && array_key_exists('tmp_name', $file)) { 210 $value = $file['destination'] . DIRECTORY_SEPARATOR . $file['name']; 239 if (is_array($file)) { 240 if (array_key_exists('name', $file)) { 241 $this->value = $file['name'];SilvercartInboundShoppingCartTransferPage.php https://bitbucket.org/silvercart/silvercart/ | PHP | 374 lines
1<?php 2/** 135 136 if (!array_key_exists($inboundShoppingCartTransfer->keyValueProductIdentifier, $requestVars)) { 137 return $this->keyValueProductIdentifierNotFound(); 138 } 139 if (!array_key_exists($inboundShoppingCartTransfer->keyValueQuantityIdentifier, $requestVars)) { 140 return $this->keyValueQuantityIdentifierNotFound(); 145 for ($identifierIdx = 0; $identifierIdx < $identifierCount; $identifierIdx++) { 146 if (array_key_exists($identifierIdx, $requestVars[$inboundShoppingCartTransfer->keyValueQuantityIdentifier])) { 147 $productQuantity = $requestVars[$inboundShoppingCartTransfer->keyValueQuantityIdentifier][$identifierIdx]; 185 186 if (!array_key_exists($inboundShoppingCartTransfer->combinedStringKey, $requestVars)) { 187 $action = $this->urlParams['ID']; 283 284 if (array_key_exists($inboundShoppingCartTransfer->sharedSecretIdentifier, $requestVars) && 285 sha1($inboundShoppingCartTransfer->sharedSecret) === urldecode($requestVars[$inboundShoppingCartTransfer->sharedSecretIdentifier])) {Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 474 lines
32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 42 */ 43class PHPExcel_Style_Font implements PHPExcel_IComparable 44{ 136 $this->_striketrough = false; 137 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 138 } 158 * 159 * Returns the PHPExcel_Style_Font that is actual bound to PHPExcel_Style 160 * 175 * 176 * If no PHPExcel_Style_Font has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 177 *Protection.php https://PHPExcel.svn.codeplex.com/svn | PHP | 294 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 37 * @package PHPExcel_Style 38 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 39 */ 39 */ 40class PHPExcel_Style_Protection implements PHPExcel_IComparable 41{ 77 * 78 * @var PHPExcel_Style 79 */unrest_rest.php git://github.com/gallery/gallery3-contrib.git | PHP | 308 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2 159 { 160 if (array_key_exists($data['entity']['id'], $childBlock)) 161 { 294 /* Do we need to fetch children? */ 295 if (array_key_exists('children_of', $filler)) 296 {Abstract.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 437 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Abstract.php 18688 2009-10-25 16:08:24Z thomas $ 20 */ 24 */ 25// require_once 'Zend/Validate/Interface.php'; 26 151 if (!isset($this->_messageTemplates[$messageKey])) { 152 // require_once 'Zend/Validate/Exception.php'; 153 throw new Zend_Validate_Exception("No message template exists for key '$messageKey'"); 187 } 188 if (array_key_exists($property, $this->_messageVariables)) { 189 return $this->{$this->_messageVariables[$property]}; 193 */ 194 // require_once 'Zend/Validate/Exception.php'; 195 throw new Zend_Validate_Exception("No property exists by the name '$property'");class.bp.abstraction.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 475 lines
1<?php 2 167 // NOTE: A badly designed plugin could also inject itself into BP's router 168 // using the 'bp_core_get_directory_pages' filter in bp-core-filters.php 169 // line 168. However, by the time the data reaches this filter, the page_id's 221 222 if( array_key_exists($component_slug, $bp_active_components) ){ 223 263 264 if( array_key_exists($component_slug, $bp_active_components) ){ 265 337 338 // BuddyPress lists all their slug constants in /bp-members/bp-members-signup.php. We 339 // have to build the array using BP's slug constants in case the site uses a define() 390 // ==================================== 391 if( array_key_exists($slug, $bp_components) ){ 392Openssl.php git://github.com/zendframework/zf2.git | PHP | 470 lines
1<?php 2/** 84 85 if (array_key_exists('passphrase', $options)) { 86 $this->setPassphrase($options['passphrase']); 89 90 if (array_key_exists('compression', $options)) { 91 $this->setCompression($options['compression']); 94 95 if (array_key_exists('package', $options)) { 96 $this->setPackage($options['package']);CompilerDefinition.php git://github.com/zendframework/zf2.git | PHP | 398 lines
1<?php 2/** 310 { 311 return (array_key_exists($class, $this->classes)); 312 } 318 { 319 if (!array_key_exists($class, $this->classes)) { 320 $this->processClass($class); 330 { 331 if (!array_key_exists($class, $this->classes)) { 332 $this->processClass($class); 342 { 343 if (!array_key_exists($class, $this->classes)) { 344 $this->processClass($class); 354 { 355 if (!array_key_exists($class, $this->classes)) { 356 $this->processClass($class);Config.php http://digitalus-site-manager.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Config.php 11181 2008-09-01 09:41:44Z alexander $ 20 */ 123 $result = $default; 124 if (array_key_exists($name, $this->_data)) { 125 $result = $this->_data[$name]; 160 /** @see Zend_Config_Exception */ 161 require_once 'Zend/Config/Exception.php'; 162 throw new Zend_Config_Exception('Zend_Config is read only'); 203 /** 204 * Support isset() overloading on PHP 5.1 205 * 214 /** 215 * Support unset() overloading on PHP 5.1 216 *bpm-profiler.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 0 lines
1<?php 2 196 foreach (array_keys($b) as $key) 197 if (array_key_exists($key, $out)) 198 $out[$key] += $b[$key]; 207 foreach (array_keys($b) as $key) 208 if (array_key_exists($key, $b)) 209 $out[$key] -= $b[$key];BasePcgroupPeer.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 432 lines
1<?php 2 34 private static $fieldNames = array ( 35 BasePeer::TYPE_PHPNAME => array ('Id', 'Name', ), 36 BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'name', ), 43 private static $fieldKeys = array ( 44 BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Name' => 1, ), 45 BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'name' => 1, ), 71 72 static public function getFieldNames($type = BasePeer::TYPE_PHPNAME) 73 { 74 if (!array_key_exists($type, self::$fieldNames)) { 75 throw new PropelException('Method getFieldNames() expects the parameter $type to be one of the class constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. ' . $type . ' was given.'); 76 } 370 if ($tableMap->containsColumn($colName)) { 371 $get = 'get' . $tableMap->getColumn($colName)->getPhpName(); 372 $columns[$colName] = $obj->$get();Borders.php http://myopensources.googlecode.com/svn/trunk/ | PHP | 347 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** PHPExcel_Style_Border */ 30require_once 'PHPExcel/Style/Border.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Borders implements PHPExcel_IComparable 44{_testrestclient.php http://flaxcode.googlecode.com/svn/trunk/ | PHP | 227 lines
1<?php 2 25 26require_once('../flaxerrors.php'); 27 127 if ($method == 'GET') { 128 if (array_key_exists($dbname, $this->dbs)) { 129 return array(200, $this->dbs[$dbname]->as_array()); 146 if ($method == 'GET') { 147 if (array_key_exists($dbname, $this->dbs)) { 148 return array(200, array_keys($this->dbs[$dbname]->fields)); 156 $fieldname = $pathparams[2]; 157 if (array_key_exists($dbname, $this->dbs)) { 158 $db = $this->dbs[$dbname]; 159 if ($method == 'GET') { 160 if (array_key_exists($fieldname, $db->fields)) { 161 return array(200, $db->fields[$fieldname]);Client.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 26 */ 27require_once 'Zend/Http/Client.php'; 28 32 */ 33require_once 'Zend/XmlRpc/Client/ServerProxy.php'; 34 38 */ 39require_once 'Zend/XmlRpc/Client/ServerIntrospection.php'; 40 45 */ 46require_once 'Zend/XmlRpc/Value.php'; 47 51 */ 52require_once 'Zend/XmlRpc/Request.php'; 53LinkinghereModule.php https://code.google.com/p/ontowiki/ | PHP | 135 lines
1<?php 2 11 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 12 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 13 * @version $Id: linkinghere.php 4092 2009-08-19 22:20:53Z christian.wuerker $ 101 102 if (array_key_exists($predicateUri, $instances)) { 103 if (!array_key_exists($subjectUri, $instances[$predicateUri])) {cake_test_case.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 375 lines
1<?php 2/* SVN FILE: $Id: cake_test_case.test.php 7805 2008-10-30 17:30:26Z AD7six $ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP : Rapid Development Framework (http://www.cakephp.org) 11 * Copyright 2006-2008, Cake Software Foundation, Inc. 17 * @copyright Copyright 2006-2008, Cake Software Foundation, Inc. 18 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project 19 * @package cake 20 * @subpackage cake.cake.libs. 21 * @since CakePHP v 1.2.0.4487 22 * @version $Revision: 7805 $ 24 * @lastmodified $Date: 2008-10-30 12:30:26 -0500 (Thu, 30 Oct 2008) $ 25 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 26 */Request.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 372 lines
1<?php 2/** 4 * 5 * Adapted from Andy Smith's OAuth library for PHP 6 * 8 * @link http://oauth.googlecode.com/svn/spec/ext/consumer_request/1.0/drafts/1/spec.html 9 * @link http://oauth.googlecode.com/svn/code/php/ 10 * @link http://term.ie/oauth/example/ 15 * @copyright Copyright (c) 2008, Photobucket, Inc. 16 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 17 */ 21 */ 22require_once ('OAuth/Utils.php'); 23/** 25 */ 26require_once ('OAuth/Signature.php'); 27/**CompositeDBField.php git://github.com/silverstripe/sapphire.git | PHP | 182 lines
1<?php 2/** 55* } else if (is_array($value)) { 56* if (array_key_exists('Name', $value)) { 57* $this->setStreetName($value['Name'], $markChanged); 58* } 59* if (array_key_exists('Number', $value)) { 60* $this->setStreetNumber($value['Number'], $markChanged);Regex.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Regex.php 12525 2008-11-10 20:18:32Z ralph $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Controller_Router_Route_Abstract */ 23require_once 'Zend/Controller/Router/Route/Abstract.php'; 24 79 80 // array_filter_key()? Why isn't this in a standard PHP function set yet? :) 81 foreach ($values as $i => $value) { 120 if (is_int($key) && !$reversed) { 121 if (array_key_exists($key, $this->_map)) { 122 $index = $this->_map[$key]; 148 if ($this->_reverse === null) { 149 require_once 'Zend/Controller/Router/Exception.php'; 150 throw new Zend_Controller_Router_Exception('Cannot assemble. Reversed route is not specified.');class.dbobject.php git://github.com/tylerhall/simple-php-framework.git | PHP | 232 lines
1<?PHP 2 class DBObject 30 { 31 if(array_key_exists($key, $this->columns)) { 32 return $this->columns[$key]; 34 35 if((substr($key, 0, 2) == '__') && array_key_exists(substr($key, 2), $this->columns)) { 36 return htmlspecialchars($this->columns[substr($key, 2)]); 45 { 46 if(array_key_exists($key, $this->columns)) { 47 $this->columns[$key] = $value; 59 { 60 return array_key_exists($key, $this->columns); 61 } 182 $this->id = $v; 183 elseif(array_key_exists($k, $this->columns)) 184 $this->columns[$k] = $v;site.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 173 lines
28<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 29<html><head><title> <?php echo $glooConfig->getFarmBuilderName(); ?> </title> 30 30 31 <?php 32 include($location->GLOO_META_TAGS); 63 <div id="header"> 64 <a href="<?php echo $glooConfig->getFarmURI(); ?>"><img src="<?php echo $glooConfig->getFarmLogoPath(); ?>" alt="logo" /> </a> 65 <div id="description"> 65 <div id="description"> 66 <a href="<?php echo $glooConfig->getFarmURI(); ?>"> Back to <?php echo $glooConfig->getFarmName(); ?></a> 67 > 143 Need help? Please contact 144 <a HREF="mailto:<?php echo $glooConfig->getFarmAdminEmail(); ?>"> <?php echo $glooConfig->getFarmAdminEmail(); ?> </a> 145 </p>ClassInfo.php git://github.com/silverstripe/sapphire.git | PHP | 292 lines
1<?php 2 157 /** 158 * Convert a class name in any case and return it as it was defined in PHP 159 * 204 * @return array A self-keyed array of class names. Note that this is only available with Silverstripe 205 * classes and not built-in PHP classes. 206 */ 224 * 225 * @param string $filePath Path to a PHP file (absolute or relative to webroot) 226 * @return array 268 269 if (!array_key_exists($lMethod, self::$method_from_cache[$lClass])) { 270 self::$method_from_cache[$lClass][$lMethod] = false;gantrytemplatedetails.class.php http://sewebar-cms.googlecode.com/svn/trunk/ | PHP | 197 lines
1<?php 2/** 34 35 if (array_key_exists('gantry_profile', $_GET)){ 36 $profile = JProfiler::getInstance('GantryTemplateDetails->init()'); 39 $this->xml = new JSimpleXML; 40 if (array_key_exists('gantry_profile', $_GET)){ 41 $profile->mark('LoadFile Start'); 43 $this->xml->loadFile($gantry->templatePath . '/templateDetails.xml'); 44 if (array_key_exists('gantry_profile', $_GET)){ 45 $profile->mark('LoadFile Stop'); 48 $this->params = $this->_getParams($gantry); 49 if (array_key_exists('gantry_profile', $_GET)){ 50 $profile->mark('Stop'); 56 57 if (array_key_exists('gantry_profile', $_GET)){ 58 $profile = JProfiler::getInstance('GantryTemplateDetails->_getPositions()');class_session.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 344 lines
1<?php 2/* 66 // Reconnaissance par l'ip 67 if (array_key_exists($this->ip,$this->liste_ip) && $this->liste_ip[$this->ip]['user_id'] < 2 ){ 68 $this->id_session = $this->liste_ip[$this->ip]['id_session']; 69 }else{ 70 // On charge la session PHP 71 session_start(); 165 setcookie($this->cf['cookie_name'], null, ($this->time-3600)); // cookie malleo 166 setcookie(get_cfg_var('session.name'), null, ($this->time-3600)); // eventuelle session type PHPSESSID 167 $this->id_session = null; 290 if (!is_array($droits->liste_bannis)) return true; 291 if (array_key_exists(2,$droits->liste_bannis)){ 292 foreach ($droits->liste_bannis[2] as $pattern=>$val){Grid.php https://code.google.com/p/zfcore/ | PHP | 285 lines
1<?php 2/** 2/** 3 * Copyright (c) 2012 by PHP Team of NIX Solutions Ltd 4 * 102 103 if (!array_key_exists($index, $item)) { 104 throw new Core_Exception('Index "' . $index . '" does not exist in data source');Style.php https://PHPExcel.svn.codeplex.com/svn | PHP | 301 lines
38/** PHPExcel_Style_Borders */ 39require_once 'PHPExcel/Style/Borders.php'; 40 50/** PHPExcel_Style_Protection */ 51require_once 'PHPExcel/Style/Protection.php'; 52 53/** PHPExcel_IComparable */ 54require_once 'PHPExcel/IComparable.php'; 55 60 * @package PHPExcel_Cell 61 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 62 */ 62 */ 63class PHPExcel_Style implements PHPExcel_IComparable 64{Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 601 lines
29/** PHPExcel_Style_Color */ 30require_once 'PHPExcel/Style/Color.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Font implements PHPExcel_IComparable 44{ 145 $this->_striketrough = false; 146 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 147ArrayRepository.php git://github.com/composer/composer.git | PHP | 292 lines
1<?php 2 59 foreach ($packages as $package) { 60 if (array_key_exists($package->getName(), $packageMap)) { 61 if (Static.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: Static.php 13281 2008-12-15 20:53:30Z mikaelkael $ 22 */ 25/** 26 * PHPUnit_Util_Filter 27 */ 27 */ 28require_once 'PHPUnit/Util/Filter.php'; 29 30 31PHPUnit_Util_Filter::addFileToFilter(__FILE__); 32 36 */ 37require_once 'Zend/Db/Adapter/Abstract.php'; 38Borders.php https://PHPExcel.svn.codeplex.com/svn | PHP | 515 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 37/** PHPExcel_Style_Border */ 38require_once PHPEXCEL_ROOT . 'PHPExcel/Style/Border.php'; 39 40/** PHPExcel_IComparable */ 41require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php'; 42 48 * @package PHPExcel_Style 49 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 50 */ 50 */ 51class PHPExcel_Style_Borders implements PHPExcel_IComparable 52{SilvercartCheckoutFormStep5.php https://bitbucket.org/silvercart/silvercart/ | PHP | 339 lines
1<?php 2/** 98 (!Member::currentUser()->SilvercartShoppingCart()->isFilled() && 99 !array_key_exists('orderId', $checkoutData))) { 100 211 212 if (array_key_exists('InvoiceAddress',$checkoutData) && 213 array_key_exists('ShippingAddress',$checkoutData)) { 259 260 if (array_key_exists('InvoiceAddress',$checkoutData) && 261 array_key_exists('ShippingAddress',$checkoutData)) {Toolbar.php https://code.google.com/p/ontowiki/ | PHP | 287 lines
1<?php 2 6 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 7 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 8 */ 17 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 18 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 19 * @author Norman Heino <norman.heino@gmail.com> 199 return '<a class="button separator"></a>'; 200 } else if (array_key_exists($type, $this->_defaultButtons)) { 201 $options = array_merge($this->_defaultButtons[$type], $options); 206 207 if (!array_key_exists('name', $options)) { 208 $options['name'] = $type; 212 // translate name 213 if (array_key_exists('name', $options)) { 214 if ($this->_translate instanceof Zend_Translate) {Fill.php https://PHPExcel.svn.codeplex.com/svn | PHP | 332 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 119 $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE); 120 $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 121 } 141 * 142 * Returns the PHPExcel_Style_Fill that is actual bound to PHPExcel_Style 143 * 158 * 159 * If no PHPExcel_Style_Fill has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 160 *BootstrapTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: BootstrapTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Application_Module_BootstrapTest::main'); 29 */ 30require_once 'Zend/Loader/Autoloader.php'; 31 39 */ 40class Zend_Application_Module_BootstrapTest extends PHPUnit_Framework_TestCase 41{ 43 { 44 $suite = new PHPUnit_Framework_TestSuite(__CLASS__); 45 $result = PHPUnit_TextUI_TestRunner::run($suite);Web.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 311 lines
1<?php 2 102 103 #region - Helper methods to utilize PHP session 104 //instead of providing a session key from each web instance, we wrap few 175 176 //method to interact with PHP session 177 function storeInSession($sessionKey,$dataKey,$data) { 208 && !empty($_SESSION[$sessionKey]) 209 && array_key_exists($dataKey,$_SESSION[$sessionKey])) { 210 233 function loadCss($path) { 234 $scheme = parse_url($path, PHP_URL_SCHEME); 235 if(empty($scheme)) { 247 function loadJS($path) { 248 $scheme = parse_url($path, PHP_URL_SCHEME); 249 if(empty($scheme)) {Route.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Route.php 10884 2008-08-11 13:46:33Z matthew $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Controller_Router_Route_Abstract */ 23require_once 'Zend/Controller/Router/Route/Abstract.php'; 24 162 // Path is longer than a route, it's not a match 163 if (!array_key_exists($pos, $this->_parts)) { 164 return false; 211 foreach ($this->_variables as $var) { 212 if (!array_key_exists($var, $return)) { 213 return false; 240 $useDefault = false; 241 if (isset($name) && array_key_exists($name, $data) && $data[$name] === null) { 242 $useDefault = true;setup.info.php http://modx-ja.googlecode.com/svn/trunk/ | PHP | 208 lines
1<?php 2//:: MODx Installer Setup file 3//::::::::::::::::::::::::::::::::::::::::: 4require_once('../manager/includes/version.inc.php'); 5 47 $params['lock_template'], 48 array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false 49 ); 79 $params['lock_tv'], /* value should be 1 or 0 */ 80 array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false 81 ); 104 $params['modx_category'], 105 array_key_exists('overwrite', $params) ? $params['overwrite'] : 'true', 106 array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false 132 $params['modx_category'], 133 array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false 134 );FormErrors.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 22/** Zend_Form_Decorator_Abstract */ 23require_once 'Zend/Form/Decorator/Abstract.php'; 24 371 $name = $form->getName(); 372 if ((1 == count($errors)) && array_key_exists($name, $errors)) { 373 $errors = $errors[$name];Hostname.php http://digitalus-site-manager.googlecode.com/svn/trunk/ | PHP | 277 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Route.php 9581 2008-06-01 14:08:03Z martel $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Controller_Router_Route_Abstract */ 23require_once 'Zend/Controller/Router/Route/Abstract.php'; 24 146 // Host is longer than a route, it's not a match 147 if (!array_key_exists($pos, $this->_parts)) { 148 return false; 181 foreach ($this->_variables as $var) { 182 if (!array_key_exists($var, $return)) { 183 return false; 208 $useDefault = false; 209 if (isset($name) && array_key_exists($name, $data) && $data[$name] === null) { 210 $useDefault = true;txp_log.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 369 lines
1<?php 2 140 141 if (array_key_exists($search_method, $critsql)) { 142 $criteria = $critsql[$search_method]; 189 n.tag_start('form', array( 190 'action' => 'index.php', 191 'id' => 'log_form',Style.php https://PHPExcel.svn.codeplex.com/svn | PHP | 278 lines
35/** PHPExcel_Style_Fill */ 36require_once 'PHPExcel/Style/Fill.php'; 37 47/** PHPExcel_Style_Conditional */ 48require_once 'PHPExcel/Style/Conditional.php'; 49 50/** PHPExcel_IComparable */ 51require_once 'PHPExcel/IComparable.php'; 52 57 * @package PHPExcel_Cell 58 * @copyright Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel) 59 */ 59 */ 60class PHPExcel_Style implements PHPExcel_IComparable 61{test_system.cache.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 0 lines
1<?php 2 136 137 // PHP does not support arrays with numeric string keys. It silently converts them 138 // to int keys. For example: $test_array["1234"] = "foo"; $test_array["bar"] = "baz"; 142 // BPM_sUtil::random_string() can (and does) produce values like (string)7. To avoid 143 // debugging problems, prepend all the key names with "k" to ensure PHP treats them as strings. 144 164 // 165 // But, PHP *doesn't catch* this defect when the variable name is created dynamically 166 // [ $name = "7"; $test_object->{$name} = "foo" ]. Instead, it converts the key's type 244 245 // Load the database and check array with test data. Note that PHPUnit resets ALL the 246 // class variables between tests, so we have to reload the table and reset the cache 261 262 // Load the database and check array with test data. Note that PHPUnit resets ALL the 263 // class variables between tests, so we have to reload the table and reset the cacheNumberFormat.php https://PHPExcel.svn.codeplex.com/svn | PHP | 498 lines
29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 32/** PHPExcel_Shared_Date */ 33require_once 'PHPExcel/Shared/Date.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_NumberFormat implements PHPExcel_IComparable 44{ 448 if (is_float($value)) { 449 return date($format, PHPExcel_Shared_Date::ExceltoPHP($value)); 450 }rest.php git://github.com/fuel/core.git | PHP | 525 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 64 'jsonp'=> 'text/javascript', 65 'serialized' => 'application/vnd.php.serialized', 66 'php' => 'text/plain', 117 // If no (or an invalid) format is given, auto detect the format 118 if (is_null($this->format) or ! array_key_exists($this->format, $this->_supported_formats)) 119 { 120 // auto-detect the format 121 $this->format = array_key_exists(\Input::extension(), $this->_supported_formats) ? \Input::extension() : $this->_detect_format(); 122 }BasesfGuardRememberKey.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 566 lines
1<?php 2 368 369 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 370 { 397 398 public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true) 399 { 410 411 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 412 { 435 436 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 437 { 439 440 if (array_key_exists($keys[0], $arr)) $this->setUserId($arr[$keys[0]]); 441 if (array_key_exists($keys[1], $arr)) $this->setRememberKey($arr[$keys[1]]);navigation_m.php git://github.com/pyrocms/pyrocms.git | PHP | 492 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 217 { 218 if (array_key_exists($row['parent'], $links)) 219 {PhpThumb.inc.php git://github.com/masterexploder/PHPThumb.git | PHP | 248 lines
2/** 3 * PhpThumb Library Definition File 4 * 7 * PHP Version 5 with GD 2.0+ 8 * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> 9 * Copyright (c) 2009, Ian Selby/Gen X Design 20 * @version 3.0 21 * @package PhpThumb 22 * @filesource 27/** 28 * PhpThumb Object 29 * 36 * can't create one via the new keyword): 37 * <code>$pt = PhpThumb::getInstance();</code> 38 *BaseComputerPeer.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 387 lines
1<?php 2 37 38 private static $phpNameMap = null; 39 42 private static $fieldNames = array ( 43 BasePeer::TYPE_PHPNAME => array ('Id', 'Name', 'Mac', 'Groups', 'Hw', ), 44 BasePeer::TYPE_COLNAME => array (ComputerPeer::ID, ComputerPeer::NAME, ComputerPeer::MAC, ComputerPeer::GROUPS, ComputerPeer::HW, ), 50 private static $fieldKeys = array ( 51 BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Name' => 1, 'Mac' => 2, 'Groups' => 3, 'Hw' => 4, ), 52 BasePeer::TYPE_COLNAME => array (ComputerPeer::ID => 0, ComputerPeer::NAME => 1, ComputerPeer::MAC => 2, ComputerPeer::GROUPS => 3, ComputerPeer::HW => 4, ), 62 63 public static function getPhpNameMap() 64 { 64 { 65 if (self::$phpNameMap === null) { 66 $map = ComputerPeer::getTableMap();CArray.php http://phundament.googlecode.com/svn/trunk/modules/p2/ | PHP | 316 lines
1<?php 2/** 4 * 5 * $Id: CArray.php 401 2010-02-14 04:03:52Z schmunk $ 6 * 9 * @copyright (c) 2007-2008 Kohana Team 10 * @license http://kohanaphp.com/license.html 11 */ 77 { 78 if ( ! array_key_exists($key, $array)) 79 return NULL; 118 /** 119 * Because PHP does not have this function. 120 * 135 /** 136 * Because PHP does not have this function, and array_walk_recursive creates 137 * references in arrays and is not truly recursive.Request.php https://bitbucket.org/chamilo/chamilo-ext-repo-photobucket-dev/ | PHP | 399 lines
1<?php 2use common\libraries\Path; 4 * Photobucket API 5 * Fluent interface for PHP5 6 * Request parent class 11 * @copyright Copyright (c) 2008, Photobucket, Inc. 12 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 13 */ 17 */ 18require_once Path :: get_plugin_path() . 'pear/OAuth/Request.php'; 19 228 //cleanup/determine format 229 if ($this->default_format && ! array_key_exists('format', $params)) 230 {object.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 216 lines
1<?php 2/** 128 } 129 else if (!array_key_exists($i, $this->_errors)) 130 {OracleTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 21 22require_once 'Zend/Db/Statement/TestCommon.php'; 23 23 24PHPUnit_Util_Filter::addFileToFilter(__FILE__); 25 109 $result = $this->_db->fetchAll($select); 110 $this->assertTrue(array_key_exists('product_name', $result[0]), 'fetchAll must return null for empty fields with Oracle'); 111 $result = $this->_db->fetchRow($select); 111 $result = $this->_db->fetchRow($select); 112 $this->assertTrue(array_key_exists('product_name', $result), 'fetchRow must return null for empty fields with Oracle'); 113 }Xml.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Xml.php 11428 2008-09-18 16:14:39Z doctorrock83 $ 20 */ 24 */ 25require_once 'Zend/Config.php'; 26 58 if (empty($filename)) { 59 require_once 'Zend/Config/Exception.php'; 60 throw new Zend_Config_Exception('Filename is not set'); 67 if ($this->_loadFileErrorStr !== null) { 68 require_once 'Zend/Config/Exception.php'; 69 throw new Zend_Config_Exception($this->_loadFileErrorStr); 82 if (!isset($config->$sectionName)) { 83 require_once 'Zend/Config/Exception.php'; 84 throw new Zend_Config_Exception("Section '$sectionName' cannot be found in $filename");list.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 280 lines
49<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 50<html><head><title> <?php echo url::organizationName() ; ?> </title> 51 106 107 <form name="page_search_form" action="<?php echo url::base() ?>/ca/library/frm/search.php" method="POST"> 108 129 130 <?php 131 $count = 0 ; 149 $linkURI = '<img src="/art/minimal/images/link.gif" alt="link" /> <a href="" class="open-link" id="'.$doc['id'].'">Link</a>'; 150 $deleteURI = url::link('/ca/library/delete.php', array('doc_id' => $doc['id'], 'page' => $pageNo)); 151 $deleteURI = '<a href="'.$deleteURI.'">Delete</a>'; 215 $.ajax({ 216 url: '<?php echo url::base() ;?>' + '/data/library/link.php', 217 type: 'POST',CellQuery.php git://github.com/moodle/moodle.git | PHP | 418 lines
1<?php 2 26 */ 27require_once('Zend/Gdata/App/Util.php'); 28 31 */ 32require_once('Zend/Gdata/Query.php'); 33 198 { 199 if (array_key_exists('min-row', $this->_params)) { 200 return $this->_params['min-row']; 228 { 229 if (array_key_exists('max-row', $this->_params)) { 230 return $this->_params['max-row']; 258 { 259 if (array_key_exists('min-col', $this->_params)) { 260 return $this->_params['min-col'];Rss.php git://github.com/zendframework/zf2.git | PHP | 330 lines
1<?php 2/** 183 $name = $data['name']; 184 if (array_key_exists('email', $data)) { 185 $name = $data['email'] . ' (' . $data['name'] . ')';ItemTest.php https://bitbucket.org/zurmo/zurmo/ | PHP | 275 lines
1<?php 2 /********************************************************************************* 59 $this->assertTrue($account->modifiedByUser->id < 0); 60 $this->assertFalse(array_key_exists('createdByUser', $account->originalAttributeValues)); 61 $this->assertFalse(array_key_exists('modifiedByUser', $account->originalAttributeValues)); 66 $this->assertTrue($account->save()); 67 $this->assertFalse(array_key_exists('createdByUser', $account->originalAttributeValues)); 68 $this->assertFalse(array_key_exists('modifiedByUser', $account->originalAttributeValues)); 74 $this->assertTrue($account->save()); 75 $this->assertFalse(array_key_exists('modifiedByUser', $account->originalAttributeValues)); 76 }index.php http://showslow.googlecode.com/svn/trunk/ | PHP | 228 lines
1<?php 2require_once(dirname(dirname(dirname(__FILE__))).'/global.php'); 35 36$post_data = file_get_contents("php://input"); 37$post = json_decode($post_data, true); 38 39if (!is_null($post) && array_key_exists('u', $post) && array_key_exists('g', $post) 40 && array_key_exists('i', $post) && in_array($post['i'], $YSlow2AllowedProfiles) 41 && array_key_exists('w', $post) && filter_var($post['w'], FILTER_VALIDATE_INT) !== false 42 && array_key_exists('o', $post) && filter_var($post['o'], FILTER_VALIDATE_INT) !== false 43 && array_key_exists('r', $post) && filter_var($post['r'], FILTER_VALIDATE_INT) !== false 132 133} else if (array_key_exists('u', $_GET) && array_key_exists('i', $_GET) && in_array($_GET['i'], $YSlow2AllowedProfiles) 134 && array_key_exists('w', $_GET) && filter_var($_GET['w'], FILTER_VALIDATE_INT) !== false 209<h1>Configure your YSlow</h1> 210<p><b style="color: red">WARNING! Only use this beacon If you're OK with all your YSlow data to be recorded by this instance of ShowSlow and displayed at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a><br/>You can also <a href="http://www.showslow.org/Installation_and_configuration">install ShowSlow on your own server</a> to limit the risk.</b></p> 211SilvercartCheckoutFormStep2.php https://bitbucket.org/silvercart/silvercart/ | PHP | 117 lines
1<?php 2/** 61 (!Member::currentUser()->SilvercartShoppingCart()->isFilled() && 62 !array_key_exists('orderId', $checkoutData))) { 63BackupperController.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 393 lines
1<?php 2 2 3require_once 'X/Controller/Action.php'; 4require_once 'Zend/Config.php'; 4require_once 'Zend/Config.php'; 5require_once 'Zend/Config/Xml.php'; 6require_once 'Zend/Config/Writer/Xml.php'; 91 foreach ($plugins as $pId => $plugin ) { 92 if (( array_key_exists($pId, $components) && ((bool) $components[$pId]) ) || $fastAction == 'all' || $fastAction == $pId) { 93 if ( $plugin instanceof X_VlcShares_Plugins_BackuppableInterface ) { 202 $translationKey = strtolower(array_pop($translationKey)); 203 if ( array_key_exists($pluginId, $backupPlugins) ) { 204 $plugins[$pluginId] = X_Env::_("p_{$translationKey}_backupper_itemlabel"); 268 foreach ($plugins as $pId => $plugin ) { 269 if ( array_key_exists($pId, $components) && ((bool) $components[$pId]) ) { 270 if ( $plugin instanceof X_VlcShares_Plugins_BackuppableInterface ) {kalendorius.php http://mightmedia.googlecode.com/svn/trunk/ | PHP | 178 lines
1<?php 2 21 //Tikriname ar šven?i? masyve nurodyta diena egzistuoja 22 if (array_key_exists($siandien, $array)) { 23 foreach ($array[$siandien] as $key => $val) {MessageCatalogue.php git://github.com/fabpot/symfony.git | PHP | 313 lines
1<?php 2 164 foreach ($messages as $id => $message) { 165 if (isset($this->messages[$intlDomain]) && \array_key_exists($id, $this->messages[$intlDomain])) { 166 $this->messages[$intlDomain][$id] = $message;widgets.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 529 lines
1<?php 2/** 46 public function set($name, $value) { 47 if (array_key_exists($name, $this->attributes)) { 48 // Check that we're not trying to change the guid! 48 // Check that we're not trying to change the guid! 49 if ((array_key_exists('guid', $this->attributes)) && ($name=='guid')) { 50 return false; 316 && is_array($CONFIG->widgets->handlers) 317 && array_key_exists($handler, $CONFIG->widgets->handlers)) { 318 return true;DocumentQuery.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 24 */ 25require_once('Zend/Gdata/App/Util.php'); 26 29 */ 30require_once('Zend/Gdata/Query.php'); 31 196 { 197 if (array_key_exists('title', $this->_params)) { 198 return $this->_params['title']; 209 { 210 if (array_key_exists('title-exact', $this->_params)) { 211 return $this->_params['title-exact']; 223 } else { 224 require_once 'Zend/Gdata/App/Exception.php'; 225 throw new Zend_Gdata_App_Exception('A visibility must be provided for document queries.');swx.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 439 lines
111 // Change to the service folder from here on. 112 // This works exactly like Amfphp to make sure that Amfphp and SWX 113 // services are compatible. 324 // way to do this?) 325 $dataAsPhp = str_replace('\\t', '\t', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 327 $dataAsPhp = str_replace("\\'", "'", $dataAsPhp); 328 363 //$dataAsPhp = str_replace('undefined', 'NULL', $dataAsPhp); 364 $dataAsPhp = str_replace('null', 'NULL', $dataAsPhp); 365 373 $j = new Services_JSON(); 374 $dataAsPhp = $j->decode($dataAsPhp); 375MemStore.php git://github.com/openid/php-openid.git | PHP | 176 lines
1<?php 2 5 */ 6require_once "Auth/OpenID/Interface.php"; 7require_once 'Auth/OpenID/Nonce.php'; 26 { 27 if (array_key_exists($handle, $this->assocs)) { 28 unset($this->assocs[$handle]); 86 { 87 if (!array_key_exists($server_url, $this->server_assocs)) { 88 $this->server_assocs[$server_url] = new ServerAssocs();AbstractTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: AbstractTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Validate_AbstractTest::main'); 27/** Zend_Validate_Abstract */ 28require_once 'Zend/Validate/Abstract.php'; 29 30/** Zend_Translate */ 31require_once 'Zend/Translate.php'; 32 33/** Zend_Registry */ 34require_once 'Zend/Registry.php'; 35FFMpeg.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 407 lines
1<?php 2 2 3require_once ('X/VlcShares/Plugins/Helper/Abstract.php'); 4require_once ('X/VlcShares/Plugins/Helper/StreaminfoInterface.php'); 95 } 96 if ( array_key_exists($index, $this->_fetched['audios']) ) { 97 return $this->_fetched['audios'][$index]['codecName']; 112 } 113 if ( array_key_exists($index, $this->_fetched['audios']) ) { 114 return $this->_fetched['audios'][$index]['codecType']; 150 } 151 if ( array_key_exists($index, $this->_fetched['subs']) ) { 152 return $this->_fetched['subs'][$index]['format']; 168 } 169 if ( array_key_exists($index, $this->_fetched['subs']) ) { 170 return $this->_fetched['subs'][$index]['language'];ModuleTest.php https://bitbucket.org/zurmo/zurmo/ | PHP | 156 lines
1<?php 2 /********************************************************************************* 56 $this->assertTrue (count($modules) > 9); 57 $this->assertTrue (array_key_exists('zurmo', $modules)); 58 $this->assertTrue (array_key_exists('groups', $modules)); 58 $this->assertTrue (array_key_exists('groups', $modules)); 59 $this->assertTrue (array_key_exists('roles', $modules)); 60 $this->assertTrue (array_key_exists('home', $modules)); 60 $this->assertTrue (array_key_exists('home', $modules)); 61 $this->assertTrue (array_key_exists('configuration', $modules)); 62 $this->assertTrue (array_key_exists('accounts', $modules)); 62 $this->assertTrue (array_key_exists('accounts', $modules)); 63 $this->assertTrue (array_key_exists('contacts', $modules)); 64 $this->assertTrue (array_key_exists('leads', $modules)); 64 $this->assertTrue (array_key_exists('leads', $modules)); 65 $this->assertTrue (array_key_exists('opportunities', $modules)); 66 $this->assertTrue (array_key_exists('users', $modules));i_phpsource.php http://openconstructor.googlecode.com/svn/trunk/ | PHP | 105 lines
1<?php 2/** 20 * 21 * $Id: i_phpsource.php,v 1.9 2007/03/02 10:06:41 sanjar Exp $ 22 */ 35 echo '<script>try{window.opener.location.href=window.opener.location.href;}catch(RuntimeException){}'; 36 echo 'window.location.href="edit.php?ds_id='.$_POST['ds_id'].'&id='.$result.'&caret='.@$_POST['caret'].'";</script>'; 37 } 90 foreach((array) @$_COOKIE['vd'] as $key => $val){ 91 if(!array_key_exists($key, (array) @$_POST['vdetail'])) 92 setcookie('vd['.$key.']', '', time() - 3600, WCHOME.'/data/');mod_form.php git://github.com/moodle/moodle.git | PHP | 192 lines
1<?php 2 27 28require_once ($CFG->dirroot.'/course/moodleform_mod.php'); 29require_once($CFG->dirroot.'/mod/url/locallib.php'); 74 75 if (array_key_exists(RESOURCELIB_DISPLAY_POPUP, $options)) { 76 $mform->addElement('text', 'popupwidth', get_string('popupwidth', 'url'), array('size'=>3)); 90 91 if (array_key_exists(RESOURCELIB_DISPLAY_AUTO, $options) or 92 array_key_exists(RESOURCELIB_DISPLAY_EMBED, $options) or 92 array_key_exists(RESOURCELIB_DISPLAY_EMBED, $options) or 93 array_key_exists(RESOURCELIB_DISPLAY_FRAME, $options)) { 94 $mform->addElement('checkbox', 'printintro', get_string('printintro', 'url'));class_plugins.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 131 lines
1<?php 2/* 46 $this->get_liste_plugins(); 47 if (!array_key_exists($plugin, $this->liste_plugins) && file_exists($file)){ 48 $xml = simplexml_load_file($file); 93 // RECUPERATION des requetes de MAJ dans le XML 94 if (array_key_exists($plugin, $this->liste_plugins) && file_exists($file)){ 95 $dom = new DomDocument();download_multi.php http://candydolldb.googlecode.com/svn/trunk/ | PHP | 156 lines
109 110<h2><?php echo sprintf('<a href="index.php">%1$s</a> - %2$s', $lang->g('NavigationHome'), $lang->g('NavigationMultiDownload'))?></h2> 111 117<select id="selModels" name="selModels[]" multiple="multiple" style="width:200px;height:400px;float:left;"> 118<?php echo $ModelsOptions?> 119</select> 131<ol> 132<li><?php echo $lang->g('LabelMultiDownloadStep1')?></li> 133<li><?php echo $lang->g('LabelMultiDownloadStep2')?></li> 137<div class="FormRow"> 138<label style="width:auto;" for="chkSubfolders"><?php echo $lang->g('LabelMultiDownloadUseSubfolders')?></label> <input type="checkbox" id="chkSubfolders" name="chkSubfolders"<?php echo HTMLstuff::CheckedStr($UseSubfoldersInDownload)?> /> 139</div> 145<input type="button" class="FormButton" value="<?php echo $lang->g('ButtonReset')?>" onclick="window.location='download_multi.php';" /> 146<input type="button" class="FormButton" value="<?php echo $lang->g('ButtonCancel')?>" onclick="window.location='index.php';" /> 147</div>BasesfGuardUserPermission.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 508 lines
1<?php 2 300 301 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 302 { 323 324 public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true) 325 { 334 335 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 336 { 353 354 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 355 { 357 358 if (array_key_exists($keys[0], $arr)) $this->setUserId($arr[$keys[0]]); 359 if (array_key_exists($keys[1], $arr)) $this->setPermissionId($arr[$keys[1]]);Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 635 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 37/** PHPExcel_Style_Color */ 38require_once PHPEXCEL_ROOT . 'PHPExcel/Style/Color.php'; 39 40/** PHPExcel_IComparable */ 41require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php'; 42 48 * @package PHPExcel_Style 49 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 50 */ 153 $this->_strikethrough = false; 154 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 155ezproxy-export.php http://xerxes-portal.googlecode.com/svn/trunk/ | PHP | 287 lines
1<?php 2 10 * @license http://www.gnu.org/licenses/ 11 * @version $Id: ezproxy-export.php 1552 2010-12-07 22:54:43Z rochkind@jhu.edu $ 12 * @package Xerxes 69 $domain = $dbHash['domain']; 70 if (! array_key_exists($domain, $this->index_by_domain)) { 71 $this->index_by_domain[ $domain ] = array(); 104 105 if (! array_key_exists($restriction_key, $this->index_by_restriction)) { 106 $this->index_by_restriction[$restriction_key] = array(); 187 188 if (! array_key_exists('host', $parsed_url)) { 189 throw new Exception("Could not include db in ezproxy export. Malformed url? " . $xmlDatabase->metalib_id . " url: " . $xmlDatabase->link_native_home );comments_m.php git://github.com/pyrocms/pyrocms.git | PHP | 237 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 185 { 186 if (array_key_exists(CURRENT_LANGUAGE, $module_names)) 187 {function.mtvar.php git://github.com/openmelody/melody.git | PHP | 194 lines
1<?php 2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd. 10 // parameters: name 11 if ( array_key_exists('value', $args) 12 && !array_key_exists('op', $args) ) { 12 && !array_key_exists('op', $args) ) { 13 require_once("function.mtsetvar.php"); 14 return smarty_function_mtsetvar($args, $ctx); 15 } 16 require_once("MTUtil.php"); 17 $vars =& $ctx->__stash['vars']; 37 } else { 38 if (array_key_exists('function', $args)) 39 $func = $args['function']; 53 } else { 54 if (array_key_exists('index', $args)) 55 $index = $args['index'];auth.php https://bitbucket.org/wez/mtrack/ | PHP | 353 lines
1<?php # vim:ts=2:sw=2:et: 2/* For licensing and copyright terms, see the file named LICENSE */ 3 4include_once MTRACK_INC_DIR . '/auth/mtrack.php'; 5include_once MTRACK_INC_DIR . '/auth/anon.php'; 5include_once MTRACK_INC_DIR . '/auth/anon.php'; 6include_once MTRACK_INC_DIR . '/auth/http.php'; 7include_once MTRACK_INC_DIR . '/auth/openid.php'; 7include_once MTRACK_INC_DIR . '/auth/openid.php'; 8include_once MTRACK_INC_DIR . '/auth/browserid.php'; 9include_once MTRACK_INC_DIR . '/auth/facebook.php'; 119 * the console */ 120 if (php_sapi_name() == 'cli') { 121 static $envs = array('MTRACK_LOGNAME', 'LOGNAME', 'USER'); 158 } catch (Exception $e) { 159 if (php_sapi_name() != 'cli') { 160 header('HTTP/1.0 401 Unauthorized');ClientLogin.php git://github.com/zendframework/zf2.git | PHP | 181 lines
1<?php 2/** 166 // Check if the server asked for a CAPTCHA 167 if (array_key_exists('Error', $goog_resp) && 168 $goog_resp['Error'] == 'CaptchaRequired') {SilvercartCheckoutFormStepPaymentInit.php https://bitbucket.org/silvercart/silvercart/ | PHP | 149 lines
1<?php 2/** 58 if ($member) { 59 if (array_key_exists('PaymentMethod', $checkoutData)) { 60 $this->paymentMethodObj = DataObject::get_by_id( 85 (!Member::currentUser()->SilvercartShoppingCart()->isFilled() && 86 !array_key_exists('orderId', $checkoutData))) { 87Border.php https://PHPExcel.svn.codeplex.com/svn | PHP | 182 lines
29/** PHPExcel_Style_Color */ 30require_once 'PHPExcel/Style/Color.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Border implements PHPExcel_IComparable 44{ 81 $this->_borderStyle = PHPExcel_Style_Border::BORDER_NONE; 82 $this->_borderColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 83 }Color.php https://PHPExcel.svn.codeplex.com/svn | PHP | 421 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 37/** PHPExcel_IComparable */ 38require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php'; 39 45 * @package PHPExcel_Style 46 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 47 */ 47 */ 48class PHPExcel_Style_Color implements PHPExcel_IComparable 49{ 97 /** 98 * Create a new PHPExcel_Style_Color 99 *question.php git://github.com/moodle/moodle.git | PHP | 187 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once($CFG->dirroot . '/question/type/questionbase.php'); 30 68 public function is_complete_response(array $response) { 69 return array_key_exists('answer', $response) && 70 ($response['answer'] || $response['answer'] === '0'); 89 public function compare_response_with_answer(array $response, question_answer $answer) { 90 if (!array_key_exists('answer', $response) || is_null($response['answer'])) { 91 return false; 124 /** 125 * Normalise a UTf-8 string to FORM_C, avoiding the pitfalls in PHP's 126 * normalizer_normalize function.Env.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 350 lines
1<?php 2 2 3require_once 'Zend/Translate.php'; 4require_once 'Zend/Config.php'; 4require_once 'Zend/Config.php'; 5require_once 'Zend/Controller/Front.php'; 6require_once 'X/VlcShares/Plugins/Abstract.php'; 6require_once 'X/VlcShares/Plugins/Abstract.php'; 7require_once 'X/VlcShares/Plugins.php'; 8 37 if ( is_null(self::$_isWindows) ) { 38 self::$_isWindows = ( array_key_exists('WINDIR', $_SERVER) || array_key_exists('windir', $_SERVER)); 39 }ContainermanagerController.php https://code.google.com/p/ontowiki/ | PHP | 398 lines
1<?php 2/** 5 */ 6require_once 'OntoWiki/Controller/Component.php'; 7require_once 'OntoWiki/Module/Registry.php'; 56 $this->container = $_SESSION['container']; 57 if(array_key_exists($name, $this->container)) { 58 $this->_abort('The container you entered already exists.', OntoWiki_Message::ERROR); 76 $name = substr($name, 1); 77 if(array_key_exists($name, $this->container)) { 78 unset($this->container[$name]); 111 $page = 2; 112 if(!array_key_exists($name, $this->container)) { 113 $this->_abort('The container you entered does not exists.', OntoWiki_Message::ERROR); 132 $this->pager($name, $page); 133 //$this->view->render('list.php'); 134 }filmstrip.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 244 lines
1<?php 2header('Content-disposition: attachment; filename=filmstrip.png'); 8require_once('draw.inc'); 9include 'video/filmstrip.inc.php'; // include the commpn php shared across the filmstrip code 10 19$color = 'ffffff'; 20if (array_key_exists('bg', $_GET)) { 21 $bgcolor = $_GET['bg']; 22} 23if (array_key_exists('text', $_GET)) { 24 $color = $_GET['text'];RequestTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: RequestTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 23// Call Zend_Json_Server_RequestTest::main() if this source file is executed directly. 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Json_Server_RequestTest::main"); 27 28require_once 'Zend/Json/Server/Request.php'; 29require_once 'Zend/Json.php'; 39 */ 40class Zend_Json_Server_RequestTest extends PHPUnit_Framework_TestCase 41{ 49 50 $suite = new PHPUnit_Framework_TestSuite("Zend_Json_Server_RequestTest"); 51 $result = PHPUnit_TextUI_TestRunner::run($suite);Encoder.php git://github.com/zendframework/zf2.git | PHP | 297 lines
1<?php 2/** 249 if (isset($this->options['wrap']) && strlen($attribute) > $this->options['wrap']) { 250 $attribute = trim(chunk_split($attribute, $this->options['wrap'], PHP_EOL . ' ')); 251 } 251 } 252 $output .= $attribute . PHP_EOL; 253 } 254 255 return trim($output, PHP_EOL); 256 } 269 $attributes = array_change_key_case($attributes, CASE_LOWER); 270 if (!$this->versionWritten && array_key_exists('dn', $attributes) && isset($this->options['version']) 271 && array_key_exists('objectclass', $attributes) 272 ) { 273 $string .= sprintf('version: %d', $this->options['version']) . PHP_EOL; 274 $this->versionWritten = true;Alignment.php https://PHPExcel.svn.codeplex.com/svn | PHP | 251 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 29/** PHPExcel_IComparable */ 30require_once 'PHPExcel/IComparable.php'; 31 37 * @package PHPExcel_Style 38 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 39 */ 39 */ 40class PHPExcel_Style_Alignment implements PHPExcel_IComparable 41{ 88 // Initialise values 89 $this->_horizontal = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; 90 $this->_vertical = PHPExcel_Style_Alignment::VERTICAL_BOTTOM;Page.php http://kv-webme.googlecode.com/svn/trunk/ | PHP | 427 lines
1<?php 2/** 4 * 5 * PHP version 5.2 6 * 171 } 172 if (!array_key_exists($id, self::$instances)) { 173 self::$instances[$id]=new Page($id, 0, $fromRow, $pvq); 193 $nameIndex=preg_replace('#[^,a-z0-9/]#', '-', $name); 194 if (array_key_exists($nameIndex, self::$instancesByName)) { 195 return self::$instancesByName[$nameIndex]; 228 } 229 if (!array_key_exists($sp, self::$instancesBySpecial)) { 230 self::$instancesBySpecial[$sp]=new Page($sp, 3); 245 static function getInstanceByType($type=0) { 246 if (!array_key_exists($type, self::$instancesByType)) { 247 new Page($type, 2);tests.php git://github.com/sofadesign/limonade.git | PHP | 350 lines
1<?php 2/** 12 */ 13require_once dirname(__FILE__)."/assertions.php"; 14 21 22if(!array_key_exists("limonade", $GLOBALS)) 23 $GLOBALS["limonade"] = array(); 23 $GLOBALS["limonade"] = array(); 24if(!array_key_exists("test_cases", $GLOBALS["limonade"])) 25 $GLOBALS["limonade"]["test_cases"] = array(); 25 $GLOBALS["limonade"]["test_cases"] = array(); 26if(!array_key_exists("test_errors", $GLOBALS["limonade"])) 27 $GLOBALS["limonade"]["test_errors"] = array(); 27 $GLOBALS["limonade"]["test_errors"] = array(); 28if(!array_key_exists("test_case_current", $GLOBALS["limonade"])) 29 $GLOBALS["limonade"]["test_case_current"] = NULL;Border.php https://PHPExcel.svn.codeplex.com/svn | PHP | 382 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 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 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Border implements PHPExcel_IComparable 37{ 97 // Initialise values 98 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 99 108 * 109 * @param PHPExcel_Style_Borders $parent 110 * @param string $parentPropertyNameNavigation.php https://code.google.com/p/ontowiki/ | PHP | 319 lines
1<?php 2/* vim: sw=4:sts=4:expandtab */ 6 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 7 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 8 */ 15 * @copyright Copyright (c) 2008, {@link http://aksw.org AKSW} 16 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 17 * @author Norman Heino <norman.heino@gmail.com> 113 { 114 if (array_key_exists($key, self::$_navigation) && !$replace) { 115 throw new OntoWiki_Exception("Navigation component with key '$key' already registered."); 117 118 if (!array_key_exists('name', $options)) { 119 $options['name'] = $key; 134 if (!$replace) { 135 if (array_key_exists('priority', $options) && is_numeric($options['priority'])) { 136 $position = (int)$options['priority'];videozer_com.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 252 lines
1<?php 2 13 14 $page = $this->GetPage(str_replace('videozer.com/video/', 'videozer.com/player_control/settings.php?v=', $link)); 15 is_notpresent ($page, "you still have quota left", "Error: Still have quota left?"); 29 $qs = trim($_REQUEST['vzr_qs']); 30 if (array_key_exists($qs, $stream)) { 31 $dllink = $stream[$qs][1]; 42 } else { 43 global $PHP_SELF; 44 45 echo "\n<br /><br /><h3 style='text-align: center;'>This video have more than 1 stream, please select one for download.</h4>"; 46 echo "\n<br /><center><form name='dl' action='$PHP_SELF' method='post'>\n"; 47 echo "<select name='vzr_qs' id='vzr_qs'>\n"; 79 private function Get_Reply($page) { 80 if (!function_exists('json_decode')) html_error("Error: Please enable JSON in php."); 81 $json = substr($page, strpos($page,"\r\n\r\n") + 4);class_assemblage.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 369 lines
1<?php 2/* 32 $id_bloc_html = intval(preg_replace('/HTML_/','',$bloc)); 33 include_once($root.'plugins/blocs/html/mod.php'); 34 $tpl->pparse('HTML_'.$id_bloc_html,true); 34 $tpl->pparse('HTML_'.$id_bloc_html,true); 35 }elseif (file_exists($root.'plugins/blocs/'.$bloc.'/mod.php')) 36 { 36 { 37 include_once($root.'plugins/blocs/'.$bloc.'/mod.php'); 38 $tpl->pparse($bloc,true); 64 $i++; 65 if (array_key_exists($i,$map->data['map'])) 66 { 75 $id_bloc_html = intval(preg_replace('/HTML_/','',$value)); 76 include($root.'plugins/blocs/html/mod.php'); 77 $tpl->pparse($value,true);VideoQuery.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 24 */ 25require_once('Zend/Gdata/YouTube.php'); 26 29 */ 30require_once('Zend/Gdata/Query.php'); 31 76 if ($videoId === null) { 77 require_once 'Zend/Gdata/App/Exception.php'; 78 throw new Zend_Gdata_App_Exception('Video ID must be set for feed of type: ' . $feedType); 84 if ($videoId === null) { 85 require_once 'Zend/Gdata/App/Exception.php'; 86 throw new Zend_Gdata_App_Exception('Video ID must be set for feed of type: ' . $feedType); 92 if ($videoId === null) { 93 require_once 'Zend/Gdata/App/Exception.php'; 94 throw new Zend_Gdata_App_Exception('Video ID must be set for feed of type: ' . $feedType);SilvercartUpdate.php https://bitbucket.org/silvercart/silvercart/ | PHP | 410 lines
1<?php 2/** 119 * $classDefaults = $className::$defaults; 120 * was replaced with eval call to provide compatibility to PHP 5.2 121 */ 130 $updateDefaults = $classDefaults; 131 if (!array_key_exists('SilvercartVersion', $updateDefaults) 132 || empty ($updateDefaults['SilvercartVersion'])) { 134 $error = 'Default value for SilvercartVersion not set in class ' . $className; 135 } elseif (!array_key_exists('SilvercartUpdateVersion', $updateDefaults) 136 || empty ($updateDefaults['SilvercartUpdateVersion'])) {test.php http://findresources.googlecode.com/svn/trunk/ | PHP | 451 lines
1<?php 2 45 46 if (!array_key_exists(0, $tests_del_usuario["test_pendientes"])) { 47 redirect('/Test/fin', 'refresh'); 355 356 /* La primera vez que se usa hay que setearlo como array para que no tire error el array_key_exists*/ 357 if(!is_array($rdata)) { 361 /* Para que no tire warning por que no existe la key del array */ 362 if (array_key_exists($key, $rdata)) { 363 $data["session_img"] = $rdata[$key];travels_controller.php http://goldcat.googlecode.com/svn/ | PHP | 224 lines
1<?php 2 21 $file = $this->Upload->uploadImage($uploadsDir, $file, '230x0'); 22 if (array_key_exists('filename', $file)) { 23 $this->data['Travel']['image'] = $file['filename'];cache.php http://noserub.googlecode.com/svn/trunk/ | PHP | 302 lines
1<?php 2/* SVN FILE: $Id$ */ 6 * 7 * PHP versions 4 and 5 8 * 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 10 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 16 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 18 * @package cake 19 * @subpackage cake.cake.libs.view.helpers 20 * @since CakePHP(tm) v 1.0.0.2277 21 * @version $Revision: 1896 $ 23 * @lastmodified $Date: 2009-11-04 09:43:11 +0100 (Wed, 04 Nov 2009) $ 24 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 25 */Alignment.php https://PHPExcel.svn.codeplex.com/svn | PHP | 502 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 37/** PHPExcel_IComparable */ 38require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php'; 39 45 * @package PHPExcel_Style 46 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 47 */ 47 */ 48class PHPExcel_Style_Alignment implements PHPExcel_IComparable 49{ 169 * 170 * @return PHPExcel_Style_Alignment 171 */FormSelect.php http://zfdatagrid.googlecode.com/svn/trunk/ | PHP | 202 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: FormSelect.php 25052 2012-10-16 15:25:50Z matthew $ 21 */ 26 */ 27require_once 'Zend/View/Helper/FormElement.php'; 28 173 $class = null; 174 if (array_key_exists($value, $optionClasses)) { 175 $class = $optionClasses[$value];Db2.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 361 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Db2.php 18951 2009-11-12 16:26:19Z alexander $ 21 */ 25 */ 26// require_once 'Zend/Db/Statement.php'; 27 67 */ 68 // require_once 'Zend/Db/Statement/Db2/Exception.php'; 69 throw new Zend_Db_Statement_Db2_Exception( 79 * @param mixed $parameter Name the parameter, either integer or string. 80 * @param mixed $variable Reference to PHP variable containing the value. 81 * @param mixed $type OPTIONAL Datatype of SQL parameter. 102 */ 103 // require_once 'Zend/Db/Statement/Db2/Exception.php'; 104 throw new Zend_Db_Statement_Db2_Exception(setup.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
31 } 32 $admin_file = ( file_exists( NV_ROOTDIR . "/modules/" . $module_file . "/admin.functions.php" ) and file_exists( NV_ROOTDIR . "/modules/" . $module_file . "/admin/main.php" ) ) ? 1 : 0; 33 $custom_title = preg_replace( '/(\W+)/i', ' ', $setmodule ); 42 nv_insert_logs( NV_LANG_DATA, $module_name, $lang_module['modules'] . ' ' . $setmodule . '"', '', $admin_info['userid'] ); 43 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=edit&mod=" . $setmodule ); 44 die(); 47 } 48 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 49 die(); 138{ 139 $check_file_main = NV_ROOTDIR . "/modules/" . $module_name_i . "/funcs/main.php"; 140 $check_file_functions = NV_ROOTDIR . "/modules/" . $module_name_i . "/functions.php"; 141 142 $check_admin_main = NV_ROOTDIR . "/modules/" . $module_name_i . "/admin/main.php"; 143 $check_admin_functions = NV_ROOTDIR . "/modules/" . $module_name_i . "/admin.functions.php";ArrayHasKey.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 112 lines
36 * 37 * @package PHPUnit 38 * @subpackage Framework_Constraint 38 * @subpackage Framework_Constraint 39 * @author Sebastian Bergmann <sebastian@phpunit.de> 40 * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> 41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 42 * @link http://www.phpunit.de/ 43 * @since File available since Release 3.0.0 48 * 49 * Uses array_key_exists() to check if the key is found in the input array, if 50 * not found the evaluaton fails. 62 */ 63class PHPUnit_Framework_Constraint_ArrayHasKey extends PHPUnit_Framework_Constraint 64{FreebeditController.php https://code.google.com/p/ontowiki/ | PHP | 273 lines
1<?php 2/* 6 7require_once 'OntoWiki/Controller/Component.php'; 8 20 if ((!isset($this->_request->m)) && (!$this->_owApp->selectedModel)) { 21 require_once 'OntoWiki/Exception.php'; 22 throw new OntoWiki_Exception('No model pre-selected model and missing parameter m (model)!'); 33 private function getDefaultProperties($type){ 34 require_once 'Erfurt/Sparql/SimpleQuery.php'; 35 $query = new Erfurt_Sparql_SimpleQuery(); 57 private function isObjectProperty($prop){ 58 require_once 'Erfurt/Sparql/SimpleQuery.php'; 59 $query = new Erfurt_Sparql_SimpleQuery(); 98 // we'll need the titleHelper later... 99 require_once 'OntoWiki/Model/TitleHelper.php'; 100 $titleHelper = new OntoWiki_Model_TitleHelper($this->model);BasePcgroup.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 528 lines
1<?php 2 278 279 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 280 { 301 302 public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true) 303 { 312 313 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 314 { 331 332 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 333 { 335 336 if (array_key_exists($keys[0], $arr)) $this->setId($arr[$keys[0]]); 337 if (array_key_exists($keys[1], $arr)) $this->setName($arr[$keys[1]]);QApplication.class.php http://tracmor.googlecode.com/svn/trunk/ | PHP | 304 lines
37 if (isset($_SESSION)) { 38 if (array_key_exists('country_code', $_SESSION)) 39 QApplication::$CountryCode = $_SESSION['country_code']; 39 QApplication::$CountryCode = $_SESSION['country_code']; 40 if (array_key_exists('language_code', $_SESSION)) 41 QApplication::$LanguageCode = $_SESSION['language_code']; 121 if (!$objRoleModule->AccessFlag) { 122 QApplication::Redirect('../common/trespass.php'); 123 } 131 elseif (!$objUserAccount->AdminFlag) { 132 QApplication::Redirect('../common/trespass.php'); 133 } 284 if (file_exists($strPath . '/' . $strFileName)) { 285 require_once( __DOCROOT__ . __PHP_ASSETS__ . '/s3.class.php'); 286 $objS3 = new S3();transfer_validation.php git://github.com/davidpersson/media.git | PHP | 111 lines
1<?php 2/** 9 * 10 * PHP version 5 11 * CakePHP version 1.3 15 * @copyright 2007-2013 David Persson <nperson@gmx.de> 16 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 17 * @link http://github.com/davidpersson/media 74 } 75 if (!array_key_exists('name',$check) 76 || !array_key_exists('type',$check) 76 || !array_key_exists('type',$check) 77 || !array_key_exists('tmp_name',$check) 78 || !array_key_exists('error',$check) 78 || !array_key_exists('error',$check) 79 || !array_key_exists('size',$check)) { 80 return false;CreditCard.php https://code.google.com/p/ecartcommerce/ | PHP | 86 lines
1<?php 2/** 78 foreach(explode(",", $id) as $key) { 79 if (array_key_exists($key, self::$_cards)) 80 $ret[$key] = self::$_cards[$key];references.php http://dwp-forge.googlecode.com/svn/trunk/ | PHP | 335 lines
1<?php 2 12 13require_once(DOKU_PLUGIN . 'syntax.php'); 14require_once(DOKU_PLUGIN . 'refnotes/core.php'); 14require_once(DOKU_PLUGIN . 'refnotes/core.php'); 15require_once(DOKU_PLUGIN . 'refnotes/bibtex.php'); 16 227 228 if (array_key_exists('source', $data[1])) { 229 $source = $data[1]['source'];HistoryController.php https://code.google.com/p/ontowiki/ | PHP | 352 lines
1<?php 2 9 * @copyright Copyright (c) 2009, {@link http://aksw.org AKSW} 10 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 11 * @version $Id: HistoryController.php 4090 2009-08-19 22:10:54Z christian.wuerker $ 121 is_array($userArray[$entry['useruri']]) && 122 array_key_exists('userName',$userArray[$entry['useruri']]) 123 ) { 185 // abort on missing parameters 186 if (!array_key_exists('actionid',$params) || empty($resource) || empty($graphuri)) { 187 $this->_abort('missing parameters.', OntoWiki_Message::ERROR);Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 619 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2010 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 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Font implements PHPExcel_IComparable 37{ 137 // Initialise values 138 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 139 250 } 251 if (array_key_exists('bold', $pStyles)) { 252 $this->setBold($pStyles['bold']);sfWidget.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 351 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfWidget.class.php 10985 2008-08-20 07:26:11Z dwhittle $ 18 */ 156 { 157 return array_key_exists($name, $this->options); 158 }setup.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 191 lines
27 $module_version = array(); 28 $version_file = NV_ROOTDIR . "/modules/" . $module_file . "/version.php"; 29 if ( file_exists( $version_file ) ) 32 } 33 $admin_file = ( file_exists( NV_ROOTDIR . "/modules/" . $module_file . "/admin.functions.php" ) and file_exists( NV_ROOTDIR . "/modules/" . $module_file . "/admin/main.php" ) ) ? 1 : 0; 34 $custom_title = preg_replace( '/(\W+)/i', ' ', $setmodule ); 41 nv_del_moduleCache( 'themes' ); 42 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=edit&mod=" . $setmodule ); 43 die(); 46 } 47 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 48 die(); 78{ 79 $check_file_main = NV_ROOTDIR . "/modules/" . $module_name_i . "/funcs/main.php"; 80 $check_file_functions = NV_ROOTDIR . "/modules/" . $module_name_i . "/functions.php";alerts.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 320 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 4 * 5 * PHP version 5 6 * LICENSE: This source file is subject to LGPL license 138 139 if (array_key_exists('alert_recipient', $post->errors('alerts'))) 140 {model.php git://github.com/joomla/joomla-platform.git | PHP | 526 lines
1<?php 2/** 170 case 'model': 171 $filename = strtolower($parts['name']) . '.php'; 172 break; 245 { 246 if (array_key_exists('name', $config)) 247 { 256 // Set the model state 257 if (array_key_exists('state', $config)) 258 { 266 // Set the model dbo 267 if (array_key_exists('dbo', $config)) 268 { 276 // Set the default view search path 277 if (array_key_exists('table_path', $config)) 278 {QImageFileControl.class.php http://tracmor.googlecode.com/svn/trunk/ | PHP | 307 lines
1<?php 2/* 22 23<?php 24 58 // Mike Ho recognized it as a bug and will be fixing it in the next release 59 if (array_key_exists($this->strControlId, $_FILES) && ($_FILES[$this->strControlId]['tmp_name'])) { 60 // It was -- update this Control's value with the new value passed in via the POST argumentsStyle.php https://PHPExcel.svn.codeplex.com/svn | PHP | 472 lines
38/** PHPExcel_Style_Borders */ 39require_once 'PHPExcel/Style/Borders.php'; 40 50/** PHPExcel_Style_Protection */ 51require_once 'PHPExcel/Style/Protection.php'; 52 53/** PHPExcel_IComparable */ 54require_once 'PHPExcel/IComparable.php'; 55 60 * @package PHPExcel_Style 61 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 62 */ 62 */ 63class PHPExcel_Style implements PHPExcel_IComparable 64{Config.php git://github.com/zendframework/zf2.git | PHP | 387 lines
1<?php 2/** 78 { 79 if (array_key_exists($name, $this->data)) { 80 return $this->data[$name]; 332 foreach ($merge as $key => $value) { 333 if (array_key_exists($key, $this->data)) { 334 if (is_int($key)) {LoggerNDC.php http://owasp-esapi-php.googlecode.com/svn/trunk/ | PHP | 202 lines
78 * @version $Revision: 795643 $ 79 * @package log4php 80 * @since 0.3 94 public static function clear() { 95 $GLOBALS['log4php.LoggerNDC.ht'] = array(); 96 } 103 public static function get() { 104 if(!array_key_exists('log4php.LoggerNDC.ht', $GLOBALS)) { 105 LoggerNDC::clear(); 117 public static function getDepth() { 118 return count($GLOBALS['log4php.LoggerNDC.ht']); 119 } 195 if(LoggerNDC::getDepth() > $maxDepth) { 196 $GLOBALS['log4php.LoggerNDC.ht'] = array_slice($GLOBALS['log4php.LoggerNDC.ht'], $maxDepth); 197 }DatetimeField.php git://github.com/silverstripe/sapphire.git | PHP | 362 lines
1<?php 2 23 * - "timezone": Set a different timezone for viewing. {@link dataValue()} will still save 24 * the time in PHP's default timezone (date_default_timezone_get()), its only a view setting. 25 * Note that the sub-fields ({@link getDateField()} and {@link getTimeField()}) 141 // Accept user input on timezone, but only when timezone support is enabled 142 $userTz = (is_array($val) && array_key_exists('timezone', $val)) ? $val['timezone'] : null; 143 if(!$userTz) $userTz = $this->getConfig('usertimezone'); // fall back to defined timezone 157 // Case 2: Array form submission with user date format 158 elseif(is_array($val) && array_key_exists('date', $val) && array_key_exists('time', $val)) { 159getLocations.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 200 lines
1<?php 2include 'common.inc'; 99 { 100 if (array_key_exists($group[$j], $loc)) { 101 if (!$loc[$group[$j]]['hidden'] || $_REQUEST['hidden']) { 151 $testers = GetTesters($locationId); 152 if (isset($testers) && is_array($testers) && array_key_exists('testers', $testers)) { 153 foreach($testers['testers'] as &$tester) { 179 // see if we need to populate the cache from the remote server 180 if (!array_key_exists($server_hash, $remote_cache)) { 181 $remote = json_decode(json_encode((array)simplexml_load_file("$server/getLocations.php?hidden=1")), true); 181 $remote = json_decode(json_encode((array)simplexml_load_file("$server/getLocations.php?hidden=1")), true); 182 if (is_array($remote) && array_key_exists('data', $remote) && array_key_exists('location', $remote['data'])) { 183 $cache_entry = array(); 192 193 if (array_key_exists($server_hash, $remote_cache) && array_key_exists($remote_location,$remote_cache[$server_hash])) { 194 $backlog = $remote_cache[$server_hash][$remote_location];driver.php git://github.com/fuel/core.git | PHP | 424 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 96 'json' => 'application/json', 97 'serialize' => 'application/vnd.php.serialized', 98 'php' => 'text/plain', 112 'application/csv' => 'csv', 113 'application/vnd.php.serialized' => 'serialize', 114 ); 260 { 261 if (array_key_exists($mime, static::$supported_formats)) 262 {KeyDescriptorTest.php https://hg01.codeplex.com/odataphpproducer | PHP | 267 lines
4use ODataProducer\Common\ODataException; 5require_once 'PHPUnit\Framework\Assert.php'; 6require_once 'PHPUnit\Framework\Test.php'; 6require_once 'PHPUnit\Framework\Test.php'; 7require_once 'PHPUnit\Framework\SelfDescribing.php'; 8require_once 'PHPUnit\Framework\TestCase.php'; 8require_once 'PHPUnit\Framework\TestCase.php'; 9require_once 'PHPUnit\Framework\TestSuite.php'; 10require_once 'ODataProducer\Common\ClassAutoLoader.php'; 10require_once 'ODataProducer\Common\ClassAutoLoader.php'; 11require_once (dirname(__FILE__) . "\..\..\..\Resources\NorthWindMetadata.php"); 12ODataProducer\Common\ClassAutoLoader::register(); 12ODataProducer\Common\ClassAutoLoader::register(); 13class TestKeyDescriptor extends PHPUnit_Framework_TestCase 14{function.mtsetvar.php https://code.google.com/p/movabletype/ | PHP | 151 lines
1<?php 2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd. 5# 6# $Id: function.mtsetvar.php 5225 2010-01-27 07:14:14Z takayama $ 7 20 # replaces page layout for current page 21 require_once("MTUtil.php"); 22 $columns = get_page_column($value); 30 } else { 31 if (array_key_exists('function', $args)) 32 $func = $args['function']; 46 } else { 47 if (array_key_exists('index', $args)) 48 $index = $args['index']; 48 $index = $args['index']; 49 else if (array_key_exists('key', $args)) 50 $key = $args['key'];Borders.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 541 lines
1<?php 2/** 2/** 3 * PHPExcel 4 * 4 * 5 * Copyright (c) 2006 - 2011 PHPExcel 6 * 22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 32 * @package PHPExcel_Style 33 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 34 */ 34 */ 35class PHPExcel_Style_Borders implements PHPExcel_IComparable 36{DependencyContainer.php git://github.com/swiftmailer/swiftmailer.git | PHP | 387 lines
1<?php 2 85 { 86 return array_key_exists($itemName, $this->store) 87 && isset($this->store[$itemName]['lookupType']);mysqli_forge.php git://github.com/philsturgeon/codeigniter-restserver.git | PHP | 258 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 * 69 // Numeric field names aren't allowed in databases, so if the key is 70 // numeric, we know it was assigned by PHP and the developer manually 71 // entered the field information, so we'll simply add it to the list 81 82 if (array_key_exists('NAME', $attributes)) 83 { 86 87 if (array_key_exists('TYPE', $attributes)) 88 { 91 92 if (array_key_exists('CONSTRAINT', $attributes)) 93 {builder.php git://github.com/fuel/core.git | PHP | 217 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 10 * @copyright 2008 - 2009 Kohana Team 11 * @link https://fuelphp.com 12 */ 111 112 if (is_string($min) AND array_key_exists($min, $this->_parameters)) 113 { 117 118 if (is_string($max) AND array_key_exists($max, $this->_parameters)) 119 { 128 { 129 if (is_string($value) AND array_key_exists($value, $this->_parameters)) 130 {aggregate.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 176 lines
1<?php 2include 'common.inc'; 6$use_median_run = false; 7if (array_key_exists('run', $_REQUEST) && $_REQUEST['run'] == 'median') 8 $use_median_run = true;action.php http://dwp-forge.googlecode.com/svn/trunk/ | PHP | 374 lines
1<?php 2 13if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/'); 14require_once(DOKU_PLUGIN . 'action.php'); 15require_once(DOKU_PLUGIN . 'qna/info.php'); 304 /* Handle appends */ 305 if (array_key_exists(-1, $this->correction)) { 306 $this->applyAppend($output);Between.php git://github.com/zendframework/zf2.git | PHP | 182 lines
1<?php 2/** 47 'min' => 0, 48 'max' => PHP_INT_MAX, 49 ); 81 if (count($options) !== 2 82 && (!array_key_exists('min', $options) || !array_key_exists('max', $options)) 83 ) {Alnum.php git://github.com/zendframework/zf2.git | PHP | 173 lines
1<?php 2/** 88 89 if (array_key_exists('allowWhiteSpace', $options)) { 90 $this->setAllowWhiteSpace($options['allowWhiteSpace']); 92 93 if (!array_key_exists('locale', $options)) { 94 $options['locale'] = null;SourceHandler.php https://bitbucket.org/chamilo/chamilo/ | PHP | 212 lines
1<?php 2/** 4 * 5 * PHP Version 5.3.0 6 * 38 * 39 * @category PHP_CodeBrowser 40 * @package PHP_CodeBrowser 44 * @copyright 2007-2010 Mayflower GmbH 45 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 46 * @version SVN: $Id$ 46 * @version SVN: $Id$ 47 * @link http://www.phpunit.de/ 48 * @since File available since 0.2.0 56 * 57 * @category PHP_CodeBrowser 58 * @package PHP_CodeBrowserBaseSubsys.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 532 lines
1<?php 2 329 330 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 331 { 358 359 public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true) 360 { 371 372 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 373 { 396 397 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 398 { 400 401 if (array_key_exists($keys[0], $arr)) $this->setCode($arr[$keys[0]]); 402 if (array_key_exists($keys[1], $arr)) $this->setDeviceId($arr[$keys[1]]);Config.php git://github.com/nette/nette.git | PHP | 0 lines
1<?php 2 32 private $adapters = array( 33 'php' => 'Nette\Config\Adapters\PhpAdapter', 34 'ini' => 'Nette\Config\Adapters\IniAdapter', 213 { 214 if (!array_key_exists($key, $data) || !is_array($data[$key]) && $data[$key] !== NULL) { 215 throw new Nette\InvalidStateException("Section '$key' is missing or is not an array.");SilvercartAddressHolder.php https://bitbucket.org/silvercart/silvercart/ | PHP | 311 lines
1<?php 2/** 150 $params = $request->allParams(); 151 if (array_key_exists('ID', $params) 152 && !empty ($params['ID'])) { 190 $params = $request->allParams(); 191 if (array_key_exists('ID', $params) 192 && !empty ($params['ID'])) { 218 $params = $request->allParams(); 219 if (array_key_exists('ID', $params) 220 && !empty ($params['ID'])) {Border.php https://PHPExcel.svn.codeplex.com/svn | PHP | 384 lines
29/** PHPExcel_Style_Color */ 30require_once 'PHPExcel/Style/Color.php'; 31 32/** PHPExcel_IComparable */ 33require_once 'PHPExcel/IComparable.php'; 34 40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 42 */ 43class PHPExcel_Style_Border implements PHPExcel_IComparable 44{ 105 $this->_borderStyle = PHPExcel_Style_Border::BORDER_NONE; 106 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 107FormSelect.php http://grupal.googlecode.com/svn/trunk/ | PHP | 201 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: FormSelect.php 25186 2013-01-08 08:18:19Z frosch $ 21 */ 26 */ 27require_once 'Zend/View/Helper/FormElement.php'; 28 173 $class = null; 174 if (array_key_exists($value, $optionClasses)) { 175 $class = $optionClasses[$value];UploadTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: UploadTest.php 12004 2008-10-18 14:29:41Z mikaelkael $ 21 */ 23// Call Zend_Validate_File_UploadTest::main() if this source file is executed directly. 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Validate_File_UploadTest::main"); 30 */ 31require_once dirname(__FILE__) . '/../../../TestHelper.php'; 32 35 */ 36require_once 'Zend/Validate/File/Upload.php'; 37 44 */ 45class Zend_Validate_File_UploadTest extends PHPUnit_Framework_TestCase 46{Row.php https://code.google.com/p/ecartcommerce/ | PHP | 154 lines
1<?php 2/** 78// $dataType = strtolower($col['DATA_TYPE']); 79// if (array_key_exists($dataType, $this->_dataTypes)) { 80// settype($this->_data[$name], $this->_dataTypes[$dataType]);ModuleTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
5require_once "PHPUnit/Framework/TestCase.php"; 6require_once "PHPUnit/Framework/TestSuite.php"; 7/** 16/** Zend_Controller_Front */ 17require_once 'Zend/Controller/Front.php'; 18 28 */ 29class Zend_Controller_Router_Route_ModuleTest extends PHPUnit_Framework_TestCase 30{ 43 { 44 require_once "PHPUnit/TextUI/TestRunner.php"; 45 45 46 $suite = new PHPUnit_Framework_TestSuite("Zend_Controller_Router_Route_ModuleTest"); 47 $result = PHPUnit_TextUI_TestRunner::run($suite);