PageRenderTime 399ms queryTime 32ms sortTime 13ms getByIdsTime 80ms findMatchingLines 156ms

100+ results results for 'php ucfirst' (399 ms)

Not the results you expected?
AbstractClient.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 231 lines
                    
1<?php
                    
2/**
                    
69        // Make sure the user agent is prefixed by the SDK version
                    
70        $this->setUserAgent('aws-sdk-php2/' . Aws::VERSION, true);
                    
71
                    
91        } else {
                    
92            return parent::__call(ucfirst($method), $args);
                    
93        }
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
178    {
                    
179        $class = 'Doctrine_Pager_Range_' . ucfirst($rangeStyle);
                    
180
                    
                
Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_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);
                    
                
Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_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);
                    
                
PhpExporter.php https://github.com/webvpro/RUA-CORE.git | PHP | 169 lines
                    
1<?php
                    
2
                    
27/**
                    
28 * ClassMetadata exporter for PHP code
                    
29 *
                    
29 *
                    
30 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
31 * @link    www.doctrine-project.org
                    
35 */
                    
36class PhpExporter extends AbstractExporter
                    
37{
                    
37{
                    
38    protected $_extension = '.php';
                    
39
                    
49        $lines = array();
                    
50        $lines[] = '<?php';
                    
51        $lines[] = null;
                    
                
view_TEst.php https://gitlab.com/diva-lab/hilton | PHP | 127 lines
                    
1<?php
                    
2require_once("../layout/initialize.php");
                    
5
                    
6require_once("../layout/header.php");
                    
7include("../../assets/texteditor4/head.php");
                    
13<!--sidebar start--> 
                    
14<?php require_once("../layout/navigation.php"); ?> 
                    
15<!--sidebar end-->  
                    
25                        <div class="panel-body"> 
                    
26                            <form class="form-horizontal tasi-form" role="form" id="ajaxform" action="data_model/insert.php"  method="post"> 
                    
27                                <input type="hidden" id="process_type" name="process_type" value="insert"> 
                    
40                                                        <ul class="nav nav-tabs"> 
                    
41                                                            <?php
                    
42                                                            //create tabs for all available languages  
                    
126<!--footer start--> 
                    
127<?php require_once("../layout/footer.php"); ?> 
                    
128
                    
                
Entry.php https://github.com/ajgarlag/zf1.git | PHP | 242 lines
                    
1<?php
                    
2/**
                    
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'
                    
150        if (!in_array($value, array('yes','no','clean'))) {
                    
151            require_once 'Zend/Feed/Exception.php';
                    
152            throw new Zend_Feed_Exception('invalid parameter: "explicit" may only'
                    
                
Definition.php https://github.com/rogerwu99/GF.git | PHP | 293 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');
                    
                
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';
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_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);
                    
                
FormExtension.php https://github.com/marphi/symfony.git | PHP | 214 lines
                    
1<?php
                    
2
                    
119        } elseif (!$label) {
                    
120            $label = ucfirst(strtolower(trim(preg_replace(['/([A-Z])/', '/[_\s]+/'], ['_$1', ' '], $view->vars['name']))));
                    
121        }
                    
                
text_content.php https://bitbucket.org/gan_kwok_wei/th-wcms-sandbox.git | PHP | 209 lines
                    
1<?php	if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
2/**
                    
3 * PHP 5
                    
4 *
                    
11 *
                    
12 * @filesource content_text.php
                    
13 * @copyright Copyright 2011-2012, P.T. Green Lab Group.
                    
32	<ul>
                    
33<?php 
                    
34	foreach ($this->system_model->get_registered_lang() as $lang_k => $lang_v) { 
                    
34	foreach ($this->system_model->get_registered_lang() as $lang_k => $lang_v) { 
                    
35		echo '<li><a href="#tabs-' . $lang_k . '">' . ucfirst($lang_v) . '</a></li>';
                    
36	}
                    
38	</ul>
                    
39<?php 
                    
40	foreach ($this->system_model->get_registered_lang() as $lang_k => $lang_v) {
                    
                
Annotation.php https://bitbucket.org/cryofrost/portal.git | PHP | 267 lines
                    
1<?php
                    
2
                    
18 * @link http://www.gediminasm.org
                    
19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
20 */
                    
107            }
                    
108            $method = 'validate' . ucfirst($config['strategy']) . 'TreeMetadata';
                    
109            $this->$method($meta, $config);
                    
                
Cache.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 245 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Cache.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
20 */
                    
131            // security controls are explicit
                    
132            // require_once str_replace('_', DIRECTORY_SEPARATOR, $backendClass) . '.php';
                    
133        } else {
                    
144            if (!$autoload) {
                    
145                $file = str_replace('_', DIRECTORY_SEPARATOR, $backendClass) . '.php';
                    
146                if (!(self::_isReadable($file))) {
                    
173            // security controls are explicit
                    
174            // require_once str_replace('_', DIRECTORY_SEPARATOR, $frontendClass) . '.php';
                    
175        } else {
                    
227     * Returns TRUE if the $filename is readable, or FALSE otherwise.
                    
228     * This function uses the PHP include_path, where PHP's is_readable()
                    
229     * does not.
                    
                
edit_flow.php https://gitlab.com/Blueprint-Marketing/Edit-Flow | PHP | 348 lines
                    
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' );
                    
122		
                    
                
Smd.php https://gitlab.com/rsilveira1987/Expresso | PHP | 480 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Smd.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
114        foreach ($options as $key => $value) {
                    
115            $method = 'set' . ucfirst($key);
                    
116            if (in_array($method, $methods)) {
                    
131        if (!in_array($transport, $this->_transportTypes)) {
                    
132            require_once 'Zend/Json/Server/Exception.php';
                    
133            throw new Zend_Json_Server_Exception(sprintf('Invalid transport "%s" specified', $transport));
                    
157        if (!in_array($envelopeType, $this->_envelopeTypes)) {
                    
158            require_once 'Zend/Json/Server/Exception.php';
                    
159            throw new Zend_Json_Server_Exception(sprintf('Invalid envelope type "%s"', $envelopeType));
                    
184        if (!preg_match($this->_contentTypeRegex, $type)) {
                    
185            require_once 'Zend/Json/Server/Exception.php';
                    
186            throw new Zend_Json_Server_Exception(sprintf('Invalid content type "%s" specified', $type));
                    
                
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 the
                    
                
BasePhysicalObjectI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 563 lines
                    
217
                    
218          return call_user_func(array($relatedTable->getClassName(), 'getBy'.ucfirst($relatedTable->getColumn($column->getRelatedColumnName())->getPhpName())), $this->rowOffsetGet("{$name}Id", $offset, $options));
                    
219        }
                    
342        {
                    
343          $this->row[$offset] = $this->values[$column->getPhpName()];
                    
344        }
                    
407      {
                    
408        if (!array_key_exists($column->getPhpName(), $this->values))
                    
409        {
                    
409        {
                    
410          if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName())
                    
411          {
                    
438          $columns = $table->getPrimaryKeyColumns();
                    
439          $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id;
                    
440        }
                    
                
Resource.php https://github.com/orchestra-io/sample-openx.git | PHP | 436 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 14026 2009-02-09 19:03:22Z matthew $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_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');
                    
115            if (!$this->hasResourceType($type)) {
                    
116                require_once 'Zend/Loader/Exception.php';
                    
117                throw new Zend_Loader_Exception("Invalid resource type $type; cannot load resource");
                    
                
Item.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 447 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
233
                    
234                $customSetter = '_setAttribute' . ucfirst($name);
                    
235                if (method_exists($this, $customSetter)) {
                    
                
legacy.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);
                    
179
                    
                
Migration.php https://github.com/deanhowe/CodeIgniter.git | PHP | 391 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.2.4 or newer
                    
6 *
                    
125		{
                    
126			show_error('Migrations configuration file (migration.php) must have "migration_table" set.');
                    
127		}
                    
183		{
                    
184			$f = glob(sprintf($this->_migration_path.'%03d_*.php', $i));
                    
185
                    
209			$file = basename($f[0]);
                    
210			$name = basename($f[0], '.php');
                    
211
                    
224				include $f[0];
                    
225				$class = 'Migration_'.ucfirst($match[1]);
                    
226
                    
                
Cloud.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());
                    
                
Loader.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';
                    
                
acp_portal_menu.php https://github.com/Lucky65/phpBB-Portal-XL-5.0-italian.git | PHP | 251 lines
                    
1<?php
                    
2/** 
                    
3*
                    
4* @name acp_portal_menu.php
                    
5* @package phpBB3 Portal XL
                    
5* @package phpBB3 Portal XL
                    
6* @version $Id: acp_portal_menu.php,v 1.1.1.1 2009/05/15 05:14:21 damysterious Exp $
                    
7*
                    
8* @copyright (c) 2007, 2009  Portal XL Group
                    
9* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
                    
10*
                    
22		global $db, $user, $auth, $template, $cache;
                    
23		global $config, $portal_config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
                    
24
                    
135				*/
                    
136				if ($dir = opendir($phpbb_root_path . 'portal/images/icon_menu')) {
                    
137					$block_images = array();
                    
                
1416863327-migrate-reports.php https://gitlab.com/e0/X2CRM | PHP | 315 lines
                    
1<?php
                    
2/***********************************************************************************
                    
101            if (!empty ($parameters['module'])) {
                    
102                $settings['primaryModelType'] = ucfirst ($parameters['module']);
                    
103            } else {
                    
189                }
                    
190                $settings['primaryModelType'] = ucfirst ($parameters['model']);
                    
191            } else {
                    
                
Locale.php https://bitbucket.org/d1rk/lithium.git | PHP | 304 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Lithium: the most rad php framework
                    
4 *
                    
5 * @copyright     Copyright 2012, Union of RAD (http://union-of-rad.org)
                    
6 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
                    
7 */
                    
54		'language' => array('formatter' => 'strtolower'),
                    
55		'script' => array('formatter' => array('strtolower', 'ucfirst')),
                    
56		'territory' => array('formatter' => 'strtoupper'),
                    
                
ValidFunctionNameSniff.php https://github.com/proofek/SQLI_CodeSniffer.git | PHP | 237 lines
                    
21if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) {
                    
22    throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found');
                    
23}
                    
64     *
                    
65     * @param  PHP_CodeSniffer_File $phpcsFile The file being processed
                    
66     * @param  integer              $stackPtr  The position where this token was found
                    
69     */
                    
70    public function processTokenWithinScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $currScope)
                    
71    {
                    
139     *
                    
140     * @param  PHP_CodeSniffer_File $phpcsFile The file being processed
                    
141     * @param  integer              $stackPtr  The position where this token was found
                    
143     */
                    
144    public function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
145    {
                    
                
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;
                    
                
fields.inc.php https://github.com/gunf/novo-isaak.local.git | PHP | 465 lines
                    
1<?php
                    
2
                    
222			case 'meta': // version 1.0.0 only, removed in 1.0.1
                    
223				$newtab = ucfirst($newtab);
                    
224			break;
                    
                
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/susmitha.plts/photographer_portfolio | 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;
                    
                
user.php https://gitlab.com/sihabudinahmad/asppi | PHP | 556 lines
                    
1<?php
                    
2
                    
152						// append to $this_users
                    
153						$this_users[ $user->ID ] = ucfirst( $user->display_name ) . ' (' .  $user->user_login . ')';
                    
154						
                    
314				
                    
315					$field['choices'][ $user->ID ] = ucfirst( $user->display_name );
                    
316					
                    
                
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";
                    
259
                    
                
Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP Version 5
                    
6 *
                    
11 * @copyright  2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
12 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
13 * @link       http://docblox-project.org
                    
24 * @author     Mike van Riel <mike.vanriel@naenius.com>
                    
25 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
26 * @link       http://docblox-project.org
                    
81        $this->class_paths = $class_paths;
                    
82        $type_method = 'process'.ucfirst($transformation->getSource());
                    
83        $this->$type_method($structure, $transformation);
                    
127            if (!isset($this->class_paths[$sub_element->getElementsByTagName('full_name')->item(0)->nodeValue])) {
                    
128                echo $sub_element->getElementsByTagName('full_name')->item(0)->nodeValue.PHP_EOL;
                    
129            } else {
                    
                
Task.php https://github.com/querl/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 371 lines
                    
1<?php
                    
2/**
                    
84        foreach ($options as $option => $value) {
                    
85            $method = 'set' . ucfirst($option);
                    
86            if (method_exists($this, $method)) {
                    
                
FormErrorsTest.php https://github.com/mfairchild365/zf2.git | PHP | 295 lines
                    
1<?php
                    
2/**
                    
26    Zend\Form\SubForm,
                    
27    Zend\View\PhpRenderer as View;
                    
28
                    
38 */
                    
39class FormErrorsTest extends \PHPUnit_Framework_TestCase
                    
40{
                    
151
                    
152    public function testRenderSeparatesContentAndErrorsWithPhpEolByDefault()
                    
153    {
                    
156        $test = $this->decorator->render($content);
                    
157        $this->assertContains($content . PHP_EOL . '<ul', $test);
                    
158    }
                    
200            } else {
                    
201                $method = 'get' . ucfirst($key);
                    
202                $this->assertEquals($value, $this->decorator->$method());
                    
                
viewacl.php https://github.com/CircleCode/dynacase-core.git | PHP | 237 lines
                    
1<?php
                    
2/*
                    
10 * @author Anakeen
                    
11 * @version $Id: viewacl.php,v 1.5 2007/03/12 17:38:41 eric Exp $
                    
12 * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License
                    
18// ---------------------------------------------------------------
                    
19// $Id: viewacl.php,v 1.5 2007/03/12 17:38:41 eric Exp $
                    
20// $Source: /home/cvsroot/anakeen/freedom/freedom/Zone/Fdl/viewacl.php,v $
                    
22// ---------------------------------------------------------------
                    
23include_once ("FDL/Class.Doc.php");
                    
24// -----------------------------------
                    
51    foreach ($acls as $k => $acl) {
                    
52        $tableacl[$k]["aclname"] = mb_ucfirst(_($acl));
                    
53        $tableacl[$k]["acldesc"] = " (" . _($doc->dacls[$acl]["description"]) . ")";
                    
                
Base.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
26 */
                    
27require_once 'Zend/Service/StrikeIron/Decorator.php';
                    
28
                    
67             */
                    
68            require_once 'Zend/Service/StrikeIron/Exception.php';
                    
69            throw new Zend_Service_StrikeIron_Exception('SOAP extension is not enabled');
                    
104             */
                    
105            require_once 'Zend/Service/StrikeIron/Exception.php';
                    
106            throw new Zend_Service_StrikeIron_Exception($message, $e->getCode(), $e);
                    
150                     */
                    
151                    require_once 'Zend/Service/StrikeIron/Exception.php';
                    
152                    throw new Zend_Service_StrikeIron_Exception('Header must be instance of SoapHeader');
                    
173     * to the remote service.  This can be useful for inflection or other
                    
174     * transforms to give the method call a more PHP-like interface.
                    
175     *
                    
                
Image.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 431 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
5 *
                    
6 * $Id: Image.php 3809 2008-12-18 12:48:41Z OscarB $
                    
7 *
                    
10 * @copyright  (c) 2007-2008 Kohana Team
                    
11 * @license    http://kohanaphp.com/license.html
                    
12 */
                    
76
                    
77		// Disable error reporting, to prevent PHP warnings
                    
78		$ER = error_reporting(0);
                    
108		// Set driver class name
                    
109		$driver = 'Image_'.ucfirst($this->config['driver']).'_Driver';
                    
110
                    
                
Image.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 431 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
5 *
                    
6 * $Id: Image.php 3917 2009-01-21 03:06:22Z zombor $
                    
7 *
                    
10 * @copyright  (c) 2007-2008 Kohana Team
                    
11 * @license    http://kohanaphp.com/license.html
                    
12 */
                    
76
                    
77		// Disable error reporting, to prevent PHP warnings
                    
78		$ER = error_reporting(0);
                    
108		// Set driver class name
                    
109		$driver = 'Image_'.ucfirst($this->config['driver']).'_Driver';
                    
110
                    
                
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">
                    
                
function.html_select_date.php https://gitlab.com/ElvisAns/tiki | PHP | 360 lines
                    
1<?php
                    
2
                    
34 * Returning to the upstream version would not be too hard, but https://github.com/smarty-php/smarty/issues/384 needs solving first. Chealer 2017-08-14
                    
35 * @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date}
                    
36 *      (Smarty online manual)
                    
71
                    
72    /* Should the select boxes be part of an array when returned from PHP?
                    
73         e.g. setting it to "birthday", would create "birthday[Day]",
                    
211
                    
212            $month_names[$i] = ucfirst(tra(utf8_encode(strftime($month_format, mktime(0, 0, 0, $i, 1, 2000)))));
                    
213            $month_values[$i] = strftime($month_value_format, mktime(0, 0, 0, $i, 1, 2000));
                    
                
str.php https://bitbucket.org/codeyash/bootstrap.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2013 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
17 *
                    
18 * PHP needs to be compiled with --enable-mbstring
                    
19 * or a fallback without encoding support is used
                    
204	/**
                    
205	 * ucfirst
                    
206	 *
                    
212	 */
                    
213	public static function ucfirst($str, $encoding = null)
                    
214	{
                    
219				mb_substr($str, 1, mb_strlen($str, $encoding), $encoding)
                    
220			: ucfirst($str);
                    
221	}
                    
                
entity.php https://github.com/nicolas-grekas/Patchwork-Doctrine.git | PHP | 372 lines
                    
1<?php // vi: set fenc=utf-8 ts=4 sw=4 et:
                    
2/*
                    
55        {
                    
56            $this->entityClass .= ucfirst($u); //TODO: Ugly
                    
57        }
                    
                
User.php https://github.com/redokes/Framework.git | PHP | 418 lines
                    
1<?php
                    
2class User_Model_User extends Redokes_Model_Model {
                    
248		  'title' => $accessTitle
                    
249		  ,'display' => ucfirst($accessTitle)
                    
250		  ));
                    
                
tag.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; ?>' });
                    
105
                    
                
str.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2012 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
17 *
                    
18 * PHP needs to be compiled with --enable-mbstring
                    
19 * or a fallback without encoding support is used
                    
204	/**
                    
205	 * ucfirst
                    
206	 *
                    
212	 */
                    
213	public static function ucfirst($str, $encoding = null)
                    
214	{
                    
219				mb_substr($str, 1, mb_strlen($str, $encoding), $encoding)
                    
220			: ucfirst($str);
                    
221	}
                    
                
Cloud.php https://gitlab.com/rsilveira1987/Expresso | PHP | 410 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Cloud.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
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');
                    
                
Standard.php https://github.com/bhaumik25/zend-framework.git | PHP | 418 lines
                    
1<?php
                    
2/**
                    
22/** Zend_Loader */
                    
23require_once 'Zend/Loader.php';
                    
24
                    
25/** Zend_Controller_Dispatcher_Abstract */
                    
26require_once 'Zend/Controller/Dispatcher/Abstract.php';
                    
27
                    
28/** Zend_Controller_Request_Abstract */
                    
29require_once 'Zend/Controller/Request/Abstract.php';
                    
30
                    
31/** Zend_Controller_Response_Abstract */
                    
32require_once 'Zend/Controller/Response/Abstract.php';
                    
33
                    
34/** Zend_Controller_Action */
                    
35require_once 'Zend/Controller/Action.php';
                    
36
                    
                
Service.php https://github.com/jpratt/cal.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24#require_once 'Zend/Json/Server/Smd.php';
                    
25
                    
30 * @subpackage Server
                    
31 * @version    $Id: Service.php 12510 2008-11-10 16:29:34Z matthew $
                    
32 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
132        if (null == $this->getName()) {
                    
133            #require_once 'Zend/Json/Server/Exception.php';
                    
134            throw new Zend_Json_Server_Exception('SMD service description requires a name; none provided');
                    
150            }
                    
151            $method = 'set' . ucfirst($key);
                    
152            if (in_array($method, $methods)) {
                    
169        if (!preg_match($this->_nameRegex, $name)) {
                    
170            #require_once 'Zend/Json/Server/Exception.php';
                    
171            throw new Zend_Json_Server_Exception(sprintf('Invalid name "%s" provided for service; must follow PHP method naming conventions', $name));
                    
                
Socket.php https://github.com/jorgenils/zend-framework.git | PHP | 285 lines
                    
1<?php
                    
2
                    
23
                    
24require_once 'Zend/Uri/Http.php';
                    
25require_once 'Zend/Http/Client/Adapter/Interface.php';
                    
25require_once 'Zend/Http/Client/Adapter/Interface.php';
                    
26require_once 'Zend/Http/Client/Adapter/Exception.php';
                    
27
                    
29 * A sockets based (fsockopen) adapter class for Zend_Http_Client. Can be used
                    
30 * on almost every PHP environment, and does not require any special extensions.
                    
31 *
                    
159        foreach ($headers as $k => $v) {
                    
160            if (is_string($k)) $v = ucfirst($k) . ": $v";
                    
161            $request .= "$v\r\n";
                    
                
ValidFunctionNameSniff.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 263 lines
                    
17if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) {
                    
18    throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found');
                    
19}
                    
82     *
                    
83     * @param PHP_CodeSniffer_File $phpcsFile The file being processed.
                    
84     * @param int                  $stackPtr  The position where this token was
                    
89     */
                    
90    protected function processTokenWithinScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $currScope)
                    
91    {
                    
161     *
                    
162     * @param PHP_CodeSniffer_File $phpcsFile The file being processed.
                    
163     * @param int                  $stackPtr  The position where this token was
                    
167     */
                    
168    protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
169    {
                    
                
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    }
                    
                
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">
                    
                
admin.php https://github.com/coderlabs/Kaimonokago.git | PHP | 252 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
237        }
                    
238        $selected_lang=ucfirst($selected_lang['langname']);// using this in bread crumb
                    
239        //$data['menus'] = $this->MMenus->getAllMenusDisplay();
                    
                
contenttype.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 95 lines
                    
1<?php
                    
2/**
                    
48
                    
49		$this->type_title = ucfirst($this->type_title);
                    
50
                    
                
jce.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 79 lines
                    
1<?php
                    
2
                    
14// load base classes
                    
15require_once(dirname(__FILE__) . '/includes/base.php');
                    
16
                    
32// Require the base controller
                    
33require_once (WF_ADMINISTRATOR . '/controller.php');
                    
34
                    
35// Load controller
                    
36$controllerPath = WF_ADMINISTRATOR . '/controller/' . $view . '.php';
                    
37
                    
40
                    
41    $controllerClass = 'WFController' . ucfirst($view);
                    
42    $controller = new $controllerClass(array(
                    
61        if ($app->isAdmin() === false) {
                    
62            $app->redirect('index.php', WFText::_('ALERTNOTAUTH'), 'error');
                    
63        }
                    
                
Auth.php https://bitbucket.org/rybadour/todo_list_site.git | 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);
                    
35
                    
                
Cloud.php https://github.com/grandison/budo16.git | PHP | 410 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Cloud.php 16209 2009-06-21 19:20:34Z thomas $
                    
21 */
                    
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');
                    
                
Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
                    
1<?php
                    
2/**
                    
86            'alias' => $alias,
                    
87            'title' => ucfirst($alias),
                    
88            'link' => $name,
                    
                
Cloud.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 427 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Cloud.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Tag/Item.php';
                    
27
                    
122
                    
123            $method = 'set' . ucfirst($key);
                    
124            if (method_exists($this, $method)) {
                    
155            } else {
                    
156                require_once 'Zend/Tag/Cloud/Exception.php';
                    
157                throw new Zend_Tag_Cloud_Exception( 'Tag must be an instance of Zend_Tag_Taggable or an array' );
                    
178        } else {
                    
179            require_once 'Zend/Tag/Cloud/Exception.php';
                    
180            throw new Zend_Tag_Cloud_Exception( 'Tag must be an instance of Zend_Tag_Taggable or an array' );
                    
                
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 .'">';
                    
                
PropelMigrationManager.php https://gitlab.com/Isaki/le331.fr | PHP | 369 lines
                    
1<?php
                    
2
                    
10
                    
11require_once dirname(__FILE__) . '/../model/Table.php';
                    
12require_once dirname(__FILE__) . '/../model/Column.php';
                    
12require_once dirname(__FILE__) . '/../model/Column.php';
                    
13require_once dirname(__FILE__) . '/PropelSQLParser.php';
                    
14require_once dirname(__FILE__) . '/../../../runtime/lib/Propel.php';
                    
74        $adapter = $params['adapter'];
                    
75        $adapterClass = ucfirst($adapter) . 'Platform';
                    
76        require_once sprintf('%s/../platform/%s.php',
                    
214            foreach ($files as $file) {
                    
215                if (preg_match('/^PropelMigration_(\d+)\.php$/', $file, $matches)) {
                    
216                    $migrationTimestamps[] = (integer) $matches[1];
                    
278        $className = $this->getMigrationClassName($timestamp);
                    
279        require_once sprintf('%s/%s.php',
                    
280            $this->getMigrationDir(),
                    
                
CommentTestTrait.php https://gitlab.com/guillaumev/alkarama | PHP | 125 lines
                    
1<?php
                    
2
                    
47        'id' => $comment_type_id,
                    
48        'label' => Unicode::ucfirst($comment_type_id),
                    
49        'target_entity_type_id' => $entity_type,
                    
                
update.php https://gitlab.com/diva-lab/essam-labs | PHP | 266 lines
                    
1<?php 
                    
2require_once("../layout/initialize.php"); 
                    
11	if(empty($record_info->id)){ 
                    
12		redirect_to("view.php");	 
                    
13	}else{ 
                    
29}else{ 
                    
30	redirect_to("../MenuGroup/view.php"); 
                    
31} 
                    
37<!--sidebar start--> 
                    
38<?php require_once("../layout/navigation.php");?> 
                    
39<!--sidebar end-->  
                    
171                <button type="button" class="btn btn-info"  
                    
172                    onClick="window.location.href = 'view.php?group_id='+<?php echo $group_data->id?>" >View Links </button> 
                    
173                <div id="loading_data"></div> 
                    
264<!--footer start--> 
                    
265<?php require_once("../layout/footer.php");?> 
                    
266<script src="../../js-crud/load_nodes.js"></script>
                    
                
ToolbarComponent.php https://bitbucket.org/albertoprb/fleetster-challenge.git | PHP | 487 lines
                    
1<?php
                    
2App::uses('CakeLog', 'Log');
                    
18 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
19 * @link          http://cakephp.org
                    
20 * @package       debug_kit
                    
22 * @since         DebugKit 0.1
                    
23 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
24 */
                    
251				// required to have a plugin prefix.
                    
252				$alternate = 'DebugKit.' . ucfirst($key);
                    
253				$index = array_search($alternate, $panels);
                    
337		} else {
                    
338			$format = 'FirePhp';
                    
339		}
                    
424		foreach ($panels as $panel) {
                    
425			$className = ucfirst($panel) . 'Panel';
                    
426			list($plugin, $className) = pluginSplit($className, true);
                    
                
dinDoctrineGenerateModuleTask.class.php https://github.com/relo-san/dinDoctrineExtraPlugin.git | PHP | 284 lines
                    
111            'PLUGIN_NAME'       => $options['plugin'],
                    
112            'PHP'               => '<?php',
                    
113            'AUTHOR'            => dinGeneratorSigner::getAuthor(),
                    
154        // create module definition
                    
155        //$this->getFilesystem()->copy( $moduleDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'moduleDefinition.php', $moduleDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'Plugin' . ucfirst( $arguments['module'] ) . 'ModuleDefinition.class.php' );
                    
156        //$this->getFilesystem()->remove( $moduleDir . '/config/moduleDefinition.php' );
                    
162        // customize php and yml files
                    
163        $finder = sfFinder::type( 'file' )->name( '*.php', '*.yml' );
                    
164        $this->getFilesystem()->replaceTokens( $finder->in( $moduleDir ), '##', '##', $this->constants );
                    
166        // create basic test
                    
167        $this->getFilesystem()->copy( sfConfig::get( 'sf_symfony_lib_dir' ) . DIRECTORY_SEPARATOR . 'task' . DIRECTORY_SEPARATOR . 'generator' . DIRECTORY_SEPARATOR . 'skeleton' . DIRECTORY_SEPARATOR . 'module'.DIRECTORY_SEPARATOR . 'test' . DIRECTORY_SEPARATOR . 'actionsTest.php', sfConfig::get( 'sf_test_dir' ) . DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . $arguments['application'] . DIRECTORY_SEPARATOR . $arguments['module'] . 'ActionsTest.php' );
                    
168
                    
224        //{
                    
225        //    if ( file_exists( $target = $moduleDir . '/config/Plugin' . ucfirst( $arguments['module'] ) . 'ModuleDefinition.class.php' ) )
                    
226        //    {
                    
                
index.php https://github.com/lowiebenoot/forkcms.git | PHP | 310 lines
                    
1<?php
                    
2
                    
95		// set headers values
                    
96		$headers['sent'] = SpoonFilter::ucfirst(BL::lbl('WillBeSentOn'));
                    
97
                    
307	{
                    
308		return !empty($name) ? '<a href="' . SITE_URL . BackendModel::createURLForAction('index') . '&amp;campaign=' . $id . '">' . $name . '</a>' : SpoonFilter::ucfirst(BL::lbl('NoCampaign'));
                    
309	}
                    
                
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        }
                    
                
index.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>
                    
                
Service.php https://github.com/tuteke/isaved.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24#require_once 'Zend/Json/Server/Smd.php';
                    
25
                    
30 * @subpackage Server
                    
31 * @version    $Id: Service.php 16214 2009-06-21 19:34:03Z thomas $
                    
32 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
132        if (null == $this->getName()) {
                    
133            #require_once 'Zend/Json/Server/Exception.php';
                    
134            throw new Zend_Json_Server_Exception('SMD service description requires a name; none provided');
                    
150            }
                    
151            $method = 'set' . ucfirst($key);
                    
152            if (in_array($method, $methods)) {
                    
169        if (!preg_match($this->_nameRegex, $name)) {
                    
170            #require_once 'Zend/Json/Server/Exception.php';
                    
171            throw new Zend_Json_Server_Exception(sprintf('Invalid name "%s" provided for service; must follow PHP method naming conventions', $name));
                    
                
ArrayOfTypeSequence.php https://github.com/Exercise/zf2.git | PHP | 150 lines
                    
1<?php
                    
2/**
                    
55                $complexType    = $this->_getTypeBasedOnNestingLevel($singularType, $i);
                    
56                $complexTypePhp = $singularType . str_repeat('[]', $i);
                    
57                $childType      = $this->_getTypeBasedOnNestingLevel($singularType, $i-1);
                    
58
                    
59                $this->_addSequenceType($complexType, $childType, $complexTypePhp);
                    
60            }
                    
84        } else {
                    
85            return 'tns:' . str_repeat('ArrayOf', $level) . ucfirst(Wsdl::translateType($singularType));
                    
86        }
                    
116     * @param  string $childType      Qualified array items type (e.g. 'xsd:int', 'tns:ArrayOfInt')
                    
117     * @param  string $phpArrayType   PHP type (e.g. 'int[][]', '\MyNamespace\MyClassName[][][]')
                    
118     * @return void
                    
119     */
                    
120    protected function _addSequenceType($arrayType, $childType, $phpArrayType)
                    
121    {
                    
                
graminfo.php https://github.com/Oreolek/Togataltu.git | PHP | 338 lines
                    
88 
                    
89abstract class phpMorphy_GramInfo implements phpMorphy_GramInfo_Interace {
                    
90    const HEADER_SIZE = 128;
                    
120        $file_path = dirname(__FILE__) . "/access/graminfo_{$storage_type}.php";
                    
121        $clazz = 'phpMorphy_GramInfo_' . ucfirst($storage_type);
                    
122        
                    
250
                    
251class phpMorphy_GramInfo_Proxy_WithHeader extends phpMorphy_GramInfo_Proxy {
                    
252    protected
                    
291
                    
292class phpMorphy_GramInfo_RuntimeCaching extends phpMorphy_GramInfo_Decorator {
                    
293    protected
                    
307
                    
308class phpMorphy_GramInfo_AncodeCache extends phpMorphy_GramInfo_Decorator {
                    
309    public
                    
                
HeadScript.php https://github.com/grandison/budo16.git | PHP | 478 lines
                    
23/** Zend_View_Helper_Placeholder_Container_Standalone */
                    
24// require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php';
                    
25
                    
90     *
                    
91     * Set separator to PHP_EOL.
                    
92     *
                    
97        parent::__construct();
                    
98        $this->setSeparator(PHP_EOL);
                    
99    }
                    
144        if ($this->_captureLock) {
                    
145            // require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
146            throw new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest headScript captures');
                    
413        if (!empty($item->source)) {
                    
414              $html .= PHP_EOL . $indent . '    ' . $escapeStart . PHP_EOL . $item->source . $indent . '    ' . $escapeEnd . PHP_EOL . $indent;
                    
415        }
                    
                
Query.php https://gitlab.com/rsilveira1987/Expresso | PHP | 418 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Query.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/App/Util.php';
                    
28
                    
397    {
                    
398        $method = 'get'.ucfirst($name);
                    
399        if (method_exists($this, $method)) {
                    
401        } else {
                    
402            require_once 'Zend/Gdata/App/Exception.php';
                    
403            throw new Zend_Gdata_App_Exception('Property ' . $name . '  does not exist');
                    
408    {
                    
409        $method = 'set'.ucfirst($name);
                    
410        if (method_exists($this, $method)) {
                    
                
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            }
                    
                
Factory.php https://bitbucket.org/jokusafet/magento2.git | PHP | 67 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
                    
24 * @copyright   Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
                    
25 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
26 */
                    
46        if (!isset(self::$_instances[$name])) {
                    
47            $className = preg_replace('/[^_]*$/', ucfirst($name), __CLASS__, 1);
                    
48            self::$_instances[$name] = new $className();
                    
                
module.controller.php https://github.com/mconway/NanobyteCMS.git | PHP | 244 lines
                    
1<?php
                    
2
                    
44					$Core->json_obj->callback = 'Dialog';
                    
45					$Core->json_obj->title = 'Module Information for: '.ucfirst($Core->args[2]);
                    
46					break;
                    
90		$Core = parent::getCore();
                    
91		require_once($module->modpath."mod_".$module->name.'.php');
                    
92		$mod_class = 'Mod_'.$module->name;
                    
                
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);
                    
                
generic.php https://gitlab.com/ppapadatis/Videolearn | PHP | 143 lines
                    
27	<div class="k2FeedIcon">
                    
28		<a href="<?php echo $this->feed; ?>" title="<?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?>">
                    
29			<span><?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?></span>
                    
42			<div class="genericItemHeader">
                    
43				<?php if($this->params->get('genericItemDateCreated')): ?>
                    
44				<!-- Date created -->
                    
69				    <a href="<?php echo $item->link; ?>" title="<?php if(!empty($item->image_caption)) echo K2HelperUtilities::cleanHtml($item->image_caption); else echo K2HelperUtilities::cleanHtml($item->title); ?>">
                    
70				    	<img src="<?php echo $item->imageGeneric; ?>" alt="<?php if(!empty($item->image_caption)) echo K2HelperUtilities::cleanHtml($item->image_caption); else echo K2HelperUtilities::cleanHtml($item->title); ?>" style="width:<?php echo $this->params->get('itemImageGeneric'); ?>px; height:auto;" />
                    
71				    </a>
                    
95				<?php if($extraField->value): ?>
                    
96				<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
                    
97					<span class="genericItemExtraFieldsLabel"><?php echo $extraField->name; ?></span>
                    
110				<span><?php echo JText::_('K2_PUBLISHED_IN'); ?></span>
                    
111				<a href="<?php echo $item->category->link; ?>"><?php echo $item->category->name; ?></a>
                    
112			</div>
                    
                
mtrl-stats-pages.php https://gitlab.com/neyberbz/suelos-ualm | PHP | 132 lines
                    
1<?php
                    
2
                    
15
                    
16        <?php if($countPages > 0){ 
                    
17            
                    
21                foreach ($totalPagesArray as $key => $value) {
                    
22                    $data_str .= "'".ucfirst($key)."', ";
                    
23
                    
24                    if($value == '0'){ $value = "'-'";}
                    
25                     $data_obj .= "{value: ".$value.",  name:'".ucfirst($key)."'}, ";
                    
26                }
                    
36
                    
37<?php 
                    
38    $getcolor = mtrl_dashboard_widget_color();
                    
59              var option = {
                    
60                color: ['<?php echo $getcolor[0]; ?>','<?php echo $getcolor[1]; ?>','<?php echo $getcolor[2]; ?>','<?php echo $getcolor[3]; ?>','<?php echo $getcolor[4]; ?>','<?php echo $getcolor[5]; ?>'],
                    
61
                    
                
Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
                    
1<?php
                    
2
                    
111
                    
112		$className = 'Input' . ucfirst($name);
                    
113
                    
                
Entry.php https://github.com/kervin/kyzstudio.git | PHP | 242 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Entry.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
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'
                    
                
metas.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' ) );
                    
                
Query.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 418 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Query.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
22 */
                    
26 */
                    
27// require_once 'Zend/Gdata/App/Util.php';
                    
28
                    
397    {
                    
398        $method = 'get'.ucfirst($name);
                    
399        if (method_exists($this, $method)) {
                    
401        } else {
                    
402            // require_once 'Zend/Gdata/App/Exception.php';
                    
403            throw new Zend_Gdata_App_Exception('Property ' . $name . '  does not exist');
                    
408    {
                    
409        $method = 'set'.ucfirst($name);
                    
410        if (method_exists($this, $method)) {
                    
                
compatibility-packages.php https://bitbucket.org/kenaku/karate.git | PHP | 98 lines
                    
11    <?php foreach($WPML_Packages->get_packages() as $package_type => $packages): ?>
                    
12    <h4><?php echo ucfirst($package_type) ?></h4>
                    
13    
                    
23        <?php if(!empty($packages)): ?>
                    
24        <table id="icl_packages_<?php echo $package_type ?>" class="widefat">
                    
25            <thead>
                    
29                    <th><?php _e('Version', 'sitepress') ?></th>
                    
30                    <th><?php _e('Description', 'sitepress') ?></th>
                    
31                    <?php if($package_type=='themes'):?>
                    
50                ?>
                    
51                <tr <?php if($incr%2==0): ?>class="alternate"<?php endif?>>
                    
52                    <td>
                    
53                        <input type="hidden" name="icl_packages[<?php echo $package_type ?>][<?php echo $package_id ?>]" value="0" />
                    
54                        <input type="checkbox" name="icl_packages[<?php echo $package_type ?>][<?php echo $package_id ?>]" value="1"<?php echo $checked; ?> />
                    
55                    </td>
                    
                
Query.php https://github.com/grandison/budo16.git | PHP | 418 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Query.php 16971 2009-07-22 18:05:45Z mikaelkael $
                    
22 */
                    
26 */
                    
27// require_once 'Zend/Gdata/App/Util.php';
                    
28
                    
397    {
                    
398        $method = 'get'.ucfirst($name);
                    
399        if (method_exists($this, $method)) {
                    
401        } else {
                    
402            // require_once 'Zend/Gdata/App/Exception.php';
                    
403            throw new Zend_Gdata_App_Exception('Property ' . $name . '  does not exist');
                    
408    {
                    
409        $method = 'set'.ucfirst($name);
                    
410        if (method_exists($this, $method)) {
                    
                
databaseconnection.php https://github.com/CCI-Studios/Wee-Magazine.git | PHP | 85 lines
                    
1<?php
                    
2/**
                    
64				{
                    
65					$options[$support] = ucfirst($support);
                    
66				}
                    
72			{
                    
73				$options[$support] = ucfirst($support);
                    
74			}
                    
                
header.php https://gitlab.com/mehedi-xion/Project-mehedi | 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                                    }
                    
                
page.php https://github.com/be3/ionize.git | PHP | 173 lines
                    
1<?php
                    
2/*
                    
44
                    
45		require_once APPPATH.'libraries/ftl/parser.php';
                    
46		require_once APPPATH.'libraries/ftl/arraycontext.php';
                    
47
                    
48		require_once APPPATH.'libraries/Tagmanager.php';
                    
49
                    
49
                    
50		require_once APPPATH.'libraries/Tagmanager/Page.php';
                    
51		require_once APPPATH.'libraries/Tagmanager/Element.php';
                    
51		require_once APPPATH.'libraries/Tagmanager/Element.php';
                    
52		require_once APPPATH.'libraries/Tagmanager/Form.php';
                    
53		require_once APPPATH.'libraries/Tagmanager/Login.php';
                    
83		// get special tag manager:
                    
84		if(in_array($file = ucfirst(strtolower($this->uri->segment(3))), $this->installed_tagmanagers))
                    
85		{
                    
                
mailer.php https://github.com/jmhobbs/Mailer.git | PHP | 467 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
3 * System for sending email using Swift Mailer integrates into any web app written
                    
4 * in PHP 5, offering a flexible and elegant object-oriented approach to sending
                    
5 * emails with a multitude of features. 
                    
10 * @fork		http://github.com/themusicman/Mailer
                    
11 * @license		http://kohanaphp.com/license
                    
12 */
                    
171	{
                    
172		$class = ( $mailer_name !== NULL ) ? 'Mailer_'.ucfirst($mailer_name) : 'Mailer';
                    
173		$class = new $class;
                    
209	{
                    
210		$className = ( $mailer_name !== NULL) ? 'Mailer_'.ucfirst($mailer_name) : "Mailer";
                    
211		
                    
235
                    
236		$klass = 'Mailer_Transport_' . ucfirst($transport);
                    
237		$factory = new $klass();
                    
                
Cache.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 261 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Cache.php 24656 2012-02-26 06:02:53Z adamlundrigan $
                    
20 */
                    
135            // security controls are explicit
                    
136            require_once str_replace('_', DIRECTORY_SEPARATOR, $backendClass) . '.php';
                    
137        } else {
                    
148            if (!$autoload) {
                    
149                $file = str_replace('_', DIRECTORY_SEPARATOR, $backendClass) . '.php';
                    
150                if (!( self::_isReadable($file) )) {
                    
179            // security controls are explicit
                    
180            require_once str_replace('_', DIRECTORY_SEPARATOR, $frontendClass) . '.php';
                    
181        } else {
                    
241     * Returns TRUE if the $filename is readable, or FALSE otherwise.
                    
242     * This function uses the PHP include_path, where PHP's is_readable()
                    
243     * does not.
                    
                
core.php https://github.com/quadcodes/wp-front-end-editor.git | PHP | 277 lines
                    
1<?php
                    
2
                    
53
                    
54			'ajax_url' => admin_url( 'admin-ajax.php' ),
                    
55			'nonce' => wp_create_nonce( self::NONCE ),
                    
67			$data['image'] = array(
                    
68				'url' => admin_url( 'media-upload.php?post_id=0&type=image&editable_image=1&TB_iframe=true&width=640' ),
                    
69				'change' => __( 'Change Image', 'front-end-editor' ),
                    
104var FrontEndEditor = {};
                    
105FrontEndEditor.data = <?php echo json_encode( $data ) ?>;
                    
106</script>
                    
106</script>
                    
107<?php
                    
108		scbUtil::do_scripts( self::$js_dependencies );
                    
136			$args = wp_parse_args( $args, array(
                    
137				'title' => ucfirst( str_replace( '_', ' ', $filter ) ),
                    
138				'type' => 'input',
                    
                
Callback.php https://github.com/tmccormi/openemr.git | PHP | 192 lines
                    
1<?php
                    
2/**
                    
64        foreach ($options as $key => $value) {
                    
65            $method = 'set' . ucfirst($key);
                    
66            if (method_exists($this, $method)) {
                    
                
storage.php https://github.com/Hackwar/joomla-platform.git | PHP | 335 lines
                    
1<?php
                    
2/**
                    
133
                    
134		$class = 'JCacheStorage' . ucfirst($handler);
                    
135
                    
140
                    
141			if ($path = JPath::find(self::addIncludePath(), strtolower($handler) . '.php'))
                    
142			{
                    
181		{
                    
182			include_once JPATH_PLATFORM . '/joomla/cache/storage/helper.php';
                    
183		}
                    
                
DebugController.php https://bitbucket.org/areeves42/openfisma.git | PHP | 161 lines
                    
1<?php
                    
2/**
                    
29    /**
                    
30     * Display phpinfo()
                    
31     *
                    
34     */
                    
35    public function phpinfoAction()
                    
36    {
                    
72    /**
                    
73     * Display php log
                    
74     *
                    
77     */
                    
78    public function phplogAction()
                    
79    {
                    
79    {
                    
80        $this->view->log = ($log = @file_get_contents(APPLICATION_PATH . '/../data/logs/php.log'))
                    
81            ? $log : 'The php log does not exist';
                    
                
ValidVariableNameSniff.php https://gitlab.com/link233/bootmw | 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    {
                    
                
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    }
                    
                
output.php https://github.com/myiek/swopr.ca.git | PHP | 234 lines
                    
72				<a href="<? $doc->POD->podRoot(); ?>/admin/people/?id=<? echo $doc->creator('id'); ?>"><? echo $doc->creator('nick'); ?></a><br />
                    
73				<a href="<? $doc->POD->podRoot(); ?>/admin/content/search.php?userId=<? $doc->creator()->write('id'); ?>" class="tool">More from this person...</a><br />
                    
74			</p>
                    
81				<a href="<? $doc->POD->podRoot(); ?>/admin/people/?id=<? echo $doc->author('id'); ?>"><? echo $doc->author('nick'); ?></a><br />
                    
82				<a href="<? $doc->POD->podRoot(); ?>/admin/content/search.php?userId=<? $doc->author()->write('id'); ?>" class="tool">More from this person...</a><br />
                    
83			</p>
                    
113				<li><a href="#children" class="tool"><? echo $doc->children()->totalCount(); ?> <? echo $this->POD->pluralize($doc->children()->totalCount(),'Child post','Child posts'); ?></a></li>
                    
114				<li><a href="<? $doc->POD->podRoot(); ?>/admin/files/index.php?contentId=<? $doc->write('id'); ?>" class="tool"><? echo $doc->files()->totalCount(); ?> <? echo $this->POD->pluralize($doc->files()->totalCount(),'File','Files'); ?></a></li>
                    
115				<li><a href="<? $doc->POD->podRoot(); ?>/admin/flags/index.php?contentId=<? $doc->write('id'); ?>" class="tool">Flags</a></li>
                    
116			</ul>
                    
117			Edit <?= ucfirst($doc->type); ?> 
                    
118		</h1>
                    
119	<? } else { ?>
                    
120		<h1>Add <?= ucfirst($doc->type); ?></h1>
                    
121	<? } ?>
                    
                
Model.php https://github.com/bwghughes/houghandco.git | PHP | 82 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 or newer
                    
6 *
                    
42		// assign_libraries function below so we'll grab the name of the model parent
                    
43		$this->_parent_name = ucfirst(get_class($this));
                    
44		
                    
                
layout.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 192 lines
                    
11        <?php stylesheet::add(array('reset','layout', 'navigation', 'screen', 'forms'), 10); ?>
                    
12        <?php stylesheet::add('jquery.custom.css', 31); ?>
                    
13        <?php stylesheet::add('ie', array('cond' => 'ie', 'weight' => 10)); ?>
                    
18        <?php echo $css ?>
                    
19        <?php echo $js ?>
                    
20
                    
65
                    
66                            <?php if (users::getAttr('user_id')): ?>
                    
67                            <!-- dash board -->
                    
68                            <div class="dash">
                    
69                                <?php if (class_exists('DashManager', TRUE)) echo DashManager::renderActions(); ?>
                    
70                            </div>
                    
107                            <?php foreach($navTree as $branch => $leafs) : ?>
                    
108                            <div id="navGroup<?php echo ucfirst($branch); ?>" class="navGroup">
                    
109                                <div class="wrapper">
                    
                
Migration.php https://github.com/JamieLomas/pyrocms.git | 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));
                    
                
Inline.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';
                    
44
                    
                
Validate.php https://bitbucket.org/haichau59/manga.git | PHP | 290 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Validate.php 24594 2012-01-05 21:27:01Z matthew $
                    
20 */
                    
24 */
                    
25//require_once 'Zend/Validate/Interface.php';
                    
26
                    
197        $namespaces = array_merge((array) $namespaces, self::$_defaultNamespaces, array('Zend_Validate'));
                    
198        $className  = ucfirst($classBaseName);
                    
199        try {
                    
200            if (!class_exists($className, false)) {
                    
201                //require_once 'Zend/Loader.php';
                    
202                foreach($namespaces as $namespace) {
                    
203                    $class = $namespace . '_' . $className;
                    
204                    $file  = str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
                    
205                    if (Zend_Loader::isReadable($file)) {
                    
                
tikiimporter_blog.php https://gitlab.com/ElvisAns/tiki | PHP | 475 lines
                    
1<?php
                    
2
                    
17
                    
18require_once('tikiimporter.php');
                    
19
                    
91
                    
92        echo "\n\n<b>" . tra('<a href="tiki-importer.php">Click here</a> to finish the import process') . '</b>';
                    
93        flush();
                    
191    {
                    
192        $methodName = 'insert' . ucfirst($item['type']);
                    
193
                    
269            $tikilib->set_preference('home_blog', $this->blogId);
                    
270            $tikilib->set_preference('tikiIndex', 'tiki-view_blog.php?blogId=' . $this->blogId);
                    
271        }
                    
365        if ($pageName) {
                    
366            $objectlib->insert_object('wiki page', $pageName, '', $pageName, 'tiki-index.php?page=' . urlencode($pageName));
                    
367        }
                    
                
Localize.php https://gitlab.com/jslee1/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'),
                    
                
adminAdministrators.php https://gitlab.com/scsistemas/superprime | PHP | 258 lines
                    
11        <!-- top navigation -->
                    
12          <?php include '../includes/topNavigation.php'; ?>
                    
13        <!-- /top navigation -->
                    
70                            <tr>
                    
71                              <td><?php print_r(ucfirst($administradores[$f]['Nombre'])); ?> <?php print_r(ucfirst($administradores[$f]['Apellido'])); ?></td> 
                    
72                              <td><?php print_r(ucfirst($administradores[$f]['Usuario'])); ?></td>
                    
151                                  <?php foreach ($accesos as $f=>$value) { ?>
                    
152                                  <option value="<?php print_r(ucfirst($accesos[$f]['nombre'])); ?>" id="<?php print_r($accesos[$f]['id']); ?>"><?php print_r(ucfirst($accesos[$f]['nombre'])); ?> </option>
                    
153                                <?php } ?>
                    
210                                  <?php foreach ($accesos as $f=>$value) { ?>
                    
211                                  <option id="<?php print_r($accesos[$f]['id']); ?>"><?php print_r(ucfirst($accesos[$f]['nombre'])); ?> </option>
                    
212                                <?php } ?>
                    
234        <!-- footer content -->
                    
235        <?php include('../includes/footer.php') ?>
                    
236        <!-- /footer content -->
                    
                
show.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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}
                    
                
Pdo.php https://bitbucket.org/zbahij/eprojets_app.git | PHP | 309 lines
                    
1<?php
                    
2/**
                    
193                default:
                    
194                    return ucfirst($name);
                    
195            }
                    
206                default:
                    
207                    return ucfirst($name);
                    
208            }
                    
                
Converter.php https://github.com/chaikk/core.git | PHP | 485 lines
                    
1<?php
                    
2// vim: set ts=4 sw=4 sts=4 et:
                    
11 * It is also available through the world-wide-web at this URL:
                    
12 * http://opensource.org/licenses/osl-3.0.php
                    
13 * If you did not receive a copy of the license and are unable to
                    
16 *
                    
17 * PHP version 5.3.0
                    
18 *
                    
21 * @copyright Copyright (c) 2011 Creative Development LLC <info@cdev.ru>. All rights reserved
                    
22 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
23 * @link      http://www.litecommerce.com/
                    
89    {
                    
90        return ucfirst(str_replace(self::$from, self::$to, strval($string)));
                    
91    }
                    
417
                    
418        if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
                    
419            $format = str_replace('%e', '%#d', $format);
                    
                
DbTable.php https://github.com/Exercise/zf2.git | PHP | 231 lines
                    
1<?php
                    
2/**
                    
112        $originalName = $name;
                    
113        $name = ucfirst($name);
                    
114        
                    
                
page.php https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn | PHP | 64 lines
                    
3
                    
4	<?php if(isset($_POST['siteorigin_custom_css_save'])) : ?>
                    
5		<div class="updated settings-error">
                    
7		</div>
                    
8	<?php endif; ?>
                    
9
                    
11		<div class="updated settings-error">
                    
12			<p><?php _e('Viewing a revision. Save CSS to use this revision.', 'vantage') ?></p>
                    
13		</div>
                    
22				<div class="inside">
                    
23					<ol data-confirm="<?php esc_attr_e('Are you sure you want to load this revision?', 'vantage') ?>">
                    
24						<?php
                    
28								<li>
                    
29									<a href="<?php echo add_query_arg(array('theme' => $theme, 'time' => $time)) ?>" class="load-css-revision"><?php echo date('j F Y @ H:i:s', $time) ?></a>
                    
30									(<?php printf(__('%d chars', 'vantage'), strlen($css)) ?>)
                    
                
PhotosUserEntryTest.php https://github.com/sidealice/zf2.git | PHP | 227 lines
                    
1<?php
                    
2/**
                    
35 */
                    
36class PhotosUserEntryTest extends \PHPUnit_Framework_TestCase
                    
37{
                    
62        $propName = $name;
                    
63        $propGetter = "get" . ucfirst($name);
                    
64
                    
80        $propName = $name;
                    
81        $propGetter = "get" . ucfirst($name);
                    
82        $secondGetter = "get" . ucfirst($secondName);
                    
100        $propName = $name;
                    
101        $propGetter = "get" . ucfirst($name);
                    
102        $propSetter = "set" . ucfirst($name);
                    
102        $propSetter = "set" . ucfirst($name);
                    
103        $secondGetter = "get" . ucfirst($secondName);
                    
104        $secondSetter = "set" . ucfirst($secondName);
                    
                
categories.php https://github.com/3den/J-MediaGalleries.git | PHP | 645 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: categories.php 19205 2010-10-22 19:50:48Z 3dentech $
                    
4 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
                    
116		$section = count($parts) > 1 ? $parts[1] : '';
                    
117		$classname = ucfirst(substr($component,4)).ucfirst($section).'Categories';
                    
118		if (!class_exists($classname))
                    
119		{
                    
120			$path = JPATH_SITE.DS.'components'.DS.$component.DS.'helpers'.DS.'category.php';
                    
121			if (is_file($path))
                    
                
 

Source

Language