100+ results results for 'php method_exists repo:balor/yiicms' (182 ms)
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Standalone.php 11374 2008-09-12 17:06:22Z ralph $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_View_Helper_Placeholder_Registry */ 23require_once 'Zend/View/Helper/Placeholder/Registry.php'; 24 24 25/** Zend_View_Helper_Abstract.php */ 26require_once 'Zend/View/Helper/Abstract.php'; 220 $container = $this->getContainer(); 221 if (method_exists($container, $method)) { 222 $return = call_user_func_array(array($container, $method), $args); 229 230 require_once 'Zend/View/Exception.php'; 231 throw new Zend_View_Exception('Method "' . $method . '" does not exist');Citation.php http://xerxes-portal.googlecode.com/svn/trunk/ | PHP | 666 lines
1<?php 2 9 * @copyright 2009 California State University 10 * @version $Id: Citation.php 1030 2010-01-05 18:42:09Z dwalker@calstate.edu $ 11 * @package Xerxes 107 108 if ( method_exists($xerxes, $method) ) 109 { 337 { 338 if ( method_exists($this, $name) ) 339 {sparkpagecache.php https://code.google.com/p/sparkplug-framework/ | PHP | 398 lines
1<?php 2 53 54 if (!empty($cache_params['active']) && method_exists($this, 'loadCacher')) 55 {cache.php git://github.com/kohana/core.git | PHP | 503 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 112 { 113 if (method_exists($this, $key)) 114 { 256 * 257 * // Alternatively, in PHP 5.3 use a closure 258 * $http_cache->cache_key_callback(function (Request $request) {mdl.messenger.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 309 lines
1<?php 2/** 5 * @package 6 * @version $Id: mdl.messenger.php 1429 2008-04-08 05:22:50Z flaboy $ 7 * @copyright 2003-2007 ShopEx 11//adapted into plugin style by Alex 2008-3-14 12require_once('plugin.php'); 13 27 $this->_sender[$sender] = &$obj; 28 if(method_exists($obj,'getOptions')||method_exists($obj,'getoptions')) 29 $obj->config = $this->getOptions($sender,true); 29 $obj->config = $this->getOptions($sender,true); 30 if(method_exists($obj,'outgoingConfig')||method_exists($obj,'outgoingconfig')) 31 $obj->outgoingOptions = $this->outgoingConfig($sender,true); 39 if(!$obj->_isReady){ 40 if(method_exists($obj,'ready')) $obj->ready($obj->config); 41 if(method_exists($obj,'finish')){AkActsAsList.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 411 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 18 19require_once(AK_LIB_DIR.DS.'AkActiveRecord'.DS.'AkObserver.php'); 20 80 { 81 if(is_object($ActiveRecordInstance) && method_exists($ActiveRecordInstance,'actsLike')){ 82 $this->_ActiveRecordInstance =& $ActiveRecordInstance; 98 { 99 AK_PHP5 ? null : $listObject->list->setActiveRecordInstance(&$listObject); 100 }Adapter.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/** 2/** 3 * Adapter.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 76 { 77 if (is_object($config) && method_exists($config, 'toArray')) { 78 $config = $config->toArray();mssql.php git://github.com/phpbb/phpbb3.git | PHP | 441 lines
1<?php 2/** 4* @package dbal 5* @copyright (c) 2005 phpBB Group 6* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 12*/ 13if (!defined('IN_PHPBB')) 14{ 17 18include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx); 19 35 36 $port_delimiter = (defined('PHP_OS') && substr(PHP_OS, 0, 3) === 'WIN') ? ',' : ':'; 37 $this->server = $sqlserver . (($port) ? $port_delimiter . $port : ''); 138 139 $this->query_result = ($cache_ttl && method_exists($cache, 'sql_load')) ? $cache->sql_load($query) : false; 140 $this->sql_add_num_queries($this->query_result);functions_report_admin.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 569 lines
1<?php 2 68 if (!class_exists("report_module")) 69 include(INC_DIR . "report_module.php"); 70 80 { 81 if (!preg_match('#(.*)\.' . bb_preg_quote('php', '#') . '$#', $file, $matches)) 82 { 98 99 $lang_file = LANG_ROOT_DIR ."lang_{$bb_cfg['default_lang']}/report_hack/lang_$module_name.php"; 100 if (file_exists($lang_file)) 343 $report_module = report_modules('id', $module_id); 344 if (method_exists($report_module, 'sync')) 345 {Load.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 297 lines
1<?php 2/** 2/** 3 * Load.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 49 protected $renderClasses = array( 50 'php' => 'A_Template_Include', 51 'xml' => 'A_Template_Include', 57 protected $renderClass = 'A_Template_Include'; 58 protected $renderExtension = 'php'; 59 protected $responseSet = false; 115 116 public function setRenderClass($name, $ext='php') 117 {Widgets.php git://github.com/pyrocms/pyrocms.git | PHP | 497 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 185 186 $data = method_exists($this->_widget, 'run') ? call_user_func(array($this->_widget, 'run'), $options) : array(); 187 241 // Check for default data if there is any 242 $data = method_exists($this->_widget, 'form') ? call_user_func(array(&$this->_widget, 'form'), $options) : array(); 243 433 434 if (method_exists($this->_widget, 'save')) 435 {SilvercartUpdate.php https://bitbucket.org/silvercart/silvercart/ | PHP | 410 lines
1<?php 2/** 119 * $classDefaults = $className::$defaults; 120 * was replaced with eval call to provide compatibility to PHP 5.2 121 */ 124 $error = ''; 125 } elseif (!method_exists($this, 'executeUpdate')) { 126 // method executeUpdate does not exist, trigger errorModules.php https://bitbucket.org/haloweb/halogy-1.0/ | PHP | 205 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 2 3/* PHP5 spl_autoload */ 4spl_autoload_register('Modules::autoload'); 6/** 7 * Modular Extensions - PHP5 8 * 15 * 16 * Install this file as application/libraries/Modules.php 17 * 60 61 if (method_exists($class, $method)) { 62 ob_start();Client.php git://github.com/kohana/core.git | PHP | 428 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2/** 67 { 68 if (method_exists($this, $key)) 69 { 238 * 239 * Accepts an array with HTTP response headers as keys and a PHP callback 240 * function as values. These callbacks will be triggered if a response containscore.php http://micromvc-php.googlecode.com/svn/trunk/ | PHP | 512 lines
1<?php 2/** 56 //Path to the config file 57 $path = SITE_DIR. SITE_NAME. '/'. $name. '.php'; 58 88 if (!class_exists('cxpdo')) { 89 require_once(SITE_DIR. 'database/cxpdo.php'); 90 } 120 //If the model file doesn't exist 121 if (!file_exists(SITE_DIR. $path. '/'. $class. '.php')){ 122 trigger_error('Unable to locate the class "<b>'. $class. '</b>".'); 127 if (!class_exists($class)) { 128 require_once(SITE_DIR. $path. '/'. $class. '.php'); 129 } 148 // in a Model references can't be used. 149 if ((!method_exists($this->$name, '__get') && !method_exists($this->$name, '__set'))) { 150CakeHtmlReporter.php git://github.com/cakephp/cakephp.git | PHP | 351 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @since CakePHP(tm) v 1.2.0.4433 15 * @since CakePHP(tm) v 1.2.0.4433 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */ 120 * 121 * @param PHPUnit_Framework_TestResult $result Result object 122 * @return void 144 $coverage = $result->getCodeCoverage(); 145 if (method_exists($coverage, 'getSummary')) { 146 $report = $coverage->getSummary();Debug.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 305 lines
1<?php 2 19 * @license New BSD License 20 * @version $Id: Debug.php 150 2010-09-24 16:20:10Z gutierrezandresfelipe $ 21 */ 251 if(is_object($value)){ 252 #if(method_exists($value, 'inspect')){ 253 # $value = $value->inspect();mssql_odbc.php git://github.com/phpbb/phpbb3.git | PHP | 425 lines
1<?php 2/** 4* @package dbal 5* @copyright (c) 2005 phpBB Group 6* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 12*/ 13if (!defined('IN_PHPBB')) 14{ 17 18include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx); 19 24* 25* @note number of bytes returned for returning data depends on odbc.defaultlrl php.ini setting. 26* If it is limited to 4K for example only 4K of data is returned max, resulting in incomplete theme data for example. 43 44 $port_delimiter = (defined('PHP_OS') && substr(PHP_OS, 0, 3) === 'WIN') ? ',' : ':'; 45 $this->server = $sqlserver . (($port) ? $port_delimiter . $port : '');Json.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 67 68 require_once 'Zend/Json/Decoder.php'; 69 return Zend_Json_Decoder::decode($encodedValue, $objectDecodeType); 89 { 90 if (is_object($valueToEncode) && method_exists($valueToEncode, 'toJson')) { 91 return $valueToEncode->toJson(); 97 98 require_once 'Zend/Json/Encoder.php'; 99 return Zend_Json_Encoder::encode($valueToEncode, $cycleCheck, $options); 112 * 113 * This function converts the XML formatted string into a PHP array by 114 * calling a recursive (protected static) function in this class. Then, it 114 * calling a recursive (protected static) function in this class. Then, it 115 * converts that PHP array into JSON by calling the "encode" static funcion. 116 *reflection_php5.php http://logisticsouth.googlecode.com/svn/trunk/ | PHP | 386 lines
5 * @subpackage UnitTester 6 * @version $Id: reflection_php5.php 1786 2008-04-26 17:32:20Z pp11 $ 7 */ 27 * Checks that a class has been declared. Versions 28 * before PHP5.0.2 need a check that it's not really 29 * an interface. 41 /** 42 * Needed to kill the autoload feature in PHP5 43 * for classes created dynamically. 61 /** 62 * Needed to kill the autoload feature in PHP5 63 * for classes created dynamically. 288 } 289 if (version_compare(phpversion(), '5.1.0', '>=')) { 290 if (in_array($name, array('__get', '__isset', $name == '__unset'))) {Data.php git://github.com/eryx/php-framework-benchmark.git | PHP | 521 lines
1<?php 2/** 499 if (is_object($item)) { 500 if (method_exists($item, 'toArray')) { 501 $item = $item->toArray();ContextMenuService.class.php http://pagizer-cms.googlecode.com/svn/trunk/ | PHP | 250 lines
1<?php 2 113 114 if(method_exists($original, "getWebsiteId")) 115 {Persistent.php http://shozu.googlecode.com/svn/trunk/ | PHP | 490 lines
1<?php 2/** 25 { 26 // uid is returned by the PHP function uniqid(null, true) 27 $this->addColumn(array( 60 { 61 if(method_exists($this, 'preSave')) 62 { 96 } 97 if(method_exists($this, 'postSave')) 98 {LoggerPropertySetter.php http://syracava.googlecode.com/svn/trunk/ | PHP | 161 lines
1<?php 2/** 2/** 3 * log4php is a PHP port of the log4j java logging package. 4 * 9 * 10 * <p>PHP port, extensions and modifications by VxR. All rights reserved.<br> 11 * For more information, please see {@link http://www.vxr.it/log4php/}.</p> 15 * 16 * @package log4php 17 * @subpackage config 22 */ 23if (!defined('LOG4PHP_DIR')) define('LOG4PHP_DIR', dirname(__FILE__) . '/..'); 24 24 25require_once(LOG4PHP_DIR . '/LoggerLog.php'); 26require_once(LOG4PHP_DIR . '/helpers/LoggerOptionConverter.php');content.feed.php http://miacms.googlecode.com/svn/trunk/ | PHP | 380 lines
1<?php 2/** 4 * @subpackage Content 5 * @author MiaCMS see README.php 6 * @copyright see README.php 6 * @copyright see README.php 7 * See COPYRIGHT.php for copyright notices and details. 8 * @license GNU/GPL Version 2, see LICENSE.php 19// load feed creator class 20require_once( $mosConfig_absolute_path .'/includes/feedcreator.class.php' ); 21 42 /** 43 * php4 class constructor 44 */ 69 70 if (method_exists($database,"getNullDate")) { 71 $params->nullDate = $database->getNullDate();data_class.class.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 402 lines
1<?php 2namespace common\libraries; 3/** 4 * $Id: data_class.class.php 128 2009-11-09 13:13:20Z vanpouckesven $ 5 * @package common 270 $method = 'create_' . $class_name; 271 if (method_exists($data_manager, $method)) 272 { 295 296 if (method_exists($data_manager, $method)) 297 { 319 320 if (method_exists($data_manager, $method)) 321 {Lexer.php git://github.com/anantgarg/Qwench.git | PHP | 298 lines
1<?php 2 97 class_exists('DOMDocument') && 98 method_exists('DOMDocument', 'loadHTML') && 99 !extension_loaded('domxml') 129 130 // once PHP DOM implements native line numbers, or we 131 // hack out something using XSLT, remove this stipulationAbstract.php http://mvh-source.googlecode.com/svn/trunk/ | PHP | 290 lines
1<?php 2abstract class Nano_Form_Element_Abstract extends Nano_Element{ 33 foreach( $config as $key => $value ){ 34 if( ( $method = 'add' . ucfirst( $key ) ) && method_exists( $this, $method ) ){ 35 $this->$method( $value );Manager.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 238 lines
1<?php 2/** 2/** 3 * Manager.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 77 // if no events passed then check if we can get them from the listener 78 if (!$events && method_exists($eventListener, 'getEvents')) { 79 $events = $eventListener->getEvents(); 150 // event listener interface 151 if (method_exists($listener, 'onEvent')) { // standard A_Event_Listener 152 $r = $listener->onEvent($eventName, $eventData); 159 $listener = new $listener(); 160 if (method_exists($listener, 'onEvent')) { 161 $r = $listener->onEvent($eventName, $eventData);controller.php http://bitcero-modules.googlecode.com/svn/ | PHP | 207 lines
1<?php 2// $Id: controller.php 15 2009-09-11 18:16:01Z i.bitcero $ 23 24include_once XOOPS_ROOT_PATH.'/modules/xthemes/include/functions.php'; 25include_once XOOPS_ROOT_PATH.'/modules/xthemes/class/theme.php'; 121 122 if (!is_file($pdir.'/xthemes_plugin_'.$dir.'.php')) 123 return; 127 128 include_once $pdir.'/xthemes_plugin_'.$dir.'.php'; 129 $class = "xthemes".ucfirst($dir); 186 } 187 if (!method_exists($this->objects[$theme], $method)) 188 return;admin.class.php http://xklog.googlecode.com/svn/ | PHP | 229 lines
1<?php 2 86 $module = $request->get( 'm' ); 87 if( method_exists( $this, $module ) ) { 88 $this->$module(); 116 117 if( is_file( APP_ADMIN .'kernel/' . $name . '.class.php' ) ) { 118 include( APP_ADMIN .'kernel/' . $name . '.class.php' ); 158</html> 159<?php 160 }mod_jfusion_activity.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 149 lines
1<?php 2/** 15*/ 16require_once(dirname(__FILE__).DS.'helper.php'); 17 18//check if the JFusion component is installed 19$model_file = JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.factory.php'; 20$factory_file = JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.jfusionpublic.php'; 130 } else { 131 if(method_exists($public, "renderActivityModule")) { 132 $output = $public->renderActivityModule($view, $params);mdl.passport.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 303 lines
1<?php 2require_once('plugin.php'); 23 $this->_passport = &$obj; 24 if(method_exists($obj,'getOptions')||method_exists($obj,'getoptions')){ 25 $obj->setConfig($this->getOptions($plugin,true)); 162 if (is_object($obj)){ 163 if (method_exists($obj,$func)) 164 return $obj; 204 function setCookie($name,$value,$expire=false,$path=null){ 205 $cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/'; 206 $cookieLife = 3600;DesignerRules.php https://bitbucket.org/zurmo/zurmo/ | PHP | 320 lines
1<?php 2 /********************************************************************************* 123 ); 124 if (method_exists($ruleClassName, 'resolveCellMetadata')) 125 {form.class.php http://freewms.googlecode.com/svn/trunk/ | PHP | 407 lines
1<?php if(!defined('BASEPATH')) die('Access Denied'); 2/*------------------------------------------------- 89 if(!function_exists($rule)) { 90 if(method_exists($this, $rule)) { 91 $is_method = TRUE;PublicAction.class.php http://tpblog.googlecode.com/svn/ | PHP | 228 lines
1<?php 2class PublicAction extends Action 43 ##???????????????????? 44 if(method_exists($this,'_operation')) { 45 $this->_operation();api_b2b_2_0_advance.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 251 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 132 // ????????????? 2010-03-24 11:31 wubin 133 if(method_exists($oOrder,'getFreezeStorageStatus')) { 134 // ????????? 2010-03-01 17:30 wubinJson.php git://github.com/valentinbora/joobsbox-php.git | PHP | 338 lines
1<?php 2/** 25 */ 26require_once 'Zend/Json/Expr.php'; 27 76 77 require_once 'Zend/Json/Decoder.php'; 78 return Zend_Json_Decoder::decode($encodedValue, $objectDecodeType); 102 { 103 if (is_object($valueToEncode) && method_exists($valueToEncode, 'toJson')) { 104 return $valueToEncode->toJson(); 114 */ 115 require_once "Zend/Json/Encoder.php"; 116 $valueToEncode = self::_recursiveJsonExprFinder($valueToEncode, $javascriptExpressions); 122 } else { 123 require_once 'Zend/Json/Encoder.php'; 124 $encodedResult = Zend_Json_Encoder::encode($valueToEncode, $cycleCheck, $options);PropertyPortlet.php http://pradoportal.googlecode.com/svn/trunk/ | PHP | 323 lines
1<?php 2/** 8 * @license http://www.pradoportal.dk 9 * @version $Id: PropertyPortlet.php 425 2011-01-05 10:30:30Z steen.rabol $ 10 * 70 71 if(method_exists($pCommonClassName,'getCustomProperties')) 72 { 142 143 if(!method_exists($pCommonClassName,'getCustomProperties')) 144 { 252 253 if(method_exists($pCommonClassName,'getCustomProperties')) 254 {DisplayHandler.class.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 365 lines
79 80 if(method_exists($handler, "prepareToPrint")) 81 { 149 { 150 $firephp = FirePHP::getInstance(true); 151 } 154 { 155 $firephp->fb('Change the value of __DEBUG_PROTECT_IP__ into your IP address in config/config.user.inc.php or config/config.inc.php', 'The IP address is not allowed.'); 156 return; 166 array( 167 sprintf("%s:%s%s%s%s", $_SERVER['SERVER_NAME'], $_SERVER['SERVER_PORT'], $_SERVER['PHP_SELF'], $_SERVER['QUERY_STRING'] ? '?' : '', $_SERVER['QUERY_STRING']), 168 $_SERVER['REQUEST_METHOD'], 283 { 284 $buff = 'The IP address is not allowed. Change the value of __DEBUG_PROTECT_IP__ into your IP address in config/config.user.inc.php or config/config.inc.php'; 285 }AddPortlet.php http://pradoportal.googlecode.com/svn/trunk/ | PHP | 103 lines
1<?php 2/** 8 * @license http://www.pradoportal.dk 9 * @version $Id: AddPortlet.php 396 2010-12-25 13:25:12Z steen.rabol $ 10 * 63 { 64 $class_filename = Prado::getPathOfNamespace('Application.Portlets.' . $portlet->name . '.Common.' . $portlet->name . 'Common') . '.php'; 65 if(file_exists($class_filename)) 70 71 if(method_exists($pCommonClassName,'getPortletName')) 72 {plugin.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 193 lines
1<?php 2include_once('shopObject.php'); 27 $file_name = ($this->plugin_type=='dir')? 28 PLUGIN_DIR.'/'.$this->plugin_name.'/'.$item.'/'.($this->prefix!==false?$this->prefix:$this->plugin_name).$item.'.php': 29 PLUGIN_DIR.'/'.$this->plugin_name.'/'.($this->prefix!==false?$this->prefix:$this->plugin_name).$item.'.php'; 98 99 //for PHP4/PHP5 Compatibility 100 $t['hasOptions'] = in_array('getoptions',$t['methods'])||in_array('getOptions',$t['methods']); 147 148 if(preg_match('/^'.($this->prefix!==false?str_replace('.','\.',$this->prefix):$this->plugin_name).'([a-z0-9\_]+)\.php/i',$file, $match)) { 149 $item = $match[1]; 171 $obj = $this->load($item); 172 if(method_exists($obj,'getOptions')||method_exists($obj,'getoptions')){ 173 $options = $obj->getOptions(); foreach($options as $key=>$value){component.php http://rapyd-framework.googlecode.com/svn/trunk/ | PHP | 568 lines
1<?php 2 36 { 37 case "php": 38 include($config); 154 $property = strtolower(substr($method, 4)); 155 if (method_exists($this, 'set_' . $method)) 156 {View.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 500 lines
1<?php 2/** 2/** 3 * View.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 94 /** 95 * @param Parameters the same as the PHP setcookie() function 96 */ 260 { 261 if (substr($template, -4, 4) != '.php') { 262 $template .= '.php'; 264 // if Locator set by FC then we can get the Mapper 265 if (method_exists($this->locator, 'get')) { 266 $mapper = $this->locator->get($this->mapper_name);Container.php git://github.com/eryx/php-framework-benchmark.git | PHP | 459 lines
1<?php 2 214 215 return isset($this->services[$id]) || method_exists($this, 'get'.strtr($id, array('_' => '', '.' => '_')).'Service'); 216 } 246 247 if (method_exists($this, $method = 'get'.strtr($id, array('_' => '', '.' => '_')).'Service')) { 248 $this->loading[$id] = true;firebird.php git://github.com/phpbb/phpbb3.git | PHP | 584 lines
1<?php 2/** 4* @package dbal 5* @copyright (c) 2005 phpBB Group 6* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 12*/ 13if (!defined('IN_PHPBB')) 14{ 17 18include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx); 19 158 $this->last_query_text = $query; 159 $this->query_result = ($cache_ttl && method_exists($cache, 'sql_load')) ? $cache->sql_load($query) : false; 160 $this->sql_add_num_queries($this->query_result); 271 272 if ($cache_ttl && method_exists($cache, 'sql_save')) 273 {controller.php http://hppg.googlecode.com/svn/trunk/ | PHP | 181 lines
1<?php 2/** 172 173 if ( method_exists( $this, $actionMethod ) ) 174 {CValidator.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 262 lines
1<?php 2/** 52 * @author Qiang Xue <qiang.xue@gmail.com> 53 * @version $Id: CValidator.php 242 2012-03-29 15:18:01Z mole1230 $ 54 * @package system.validators 150 151 if(method_exists($object,$name)) 152 { 250 * A value is considered empty if it is null, an empty array, or the trimmed result is an empty string. 251 * Note that this method is different from PHP empty(). It will return false when the value is 0. 252 * @param mixed $value the value to be checkedRedis.php git://github.com/isaacsu/twich.git | PHP | 293 lines
1<?php 2 5 */ 6require_once 'Rediska.php'; 7 10 */ 11require_once 'Rediska/Zend/Session/Set.php'; 12 15 */ 16require_once 'Zend/Session.php'; 17 20 */ 21require_once 'Zend/Config.php'; 22 25 */ 26require_once 'Zend/Session/SaveHandler/Interface.php'; 27FileSystem.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 305 lines
1<?php 2 2 3require_once 'X/VlcShares/Plugins/Abstract.php'; 4require_once 'X/VlcShares/Plugins/BackuppableInterface.php'; 61 $cachePlugin = X_VlcShares_Plugins::broker()->getPlugins('cache'); 62 if ( method_exists($cachePlugin, 'setDoNotCache') ) { 63 $cachePlugin->setDoNotCache();Session.php http://agile-project2.googlecode.com/svn/ | PHP | 297 lines
1<?php 2 2 3include 'Database.php'; 4 283 public function methodas($obj,$method_name){ 284 if(method_exists(get_class($obj),$method_name)){ 285 $method= new ReflectionMethod(get_class($obj),$method_name);be_embed_media.php http://bedita.googlecode.com/svn/trunk/ | PHP | 357 lines
1<?php 2/*-----8<-------------------------------------------------------------------- 28 * 29 * $Id: be_embed_media.php 3905 2012-08-08 16:21:17Z ste $ 30 */ 100 101 if (method_exists($this, "show" . ucfirst($params["presentation"]) . $model)) { 102 $output = $this->{"show" . ucfirst($params["presentation"]) . $model}($obj, $params, $htmlAttributes); 102 $output = $this->{"show" . ucfirst($params["presentation"]) . $model}($obj, $params, $htmlAttributes); 103 } elseif (method_exists($this, "show" . $model)) { 104 $output = $this->{"show" . $model}($obj, $params, $htmlAttributes);DataExtension.php git://github.com/silverstripe/sapphire.git | PHP | 245 lines
1<?php 2/** 54 // @deprecated 2.4 - use extraStatics() now, not extraDBFields() 55 if(method_exists($extensionClass, 'extraDBFields')) { 56 Deprecation::notice('2.4', 'DataExtension::extraDBFields() is deprecated. Please use extraStatics() instead.'); 65 // If there aren't any extraStatics we shouldn't try to load them. 66 if (!method_exists($extensionClass, $extraStaticsMethod) ) return; 67form.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 418 lines
1<?php 2/** 5 * @subpackage WebTester 6 * @version $Id: form.php 1672 2008-03-02 04:47:34Z edwardzyang $ 7 */ 11 */ 12require_once (dirname(__FILE__) . '/tag.php'); 13require_once (dirname(__FILE__) . '/encoding.php'); 13require_once (dirname(__FILE__) . '/encoding.php'); 14require_once (dirname(__FILE__) . '/selector.php'); 15/**#@-*/ 302 { 303 if (method_exists($this->_widgets[$i], 'setLabel')) 304 {CPSComponent.php http://ps-yii-extensions.googlecode.com/svn/trunk/ | PHP | 393 lines
1<?php 2/* 18 * @author Jerry Ablan <jablan@pogostick.com> 19 * @version SVN $Id: CPSComponent.php 406 2010-11-08 15:30:07Z jerryablan@gmail.com $ 20 * @since v1.0.0 287 * Calls the named method which is not a class method. 288 * Do not call this method. This is a PHP magic method that we override 289 * @param string $name The method name 305 { 306 if ( method_exists( $_component, $name ) ) 307 return call_user_func_array( array( $_component, $name ), $parameterList ); 345 * @param <type> $category The category/method of the output 346 * @param <type> $route The destination of output. Can be 'echo', 'trace|info|error|debug|etc...', 'http', 'firephp' 347 */form_validator_html_editor_options.class.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 266 lines
1<?php 2namespace common\libraries; 155 $processing_function = 'process_' . $available_option; 156 if (method_exists($this, $processing_function)) 157 { 251 { 252 $file = dirname(__FILE__) . '/html_editor_options/' . $type . '_html_editor_options.class.php'; 253 $class = __NAMESPACE__ . '\\' . 'FormValidator' . Utilities :: underscores_to_camelcase($type) . 'HtmlEditorOptions';Variables.php git://github.com/eryx/php-framework-benchmark.git | PHP | 338 lines
1<?php 2/** 219 if (is_object($spec)) { 220 if (method_exists($spec, 'toArray')) { 221 $spec = $spec->toArray();Verifier.php http://ipmanger.googlecode.com/svn/trunk/ | PHP | 374 lines
1<?php 2///////////////////////////////////////////////////////////////////////////// 2///////////////////////////////////////////////////////////////////////////// 3// FleaPHP Framework 4// 7// ??????????????? LICENSE.txt ??? 8// ???? http://www.fleaphp.org/ ??????? 9///////////////////////////////////////////////////////////////////////////// 16 * @package Core 17 * @version $Id: Verifier.php,v 1.1 2008/09/10 03:00:12 jiang Exp $ 18 */ 206 $func = 'is' . $rule['complexType']; 207 if (!method_exists($this, $func)) { 208 FLEA::loadClass('FLEA_Exception_InvalidArguments');settings.php git://github.com/ci-bonfire/Bonfire.git | PHP | 381 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/* 43 { 44 if (method_exists($this, $method)) 45 {copy.php git://github.com/forkcms/forkcms.git | PHP | 184 lines
1<?php 2 160 // check if the method exists 161 if(method_exists('BackendSearchModel', 'saveIndex')) 162 {sfValidationExecutionFilter.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 286 lines
1<?php 2 21 * @author Sean Kerr <sean@code-box.org> 22 * @version SVN: $Id: sfValidationExecutionFilter.class.php 10270 2008-07-13 21:51:03Z Carl.Vondrick $ 23 * @deprecated Deprecated since symfony 1.1 146 $validateToRun = 'validate'.ucfirst($actionName); 147 $manualValidated = method_exists($actionInstance, $validateToRun) ? $actionInstance->$validateToRun() : $actionInstance->validate(); 148 195 $handleErrorToRun = 'handleError'.ucfirst($actionInstance->getActionName()); 196 $viewName = method_exists($actionInstance, $handleErrorToRun) ? $actionInstance->$handleErrorToRun() : $actionInstance->handleError(); 197error.php http://skygames.googlecode.com/svn/trunk/ | PHP | 380 lines
1<?php 2/* SVN FILE: $Id: error.php 7861 2008-11-11 00:14:38Z mark_story $ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 19 * @package cake 20 * @subpackage cake.cake.libs 21 * @since CakePHP(tm) v 0.10.5.1732 22 * @version $Revision: 7861 $ 24 * @lastmodified $Date: 2008-11-10 18:14:38 -0600 (Mon, 10 Nov 2008) $ 25 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 26 */View.php git://github.com/codeguy/Slim.git | PHP | 283 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 171 // Ensure original behavior is maintained. DO NOT invoke stored Closures. 172 if (is_object($args[1]) && method_exists($args[1], '__invoke')) { 173 $this->data->set($args[0], $this->data->protect($args[1]));overloadable_php5.php http://skygames.googlecode.com/svn/trunk/ | PHP | 107 lines
1<?php 2/* SVN FILE: $Id: overloadable_php5.php 7847 2008-11-08 02:54:07Z renan.saddam $ */ 3/** 5 * 6 * PHP versions 4 and 5 7 * 7 * 8 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 9 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 15 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 16 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 17 * @package cake 18 * @subpackage cake.cake.libs 19 * @since CakePHP(tm) v 1.2 20 * @version $Revision: 7847 $Repository.php git://github.com/eryx/php-framework-benchmark.git | PHP | 320 lines
1<?php 2/** 232 foreach ($searchProperties as $searchPropertyName => $searchPropertyValue) { 233 if (method_exists($metadata, 'get' . $searchPropertyName)) { 234 if ($metadata->{'get' . $searchPropertyName}() != $searchPropertyValue) { 287 foreach ($metadatasByType as $type => $metadatas) { 288 $string .= $type . PHP_EOL; 289 foreach ($metadatas as $metadata) { 290 $metadataString = ' ' . $metadata->__toString() . PHP_EOL; 291 //$metadataString = str_replace(PHP_EOL, PHP_EOL . ' ', $metadataString); 292 $string .= $metadataString;View.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 310 lines
1<?php 2/** 2/** 3 * View.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 156 { 157 if (substr($template, -4, 4) != '.php') { 158 $template .= '.php'; 214 foreach ($this->data as $name => $value) { 215 if (is_object($this->data[$name]) && method_exists($this->data[$name], 'render')) { 216 $this->renderer->set($name, $this->data[$name]->render()); 221 } 222 if (method_exists($this->renderer, 'render')) { 223 $this->content = $this->renderer->render();function.html_checkboxes.php git://github.com/modxcms/revolution.git | PHP | 286 lines
1<?php 2/** 9 * Smarty {html_checkboxes} function plugin 10 * File: function.html_checkboxes.php 11 * Type: function 31 * 32 * @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} 33 * (Smarty online manual) 50 'function' => 'smarty_function_escape_special_chars', 51 'file' => SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php' 52 ) 88 if (is_object($_sel)) { 89 if (method_exists($_sel, '__toString')) { 90 $_sel = smarty_function_escape_special_chars((string)$_sel->__toString()); 104 } elseif (is_object($_val)) { 105 if (method_exists($_val, '__toString')) { 106 $selected = smarty_function_escape_special_chars((string)$_val->__toString());Api.php git://github.com/Shadez/Framework.git | PHP | 349 lines
1<?php 2 48 49 require_once(APP_DIR . 'API.php'); 50 269 $this->m_apiResponse = $this->c('SiteApi')->runApiMethod($apiMethod, $apiData); 270 elseif (method_exists($this, 'apiMethod_' . $apiMethod['name'])) 271 {ListView.php https://code.google.com/p/vtiger-ru-fork/ | PHP | 216 lines
1<?php 2/*+********************************************************************************** 12 13require_once('Smarty_setup.php'); 14require_once('include/ListView/ListView.php'); 14require_once('include/ListView/ListView.php'); 15require_once('modules/CustomView/CustomView.php'); 16require_once('include/DatabaseUtil.php'); 17 18checkFileAccess("modules/$currentModule/$currentModule.php"); 19require_once("modules/$currentModule/$currentModule.php"); 70// Feature available from 5.1 71if(method_exists($customView, 'isPermittedChangeStatus')) { 72 // Approving or Denying status-public by the admin in CustomView 204// Gather the custom link information to display 205include_once('vtlib/Vtiger/Link.php'); 206$customlink_params = Array('MODULE'=>$currentModule, 'ACTION'=>vtlib_purify($_REQUEST['action']), 'CATEGORY'=> $category);CFormElement.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 169 lines
1<?php 2/** 20 * @author Qiang Xue <qiang.xue@gmail.com> 21 * @version $Id: CFormElement.php 242 2012-03-29 15:18:01Z mole1230 $ 22 * @package system.web.form 54 * Converts the object to a string. 55 * This is a PHP magic method. 56 * The default implementation simply calls {@link render} and return 66 * Returns a property value or an attribute value. 67 * Do not call this method. This is a PHP magic method that we override 68 * to allow using the following syntax to read a property or attribute: 80 $getter='get'.$name; 81 if(method_exists($this,$getter)) 82 return $this->$getter(); 91 * Sets value of a property or attribute. 92 * Do not call this method. This is a PHP magic method that we override 93 * to allow using the following syntax to set a property or attribute.ActiveSessionTest.php http://creovel.googlecode.com/svn/trunk/ | PHP | 128 lines
1<?php 2/** 11 **/ 12require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'env.php'; 13 13 14class ActiveSessionTest extends PHPUnit_Framework_TestCase 15{ 34 35 $this->drop_db_sql = "DROP DATABASE IF EXISTS `phpunit`;"; 36 $this->create_db_sql = "CREATE DATABASE `phpunit`;"; 36 $this->create_db_sql = "CREATE DATABASE `phpunit`;"; 37 $this->select_db_sql = "USE `phpunit`;"; 38 $this->drop_table_sql = "DROP TABLE IF EXISTS `".ActiveSession::$_table_name_."`;"; 47 48 $this->session_id = 'PHPUNIT'.time(); 49 $this->session_val = 'test data';faq.admin.view.php http://xe-faq.googlecode.com/svn/trunk/ | PHP | 211 lines
1<?php 2 /** 149 $oModule = &getModule($module, $type); 150 if(!$oModule || !method_exists($oModule, $called_method)) continue; 151 152 $output = $oModule->{$called_method}($content); 153 if(is_object($output) && method_exists($output, 'toBool') && !$output->toBool()) return $output; 154 unset($oModule);PartialHelper.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: PartialHelper.php 10227 2008-07-11 19:36:32Z fabien $ 18 */ 160 * The partial name is composed as follows: 'mymodule/mypartial'. 161 * The partial file name is _mypartial.php and is looked for in modules/mymodule/templates/. 162 * If the partial name doesn't include a module name, 358 $componentToRun = 'execute'.ucfirst($componentName); 359 if (!method_exists($componentInstance, $componentToRun)) 360 { 360 { 361 if (!method_exists($componentInstance, 'execute')) 362 {MenuService.class.php http://pagizer-cms.googlecode.com/svn/trunk/ | PHP | 458 lines
1<?php 2 226 227 if(method_exists($node, "isTranslated")) 228 {Think.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 307 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 10// +---------------------------------------------------------------------- 11// $Id: Think.class.php 2929 2012-05-02 06:45:47Z liu21st@gmail.com $ 12 14 +------------------------------------------------------------------------------ 15 * ThinkPHP Portal? 16 +------------------------------------------------------------------------------ 20 * @author liu21st <liu21st@gmail.com> 21 * @version $Id: Think.class.php 2929 2012-05-02 06:45:47Z liu21st@gmail.com $ 22 +------------------------------------------------------------------------------ImageController.php https://code.google.com/p/ecartcommerce/ | PHP | 264 lines
1<?php 2/** 251 252 if (!method_exists($this, $method)) { 253 Ecart::message()->addError(Ecart::translate('catalog')->__(Action.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 340 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 10// +---------------------------------------------------------------------- 11// $Id: Action.class.php 2832 2012-03-21 01:05:36Z huangdijia $ 12 14 +------------------------------------------------------------------------------ 15 * ThinkPHP RESTFul ????? ??? 16 +------------------------------------------------------------------------------ 20 * @author liu21st <liu21st@gmail.com> 21 * @version $Id: Action.class.php 2832 2012-03-21 01:05:36Z huangdijia $ 22 +------------------------------------------------------------------------------sfWidgetFormPropelChoice.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 109 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfWidgetFormPropelChoice.class.php 12803 2008-11-09 07:26:18Z fabien $ 18 */ 41 * * order_by: An array composed of two fields: 42 * * The column to order by the results (must be in the PhpName format) 43 * * asc or desc 84 $method = sprintf('add%sOrderByColumn', 0 === strpos(strtoupper($order[1]), 'ASC') ? 'Ascending' : 'Descending'); 85 $criteria->$method(call_user_func(array($class, 'translateFieldName'), $order[0], BasePeer::TYPE_PHPNAME, BasePeer::TYPE_COLNAME)); 86 } 89 $methodKey = $this->getOption('key_method'); 90 if (!method_exists($this->getOption('model'), $methodKey)) 91 { 95 $methodValue = $this->getOption('method'); 96 if (!method_exists($this->getOption('model'), $methodValue)) 97 {sfWidgetFormPropelSelect.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 109 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfWidgetFormPropelSelect.class.php 12803 2008-11-09 07:26:18Z fabien $ 18 */ 41 * * order_by: An array composed of two fields: 42 * * The column to order by the results (must be in the PhpName format) 43 * * asc or desc 84 $method = sprintf('add%sOrderByColumn', 0 === strpos(strtoupper($order[1]), 'ASC') ? 'Ascending' : 'Descending'); 85 $criteria->$method(call_user_func(array($class, 'translateFieldName'), $order[0], BasePeer::TYPE_PHPNAME, BasePeer::TYPE_COLNAME)); 86 } 89 $methodKey = $this->getOption('key_method'); 90 if (!method_exists($this->getOption('model'), $methodKey)) 91 { 95 $methodValue = $this->getOption('method'); 96 if (!method_exists($this->getOption('model'), $methodValue)) 97 {hardwareDetectOppClass.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 258 lines
1<?php 2 53 } 54 if (method_exists($this, 'set_' . $propertyName)) { 55 call_user_func(array($this, 'set_' . $propertyName), $value);AbstractClient.php git://github.com/zendframework/zf2.git | PHP | 318 lines
1<?php 2/** 80 $setMethodName = 'set' . $optionName; 81 if (method_exists($this, $setMethodName)) { 82 $this->{$setMethodName}($optionValue); 307 { 308 if (method_exists($class, $methodName)) { 309 call_user_func_array(array($class, $methodName), $callParameters); 309 call_user_func_array(array($class, $methodName), $callParameters); 310 } elseif (method_exists($class, $methodName . 'Action')) { 311 call_user_func_array(array($class, $methodName . 'Action'), $callParameters);AdminHelper.php git://github.com/sonata-project/SonataAdminBundle.git | PHP | 330 lines
1<?php 2 203 204 if (!method_exists($object, $method)) { 205 $method = rtrim($method, 's'); 206 207 if (!method_exists($object, $method)) { 208 $method = sprintf('add%s', Inflector::classify(Inflector::singularize($mapping['fieldName']))); 209 210 if (!method_exists($object, $method)) { 211 throw new \RuntimeException(sprintf('Please add a method %s in the %s class!', $method, ClassUtils::getClass($object))); 314 // Symfony <= 2.3 did not have isReadable method for PropertyAccessor 315 if (method_exists($propertyAccessor, 'isReadable')) { 316 return $propertyAccessor->isReadable($entity, $path);reflection_php5.php git://github.com/ci-bonfire/Bonfire.git | PHP | 386 lines
5 * @subpackage UnitTester 6 * @version $Id: reflection_php5.php 2011 2011-04-29 08:22:48Z pp11 $ 7 */ 27 * Checks that a class has been declared. Versions 28 * before PHP5.0.2 need a check that it's not really 29 * an interface. 41 /** 42 * Needed to kill the autoload feature in PHP5 43 * for classes created dynamically. 61 /** 62 * Needed to kill the autoload feature in PHP5 63 * for classes created dynamically. 288 } 289 if (version_compare(phpversion(), '5.1.0', '>=')) { 290 if (in_array($name, array('__get', '__isset', $name == '__unset'))) {ajax.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 131 lines
1<?php 2 2 3include_once('../../config/config.inc.php'); 4include_once('../../init.php'); 4include_once('../../init.php'); 5include_once('../../modules/shopimporter/shopimporter.php'); 6ini_set('display_errors', 'off'); 52 53 if (file_exists('../../modules/'.$moduleName.'/'.$moduleName.'.php')) 54 { 54 { 55 require_once('../../modules/'.$moduleName.'/'.$moduleName.'.php'); 56 $importModule = new $moduleName(); 61 $importModule->prefix = $prefix; 62 if (!method_exists($importModule, $getMethod)) 63 die('{"hasError" : true, "error" : ["not_exist"], "datas" : []}');Part.php git://github.com/eryx/php-framework-benchmark.git | PHP | 216 lines
1<?php 2/** 144 145 if ($match !== null && method_exists($request, 'uri')) { 146 if ($this->childRoutes !== null) {sfDoctrineRoute.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 163 lines
1<?php 2 20 * @author Jonathan H. Wage <jonwage@gmail.com> 21 * @version SVN: $Id: sfDoctrineRoute.class.php 11475 2008-09-12 11:07:23Z fabien $ 22 */ 139 { 140 if (isset($this->options['convert']) || method_exists($object, 'toParams')) 141 {event.class.php https://bitbucket.org/chamilo/chamilo-tracking-dev/ | PHP | 224 lines
1<?php 2namespace tracking; 9/** 10 * $Id: event.class.php 213 2009-11-13 13:38:50Z vanpouckesven $ 11 * @package tracking.lib 203 // FIXME: Temporary solution untill all trackers have been converted 204 if (method_exists($tracker, 'set_event')) 205 {EpiRoute.php git://github.com/jmathai/epiphany.git | PHP | 262 lines
1<?php 2/** 180 } 181 else if(is_array($def['callback']) && method_exists($def['callback'][0], $def['callback'][1])) 182 {CallbackTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: CallbackTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 23// Call Zend_Form_Decorator_CallbackTest::main() if this source file is executed directly. 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Form_Decorator_CallbackTest::main"); 27 28require_once 'Zend/Form/Decorator/Callback.php'; 29require_once 'Zend/Form/Element.php'; 40 */ 41class Zend_Form_Decorator_CallbackTest extends PHPUnit_Framework_TestCase 42{ 50 51 $suite = new PHPUnit_Framework_TestSuite("Zend_Form_Decorator_CallbackTest"); 52 $result = PHPUnit_TextUI_TestRunner::run($suite);SapphireTestReporter.php git://github.com/silverstripe/sapphire.git | PHP | 471 lines
39 */ 40class SapphireTestReporter implements PHPUnit_Framework_TestListener { 41 /** 131 * 132 * @param PHPUnit_Framework_TestSuite $suite the suite that is been run 133 */ 206 * @param PHPUnit_Framework_Test $test current test that is being run 207 * @param PHPUnit_Framework_AssertionFailedError $e PHPUnit error 208 * @param int $time 209 */ 210 public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) { 211 if($this->currentSuite) { 258 */ 259 public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) { 260 // not implementeduser.php https://code.google.com/p/my-imouto-booru/ | PHP | 441 lines
1<?php 2include_model('ban, tag, user_blacklisted_tag'); 123 124 if (method_exists($record, $method)) 125 return $record->$method($this); 125 return $record->$method($this); 126 elseif (method_exists($record, 'can_change')) 127 return $record->can_change($this, $attribute);class_theme.php http://pirozek-yaps.googlecode.com/svn/trunk/ | PHP | 514 lines
1<?php 2 97 98 if(method_exists($core->used_plugin,'rss')) 99 $this->add_to_head('<link rel="alternate" type="application/rss+xml" title="{title}" href="rss.php" />');HelperBroker.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 24 */ 25require_once 'Zend/Controller/Action/HelperBroker/PriorityStack.php'; 26 29 */ 30require_once 'Zend/Loader.php'; 31 68 if ((null !== $loader) && (!$loader instanceof Zend_Loader_PluginLoader_Interface)) { 69 require_once 'Zend/Controller/Action/Exception.php'; 70 throw new Zend_Controller_Action_Exception('Invalid plugin loader provided to HelperBroker'); 82 if (null === self::$_pluginLoader) { 83 require_once 'Zend/Loader/PluginLoader.php'; 84 self::$_pluginLoader = new Zend_Loader_PluginLoader(array( 180 if (!isset($stack->{$name})) { 181 require_once 'Zend/Controller/Action/Exception.php'; 182 throw new Zend_Controller_Action_Exception('Action helper "' . $name . '" has not been registered with the helper broker');Action.class.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 373 lines
1<?php 2/** 3 +------------------------------------------------------------------------------ 4 * ThinkPHP Action????? ??? 5 +------------------------------------------------------------------------------ 32 //?????? 33 if(method_exists($this,'_initialize')) 34 $this->_initialize(); 215 // ?????_empty?? ??? 216 if(method_exists($this,'_empty')) { 217 $this->_empty($method,$parms);Class.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 23 */ 24require_once 'Zend/Server/Reflection/Method.php'; 25 28 */ 29require_once 'Zend/Server/Reflection/Exception.php'; 30 41 * @license http://framework.zend.com/license/new-bsd New BSD License 42 * @version $Id: Class.php 12619 2008-11-13 15:24:29Z alexander $ 43 */ 108 { 109 if (method_exists($this->_reflection, $method)) { 110 return call_user_func_array(array($this->_reflection, $method), $args);Class.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 23 */ 24require_once 'Zend/Server/Reflection/Method.php'; 25 28 */ 29require_once 'Zend/Server/Reflection/Exception.php'; 30 41 * @license http://framework.zend.com/license/new-bsd New BSD License 42 * @version $Id: Class.php 8064 2008-02-16 10:58:39Z thomas $ 43 */ 108 { 109 if (method_exists($this->_reflection, $method)) { 110 return call_user_func_array(array($this->_reflection, $method), $args);WizardComponent.php git://github.com/infinitas/infinitas.git | PHP | 515 lines
1<?php 2 /** 6 * 7 * PHP versions 4 and 5 8 * 13 * @writtenby jaredhoyt 14 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 15 */ 178 if (isset($this->Controller->params['form']['Cancel'])) { 179 if (method_exists($this->Controller, '_beforeCancel')) { 180 $this->Controller->_beforeCancel($this->_getExpectedStep()); 188 if ($this->Session->check('Wizard.complete')) { 189 if (method_exists($this->Controller, '_afterComplete')) { 190 $this->Controller->_afterComplete(); 213 $processCallback = '_' . Inflector::variable('process_' . $this->_currentStep); 214 if (method_exists($this->Controller, $processCallback)) { 215 $proceed = $this->Controller->$processCallback();spFunctions.php http://speedphp.googlecode.com/svn/trunk/ | PHP | 354 lines
1<?php 2///////////////////////////////////////////////////////////////// 2///////////////////////////////////////////////////////////////// 3// SpeedPHP??PHP??, Copyright (C) 2008 - 2010 SpeedPHP.com // 4///////////////////////////////////////////////////////////////// 13 // ??????????????? 14 $handle_controller = spClass($__controller, null, $GLOBALS['G_SP']["controller_path"].'/'.$__controller.".php"); 15 // ?????????????????? 15 // ?????????????????? 16 if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){ 17 eval($GLOBALS['G_SP']["dispatcher_error"]); 94 if( $launch = spLaunch("function_access", array('method'=>$method, 'name'=>$name, 'value'=>$value, 'life_time'=>$life_time), TRUE) )return $launch; 95 // ?????????????????????$name?MD5???????php 96 if(!is_dir($GLOBALS['G_SP']['sp_cache']))__mkdirs($GLOBALS['G_SP']['sp_cache']); 96 if(!is_dir($GLOBALS['G_SP']['sp_cache']))__mkdirs($GLOBALS['G_SP']['sp_cache']); 97 $sfile = $GLOBALS['G_SP']['sp_cache'].'/'.$GLOBALS['G_SP']['sp_app_id'].md5($name).".php"; 98 // ?$method???????????????mdl.upgrade.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 271 lines
1<?php 2class mdl_upgrade extends modelFactory{ 8 function exec($step){ 9 if(method_exists($this,$action = 'action_'.$step)){ 10 $this->$action(); 27 28 if($this->checkFileList(BASE_DIR.'/upgrade.php',$failedFiles,1) || $_GET['ignore_lost']){ 29 $scripts = $this->scripts($dbver,$versionTxt['rev']); 53 if(!file_exists(HOME_DIR.'/logs/upgrade_'.substr( $_POST['file'] ,0 ,-4 ).'_'.$_POST['timeline'].'.log.php')){ 54 error_log('<?php exit()?>'." \n \n",3,HOME_DIR.'/logs/upgrade_'.substr( $_POST['file'] ,0 ,-4 ).'_'.$_POST['timeline'].'.log.php'); 55 } 58 59 case '.php': 60 include(CORE_DIR.'/updatescripts/'.$file); 139 if (is_file($dir.'/'.$file) && $file{0}!='.'){ 140 if(preg_match('/^([0-9]+)\.(sql|php)$/i',$file,$match)){ 141 if($match[1]>$from && $match[1]<=$to){listOiSystemsOppClass.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 335 lines
1<?php 2class listOiSystemsOppClass { 31 } 32 if (method_exists($this, 'set_' . $propertyName)) { 33 call_user_func(array($this, 'set_' . $propertyName), $value);Repository.php git://github.com/centurion-project/Centurion.git | PHP | 313 lines
1<?php 2/** 25 */ 26require_once 'Zend/Tool/Framework/Registry/EnabledInterface.php'; 27 104 if (!$provider instanceof Zend_Tool_Framework_Provider_Interface) { 105 require_once 'Zend/Tool/Framework/Manifest/Exception.php'; 106 throw new Zend_Tool_Framework_Manifest_Exception( 181 if (!class_exists('Zend_Tool_Framework_Metadata_Dynamic')) { 182 require_once 'Zend/Tool/Framework/Metadata/Dynamic.php'; 183 } 187 if (!$metadata instanceof Zend_Tool_Framework_Metadata_Interface) { 188 require_once 'Zend/Tool/Framework/Manifest/Exception.php'; 189 throw new Zend_Tool_Framework_Manifest_Exception( 284 $metadataString = ' ' . $metadata->__toString() . PHP_EOL; 285 //$metadataString = str_replace(PHP_EOL, PHP_EOL . ' ', $metadataString); 286 $string .= $metadataString;View.php git://github.com/Shadez/Framework.git | PHP | 245 lines
1<?php 2 76 foreach ($blocks as $name) 77 if (method_exists($controller, 'block_' . $name)) 78 $block = call_user_func(array($controller, 'block_' . $name));RealDebrid.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 402 lines
1<?php 2 53 'megashares' => array( 54 '/https?:\/\/(www\.|([a-z]+)\.)?megashares\.com\/(index\.php)?\?(?P<ID>.+)/i', 55 'http://www.megashares.com/?%s' 132 // because it should work better than realdebrid hoster 133 if ( method_exists($hObj, 'setParentHoster') ) { 134 $hObj->setParentHoster($pHoster); 278 $providerObj->resolveLocation($location); 279 } elseif (method_exists($providerObj, 'resolveLocation') ) { 280 // try to check if resolveLocation is there, even if not the interfacegenerator.php git://github.com/davidpersson/media.git | PHP | 371 lines
1<?php 2/** 9 * 10 * PHP version 5 11 * CakePHP version 1.3 15 * @copyright 2007-2013 David Persson <nperson@gmx.de> 16 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 17 * @link http://github.com/davidpersson/media 18 */ 19require_once 'Media/Process.php'; 20require_once 'Mime/Type.php'; 117 118 if (method_exists($Model, 'instructions')) { 119 $this->settings[$Model->alias]['instructions'] = $Model->instructions(); 257 * 258 * @link https://github.com/davidpersson/mm The PHP media library. 259 * @param Model $ModelccdsXajaxResponsePlugin.inc.php http://ccds.googlecode.com/svn/trunk/ | PHP | 305 lines
1<?php 2class ccdsResponse 210 211 if ( method_exists( $foo, $sMethod ) ) 212 {ModuleObject.class.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 481 lines
1<?php 2 214 215 if(method_exists($this, 'init')) 216 { 394 395 if(isset($this->xml_info->action->{$this->act}) && method_exists($this, $this->act)) 396 { 469 $oAPI = getAPI($this->module_info->module, 'api'); 470 if(method_exists($oAPI, $this->act)) 471 {Lexer.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 345 lines
1<?php 2 106 107 if (class_exists('DOMDocument') && method_exists('DOMDocument', 'loadHTML') && ! extension_loaded('domxml')) 108 { 144 145 // once PHP DOM implements native line numbers, or we 146 // hack out something using XSLT, remove this stipulationaction.finder_lister.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 144 lines
1<?php 2if(!function_exists('type_modifier_date')){ 2if(!function_exists('type_modifier_date')){ 3 require(CORE_INCLUDE_DIR.'/modifiers.php'); 4} 78 } 79 if(method_exists($object,'modifier_'.$col)){ 80 $key_modifier[$col] = array(); 116 }elseif($list){ 117 if(!function_exists('object_cols_type')) require(CORE_INCLUDE_DIR.'/core/object.cols.type.php'); 118 object_cols_type($list, $colArray, $key_modifier, $object_modifier, $type_modifier, $object,'col',$escape_html); 126 127 $finder['detail_url'] = method_exists($controller,'_detail'); 128 $finder['pager'] = array( 138 restore_error_handler(); 139 if(strpos($errfile,'AloneDB.php')){ 140 $GLOBALS['last_error'] = $errstr;controller.php http://j3-php-framework.googlecode.com/svn/trunk/ | PHP | 290 lines
2include("libs/log4php/Logger.php"); 3require_once("libs/FirePHPCore/FirePHP.class.php"); 4require_once("libs/localuser.php"); 15 static public $instancia = null; 16 protected $myFirePhp; 17 protected $logger; 66 ob_start(); 67 $this->myFirePhp = FirePHP::getInstance(true); 68 //Logger 95 } else 96 if (file_exists("vistas/$name/$vista.php")) { 97 $this->showView("vistas/$name/$vista.php"); 98 } else { 99 echo "ERROR: Vista <strong>$vista.php</strong> no definida. :("; 100 }driver.php git://github.com/fuel/core.git | PHP | 424 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 96 'json' => 'application/json', 97 'serialize' => 'application/vnd.php.serialized', 98 'php' => 'text/plain', 112 'application/csv' => 'csv', 113 'application/vnd.php.serialized' => 'serialize', 114 ); 122 { 123 if (method_exists($this, 'set_'.$key)) 124 {ajaxHandler.php http://cintient.googlecode.com/svn/trunk/ | PHP | 134 lines
1<?php 2/* 41 42require dirname(__FILE__) . '/../config/cintient.conf.php'; 43ini_set('display_errors', 0); // Don't echo errors on AJAX calls 112 } 113 if (method_exists('AjaxManager', $GLOBALS['ajaxMethod'])) { 114 #if DEBUGInitController.class.php http://mycaptain.googlecode.com/svn/ | PHP | 571 lines
1<?php 2/** 81 // ?????????? 82 if ( method_exists ( $this, 'filter_' ) ) { 83Application.php git://github.com/centurion-project/Centurion.git | PHP | 405 lines
1<?php 2/** 67 * 68 * Initialize application. Potentially initializes include_paths, PHP 69 * settings, and bootstrap class. 79 80 require_once 'Zend/Loader/Autoloader.php'; 81 $this->_autoloader = Zend_Loader_Autoloader::getInstance(); 144 if (!empty($options['phpsettings'])) { 145 $this->setPhpSettings($options['phpsettings']); 146 } 157 $autoloader = $this->getAutoloader(); 158 if (method_exists($autoloader, 'setZfPath')) { 159 $zfPath = $options['autoloaderzfpath']; 253 /** 254 * Set PHP configuration settings 255 *tb_notify.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 313 lines
1<?php 2require_once(CORE_DIR.'/kernel.php'); 2require_once(CORE_DIR.'/kernel.php'); 3require_once(CORE_DIR.'/func_ext.php'); 4class taobao_action extends kernel{ 16 if(!$result_msg||!isset($_GET['result_code'])){ 17 if(method_exists($this,$method)){ 18 $this->db = $this->database(); 76 ??????/?? 77 index.php?ctl=order/order&act=set_order_price 78 135 ?????? 136 index.php?ctl=order/order&act=close_order 137 */ 260 if(isset($_GET['op'])){ 261 echo '<script>alert("????");window.location.href="'.$this->base_url().'shopadmin/index.php"</script>'; 262 }else{sqlite.php git://github.com/phpbb/phpbb3.git | PHP | 337 lines
1<?php 2/** 4* @package dbal 5* @copyright (c) 2005 phpBB Group 6* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 12*/ 13if (!defined('IN_PHPBB')) 14{ 17 18include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx); 19 119 120 $this->query_result = ($cache_ttl && method_exists($cache, 'sql_load')) ? $cache->sql_load($query) : false; 121 $this->sql_add_num_queries($this->query_result); 134 135 if ($cache_ttl && method_exists($cache, 'sql_save')) 136 {View.php http://mvh-source.googlecode.com/svn/trunk/ | PHP | 179 lines
1<?php 2/** 27 if( ($property = '_' . $name) && property_exists( $this, $property ) ){ 28 if( ($method = 'set' . ucfirst($name)) && method_exists( $this, $method ) ){ 29 $this->$method( $value ); 141 if( !key_exists( $name, $this->_helpers ) ){ 142 $base = ucfirst( $name ) . '.php'; 143 $paths = $this->getHelperPath();YouPorn.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 378 lines
1<?php 2 33 (class_exists('X_VlcShares_Plugins_Utils') 34 && method_exists('X_VlcShares_Plugins_Utils', 'menuProxy')) 35 ) { 216 if ( class_exists("X_VlcShares_Plugins_Utils", true) ) { 217 if ( !method_exists('X_VlcShares_Plugins_Utils', 'menuProxy') ) { 218 // old version of PageParserLib 369 $cache = X_VlcShares_Plugins::broker()->getPlugins('cache'); 370 if ( method_exists($cache, 'setDoNotCache') ) { 371 $cache->setDoNotCache();tweet.php git://github.com/elliothaughin/codeigniter-twitter.git | PHP | 641 lines
1<?php 2 13 { 14 if ( method_exists($this, $method) ) 15 {Container.php git://github.com/eryx/php-framework-benchmark.git | PHP | 427 lines
1<?php 2/** 218 $setMethod = 'set' . $attrName; 219 if (method_exists($this, $setMethod)) { 220 $this->{$setMethod}($attrValue);Lexer.php git://github.com/gallery/gallery3-contrib.git | PHP | 326 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2 97 class_exists('DOMDocument') && 98 method_exists('DOMDocument', 'loadHTML') && 99 !extension_loaded('domxml') 129 130 // once PHP DOM implements native line numbers, or we 131 // hack out something using XSLT, remove this stipulationpartitionTableOppClass.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 229 lines
1<?php 2class partitionTableOppClass { 35 } 36 if (method_exists($this, 'set_' . $propertyName)) { 37 call_user_func(array (application_functions.php https://code.google.com/p/my-imouto-booru/ | PHP | 248 lines
1<?php 2function only_user($level) { 80 case 'json': 81 if (method_exists($inst_var, 'to_json')) 82 render('json', $inst_var->to_json());JsHelper.php git://github.com/cakephp/cakephp.git | PHP | 434 lines
6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package Cake.View.Helper 15 * @package Cake.View.Helper 16 * @since CakePHP(tm) v 1.2 17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 159 * 160 * @param mixed $val A PHP variable to be converted to JSON 161 * @param boolean $quoteString If false, leaves string values unquoted 162 * @return string a JavaScript-safe/JSON representation of $val 163 * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html#JsHelper::value 164 **/reporter.php http://snaptest.googlecode.com/svn/trunk/ | PHP | 174 lines
1<?php 2 66 public final function recordTestDefect(Exception $e) { 67 if (method_exists($e, 'getUserMessage')) { 68 $this->addReport($this->record('defect', $e->getUserMessage(), $this->cullTrace($e->getTrace()))); 76 /** 77 * records a PHP error encountered 78 * @param string $errstr the php error string 78 * @param string $errstr the php error string 79 * @param string $errfile the php error file 80 * @param int $errline the line of the php error 82 */ 83 public final function recordPHPError($errstr, $errfile, $errline, $trace) { 84 89 90 $this->addReport($this->record('phperr', $errstr, $trace, $errline)); 91 $this->announceTestFail();ProcessInstance.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 239 lines
1<?php 2 19 * @license New BSD License 20 * @version $Id: ProcessInstance.php 122 2010-02-11 19:09:18Z gutierrezandresfelipe $ 21 */ 22 23require 'Library/Kumbia/BusinessProcess/Instance/ProcessInstanceException.php'; 24 190 } else { 191 if(method_exists($this->_businessProcess, $handler->value."Handler")){ 192 $this->_businessProcess->{$handler->value."Handler"}(); 220 } else { 221 if(method_exists($this->_businessProcess, $handler->value."Handler")){ 222 $this->_businessProcess->{$handler->value."Handler"}();report_module.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 191 lines
1<?php 2 25 26 if (method_exists($this, 'subject_url') && isset($this->lang['CLICK_RETURN'])) 27 { 135 { 136 if (!method_exists($this, 'subjects_auth_obtain') || empty($report_subjects)) 137 {SilvercartPlugin.php https://bitbucket.org/silvercart/silvercart/ | PHP | 282 lines
1<?php 2/** 161 foreach ($pluginProviders as $pluginProvider) { 162 if (method_exists($pluginProvider, $methodName)) { 163 if ($passArgumentsByReference) {TemporaryActiveRecord.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 361 lines
1<?php 2 20 * @license New BSD License 21 * @version $Id: TemporaryActiveRecord.php 136 2010-04-12 14:48:51Z gutierrezandresfelipe $ 22 */ 125 private function _createTemporaryTable($tableName, $db=null){ 126 if(method_exists($this, "_tableDefinition")==true){ 127 $tableDefinition = $this->_tableDefinition();control_abstract.php http://enaj.googlecode.com/svn/trunk/ | PHP | 369 lines
1<?php 2// $Id: control_abstract.php 2461 2009-05-05 14:01:55Z dualface $ 6 * 7 * @link http://qeephp.com/ 8 * @copyright Copyright (c) 2006-2009 Qeeyuan Inc. {@link http://www.qeeyuan.com} 8 * @copyright Copyright (c) 2006-2009 Qeeyuan Inc. {@link http://www.qeeyuan.com} 9 * @license New BSD License {@link http://qeephp.com/license/} 10 * @version $Id: control_abstract.php 2461 2009-05-05 14:01:55Z dualface $ 17 * @author YuLei Liao <liaoyulei@qeeyuan.com> 18 * @version $Id: control_abstract.php 2461 2009-05-05 14:01:55Z dualface $ 19 * @package webcontrols 41 */ 42 protected $_render_class = 'QView_Render_PHP_Parser'; 43 46 * 47 * @var QView_Render_PHP 48 */rest.php git://github.com/fuel/core.git | PHP | 525 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 64 'jsonp'=> 'text/javascript', 65 'serialized' => 'application/vnd.php.serialized', 66 'php' => 'text/plain', 135 } 136 elseif (method_exists($this, $this->auth)) 137 { 154 // Fall back to action_ if no rest method is provided 155 if ( ! method_exists($this, $controller_method)) 156 {CassieRecord.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 364 lines
1<?php 2 2 3require 'Library/Kumbia/Cassie/Generator/Uuid.php'; 4 67 } 68 if(method_exists($this, 'initialize')){ 69 $this->initialize(); 79 } else { 80 if(method_exists($this, 'initialize')){ 81 $this->initialize();BaseCrudCode.php https://bitbucket.org/dinhtrung/yiicorecms/ | PHP | 267 lines
1<?php 2 168 169 if (method_exists($fmodel,'getRecordTitle')) { 170 $fcolumns[1] = "recordTitle";sybase_ase_meta_module.inc http://scalr.googlecode.com/svn/ | PHP | 469 lines
1<?php 2/** 24 { 25 include_once(ADODB_DIR."/adodb-error.inc.php"); 26 if ($err === false) 33 { 34 include_once(ADODB_DIR."/adodb-error.inc.php"); 35 return adodb_errormsg($errno); 121 122 if ($rs === false || !method_exists($rs, 'GetArray')){ 123 return $false; 322 323 // php_mysql extension always returns 'blob' even if 'text' 324 // so we have to check whether binary... 421 'LONG' => 'N', // interbase is numeric, oci8 is blob 422 'BIGINT' => 'N', // this is bigger than PHP 32-bit integers 423 'DECIMAL' => 'N',Fb_ignited.php https://bitbucket.org/deth4uall/facebook-ignited/ | PHP | 0 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 12 /** 13 * This grabs the variables from you config/fb_ignited.php file and 14 * stores them in the globals variable, while passing the below three 31 $this->CI->load->helper('params'); 32 if (method_exists($this->CI->facebook, $method)) 33 { 385 } 386 $result = "<iframe src='http://www.facebook.com/plugins/registration.php? 387 client_id=".$this->globals['fb_appid']."&redirect_uri=".urlencode($this->CI->facebook->getCurrentUrl()).active_record.php https://code.google.com/p/my-imouto-booru/ | PHP | 1260 lines
1<?php 2class ActiveRecordException extends Exception {} 56 $on_change_method = 'on_' . $attr . '_change'; 57 if (method_exists($this, $on_change_method)) 58 $this->$on_change_method($v); 232 private function call_custom_construct($data = null) { 233 if (!method_exists($this, '_construct')) 234 return; 261 262 if (method_exists($this, '_call')) 263 return $this->_call($func, $args); 278 279 if (method_exists($this, 'set_' . $prop)) { 280 $this->$prop = $this->{'set_' . $prop}(); 283 284 if (method_exists($this, '_get')) 285 return $this->_get($prop);Format.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 1018 lines
1<?php 2 256 foreach ($properties as $property => $value){ 257 if(method_exists($this, 'set'.ucwords($property))){ 258 $method_name = 'set'.ucwords($property);PEAR.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 1100 lines
12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 21 * @copyright 1997-2006 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php 5 2009-04-24 01:48:48Z gutierrezandresfelipe $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.5.0 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */Dispatcher.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 598 lines
1<?php 2 19 * @license New BSD License 20 * @version $Id: Dispatcher.php 150 2010-09-24 16:20:10Z gutierrezandresfelipe $ 21 */ 141 $applicationController = new ApplicationController(); 142 if(method_exists($applicationController, 'init')){ 143 $applicationController->init(); 169 #endif 170 if(method_exists($applicationController, 'notFoundAction')){ 171 $notFoundStatus = call_user_func_array( 222 #endif 223 if(method_exists($appController, 'beforeFilter')){ 224 if(call_user_func_array(array(self::$_controller, 'beforeFilter'), $params)===false){ 250 #endif 251 if(method_exists($appController, 'afterFilter')){ 252 call_user_func_array(array(self::$_controller, 'afterFilter'), $params);StandardFormController.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 1537 lines
1<?php 2 20 * @license New BSD License 21 * @version $Id: StandardFormController.php 150 2010-09-24 16:20:10Z gutierrezandresfelipe $ 22 */ 171 $this->setPersistance(true); 172 if(method_exists($this, 'initialize')){ 173 $this->initialize(); 202 */ 203 if(method_exists($this, 'beforeReport')){ 204 if($this->beforeReport()===false){ 228 */ 229 if(method_exists($this, 'afterReport')){ 230 if($this->afterReport()===false){ 298 */ 299 if(method_exists($this, 'validation')){ 300 if($this->validation()===false){Controller.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 972 lines
1<?php 2 19 * @license New BSD License 20 * @version $Id: Controller.php 150 2010-09-24 16:20:10Z gutierrezandresfelipe $ 21 */ 166 public function __construct(){ 167 if(method_exists($this, 'initialize')){ 168 $this->initialize();Template.php http://jogosunity.googlecode.com/svn/trunk/ | PHP | 781 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 108 // Modular Separation / Modular Extensions has been detected 109 if (method_exists( $this->_ci->router, 'fetch_module' )) 110 {PEAR.php http://easyrest.googlecode.com/svn/trunk/ | PHP | 1119 lines
12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 21 * @copyright 1997-2008 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php,v 1.104 2008/01/03 20:26:34 cellog Exp $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.7.2 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */Validation.php http://php-personal-budget.googlecode.com/svn/trunk/ | PHP | 767 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 * 276 { 277 if ( ! method_exists($this->CI, $rule)) 278 { 292 { 293 if ( ! method_exists($this, $rule)) 294 { 295 /* 296 * Run the native PHP function if called for 297 * 298 * If our own wrapper function doesn't exist we see 299 * if a native PHP function does. Users can use 300 * any native PHP function call that has one param.Upload.php http://sistem-pakar.googlecode.com/svn/trunk/ | PHP | 1150 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 * 115 $method = 'set_'.$key; 116 if (method_exists($this, $method)) 117 {PEAR.php http://syracava.googlecode.com/svn/trunk/ | PHP | 1119 lines
12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 21 * @copyright 1997-2008 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php 125 2009-08-21 01:35:18Z takuji.mezawa $ 44 45if (substr(PHP_OS, 0, 3) == 'WIN') { 46 define('OS_WINDOWS', true); 94 * @copyright 1997-2006 The PHP Group 95 * @license http://www.php.net/license/3_0.txt PHP License 3.0 96 * @version Release: 1.7.2 99 * @since Class available since PHP 4.0.2 100 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 101 */Action.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 434 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 10// +---------------------------------------------------------------------- 11// $Id: Action.class.php 2929 2012-05-02 06:45:47Z liu21st@gmail.com $ 12 14 +------------------------------------------------------------------------------ 15 * ThinkPHP Action????? ??? 16 +------------------------------------------------------------------------------ 20 * @author liu21st <liu21st@gmail.com> 21 * @version $Id: Action.class.php 2929 2012-05-02 06:45:47Z liu21st@gmail.com $ 22 +------------------------------------------------------------------------------Simple.php http://syracava.googlecode.com/svn/trunk/ | PHP | 327 lines
1<?php 2 9 * 10 * PHP versions 4 and 5 11 * 13 * 14 * Copyright (c) 2002-2008 The PHP Group 15 * All rights reserved. 42 * @package XML_Parser 43 * @author Stephan Schmidt <schst@php.net> 44 * @copyright 2004-2008 Stephan Schmidt <schst@php.net> 45 * @license http://opensource.org/licenses/bsd-license New BSD License 46 * @version CVS: $Id: Simple.php 125 2009-08-21 01:35:18Z takuji.mezawa $ 47 * @link http://pear.php.net/package/XML_Parser 52 */ 53require_once 'XML/Parser.php'; 54block_model.php https://bitbucket.org/seezoo/seezoo/ | PHP | 428 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 38 $class_name = ucfirst($cname) . '_block'; 39 $path = 'blocks/' . $cname . '/' . $cname . '.php'; 40 73 { 74 if (!method_exists($b, 'db')) 75 { 156 157 $path = 'blocks/' . $cname . '/' . $cname . '.php'; 158 if (file_exists(SZ_EXT_PATH . $path)) 177 { 178 if (!method_exists($b, 'db')) 179 {Chunk.php http://php-reader.googlecode.com/svn/trunk/ | PHP | 126 lines
1<?php 2/** 7 * @license http://framework.zend.com/license/new-bsd New BSD License 8 * @version $Id: Chunk.php 257 2012-01-26 05:30:58Z svollbehr $ 9 */ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Chunk.php 257 2012-01-26 05:30:58Z svollbehr $ 21 */ 100 { 101 if (method_exists($this, 'get' . ucfirst(strtolower($name)))) { 102 return call_user_func(array($this, 'get' . ucfirst(strtolower($name)))); 103 } else { 104 require_once('Zend/Media/Riff/Exception.php'); 105 throw new Zend_Media_Riff_Exception('Unknown field: ' . $name); 117 { 118 if (method_exists($this, 'set' . ucfirst(strtolower($name)))) { 119 call_user_func(array($this, 'set' . ucfirst(strtolower($name))), $value);be_embed_flash.php http://bedita.googlecode.com/svn/trunk/ | PHP | 305 lines
1<?php 2/*-----8<-------------------------------------------------------------------- 28 * 29 * $Id: be_embed_flash.php 3905 2012-08-08 16:21:17Z ste $ 30 */ 131 132 if (method_exists($this, $methodName ) ) { 133 return $this->$methodName($swfUrl, $fileToPlay, $attributes, $flashvars, $params, $fileType);update.php http://timoseven.googlecode.com/svn/trunk/ | PHP | 362 lines
11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the 13 * WordPress server at api.wordpress.org server. Will only check if WordPress 26 global $wp_version, $wpdb, $wp_local_package; 27 $php_version = phpversion(); 28 57 $local_package = isset( $wp_local_package )? $wp_local_package : ''; 58 $url = "http://api.wordpress.org/core/version-check/1.5/?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package&blogs=$num_blogs&users={$user_count['total_users']}&multisite_enabled=$multisite_enabled"; 59 136 $new_option->last_checked = time(); 137 $timeout = 'load-plugins.php' == current_filter() ? 3600 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours 138 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked ); 210 if ( !function_exists( 'get_themes' ) ) 211 require_once( ABSPATH . 'wp-includes/theme.php' ); 212Format.php git://github.com/pyrocms/pyrocms.git | PHP | 263 lines
1<?php 2/** 28 { 29 // Stupid stuff to emulate the "new static()" stuff in this libraries PHP 5.3 equivilent 30 $class = __CLASS__; 43 { 44 if (method_exists($this, '_from_' . $from_type)) 45 { 192 193 $output = implode(',', $headings).PHP_EOL; 194 foreach ($data as &$row) 195 { 196 $output .= '"'.implode('","', $row).'"'.PHP_EOL; 197 } 213 214 // Output as a string representing the PHP structure 215 public function to_php()mdl.operator.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 201 lines
1<?php 2/** 6 * @package 7 * @version $Id: mdl.operator.php 1985 2008-04-28 06:36:02Z flaboy $ 8 * @copyright 2003-2007 ShopEx 11 */ 12include_once('shopObject.php'); 13class mdl_operator extends shopObject{ 41 function delete($filter,$current_op_id=false){ 42 if(method_exists($this,'pre_delete')){ 43 $this->pre_delete($filter); 44 } 45 if(method_exists($this,'post_delete')){ 46 $this->post_delete($filter);DbFinderRoute.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 240 lines
1<?php 2 96 $customMethod = 'filterBy' . $camlVariable; 97 if(method_exists($finder, $customMethod)) 98 { 155 { 156 if(method_exists($finder, 'orderBy' . $orderColumn)) 157 {PHPUnitControllerTest.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 173 lines
15 * @category Kumbia 16 * @package PHPUnit 17 * @copyright Copyright (c) 2008-2009 Louder Technology COL. (http://www.loudertechnology.com) 19 * @license New BSD License 20 * @version $Id: PHPUnitControllerTest.php 82 2009-09-13 21:06:31Z gutierrezandresfelipe $ 21 */ 23/** 24 * PHPUnitControllerTest 25 * 29 * @category Kumbia 30 * @package PHPUnit 31 * @copyright Copyright (c) 2008-2009 Louder Technology COL. (http://www.loudertechnology.com) 57 */ 58 require "Library/Kumbia/Kumbia.php"; 59validation.php http://rapyd-framework.googlecode.com/svn/trunk/ | PHP | 565 lines
1<?php if (!defined('RAPYD_PATH')) exit('No direct script access allowed'); 2 195 196 //applica funzione php/custom di formattazione 197 if (function_exists($rule)) 207 208 if ( ! method_exists(rpd::$controller, $rule)) 209 {Simple.php git://github.com/moodle/moodle.git | PHP | 327 lines
1<?php 2 9 * 10 * PHP versions 4 and 5 11 * 13 * 14 * Copyright (c) 2002-2008 The PHP Group 15 * All rights reserved. 42 * @package XML_Parser 43 * @author Stephan Schmidt <schst@php.net> 44 * @copyright 2004-2008 Stephan Schmidt <schst@php.net> 46 * @version CVS: $Id$ 47 * @link http://pear.php.net/package/XML_Parser 48 */ 52 */ 53require_once 'XML/Parser.php'; 54BlogAction.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 312 lines
1<?php 2 14 //$Comment = M('AdvModel:Comment'); 15 // ???msubstr()????extend.php????common.php? 16 $new = $Blog->where('status=1')->order("cTime desc")->top10(); 95 //??????? 96 if (method_exists($this, '_trigger')) { 97 $this->_trigger($vo, $list); 291 //??????? 292 if (method_exists($this, '_trigger')) { 293 $this->_trigger($vo, $result);Partial.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Partial.php 12578 2008-11-12 01:36:23Z sidhighwind $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 22 23/** Zend_View_Helper_Abstract.php */ 24require_once 'Zend/View/Helper/Abstract.php'; 74 if ((null !== $module) && is_string($module)) { 75 require_once 'Zend/Controller/Front.php'; 76 $moduleDir = Zend_Controller_Front::getInstance()->getControllerDirectory($module); 77 if (null === $moduleDir) { 78 require_once 'Zend/View/Helper/Partial/Exception.php'; 79 throw new Zend_View_Helper_Partial_Exception('Cannot render partial; module does not exist'); 94 $view->assign($objectKey, $model); 95 } elseif (method_exists($model, 'toArray')) { 96 $view->assign($model->toArray());CWebService.php http://yii-doctrine2.googlecode.com/svn/trunk/ | PHP | 286 lines
62 * A PHP class can also be specified as a path alias. 63 * @see http://www.php.net/manual/en/function.soap-soapserver-construct.php 64 */ 75 * @var integer the persistence mode of the SOAP server. 76 * @see http://www.php.net/manual/en/function.soap-soapserver-setpersistence.php 77 */ 97 * The PHP error handler. 98 * @param CErrorEvent $event the PHP error event 99 */ 196 // We need to end application explicitly because of 197 // http://bugs.php.net/bug.php?id=49513 198 Yii::app()->onEndRequest(new CEvent($this)); 224 * @return array options for creating SoapServer instance 225 * @see http://www.php.net/manual/en/function.soap-soapserver-construct.php 226 */CommonAction.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 411 lines
1<?php 2 13 //??????? 14 redirect(PHP_FILE . C('USER_AUTH_GATEWAY')); 15 } 21 if (C('GUEST_AUTH_ON')) { 22 $this->assign('jumpUrl', PHP_FILE . C('USER_AUTH_GATEWAY')); 23 } 33 $map = $this->_search(); 34 if (method_exists($this, '_filter')) { 35 $this->_filter($map);error.php http://noserub.googlecode.com/svn/trunk/ | PHP | 433 lines
1<?php 2/** 6 * 7 * PHP versions 4 and 5 8 * 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 10 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 16 * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 18 * @package cake 19 * @subpackage cake.cake.libs 20 * @since CakePHP(tm) v 0.10.5.1732 21 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 103 104 if (method_exists($this->controller, 'apperror')) { 105 return $this->controller->appError($method, $messages);CodeIgniter.php http://php-personal-budget.googlecode.com/svn/trunk/ | PHP | 267 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 * 48 * ------------------------------------------------------ 49 * Define a custom error handler so we can log PHP errors 50 * ------------------------------------------------------ 118 * 119 * Note: Due to the poor object handling in PHP 4 we'll 120 * conditionally load different versions of the base 120 * conditionally load different versions of the base 121 * class. Retaining PHP 4 compatibility requires a bit of a hack. 122 * 125 */ 126if (floor(phpversion()) < 5) 127{data.class.php http://litepublisher.googlecode.com/svn/trunk/ | PHP | 493 lines
78 foreach ($this->coinstances as $coinstance) { 79 if (method_exists($coinstance, $name) || $coinstance->method_exists($name)) 80 return call_user_func_array(array($coinstance, $name), $params); 85 public function __isset($name) { 86 if (array_key_exists($name, $this->data) || method_exists($this, "get$name") || method_exists($this, "Get$name")) return true; 87 foreach ($this->coinstances as $coinstance) { 126 if ($filename = litepublisher::$classes->getclassfilename($class, true)) { 127 $externalname = basename($filename, '.php') . '.install.php'; 128 $dir = dirname($filename) . DIRECTORY_SEPARATOR; 250 if (file_exists($filename)) { 251 $s = self::uncomment_php(file_get_contents($filename)); 252 if (self::$memcache) self::$memcache->set($filename, $s, false, 3600); 259 if (self::$memcache) self::$memcache->set($base . '.php', $content, false, 3600); 260 $tmp = $base .'.tmp.php'; 261 if(false === file_put_contents($tmp, self::comment_php($content))) {Feed.php http://grupal.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Feed.php 25106 2012-11-07 20:41:08Z rob $ 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' 110 if (iconv_strlen($value, $this->getEncoding()) > 255) { 111 require_once 'Zend/Feed/Exception.php'; 112 throw new Zend_Feed_Exception('invalid parameter: any "author" may only' 135 if (iconv_strlen($value, $this->getEncoding()) > 255) { 136 require_once 'Zend/Feed/Exception.php'; 137 throw new Zend_Feed_Exception('invalid parameter: any "category" may only'syndication.admin.controller.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 /** 80 $method = 'getSyndicationStatus' . ucfirst(strtolower($target_service)); 81 if(!method_exists(&$this, $method)) return new Object(-1,'msg_syndication_status_not_support'); 82sfMixer.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 214 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfMixer.class.php 9888 2008-06-26 10:22:11Z fabien $ 18 */ 138 self::$mixinInstances[$class] = new $class(); 139 if (method_exists(self::$mixinInstances[$class], 'initialize')) 140 {Cache.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 380 lines
1<?php 2 194 $router = $controller->getFrontController()->getRouter(); 195 if ( method_exists($router, 'setGlobalParam' ) ) { 196 $router->setGlobalParam($this->getId(), null);CPSRestBehavior.php http://ps-yii-extensions.googlecode.com/svn/trunk/ | PHP | 192 lines
1<?php 2/* 2/* 3 * CPSRestBehavior.php 4 * 38 * @author Jerry Ablan <jablan@pogostick.com> 39 * @version SVN $Id: CPSRestBehavior.php 395 2010-07-15 21:34:48Z jerryablan@gmail.com $ 40 * @since v1.1.0 102 // Is it a valid request? 103 if ( ! method_exists( $this->getOwner(), 'get' . $_sActionId ) && ! method_exists( $this->getOwner(), 'post' . $_sActionId ) && ! method_exists( $this->getOwner(), 'request' . $_sActionId ) ) 104 return $this->getOwner()->missingAction( $_sActionId ); 152 // Any query string? (?x=y&...) 153 if ( null != ( $_sQuery = parse_url( $_sUri, PHP_URL_QUERY ) ) ) 154 $_arOpts = array_merge( explode( '=', $_sQuery ), $_arOpts ); 177 178 if ( ! method_exists( $this->getOwner(), $_sMethod ) ) 179 {Signature.php git://github.com/eryx/php-framework-benchmark.git | PHP | 389 lines
1<?php 2/** 230 { 231 if (method_exists($this->_provider, 'getName')) { 232 $this->_name = $this->_provider->getName();oEmbed.php http://digg.googlecode.com/svn/trunk/ | PHP | 358 lines
1<?php 2 5 * 6 * PHP version 5.1.0+ 7 * 45 46require_once 'Validate.php'; 47require_once 'Net/URL2.php'; 47require_once 'Net/URL2.php'; 48require_once 'HTTP/Request.php'; 49require_once 'Services/oEmbed/Exception.php'; 49require_once 'Services/oEmbed/Exception.php'; 50require_once 'Services/oEmbed/Exception/NoSupport.php'; 51require_once 'Services/oEmbed/Object.php'; 56 * <code> 57 * <?php 58 *VorbisComment.php http://php-reader.googlecode.com/svn/trunk/ | PHP | 156 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: VorbisComment.php 251 2011-06-13 15:41:51Z svollbehr $ 21 */ 23/**#@+ @ignore */ 24require_once 'Zend/Media/Flac/MetadataBlock.php'; 25require_once 'Zend/Media/Vorbis/Header/Comment.php'; 42 * @license http://framework.zend.com/license/new-bsd New BSD License 43 * @version $Id: VorbisComment.php 251 2011-06-13 15:41:51Z svollbehr $ 44 */ 70 { 71 if (method_exists($this, $name)) { 72 return call_user_func(array($this, $name), $arguments); 76 } catch (Zend_Media_Vorbis_Exception $e) { 77 require_once 'Zend/Media/Flac/Exception.php'; 78 throw new Zend_Media_Flac_Exception($e->getMessage());class.Scalr.php http://scalr.googlecode.com/svn/ | PHP | 396 lines
1<?php 2 33 { 34 if (method_exists($observer, "__construct")) 35 $observer->__construct();View.php https://code.google.com/p/ontowiki/ | PHP | 295 lines
1<?php 2/** 5 * @copyright Copyright (c) 2011, {@link http://aksw.org AKSW} 6 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) 7 */ 207 // TODO: allow multiple messages 208 if (method_exists($module, 'getMessage')) { 209 if ($message = $module->getMessage()) { 214 // does the module have a menu? 215 if (method_exists($module, 'getMenu')) { 216 $menu = $module->getMenu(); 220 // does the module have a context menu? 221 if (method_exists($module, 'getContextMenu')) { 222 $contextMenu = $module->getContextMenu();Validation.php git://github.com/kohana/core.git | PHP | 619 lines
1<?php defined('SYSPATH') OR die('No direct script access.'); 2/** 206 * @param string $field field name 207 * @param callback $rule valid PHP callback or closure 208 * @param array $params extra parameters for the rule 384 } 385 elseif (method_exists('Valid', $rule)) 386 { 477 * 478 * // Get errors from messages/forms/login.php 479 * $errors = $Validation->errors('forms/login');