100+ results results for 'php ucfirst repo:adothompson/ucsc-identity-joomla' (2370 ms)
1<?php 2/* 34define( 'EDIT_FLOW_URL' , plugins_url( '/', __FILE__ ) ); 35define( 'EDIT_FLOW_SETTINGS_PAGE' , add_query_arg( 'page', 'ef-settings', get_admin_url( null, 'admin.php' ) ) ); 36 91 if ( !class_exists( 'WP_List_Table' ) ) 92 require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); 93 94 // Edit Flow base module 95 require_once( EDIT_FLOW_ROOT . '/common/php/class-module.php' ); 96 100 foreach( $module_dirs as $module_dir ) { 101 if ( file_exists( EDIT_FLOW_ROOT . "/modules/{$module_dir}/$module_dir.php" ) ) { 102 include_once( EDIT_FLOW_ROOT . "/modules/{$module_dir}/$module_dir.php" ); 120 // Other utils 121 require_once( EDIT_FLOW_ROOT . '/common/php/util.php' ); 122legacy.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 596 lines
1<?php 2/** 156 case 'model': 157 $filename = strtolower($parts['name']) . '.php'; 158 break; 177 $type = preg_replace('/[^A-Z0-9_\.-]/i', '', $type); 178 $modelClass = $prefix . ucfirst($type); 179Loader.php https://gitlab.com/buitenzorg812/garapic.cms | PHP | 481 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 12 * 13 * Install this file as application/third_party/MX/Loader.php 14 * 178 179 $library = ucfirst($_library); 180 CI::$APP->$_alias = new $library($params); 226 227 $model = ucfirst($_model); 228 CI::$APP->$_alias = new $model(); 352 { 353 echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path)))); 354 } 480/** load the CI class for Modular Separation **/ 481(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';App.class.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 163 lines
41 if($GLOBALS['_commonConfig_']['HTML_CACHE_ON']){// ?????? 42 if(file_exists(APP_PATH.'/App/Config/Html.php')){ 43 G::C('_HTML_',(array)(include APP_PATH.'/App/Config/Html.php')); 58 static public function execute(){ 59 $sModule=ucfirst(MODULE_NAME)."Controller"; 60 if(Package::classExists($sModule,false,true)){$oModule=new $sModule();} 71 if(method_exists( $oModule,'init__')){call_user_func(array($oModule,'init__'));} 72 if(defined('DOYOUHAOBABY_TEMPLATE_BASE') && ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)!==TEMPLATE_NAME && is_dir(APP_PATH."/Theme/".ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)."/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/".ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)."/Public/Php/Lang");} 73 if(method_exists( $oModule,'b'.ucfirst(ACTION_NAME).'_')){call_user_func(array($oModule,'b'.ucfirst(ACTION_NAME).'_'));} 85 self::$_bEmptyModel=true; 86 $sModule=ucfirst(strtolower($GLOBALS['_commonConfig_']['EMPTY_MODULE_NAME']))."Controller"; 87 if(!Package::classExists($sModule,false,true)){return false;} 117 if(is_dir(APP_PATH."/Theme/{$sTemplateSet}/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/{$sTemplateSet}/Public/Php/Lang");} 118 if($sTemplateSet!='Default' && is_dir(APP_PATH."/Theme/Default/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/Default/Public/Php/Lang");} 119 return;tab_module_line.tpl https://gitlab.com/staging06/myproject | Smarty Template | 110 lines
8* It is also available through the world-wide-web at this URL: 9* http://opensource.org/licenses/afl-3.0.php 10* If you did not receive a copy of the license and are unable to 22 23* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 30 <td> 31 <div id="anchor{$module->name|ucfirst}" title="{$module->displayName}"> 32 <div class="module_name">ApiGenerator.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 519 lines
197 { 198 $model_name = ucfirst($name) .'_model.php'; 199 230 'single' => $single, 231 'class_name' => ucfirst($plural), 232 'version' => $version 234 235 $destination = $this->destination . ucfirst($plural) .'.php'; 236 253 'single' => $single, 254 'uc_single' => ucfirst($single), 255 'uc_plural' => ucfirst($plural), 257 258 $destination = APPPATH ."language/english/api_{$plural}_lang.php"; 259Cloud.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 410 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tag/Item.php'; 27 120 121 $method = 'set' . ucfirst($key); 122 if (method_exists($this, $method)) { 152 } else { 153 #require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 174 } else { 175 #require_once 'Zend/Tag/Cloud/Exception.php'; 176 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 203 if (null === $this->_tags) { 204 #require_once 'Zend/Tag/ItemList.php'; 205 $this->setItemList(new Zend_Tag_ItemList());directories_add_view.php https://gitlab.com/muktobani/web_site | PHP | 101 lines
19 <label>Web Address</label> 20 <?php echo form_input('txt_web_address', set_value('txt_web_address',$data_arr[0]['web_address']));?> 21 </fieldset> 24 <label>Email Address</label> 25 <?php echo form_input('txt_email_address', set_value('txt_email_address',$data_arr[0]['email_address']));?> 26 </fieldset> 42 <label>Google Map</label> 43 <?php echo form_textarea('txt_google_map', set_value('txt_google_map',$data_arr[0]['google_map']));?> 44 </fieldset> 49 <label>Business Category</label> 50 <?php echo form_dropdown('cbo_business_category', $company_category,set_value('cbo_business_category',$data_arr[0]['business_category']));?> 51 </fieldset> 93 <?php echo form_dropdown('cbo_status', $status_arr,set_value('cbo_status',$data_arr[0]['is_active']));?> 94 <input type="submit" value="<?php echo ucfirst($action); ?>" class="alt_btn"> 95 <input type="reset" value="Reset">Definition.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 85 foreach ($options as $key => $value) { 86 $method = 'set' . ucfirst($key); 87 if (method_exists($this, $method)) { 124 if (is_array($callback)) { 125 require_once 'Zend/Server/Method/Callback.php'; 126 $callback = new Zend_Server_Method_Callback($callback); 127 } elseif (!$callback instanceof Zend_Server_Method_Callback) { 128 require_once 'Zend/Server/Exception.php'; 129 throw new Zend_Server_Exception('Invalid method callback provided'); 153 if (is_array($prototype)) { 154 require_once 'Zend/Server/Method/Prototype.php'; 155 $prototype = new Zend_Server_Method_Prototype($prototype); 156 } elseif (!$prototype instanceof Zend_Server_Method_Prototype) { 157 require_once 'Zend/Server/Exception.php'; 158 throw new Zend_Server_Exception('Invalid method prototype provided');Application.php https://gitlab.com/johanlindberg/irvato-crm | PHP | 334 lines
1<?php 2/************************************************************************ 213 214 $controllerName = ucfirst($controllerParams['controller']); 215 262 263 $currentRoute = $this->getSlim()->$method($route['route'], function() use ($route) { //todo change "use" for php 5.4 264 return $route['params']; 284 285 $namespacesPath = 'vendor/composer/autoload_namespaces.php'; 286 $existingNamespaces = file_exists($namespacesPath) ? include($namespacesPath) : array();ValidClassNamePass.php https://gitlab.com/Sigpot/AirSpot | PHP | 365 lines
1<?php 2 13 14use PhpParser\Node; 15use PhpParser\Node\Expr; 15use PhpParser\Node\Expr; 16use PhpParser\Node\Expr\ClassConstFetch; 17use PhpParser\Node\Expr\New_ as NewExpr; 17use PhpParser\Node\Expr\New_ as NewExpr; 18use PhpParser\Node\Expr\StaticCall; 19use PhpParser\Node\Stmt; 19use PhpParser\Node\Stmt; 20use PhpParser\Node\Stmt\Class_ as ClassStmt; 21use PhpParser\Node\Stmt\Interface_ as InterfaceStmt; 21use PhpParser\Node\Stmt\Interface_ as InterfaceStmt; 22use PhpParser\Node\Stmt\Trait_ as TraitStmt; 23use Psy\Exception\FatalErrorException;Generator.php https://gitlab.com/edot92/jpagithub | PHP | 283 lines
1<?php 2/** 6 * @copyright 2014 Barry vd. Heuvel / Fruitcake Studio (http://www.fruitcakestudio.nl) 7 * @license http://www.opensource.org/licenses/mit-license.php MIT 8 * @link https://github.com/barryvdh/laravel-ide-helper 63 * 64 * @param string $format The format to generate the helper in (php/json) 65 * @return string; 66 */ 67 public function generate($format = 'php') 68 { 69 // Check if the generator for this format exists 70 $method = 'generate'.ucfirst($format).'Helper'; 71 if (method_exists($this, $method)) { 74 75 return $this->generatePhpHelper(); 76 }BroadcastManager.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 210 lines
1<?php 2 98 } else { 99 return $this->{'create'.ucfirst($config['driver']).'Driver'}($config); 100 }ManageController.php https://gitlab.com/wuhang2003/phpwind | PHP | 432 lines
1<?php 2 9 * @author peihong <jhqblxt@gmail.com> Dec 2, 2011 10 * @copyright ©2003-2103 phpwind.com 11 * @license http://www.phpwind.com 11 * @license http://www.phpwind.com 12 * @version $Id: ManageController.php 24747 2013-02-20 03:13:43Z jieyin $ 13 * @package src.applications.bbs.controller 140 $operateThread = $manage->getPermission(); 141 $method = sprintf('_get%sManage', ucfirst($this->action)); 142 $do[] = $this->$method($manage); 144 foreach ($others as $key => $value) { 145 $method = sprintf('_get%sManage', ucfirst($value)); 146 $op = $this->$method($manage); 155 foreach ((array)$actions as $key => $value) { 156 $method = sprintf('_get%sManage', ucfirst($value)); 157 $do[] = $this->$method($manage);Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
1<?php 2 111 112 $className = 'Input' . ucfirst($name); 113metas.php https://gitlab.com/hop23typhu/list-theme | PHP | 223 lines
1<?php 2/** 19 <h2 class="nav-tab-wrapper" id="wpseo-tabs"> 20 <a class="nav-tab" id="general-tab" href="#top#general"><?php _e( 'General', 'wordpress-seo' ); ?></a> 21 <a class="nav-tab" id="home-tab" href="#top#home"><?php _e( 'Homepage', 'wordpress-seo' ); ?></a> 21 <a class="nav-tab" id="home-tab" href="#top#home"><?php _e( 'Homepage', 'wordpress-seo' ); ?></a> 22 <a class="nav-tab" id="post_types-tab" href="#top#post_types"><?php _e( 'Post Types', 'wordpress-seo' ); ?></a> 23 <a class="nav-tab" id="taxonomies-tab" href="#top#taxonomies"><?php _e( 'Taxonomies', 'wordpress-seo' ); ?></a> 23 <a class="nav-tab" id="taxonomies-tab" href="#top#taxonomies"><?php _e( 'Taxonomies', 'wordpress-seo' ); ?></a> 24 <a class="nav-tab" id="archives-tab" href="#top#archives"><?php _e( 'Archives', 'wordpress-seo' ); ?></a> 25 <a class="nav-tab" id="other-tab" href="#top#other"><?php _e( 'Other', 'wordpress-seo' ); ?></a> 32 <th> 33 <?php _e( 'Force rewrite titles', 'wordpress-seo' ); ?> 34 </th> 35 <td> 36 <?php 37 $yform->checkbox( 'forcerewritetitle', __( 'Enable force rewrite titles', 'wordpress-seo' ) );Translator.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 481 lines
1<?php 2 321 $this->assertValidLocale($locale); 322 $self = $this; // required for PHP 5.3 where "$this" cannot be use()d in anonymous functions. Change in Symfony 3.0. 323 $cache = $this->getConfigCacheFactory()->cache($this->getCatalogueCachePath($locale), 338 /** 339 * This method is public because it needs to be callable from a closure in PHP 5.3. It should be made protected (or even private, if possible) in 3.0. 340 * 348 $content = sprintf(<<<EOF 349<?php 350 375 $fallback = $fallbackCatalogue->getLocale(); 376 $fallbackSuffix = ucfirst(preg_replace($replacementPattern, '_', $fallback)); 377 $currentSuffix = ucfirst(preg_replace($replacementPattern, '_', $current)); 399 { 400 return $this->cacheDir.'/catalogue.'.$locale.'.'.sha1(serialize($this->fallbackLocales)).'.php'; 401 }category.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 113 lines
28 <?php foreach(Settings::get_languages() as $l) :?> 29 <li class="tab_edit_category<?php echo $id_category; ?>" rel="<?php echo $l['lang']; ?>"><a><?php echo ucfirst($l['name']); ?></a></li> 30 <?php endforeach ;?> 49 <dd> 50 <input id="title_<?php echo $lang; ?>" name="title_<?php echo $lang; ?>" class="inputtext w180" type="text" value="<?php echo $languages[$lang]['title']; ?>"/> 51 </dd> 59 <dd> 60 <input id="subtitle_<?php echo $lang; ?><?php echo $id_category; ?>" name="subtitle_<?php echo $lang; ?>" class="inputtext" type="text" value="<?php echo $languages[$lang]['subtitle']; ?>"/> 61 </dd> 69 <dd> 70 <textarea id="description_<?php echo $lang; ?><?php echo $id_category; ?>" name="description_<?php echo $lang; ?>" class="tinyCategory w220 h120" rel="<?php echo $lang; ?>"><?php echo $languages[$lang]['description']; ?></textarea> 71 </dd> 103 */ 104 new TabSwapper({tabsContainer: 'categoryTab<?php echo $id_category; ?>', sectionsContainer: 'categoryTabContent<?php echo $id_category; ?>', selectedClass: 'selected', deselectedClass: '', tabs: 'li', clickers: 'li a', sections: 'div.tabcontent<?php echo $id_category; ?>' }); 105Inline.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 143 lines
1<?php 2/** 2/** 3 * Inline HTML diff generator for PHP DiffLib. 4 * 4 * 5 * PHP version 5 6 * 37 * @copyright (c) 2009 Chris Boulton 38 * @license New BSD License http://www.opensource.org/licenses/bsd-license.php 39 * @version 1.1 39 * @version 1.1 40 * @link http://github.com/chrisboulton/php-diff 41 */ 42 43require_once dirname(__FILE__).'/Array.php'; 44index.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 92 lines
12 13 <?php 14 echo form_hidden('semester_id', $this->open_semester->id); 19 <?php echo form_submit('submit', 'Search'); ?> 20 <?php echo form_submit('submit', 'Print'); ?> 21 <?echo form_close();?> 23<?echo isset($links) ? $links : NULL;?> 24 <?php 25 if(isset($search)){ 38 <tbody> 39 <?php 40 if($search) 48 <td><?php echo $student->studid; ?></td> 49 <td><?php echo ucfirst($student->name); ?></td> 50 <td><?php echo $student->year; ?></td>header.php https://gitlab.com/abbelal/home-practice | PHP | 247 lines
102 103 <li class="<?php echo module_name()=='Assign'? 'active':'';?>"><a href="../assign/index.php"><i class="icon-home5 position-left"></i> Assign Session</a></li> 104 104 105 <li class="<?php echo module_name()=='Users'? 'active':'';?>"><a href="../users/index.php"><i class="icon-users2 position-left"></i> User</a></li> 106 108 109 <li class="<?php echo module_name()=='Courses'? 'active':'';?>"><a href="../courses/index.php"><i class=" icon-graduation2 position-left"></i> Course</a></li> 110 150 <div class="media"> 151 <a href="../users/single_user.php?id=<?php echo $singleUserLoggin['unique_id'];?>" class="media-left"><img src="../assets/images/user/<?php echo $singleUserLoggin['image'];?>" class="img-circle img-sm" alt=""></a> 152 <div class="media-body"> 241 }else{ 242 echo "<li>".ucfirst(basename($path,'.php'))."</li>"; 243 }Auth.php https://gitlab.com/lincoln.coutinho/ApplicationKohanaFramework | PHP | 171 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 33 // Set the session class name 34 $class = 'Auth_'.ucfirst($type); 35archive.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 189 lines
1<?php 2/** 2/** 3 * @version $Id: archive.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla.Framework 6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 */ 142 // Try to load the adapter object 143 $class = 'JArchive'.ucfirst($type); 144 146 { 147 $path = dirname(__FILE__).DS.'archive'.DS.strtolower($type).'.php'; 148 if (file_exists($path)) {CacheManager.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 320 lines
1<?php 2 98 } else { 99 $driverMethod = 'create'.ucfirst($config['driver']).'Driver'; 100Auth.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 19 * @license New BSD License 20 * @version $Id: Auth.php 103 2009-10-09 01:30:42Z gutierrezandresfelipe $ 21 */ 134 if(class_exists($adapterClass, false)==false){ 135 $filePath = 'Library/Kumbia/Auth/Adapters/'.ucfirst($adapter).'.php'; 136 if(Core::fileExists($filePath)){ 140 require 'Library/Kumbia/Auth/Interface.php'; 141 require 'Library/Kumbia/Auth/Adapters/'.ucfirst($adapter).'.php'; 142 } else { 221 public function authenticateWithHttp(){ 222 if(!$_SERVER['PHP_AUTH_USER']){ 223 header('WWW-Authenticate: Basic realm="basic"'); 226 } else { 227 $options = array('username' => $_SERVER['PHP_AUTH_USER'], 'password' => $_SERVER['PHP_AUTH_PW']); 228 $this->_adapterObject->setParams($options);Localize.php https://gitlab.com/goolic/PrestaShop | PHP | 261 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 37 'language' => array('filter' => 'strtolower'), 38 'script' => array('filter' => array('strtolower', 'ucfirst')), 39 'territory' => array('filter' => 'strtoupper'),Language.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 162 lines
1<?php 2 23 'code' => $directory->getFileName(), 24 'name' => ucfirst($territories[$dir_name]), 25 'locale' => $locale, 31 'code' => self::DEFAULT_LANGUAGE, 32 'name' => ucfirst($territories[self::DEFAULT_LANGUAGE]), 33 'locale' => self::DEFAULT_LOCALEFilter.php https://gitlab.com/culturagovbr/simec | PHP | 239 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Filter.php 24593 2012-01-05 20:35:02Z matthew $ 20 */ 24 */ 25require_once APPRAIZ_ZEND . 'Filter/Interface.php'; 26 208 { 209 require_once APPRAIZ_ZEND . 'Loader.php'; 210 $namespaces = array_merge((array) $namespaces, self::$_defaultNamespaces, array('Zend_Filter')); 211 foreach ($namespaces as $namespace) { 212 $className = $namespace . '_' . ucfirst($classBaseName); 213 if (!class_exists($className, false)) { 214 try { 215 $file = str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; 216 if (Zend_Loader::isReadable($file)) {api.php https://gitlab.com/autodealer-catalog/api | PHP | 177 lines
1<?php defined('LOGIN') or die('No direct script access.'); 2 17 /// Для "хлебных крошек", на какой каталог ссылаться при построении крошек 18 /// Данным значениям (static::$arrActions) в helpers/breads.php сопоставляются последовательно параметрам из A2D::$aBreads 19 static::$arrActions = ['mark','market','model','year','code','dir','type','group','subgroup','graphic']; 50 /// Ссылка для перехода на страницу с иллюстрацией при клике по нужной модели 51 $nextUrl = "/etka/illustration.php?mark={$mark}&market={$marketCode}&model={$modelCode}&year={$prod}&code={$code}&group={$group}&subgroup={$sgroup}&graphic={$graphic}"; 52 62 /// Собственно, построение массива 63 $aTree[$mark]['name'] = ucfirst($mark); 64 $aTree[$mark]['children'][$modelCode]['name'] = $modelName;ValidVariableNameSniff.php https://gitlab.com/0072016/PHP_CodeSniffer | PHP | 121 lines
30 * @version Release: @package_version@ 31 * @link http://pear.php.net/package/PHP_CodeSniffer 32 */ 89 * 90 * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found. 91 * @param int $stackPtr The position where the token was found. 94 */ 95 protected function processVariable(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 96 { 106 * 107 * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found. 108 * @param int $stackPtr The position where the token was found. 111 */ 112 protected function processVariableInString(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 113 {Logger.php https://gitlab.com/yousafsyed/easternglamor | PHP | 217 lines
1<?php 2/** 21 { 22 return $modelClassName . '\\' . ucfirst(static::ENTITY_TYPE); 23 }AbstractWindApplication.php https://gitlab.com/wuhang2003/phpwind | PHP | 262 lines
1<?php 2/** 7 * @author Qiong Wu <papa0924@gmail.com> 8 * @copyright ©2003-2103 phpwind.com 9 * @license http://www.windframework.com 9 * @license http://www.windframework.com 10 * @version $Id: AbstractWindApplication.php 3919 2013-01-25 03:09:56Z yishuo $ 11 * @package base 73 /* 74 * (non-PHPdoc) @see IWindApplication::run() 75 */ 78 $module = $this->getModules(); 79 $handlerPath = $module['controller-path'] . '.' . ucfirst($this->handlerAdapter->getController()) . $module['controller-suffix']; 80 $className = Wind::import($handlerPath);OrganizationsController.php https://bitbucket.org/Japhethkelly/agmtest.git | PHP | 263 lines
1<?php 2/** 120 'record_id' => $id, 121 'record_name' => ucfirst("organization"), 122 ]); 152 'record_id' => $id, 153 'record_name' => ucfirst("organization"), 154 ]);Pdo.php https://gitlab.com/jalon/doadoronline | PHP | 309 lines
1<?php 2/** 193 default: 194 return ucfirst($name); 195 } 206 default: 207 return ucfirst($name); 208 }MPSUM_Themes_List_Table.php https://gitlab.com/memuller.web/wp_site | PHP | 417 lines
1<?php 2/** 118 if ( $orderby ) { 119 $orderby = ucfirst( $orderby ); 120 $order = strtoupper( $order );Call.php https://gitlab.com/potion/librechan | PHP | 210 lines
1<?php 2 21 } else { 22 $type = ucfirst($this->getAttribute('type')); 23 $compiler->raw(sprintf('call_user_func_array($this->env->get%s(\'%s\')->getCallable(), array', $type, $this->getAttribute('name'))); 159 throw new Twig_Error_Syntax(sprintf( 160 'Argument "%s" could not be assigned for %s "%s(%s)" because it is mapped to an internal PHP function which cannot determine default value for optional argument%s "%s".', 161 $name, $callType, $callName, implode(', ', $names), count($missingArguments) > 1 ? 's' : '', implode('", "', $missingArguments))Grammar.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 270 lines
1<?php namespace Illuminate\Database\Schema\Grammars; 2 191 { 192 return $this->{"type".ucfirst($column->type)}($column); 193 }ValidFunctionNameSniff.php https://gitlab.com/yousafsyed/easternglamor | PHP | 285 lines
16if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) { 17 throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found'); 18} 81 * 82 * @param PHP_CodeSniffer_File $phpcsFile The file being processed. 83 * @param int $stackPtr The position where this token was 88 */ 89 protected function processTokenWithinScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $currScope) 90 { 175 * 176 * @param PHP_CodeSniffer_File $phpcsFile The file being processed. 177 * @param int $stackPtr The position where this token was 181 */ 182 protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 183 {cronish.php https://gitlab.com/BeS/io.schiessle.org | PHP | 59 lines
1<?php 2/** 20 * queue item to be handled later or something. Otherwise execution 21 * will timeout for PHP - or at least cause unnecessary delays for 22 * the unlucky user who visits the site exactly at one of these events. 54 // such as CronHourly, CronDaily, CronWeekly 55 Event::handle('Cron' . ucfirst($name)); 56 }init.php https://gitlab.com/iamgraeme/royalmile | PHP | 121 lines
1<?php 2/* 60 // html MOVIE 61 $type = ( !empty($eventtype) ? $eventtype : ucfirst( $this->shortcodeCfg['type'] ) ); 62 //$ret[] = '<div itemscope itemtype="http://schema.org/' . $type .'">';quickadd.php https://gitlab.com/julienv/joomleague | PHP | 295 lines
1<?php 2/** 3 * @copyright Copyright (C) 2006-2014 joomleague.at. All rights reserved. 4 * @license GNU/GPL, see LICENSE.php 5 * Joomla! is free software. This version may have been modified pursuant 8 * other free or open source software licenses. 9 * See COPYRIGHT.php for copyright notices and details. 10 */ 16 17require_once ( JPATH_COMPONENT . DS . 'models' . DS . 'list.php' ); 18 205 if(count($name) == 1) { 206 $firstname = ucfirst($name[0]); 207 $nickname = $name[0]; 210 if(count($name) == 2) { 211 $firstname = ucfirst($name[0]); 212 $nickname = $name[1];SideBySide.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 163 lines
1<?php 2/** 2/** 3 * Side by Side HTML diff generator for PHP DiffLib. 4 * 4 * 5 * PHP version 5 6 * 37 * @copyright (c) 2009 Chris Boulton 38 * @license New BSD License http://www.opensource.org/licenses/bsd-license.php 39 * @version 1.1 39 * @version 1.1 40 * @link http://github.com/chrisboulton/php-diff 41 */ 42 43require_once dirname(__FILE__).'/Array.php'; 44Migration.php https://gitlab.com/dsasmita/talita-shop | PHP | 338 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 121 { 122 $f = glob(sprintf($this->_migration_path . '%03d_*.php', $i)); 123 147 $file = basename($f[0]); 148 $name = basename($f[0], '.php'); 149 162 include $f[0]; 163 $class = 'Migration_' . ucfirst($match[1]); 164 201 // Run the migration class 202 $class = 'Migration_' . ucfirst(strtolower($migration)); 203 call_user_func(array(new $class, $method));list_functions.php https://gitlab.com/endomorphosis/fusenews | PHP | 127 lines
1<?php 2 3function list_jumps() { 4 global $phpiCal_config, $lang, $cal; 5 $calName = join(',', array_map("getCalendarName", split(',', $cal))); 5 $calName = join(',', array_map("getCalendarName", split(',', $cal))); 6 $today = date('Ymd', time() + $phpiCal_config->second_offset); 7 $return = '<option value="#">'.$lang['l_jump'].'</option>'; 7 $return = '<option value="#">'.$lang['l_jump'].'</option>'; 8 $return .= '<option value="day.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goday'].'</option>'; 9 $return .= '<option value="week.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goweek'].'</option>'; 9 $return .= '<option value="week.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goweek'].'</option>'; 10 $return .= '<option value="month.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_gomonth'].'</option>'; 11 $return .= '<option value="year.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goyear'].'</option>'; 15function list_calcolors() { 16 global $phpiCal_config, $master_array; 17 $return = '';AssetManager.class.php https://github.com/kilica/playermap.git | PHP | 274 lines
1<?php 2/** 78 79 $methodName = 'create' . ucfirst($name) . ucfirst($mode) . ucfirst($type); 80 if(method_exists($this,$methodName)) 183 { 184 $name = ucfirst($name) . 'FilterForm'; 185 $path = 'forms/' . $name . '.class.php'; 185 $path = 'forms/' . $name . '.class.php'; 186 $className = ucfirst($this->mTrustDirname) . ($isAdmin ? '_Admin_' : '_') . $name; 187 return ( 203 { 204 $name = ucfirst($name) . ucfirst($mode) . 'Form'; 205 $path = 'forms/' . $name . '.class.php'; 221 { 222 $path = 'class/handler/' . ucfirst($name) . '.class.php'; 223 $className = ucfirst($this->mTrustDirname) . '_' . ucfirst($name) . 'Handler';ThinkOauth.class.php https://gitlab.com/xuebutayan/yshop | PHP | 274 lines
1<?php 2// +---------------------------------------------------------------------- 10// +---------------------------------------------------------------------- 11// | ThinkOauth.class.php 2013-02-25 12// +---------------------------------------------------------------------- 118 public static function getInstance($type, $token = null) { 119 $name = ucfirst(strtolower($type)) . 'SDK'; 120 require_once "sdk/{$name}.class.php"; 134 135 $this->Callback = "http://".$_SERVER ['HTTP_HOST'].'/index.php?s='.addons_url('SyncLogin://Base/callback',array('type'=>strtolower($this->Type))); 136 }OptionsDefinition.php https://gitlab.com/src-run/mantle-bundle | PHP | 297 lines
1<?php 2 248 $callableCollectionName = $type.self::PROPERTY_PART_METHOD; 249 $twigExtensionClassName = 'Twig_Simple'.ucfirst($type); 250openstreetmap.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 163 lines
1<?php 2/** 117 { 118 $class = 'JOpenstreetmap' . ucfirst($name); 119OAuth2Abstract.php https://gitlab.com/johanlindberg/irvato-crm | PHP | 228 lines
1<?php 2/************************************************************************ 81 if (in_array($name, $this->paramList)) { 82 $methodName = 'set' . ucfirst($name); 83 if (method_exists($this->client, $methodName)) {sysinfo.lib.php https://gitlab.com/qbarbosa/klindev | PHP | 370 lines
24 * 25 * @param string $php_os PHP_OS constant 26 * 28 */ 29function PMA_getSysInfoOs($php_os = PHP_OS) 30{ 34 if (in_array($php_os, $unix_like)) { 35 $php_os = 'Linux'; 36 } 37 38 return ucfirst($php_os); 39} 47{ 48 $php_os = PMA_getSysInfoOs(); 49 $supported = array('Linux', 'WINNT', 'SunOS');Controller.class.php https://github.com/iempires/openemr.git | PHP | 181 lines
1<?php 2 2 3require_once(dirname(__FILE__) . "/../Smarty.class.php"); 4require_once(dirname(__FILE__) . "/../formdata.inc.php"); 23 $this->assign("FOOTER", "</body></html>"); 24 $this->assign("CONTROLLER", "controller.php?"); 25 $this->assign("CONTROLLER_THIS", "controller.php?" . $_SERVER['QUERY_STRING']); 51 52 //modified 01-2010 by BGM to centralize to formdata.inc.php 53 // have place several debug statements to allow standardized testing over next several months 88 foreach($parts as $p) { 89 $name .= ucfirst($p); 90 } 95 96 if(!@call_user_func(array(Controller,"i_once"),$GLOBALS['fileroot'] ."/controllers/C_" . $c_name . ".class.php")) { 97 echo "Unable to load controller $name\n, please check the first argument supplied in the URL and try again";Translator.php https://gitlab.com/btkm/correct_fb | PHP | 441 lines
1<?php 2 308 $content = sprintf(<<<EOF 309<?php 310 335 $fallback = $fallbackCatalogue->getLocale(); 336 $fallbackSuffix = ucfirst(preg_replace($replacementPattern, '_', $fallback)); 337 $currentSuffix = ucfirst(preg_replace($replacementPattern, '_', $current)); 359 { 360 return $this->cacheDir.'/catalogue.'.$locale.'.'.sha1(serialize($this->fallbackLocales)).'.php'; 361 }admin-post-navigation.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 290 lines
1<?php 2/** 72 public static function init() { 73 add_action( 'load-post.php', array( __CLASS__, 'register_post_page_hooks' ) ); 74 } 76 /** 77 * Filters/actions to hook on the admin post.php page. 78 * 116 if ( in_array( $post->post_status, $post_statuses ) ) 117 add_meta_box( 'adminpostnav', sprintf( __( '%s Navigation', 'admin-post-navigation' ), ucfirst( $post_type ) ), array( __CLASS__, 'add_meta_box' ), $post_type, 'side', 'core' ); 118 }FormFile.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 113 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: FormFile.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Context/Zf/AbstractClassFile.php'; 27 58 $this->_formName = $this->_resource->getAttribute('formName'); 59 $this->_filesystemName = ucfirst($this->_formName) . '.php'; 60 parent::init(); 94 95 $codeGenFile = new Zend_CodeGenerator_Php_File(array( 96 'fileName' => $this->getPath(), 97 'classes' => array( 98 new Zend_CodeGenerator_Php_Class(array( 99 'name' => $className,FormFile.php https://gitlab.com/luisrepo/ClienteWS | PHP | 113 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: FormFile.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Context/Zf/AbstractClassFile.php'; 27 58 $this->_formName = $this->_resource->getAttribute('formName'); 59 $this->_filesystemName = ucfirst($this->_formName) . '.php'; 60 parent::init(); 94 95 $codeGenFile = new Zend_CodeGenerator_Php_File(array( 96 'fileName' => $this->getPath(), 97 'classes' => array( 98 new Zend_CodeGenerator_Php_Class(array( 99 'name' => $className,ms-load.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 254 lines
1<?php 2/** 32 * manually, define <code>WP_PLUGIN_DIR</code> and <code>WP_PLUGIN_URL</code> 33 * in wp-config.php. 34 * 49 if ( ! validate_file( $plugin ) // $plugin must validate as file 50 && '.php' == substr( $plugin, -4 ) // $plugin must end with '.php' 51 && file_exists( WP_PLUGIN_DIR . '/' . $plugin ) // $plugin must exist 65 * To change the default message when a blog does not pass the check, 66 * use the wp-content/blog-deleted.php, blog-inactive.php and 67 * blog-suspended.php drop-ins. 83 if ( '1' == $current_blog->deleted ) { 84 if ( file_exists( WP_CONTENT_DIR . '/blog-deleted.php' ) ) 85 return WP_CONTENT_DIR . '/blog-deleted.php'; 90 if ( '2' == $current_blog->deleted ) { 91 if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) 92 return WP_CONTENT_DIR . '/blog-inactive.php';ControllerCommand.php https://gitlab.com/zenfork/vektor | PHP | 175 lines
1<?php 2/** 92 { 93 $controllerClass=ucfirst($controllerID).'Controller'; 94 $controllerFile=$module->controllerPath.DIRECTORY_SEPARATOR.$controllerClass.'.php'; 104 105 $controllerClass=ucfirst($last).'Controller'; 106 $controllerFile=($middle===''?'':$middle.'/').$controllerClass.'.php'; 111 { 112 $controllerFile=$first.'/'.$controllerClass.'.php'; 113 $controllerID=$first.'/'.$controllerID; 125 basename($controllerFile)=>array( 126 'source'=>$templatePath.DIRECTORY_SEPARATOR.'controller.php', 127 'target'=>$controllerFile, 135 { 136 $list[$name.'.php']=array( 137 'source'=>$templatePath.DIRECTORY_SEPARATOR.'view.php',Call.php https://gitlab.com/7slayer/h-node | PHP | 503 lines
268 //otherwise set the controller to the default controller 269 // if (!file_exists(ROOT.DS.APPLICATION_PATH.DS.'Controllers'.DS.ucwords($controller).'Controller.php') and !file_exists(ROOT.DS.APPLICATION_PATH.DS.getApplicationPath().'Controllers'.DS.ucwords($controller).'Controller.php')) 270 if (!file_exists(ROOT.DS.APPLICATION_PATH.DS.getApplicationPath().'Controllers'.DS.ucwords($controller).'Controller.php')) 384 { 385 return Params::$mbStringLoaded === true ? mb_substr(mb_strstr($_SERVER['REQUEST_URI'],'index.php/'),10) : substr(strstr($_SERVER['REQUEST_URI'],'index.php/'),10); 386 } 411 { 412 require_once(ROOT . DS . APPLICATION_PATH . DS . 'Controllers' . DS . $backupName . '.php'); 413 } 413 } 414 else if (getApplicationName() and file_exists(ROOT . DS . APPLICATION_PATH . DS . getApplicationPath() . 'Models' . DS . $backupName . '.php')) 415 { 415 { 416 require_once(ROOT . DS . APPLICATION_PATH . DS . getApplicationPath() . 'Models' . DS . $backupName . '.php'); 417 }macros.php https://gitlab.com/melentev-av/perki.dev | PHP | 125 lines
1<?php 2Form::macro('textField', function($name, $label = null, $value = null, $attributes = array()) 121 122Str::macro('ucfirst', function($str, $enc = 'utf-8') { 123 return mb_strtoupper(mb_substr($str, 0, 1, $enc), $enc).mb_substr($str, 1, mb_strlen($str, $enc), $enc);MessagesFileLoader.php https://gitlab.com/vannh/portal_training | PHP | 182 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 3.0.0 12 * @since 3.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 131 132 $name = ucfirst($ext); 133 $class = App::classname($name, 'I18n\Parser', 'FileParser');InflectorTest.php https://gitlab.com/xibalba/ocelote | PHP | 163 lines
1<?php 2 4 5use PHPUnit\Framework\TestCase; 6use xibalba\ocelote\Inflector; 18 public function testFilenamize(){ 19 $this->assertEquals('Llamas.php', Inflector::filenamize('llamas')); 20 $this->assertEquals('Llamas.hh', Inflector::filenamize('llamas', 'hh')); 64 $this->assertEquals($testOut, Inflector::pluralize($testIn)); 65 $this->assertEquals(ucfirst($testOut), ucfirst(Inflector::pluralize($testIn))); 66 } 89 $this->assertEquals($testOut, Inflector::singularize($testIn)); 90 $this->assertEquals(ucfirst($testOut), ucfirst(Inflector::singularize($testIn))); 91 }PhoneNumberInstance.php git://github.com/twilio/twilio-php.git | PHP | 148 lines
1<?php 2 128 if (\property_exists($this, '_' . $name)) { 129 $method = 'get' . \ucfirst($name); 130 return $this->$method();Helper.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 303 lines
1<?php 2 152 if (! Str::contains(Str::lower($method), 'or')) { 153 return 'or' . ucfirst($method); 154 }wc-account-functions.php https://gitlab.com/ezgonzalez/integral | PHP | 317 lines
1<?php 2/** 289 $item['method']['last4'] = $payment_token->get_last4(); 290 $item['method']['brand'] = ( ! empty( $card_type ) ? ucfirst( $card_type ) : esc_html__( 'Credit Card', 'woocommerce' ) ); 291 $item['expires'] = $payment_token->get_expiry_month() . '/' . substr( $payment_token->get_expiry_year(), -2 );profile_add_view.php https://gitlab.com/muktobani/web_site | PHP | 187 lines
17 <td align="right"><strong>First Name : </strong></td> 18 <td><?php echo form_input('cbo_first_name',set_value('cbo_first_name',$data_arr[0]['first_name']));?></td> 19 <td><span>*</span></td> 21 <td align="right"><strong>Middle Name : </strong></td> 22 <td><?php echo form_input('txt_middle_name',set_value('txt_middle_name',$data_arr[0]['middle_name']));?></td> 23 <td></td> 70 <td align="right"><strong>House No: </strong></td> 71 <td><?php echo form_input('txt_house_no',set_value('txt_house_no',$data_arr[0]['house_no']));?></td> 72 <td><span>*</span></td> 73 <td align="right"><strong>Street Name : </strong></td> 74 <td><?php echo form_input('txt_street_name',set_value('txt_street_name',$data_arr[0]['street_name']));?></td> 75 <td><span>*</span></td> 180 <div class="submit_link"> 181 <input type="submit" value="<?php echo ucfirst($action); ?>" class="alt_btn"> 182 <?php echo form_hidden('update_id',set_value('update_id',$data_arr[0]['member_id'])) ?>translation.php https://github.com/jacomyma/GEXF-Atlas.git | PHP | 196 lines
1<?php 2/** 79 { 80 $string = ucfirst( $string ); 81 } 144 { 145 $string = "' . ucfirst(". $params[strtolower( $key )] . ") . '"; 146 } 157 * This method returns a translated string and substitutes the parameters $param 158 * in the localized string with PHP code to place the variable data into 159 * the string at a later moment. Instead of the values for each of theEntry.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 242 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $ 20 */ 74 if (!ctype_alpha($value) && strlen($value) > 0) { 75 require_once 'Zend/Feed/Exception.php'; 76 throw new Zend_Feed_Exception('invalid parameter: "block" may only' 79 if (iconv_strlen($value, $this->getEncoding()) > 255) { 80 require_once 'Zend/Feed/Exception.php'; 81 throw new Zend_Feed_Exception('invalid parameter: "block" may only' 109 if (iconv_strlen($value, $this->getEncoding()) > 255) { 110 require_once 'Zend/Feed/Exception.php'; 111 throw new Zend_Feed_Exception('invalid parameter: any "author" may only' 133 ) { 134 require_once 'Zend/Feed/Exception.php'; 135 throw new Zend_Feed_Exception('invalid parameter: "duration" may only'Entry.php https://gitlab.com/luisrepo/ClienteWS | PHP | 242 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Entry.php 23775 2011-03-01 17:25:24Z ralph $ 20 */ 74 if (!ctype_alpha($value) && strlen($value) > 0) { 75 require_once 'Zend/Feed/Exception.php'; 76 throw new Zend_Feed_Exception('invalid parameter: "block" may only' 79 if (iconv_strlen($value, $this->getEncoding()) > 255) { 80 require_once 'Zend/Feed/Exception.php'; 81 throw new Zend_Feed_Exception('invalid parameter: "block" may only' 109 if (iconv_strlen($value, $this->getEncoding()) > 255) { 110 require_once 'Zend/Feed/Exception.php'; 111 throw new Zend_Feed_Exception('invalid parameter: any "author" may only' 133 ) { 134 require_once 'Zend/Feed/Exception.php'; 135 throw new Zend_Feed_Exception('invalid parameter: "duration" may only'ViewHelper.php https://gitlab.com/luisrepo/ClienteWS | PHP | 256 lines
1<?php 2/** 21/** Zend_Form_Decorator_Abstract */ 22require_once 'Zend/Form/Decorator/Abstract.php'; 23 41 * @license http://framework.zend.com/license/new-bsd New BSD License 42 * @version $Id: ViewHelper.php 23775 2011-03-01 17:25:24Z ralph $ 43 */ 95 } 96 $this->setHelper('form' . ucfirst($type)); 97 } 224 if (null === $view) { 225 require_once 'Zend/Form/Decorator/Exception.php'; 226 throw new Zend_Form_Decorator_Exception('ViewHelper decorator cannot render without a registered view object');static_pages.rst https://gitlab.com/atoz-chevara/CodeIgniter | ReStructuredText | 170 lines
47your web application. In very technical CodeIgniter discussions, it may 48be referred to as the *super object*. Like any php class, you refer to 49it within your controllers as ``$this``. Referring to ``$this`` is how 55 56Create the header at *application/views/templates/header.php* and add 57the following code: 71output the ``$title`` variable, which we'll define later in the controller. 72Now, create a footer at *application/views/templates/footer.php* that 73includes the following code: 88 89In that directory, create two files named *home.php* and *about.php*. 90Within those files, type some text − anything you'd like − and save them. 99 { 100 if ( ! file_exists(APPPATH.'views/pages/'.$page.'.php')) 101 {Resource.php https://gitlab.com/yousafsyed/easternglamor | PHP | 472 lines
1<?php 2/** 23/** Zend_Loader_Autoloader_Interface */ 24#require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 #require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 #require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization'); 90 } 91 #require_once 'Zend/Loader/Autoloader.php'; 92 Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace); 119 if (!$this->hasResourceType($type)) { 120 #require_once 'Zend/Loader/Exception.php'; 121 throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource");Cest.php https://bitbucket.org/vikaskr/oreazy.git | PHP | 216 lines
1<?php 2namespace Codeception\Test; 86 $this->executeHook($I, 'failed'); 87 // fails and errors are now handled by Codeception\PHPUnit\Listener 88 throw $e; 100 { 101 $annotations = \PHPUnit_Util_Test::parseTestMethodAnnotations(get_class($this->testClassInstance), $testMethod); 102 if (!empty($annotations['method']['before'])) { 109 { 110 $annotations = \PHPUnit_Util_Test::parseTestMethodAnnotations(get_class($this->testClassInstance), $testMethod); 111 if (!empty($annotations['method']['after'])) { 152 { 153 return sprintf('%s: %s', ReflectionHelper::getClassShortName($this->getTestClass()), Message::ucfirst($this->getFeature())); 154 } 205 206 return \PHPUnit_Util_Test::getLinesToBeCovered($class, $method); 207 }Prototype.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 208 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Prototype.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 97 } else { 98 require_once 'Zend/Server/Method/Parameter.php'; 99 $parameter = new Zend_Server_Method_Parameter(array( 187 foreach ($options as $key => $value) { 188 $method = 'set' . ucfirst($key); 189 if (method_exists($this, $method)) {Prototype.php https://gitlab.com/luisrepo/ClienteWS | PHP | 208 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Prototype.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 97 } else { 98 require_once 'Zend/Server/Method/Parameter.php'; 99 $parameter = new Zend_Server_Method_Parameter(array( 187 foreach ($options as $key => $value) { 188 $method = 'set' . ucfirst($key); 189 if (method_exists($this, $method)) {AssignmentFilter.php https://gitlab.com/akbaryu/project_magang_blog_grav | PHP | 160 lines
1<?php 2/** 80 { 81 $this->method = 'calc' . ucfirst($method); 82Action.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 242 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Action.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Provider/Abstract.php'; 27 30 */ 31require_once 'Zend/Tool/Framework/Provider/Pretendable.php'; 32 138 // determine if testing is enabled in the project 139 require_once 'Zend/Tool/Project/Provider/Test.php'; 140 $testingEnabled = Zend_Tool_Project_Provider_Test::isTestingEnabled($this->_loadedProfile); 141 142 if ($testingEnabled && !Zend_Tool_Project_Provider_Test::isPHPUnitAvailable()) { 143 $testingEnabled = false;EntityPopulator.php https://gitlab.com/fiesta-framework/Documentation | PHP | 110 lines
1<?php 2 100 if (isset($metadata['referencesMany'][$column])) { 101 $adder = 'add'.ucfirst($column); 102 $obj->$adder($value);helper.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 232 lines
1<?php 2/** 149 150 $class = JString::ucfirst($prefix, '_') . 'Form' . JString::ucfirst($entity, '_') . JString::ucfirst($type, '_'); 151 $altClass = JString::ucfirst($altPrefix, '_') . 'Form' . JString::ucfirst($entity, '_') . JString::ucfirst($type, '_'); 185 // Try to find the class file. 186 $type = strtolower($type) . '.php'; 187 $filesystem = FOFPlatform::getInstance()->getIntegrationObject('filesystem');Theme.php https://gitlab.com/7slayer/h-node | PHP | 122 lines
88 foreach ($this->_viewFiles as $file) { 89 if (isset($this->application) and file_exists(ROOT . DS . APPLICATION_PATH . DS . "Apps" . DS . ucfirst($this->application). DS . 'Views' . DS .$subfolder. ucwords($this->controller) . DS . $file . '.php')) 90 { 90 { 91 include (ROOT . DS . APPLICATION_PATH . DS . "Apps" . DS . ucfirst($this->application). DS . 'Views' . DS . $subfolder. ucwords($this->controller) . DS . $file . '.php'); 92 } 106 { 107 include (ROOT . DS . APPLICATION_PATH . DS . "Apps" . DS . ucfirst($this->application). DS . 'Views' . DS .$subfolder. ucwords($this->controller) . DS . $this->_lastView . '.php'); 108 } 108 } 109 else if (isset($this->application) and file_exists(ROOT . DS . APPLICATION_PATH . DS . "Apps" . DS . ucfirst($this->application). DS . 'Views' . DS . $subfolder . $this->_lastView . '.php')) 110 { 110 { 111 include (ROOT . DS . APPLICATION_PATH . DS . "Apps" . DS . ucfirst($this->application). DS . 'Views' . DS .$subfolder . $this->_lastView . '.php'); 112 }Grammar.php https://gitlab.com/Laolballs/cbtapp | PHP | 432 lines
1<?php namespace Illuminate\Database\Schema\Grammars; 2 194 { 195 return $this->{"type".ucfirst($column->type)}($column); 196 } 327 { 328 if (method_exists($column, $method = 'set'.ucfirst($option))) 329 {FormFile.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 113 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: FormFile.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Context/Zf/AbstractClassFile.php'; 27 58 $this->_formName = $this->_resource->getAttribute('formName'); 59 $this->_filesystemName = ucfirst($this->_formName) . '.php'; 60 parent::init(); 94 95 $codeGenFile = new Zend_CodeGenerator_Php_File(array( 96 'fileName' => $this->getPath(), 97 'classes' => array( 98 new Zend_CodeGenerator_Php_Class(array( 99 'name' => $className,ChannelRegistry.php https://github.com/saltybeagle/Pyrus.git | PHP | 252 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 8 * @package Pyrus 9 * @author Greg Beaver <cellog@php.net> 10 * @copyright 2010 The PEAR Group 10 * @copyright 2010 The PEAR Group 11 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 12 * @link https://github.com/pyrus/Pyrus 19 * @package Pyrus 20 * @author Greg Beaver <cellog@php.net> 21 * @copyright 2010 The PEAR Group 21 * @copyright 2010 The PEAR Group 22 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 23 * @link https://github.com/pyrus/PyrusClassNotFoundFatalErrorHandler.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 212 lines
1<?php 2 44 foreach (array('class', 'interface', 'trait') as $typeName) { 45 $prefix = ucfirst($typeName).' \''; 46 $prefixLen = strlen($prefix); 146 $classes = array(); 147 $filename = $class.'.php'; 148 foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \RecursiveDirectoryIterator::SKIP_DOTS), \RecursiveIteratorIterator::LEAVES_ONLY) as $file) { 167 // namespaced class 168 $namespacedClass = str_replace(array($path.DIRECTORY_SEPARATOR, '.php', '/'), array('', '', '\\'), $file), 169 // namespaced class (with target dir)theme.php https://gitlab.com/x33n/respond | PHP | 363 lines
1<?php 2 243 $name = str_replace('.html', '', $name); 244 $name = ucfirst($name); 245cms_image.php https://gitlab.com/anurat/earththailand | PHP | 267 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 211 212 $cap_name = ucfirst( $table ); 213 $cap_name = ( $cap_name == 'Gallery' )? $cap_name: $cap_name .'s';Grouped.php https://gitlab.com/svillegas/magento2 | PHP | 152 lines
1<?php 2/** 62 * @return \Magento\Catalog\Model\Product 63 * @SuppressWarnings(PHPMD.UnusedFormalParameter) 64 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 64 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 65 * @SuppressWarnings(PHPMD.NPathComplexity) 66 */ 109 $value = $option['value']; 110 $setterName = 'set' . ucfirst($name); 111 // Check if setter existsValidVariableNameSniff.php https://gitlab.com/0072016/PHP_CodeSniffer | PHP | 245 lines
31 * @version Release: @package_version@ 32 * @link http://pear.php.net/package/PHP_CodeSniffer 33 */ 148 * 149 * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. 150 * @param int $stackPtr The position of the current token in the 154 */ 155 protected function processMemberVar(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 156 { 197 * 198 * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. 199 * @param int $stackPtr The position of the double quoted 203 */ 204 protected function processVariableInString(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 205 {RecentFavoriteTable.class.php https://gitlab.com/qbarbosa/klindev | PHP | 392 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin 7 */ 8 9if (! defined('PHPMYADMIN')) { 10 exit; 12 13require_once './libraries/Message.class.php'; 14 20 * 21 * @package PhpMyAdmin 22 */ 94 /** 95 * Returns recently used tables or favorite from phpMyAdmin database. 96 *Inflector.php https://gitlab.com/akbaryu/intro_magang_web | PHP | 332 lines
1<?php 2/** 133 { 134 $uppercase = $uppercase == 'first' ? 'ucfirst' : 'ucwords'; 135 216 { 217 $uppercase = $uppercase == 'all' ? 'ucwords' : 'ucfirst'; 218class-wp-network.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 410 lines
1<?php 2/** 225 226 $default = ucfirst( $this->domain ); 227 $this->site_name = get_network_option( $this->id, 'site_name', $default );Reporting.php https://gitlab.com/yousafsyed/easternglamor | PHP | 318 lines
19} else { 20 include_once 'PHP/CodeSniffer.php'; 21} 109 * 110 * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed. 111 * @param array $cliValues An array of command line arguments. 114 */ 115 public function cacheFileReport(PHP_CodeSniffer_File $phpcsFile, array $cliValues) 116 { 232 * 233 * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed. 234 * 236 */ 237 public function prepareFileReport(PHP_CodeSniffer_File $phpcsFile) 238 {Entry.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 242 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Entry.php 24594 2012-01-05 21:27:01Z matthew $ 20 */ 74 if (!ctype_alpha($value) && strlen($value) > 0) { 75 require_once 'Zend/Feed/Exception.php'; 76 throw new Zend_Feed_Exception('invalid parameter: "block" may only' 79 if (iconv_strlen($value, $this->getEncoding()) > 255) { 80 require_once 'Zend/Feed/Exception.php'; 81 throw new Zend_Feed_Exception('invalid parameter: "block" may only' 109 if (iconv_strlen($value, $this->getEncoding()) > 255) { 110 require_once 'Zend/Feed/Exception.php'; 111 throw new Zend_Feed_Exception('invalid parameter: any "author" may only' 133 ) { 134 require_once 'Zend/Feed/Exception.php'; 135 throw new Zend_Feed_Exception('invalid parameter: "duration" may only'PageRevisionAction.class.php https://gitlab.com/fsteltenkamp/Fireball | PHP | 316 lines
1<?php 2namespace cms\data\page\revision; 218 219 $editorName = '\\cms\\data\\'.$type.'\\'.ucfirst($type).'Editor'; 220GroupTest.php https://gitlab.com/hatemdigify/digifyblog | PHP | 376 lines
1<?php 2namespace Former; 37 if ($inlineHelp) { 38 $inlineHelp = '<span class="help-inline">'.ucfirst($inlineHelp).'</span>'; 39 } 40 if ($blockHelp) { 41 $blockHelp = '<p class="help-block">'.ucfirst($blockHelp).'</p>'; 42 }Test.php https://gitlab.com/yousafsyed/easternglamor | PHP | 248 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Uri/Http.php'; 27/** 29 */ 30#require_once 'Zend/Http/Response.php'; 31/** 33 */ 34#require_once 'Zend/Http/Client/Adapter/Interface.php'; 35 111 } elseif (! is_array($config)) { 112 #require_once 'Zend/Http/Client/Adapter/Exception.php'; 113 throw new Zend_Http_Client_Adapter_Exception( 136 $this->_nextRequestWillFail = false; 137 #require_once 'Zend/Http/Client/Adapter/Exception.php'; 138 throw new Zend_Http_Client_Adapter_Exception('Request failed');requesthandler.php https://gitlab.com/dennisluitwieler/itch.git | PHP | 303 lines
1<?php 2 27 $data = $this->getPageData(); 28 $html = render("theme/templates/html.tpl.php", $data); 29 echo $html; 41 $data = array( 42 "title" => ucfirst(text($page)), 43 "content" => array( 46 "#overlay" => array( 47 "profile" => render("theme/templates/content/overlay-profile.tpl.php"), 48 "notifications" => render("theme/templates/content/overlay-notifications.tpl.php"), 48 "notifications" => render("theme/templates/content/overlay-notifications.tpl.php"), 49 "teams" => render("theme/templates/content/overlay-teams.tpl.php"), 50 "phonebook" => render("theme/templates/content/overlay-phonebook.tpl.php"), 60 $data["title"] = "Timeline"; 61 $data["content"]["#content"] = render("theme/templates/content/timeline.tpl.php", array("messages" => $this->getDummyTimelineItems())); 62 $data["content"]["#tertiary-menu"] = $this->getTertiaryMenu();fooLoader.php http://kosimpin.googlecode.com/svn/trunk/ | PHP | 387 lines
1<?php 2 6* Released under the MIT license, see: 7* http://www.opensource.org/licenses/mit-license.php 8*/ 53 // We'll test for both lowercase and capitalized versions of the file name 54 foreach (array(ucfirst($class), strtolower($class)) as $class) 55 { 60 { 61 $baseclass = BASEPATH.'libraries/'.ucfirst($class).EXT; 62 if (file_exists(FSPATH.config_item('fooStack_prefix').$class.EXT)) 172 { 173 foreach(array(ucfirst($class), strtolower($class)) as $clsName) { 174 if (file_exists(APPPATH.'config/'.$clsName.EXT)) 291 * 292 * The config/autoload.php file contains an array that permits sub-systems, 293 * libraries, plugins, and helpers to be loaded automatically.Parameter.php https://gitlab.com/yousafsyed/easternglamor | PHP | 206 lines
1<?php 2/** 72 foreach ($options as $key => $value) { 73 $method = 'set' . ucfirst($key); 74 if (method_exists($this, $method)) {ext_string.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 346 lines
11 | http://www.php.net/license/3_01.txt | 12 | If you did not receive a copy of the PHP license and are unable to | 13 | obtain it through the world-wide-web, please send a note to | 13 | obtain it through the world-wide-web, please send a note to | 14 | license@php.net so we can mail you a copy immediately. | 15 +----------------------------------------------------------------------+ 22#include "hphp/runtime/ext/extension.h" 23#include "hphp/runtime/base/zend-string.h" 24#include "hphp/runtime/base/zend-printf.h" 31 32extern const HPHP::StaticString k_HPHP_TRIM_CHARLIST; 33extern const int64_t k_STR_PAD_RIGHT; 81 const String& str, 82 const String& charlist = k_HPHP_TRIM_CHARLIST); 83Variant HHVM_FUNCTION(explode,Converter.php https://gitlab.com/yousafsyed/easternglamor | PHP | 323 lines
1<?php 2/** 162 foreach ($matches['value'] as $matchKey => $matchValue) { 163 $callback = "matcher" . ucfirst(trim($matches['type'][$matchKey])); 164 $matchResult = call_user_func_array([$this, $callback], [$matchValue]);ViewHelper.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 256 lines
1<?php 2/** 21/** Zend_Form_Decorator_Abstract */ 22require_once 'Zend/Form/Decorator/Abstract.php'; 23 41 * @license http://framework.zend.com/license/new-bsd New BSD License 42 * @version $Id: ViewHelper.php 24594 2012-01-05 21:27:01Z matthew $ 43 */ 95 } 96 $this->setHelper('form' . ucfirst($type)); 97 } 224 if (null === $view) { 225 require_once 'Zend/Form/Decorator/Exception.php'; 226 throw new Zend_Form_Decorator_Exception('ViewHelper decorator cannot render without a registered view object');DashboardModel.php https://gitlab.com/mautic-master/mautic | PHP | 272 lines
1<?php 2/** 152 foreach ($data as $property => $value) { 153 $method = "set".ucfirst($property); 154 if (method_exists($entity, $method)) {Base.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 172 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Base.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26require_once 'Zend/Http/Client.php'; 27 30 */ 31require_once 'Zend/Service/Nirvanix/Response.php'; 32 35 * representing one namespace. It allows calls to the namespace to be made by 36 * PHP object calls rather than by having to construct HTTP client requests. 37 * 156 { 157 $methodName = ucfirst($methodName); 158 return "{$this->_host}/ws/{$this->_namespace}/{$methodName}.ashx";BaseMediaSource.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 179 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: BaseMediaSource.php 24593 2012-01-05 20:35:02Z matthew $ 22 */ 26 */ 27require_once 'Zend/Gdata/App/MediaSource.php'; 28 112 { 113 $method = 'get'.ucfirst($name); 114 if (method_exists($this, $method)) { 118 } else { 119 require_once 'Zend/Gdata/App/InvalidArgumentException.php'; 120 throw new Zend_Gdata_App_InvalidArgumentException( 136 { 137 $method = 'set'.ucfirst($name); 138 if (method_exists($this, $method)) {Base.php https://gitlab.com/luisrepo/ClienteWS | PHP | 172 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Base.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Http/Client.php'; 27 30 */ 31require_once 'Zend/Service/Nirvanix/Response.php'; 32 35 * representing one namespace. It allows calls to the namespace to be made by 36 * PHP object calls rather than by having to construct HTTP client requests. 37 * 156 { 157 $methodName = ucfirst($methodName); 158 return "{$this->_host}/ws/{$this->_namespace}/{$methodName}.ashx";BaseMediaSource.php https://gitlab.com/luisrepo/ClienteWS | PHP | 179 lines
1<?php 2 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id: BaseMediaSource.php 23775 2011-03-01 17:25:24Z ralph $ 22 */ 26 */ 27require_once 'Zend/Gdata/App/MediaSource.php'; 28 112 { 113 $method = 'get'.ucfirst($name); 114 if (method_exists($this, $method)) { 118 } else { 119 require_once 'Zend/Gdata/App/InvalidArgumentException.php'; 120 throw new Zend_Gdata_App_InvalidArgumentException( 136 { 137 $method = 'set'.ucfirst($name); 138 if (method_exists($this, $method)) {Data.php https://gitlab.com/Andrey_rus86/kruzenshtern | PHP | 199 lines
1<?php 2/** 5 * 6 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 7 * @copyright Copyright (c) 2009-2014 Bastian Feder, Thomas Weinert 153 foreach ($parts as $part) { 154 $result .= ucFirst($part); 155 } 159 /** 160 * Decode the attribute value into a php variable/array/object 161 * 182 /** 183 * Encode php variable into a string. Array or Objects will be serialized using json encoding. 184 * Boolean use the strings yes/no.auth.php https://gitlab.com/ken3/bluSky | PHP | 171 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 33 // Set the session class name 34 $class = 'Auth_'.ucfirst($type); 35TestLibraryFile.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 107 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TestLibraryFile.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Context/Filesystem/File.php'; 27 64 $this->_forClassName = $this->_resource->getAttribute('forClassName'); 65 $this->_filesystemName = ucfirst(ltrim(strrchr($this->_forClassName, '_'), '_')) . 'Test.php'; 66 parent::init(); 81 82 $codeGenFile = new Zend_CodeGenerator_Php_File(array( 83 'requiredFiles' => array( 83 'requiredFiles' => array( 84 'PHPUnit/Framework/TestCase.php' 85 ),TestLibraryFile.php https://gitlab.com/luisrepo/ClienteWS | PHP | 107 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TestLibraryFile.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Context/Filesystem/File.php'; 27 64 $this->_forClassName = $this->_resource->getAttribute('forClassName'); 65 $this->_filesystemName = ucfirst(ltrim(strrchr($this->_forClassName, '_'), '_')) . 'Test.php'; 66 parent::init(); 81 82 $codeGenFile = new Zend_CodeGenerator_Php_File(array( 83 'requiredFiles' => array( 83 'requiredFiles' => array( 84 'PHPUnit/Framework/TestCase.php' 85 ),Action.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 242 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Action.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26require_once 'Zend/Tool/Project/Provider/Abstract.php'; 27 30 */ 31require_once 'Zend/Tool/Framework/Provider/Pretendable.php'; 32 138 // determine if testing is enabled in the project 139 require_once 'Zend/Tool/Project/Provider/Test.php'; 140 $testingEnabled = Zend_Tool_Project_Provider_Test::isTestingEnabled($this->_loadedProfile); 141 142 if ($testingEnabled && !Zend_Tool_Project_Provider_Test::isPHPUnitAvailable()) { 143 $testingEnabled = false;Prototype.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 208 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Prototype.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 97 } else { 98 require_once 'Zend/Server/Method/Parameter.php'; 99 $parameter = new Zend_Server_Method_Parameter(array( 187 foreach ($options as $key => $value) { 188 $method = 'set' . ucfirst($key); 189 if (method_exists($this, $method)) {installer.php https://gitlab.com/che234/adn | PHP | 211 lines
1<?php 2/*------------------------------------------------------------------------ 50 // Try to load the adapter object 51 require_once(dirname(__FILE__).DS. '..'.DS.'adapters'.DS.strtolower($name).'.php'); 52 $class = 'JCKInstaller'.ucfirst($name); 67 { 68 $class = 'JCKInstaller' . ucfirst($adapter); 69 77 // @deprecated 4.0 - The adapter should be autoloaded or manually included by the caller 78 $path = dirname(__FILE__) . '/../adapters/' . $adapter . '.php'; 79show.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 247 lines
1<?php 2 33 $module_file = $row['module_file']; 34 $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; 35 $is_delCache = false; 50 $module_version = array(); 51 $version_file = NV_ROOTDIR . "/modules/" . $module_file . "/version.php"; 52 if ( file_exists( $version_file ) ) 137 $show_func = in_array( $func, $modfuncs ) ? 1 : 0; 138 $sql = "INSERT INTO `" . NV_MODFUNCS_TABLE . "` (`func_id`, `func_name`, `func_custom_name`, `in_module`, `show_func`, `in_submenu`, `subweight`, `layout`, `setting`) VALUES (NULL, " . $db->dbescape( $func ) . ", " . $db->dbescape( ucfirst( $func ) ) . ", " . $db->dbescape( $mod ) . ", " . $show_func . ", 0, 0, " . $db->dbescape( $layoutdefault ) . ", '')"; 139 $func_id = $db->sql_query_insert_id( $sql ); 197 198 include ( NV_ROOTDIR . "/includes/header.php" ); 199 echo aj_show_funcs_theme( $contents ); 199 echo aj_show_funcs_theme( $contents ); 200 include ( NV_ROOTDIR . "/includes/footer.php" ); 201}TinyMCE.php https://gitlab.com/Sang240892/ecommerce | PHP | 208 lines
1<?php 2namespace moonland\tinymce; 14 * ~~~ 15 * [php] 16 * use moonland\tinymce\TinyMCE; 97 { 98 if (method_exists($this, 'set' . ucfirst($name))) 99 parent::__set($name, $value);FormRenderer.php https://gitlab.com/cuza/Clinic_Recods | PHP | 309 lines
1<?php 2 306 { 307 return ucfirst(trim(strtolower(preg_replace(array('/([A-Z])/', '/[_\s]+/'), array('_$1', ' '), $text)))); 308 }ZurbFramework4Test.php https://gitlab.com/hatemdigify/digifyblog | PHP | 142 lines
1<?php 2namespace Former\Framework; 24 'tag' => 'label', 25 'content' => ucfirst($name), 26 'attributes' => array(monitorasoc_productor.model.php https://gitlab.com/talueses/SIPVE | PHP | 196 lines
1<?php 2/*******************************************************************************\ 37?> 38<?php 39require_once "dblink.php"; 44 * - eliminarRegistro() 45 * Escritura de archivos PHP file_put_contents() y asignacion de permisologia chmod() 46 */ 57 } 58 $nombre = ucfirst(strtolower($tabla)); 59 59 60 $str = "<?php\n"; 61 $str .= "require_once 'dblink.php';\n"; 78 while ($metadata = mysql_fetch_assoc($result)) { 79 $str .= "\tpublic function set".ucfirst(strtolower($metadata['Field']))."($".$metadata['Field']."){\n"; 80 $str .= "\t\t\$this->".$metadata['Field']." = $".$metadata['Field'].";\n";;Bulkexports.php git://github.com/twilio/twilio-php.git | PHP | 112 lines
1<?php 2 54 public function __get(string $name) { 55 $method = 'get' . \ucfirst($name); 56 if (\method_exists($this, $method)) { 71 public function __call(string $name, array $arguments) { 72 $method = 'context' . \ucfirst($name); 73 if (\method_exists($this, $method)) {Item.php https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | PHP | 447 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2018 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 233 234 $customSetter = '_setAttribute' . ucfirst($name); 235 if (method_exists($this, $customSetter)) {DeprecationErrorHandler.php https://gitlab.com/matijabelec/bigpandadev | PHP | 141 lines
1<?php 2 11 12namespace Symfony\Bridge\PhpUnit; 13 39 if (E_USER_DEPRECATED !== $type) { 40 return \PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context); 41 } 42 43 $trace = debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS | DEBUG_BACKTRACE_PROVIDE_OBJECT : true); 44 45 $i = count($trace); 46 while (isset($trace[--$i]['class']) && ('ReflectionMethod' === $trace[$i]['class'] || 0 === strpos($trace[$i]['class'], 'PHPUnit_'))) { 47 // No-op 57 58 $group = 0 === strpos($method, 'testLegacy') || 0 === strpos($method, 'provideLegacy') || 0 === strpos($method, 'getLegacy') || strpos($class, '\Legacy') || in_array('legacy', \PHPUnit_Util_Test::getGroups($class, $method), true) ? 'legacy' : 'remaining'; 59ProductTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 113 lines
1<?php 2/** 8/** 9 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 10 */ 10 */ 11abstract class ProductTest extends \PHPUnit_Framework_TestCase 12{ 12{ 13 /** @var \PHPUnit_Framework_MockObject_MockObject */ 14 protected $context; 21 22 /** @var \Magento\Backend\Model\Session|\PHPUnit_Framework_MockObject_MockObject */ 23 protected $session; 24 25 /** @var \Magento\Framework\App\Request\Http|\PHPUnit_Framework_MockObject_MockObject */ 26 protected $request;Cloud.php https://gitlab.com/devtoannh/cafe | PHP | 410 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Cloud.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 25 */ 26require_once 'Zend/Tag/Item.php'; 27 120 121 $method = 'set' . ucfirst($key); 122 if (method_exists($this, $method)) { 152 } else { 153 require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 174 } else { 175 require_once 'Zend/Tag/Cloud/Exception.php'; 176 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');zonas_entregas_ver.php https://gitlab.com/dannyws/mangoapp | PHP | 137 lines
61 <div class="cabezote_col_cen"> 62 <h2><a href="index.php"><div class="logo_img"></div> <span class="logo_txt">ManGo!</span></a></h2> 63 </div> 77 <p class="alineacion_botonera"><a href="zonas_entregas_agregar.php"><input type="button" class="proceder" value="Agregar una nueva zona de entregas"></a></p> 78 <?php echo "$mensaje"; ?> 79 </div> 84 <h2>Zonas de entregas agregadas</h2> 85 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data"> 86 <p><input type="text" name="busqueda" value="<?php echo "$busqueda"; ?>" placeholder="Buscar una zona de entregas" /></p> 114 ?> 115 <a href="zonas_entregas_detalle.php?id=<?php echo "$id"; ?>"> 116 <div class="item"> 121 <div class="item_info"> 122 <span class="item_titulo"><?php echo ucfirst("$zona"); ?></span> 123 </div>