PageRenderTime 2670ms queryFilters 1ms Sphinxql 1679ms GetByIds 926ms meta 0ms repositoryFilters 9ms languageFilters 0ms sourceFilters 4ms

90,577 results for 'php method_exists repo:Amit_Ashckenazi/unmatched-archives' (2670 ms)

Source

Language

Repository

yotpo.php https://github.com/DaveBenNoah/PrestaShop-modules.git | PHP | 802 lines
1<?php
2
15
16	private $_required_files = array('/YotpoHttpClient.php', '/YotpoSnippetCache.php'); 
17	
42			define('_PS_BASE_URL_', 'http://'.(isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : $_SERVER['HTTP_HOST']));
43		if(file_exists($this->_yotpo_module_path . '/YotpoSnippetCache.php')) {
44			include_once($this->_yotpo_module_path.'/YotpoSnippetCache.php');	
47		if (version_compare(_PS_VERSION_, '1.5') < 0) {
48    		require(_PS_MODULE_DIR_.$this->name.'/backward_compatibility/backward.php');
49    	}				
53	{
54		if(method_exists('Tools', "unSerialize")) {
55			$selected_statuses = Tools::unSerialize(Configuration::get('yotpo_map_status'));	
81		if (!function_exists('curl_init'))
82			$this->setError($this->l('Yotpo needs the PHP Curl extension, please ask your hosting provider to enable it prior to install this module.'));
83
Component.php https://github.com/FrediL/yii2.git | PHP | 680 lines
1<?php
2/**
23 *
24 * One or multiple PHP callbacks, called *event handlers*, can be attached to an event. You can call [[trigger()]] to
25 * raise an event. When an event is raised, the event handlers will be invoked automatically in the order they were
115     *
116     * Do not call this method directly as it is a PHP magic method that
117     * will be implicitly called when executing `$value = $component->property;`.
126        $getter = 'get' . $name;
127        if (method_exists($this, $getter)) {
128            // read property, e.g. getName()
138        }
139        if (method_exists($this, 'set' . $name)) {
140            throw new InvalidCallException('Getting write-only property: ' . get_class($this) . '::' . $name);
154     *
155     * Do not call this method directly as it is a PHP magic method that
156     * will be implicitly called when executing `$component->property = $value;`.
Component.php https://github.com/lucianobaraglia/yii2.git | PHP | 675 lines
1<?php
2/**
23 *
24 * One or multiple PHP callbacks, called *event handlers*, can be attached to an event. You can call [[trigger()]] to
25 * raise an event. When an event is raised, the event handlers will be invoked automatically in the order they were
116     *
117     * Do not call this method directly as it is a PHP magic method that
118     * will be implicitly called when executing `$value = $component->property;`.
127        $getter = 'get' . $name;
128        if (method_exists($this, $getter)) {
129            // read property, e.g. getName()
139        }
140        if (method_exists($this, 'set' . $name)) {
141            throw new InvalidCallException('Getting write-only property: ' . get_class($this) . '::' . $name);
155     *
156     * Do not call this method directly as it is a PHP magic method that
157     * will be implicitly called when executing `$component->property = $value;`.
shortcode_handler.php https://github.com/CasperGemini/e107.git | PHP | 1,456 lines
1<?php
2/*
207		{
208			return method_exists($this->scClasses[$className], $scFuncName) ? call_user_func(array($this->scClasses[$className], $scFuncName), $param) : null;
209		}
227			// avoid warnings
228			return method_exists($this->scClasses[$className], $scFuncName) ? call_user_func_array(array($this->scClasses[$className], $scFuncName), $args) : null;
229		}
233	/**
234	 * Create shortcode object - don't forget you still can use e_shortcode.php
235	 *
303		$_class_fname = $className;
304		if($pluginName === TRUE) //XXX When called manually by a plugin, not e_shortcode.php  eg. $sc = e107::getScBatch('faqs',TRUE); for faqs_shortcode.php with class faqs_shortcode
305		{
365					$pathBC = e_PLUGIN.$pluginName.'/';
366					$path = (is_readable($pathBC.$_class_fname.'.php') ? $pathBC : e_PLUGIN.$pluginName.'/shortcodes/batch/').$_class_fname.'.php';
367				}
Component.php https://github.com/sitawit/yii2.git | PHP | 688 lines
1<?php
2/**
23 *
24 * One or multiple PHP callbacks, called *event handlers*, can be attached to an event. You can call [[trigger()]] to
25 * raise an event. When an event is raised, the event handlers will be invoked automatically in the order they were
115     *
116     * Do not call this method directly as it is a PHP magic method that
117     * will be implicitly called when executing `$value = $component->property;`.
126        $getter = 'get' . $name;
127        if (method_exists($this, $getter)) {
128            // read property, e.g. getName()
138        }
139        if (method_exists($this, 'set' . $name)) {
140            throw new InvalidCallException('Getting write-only property: ' . get_class($this) . '::' . $name);
154     *
155     * Do not call this method directly as it is a PHP magic method that
156     * will be implicitly called when executing `$component->property = $value;`.
Server.php https://bitbucket.org/ceu/moodle_demo | PHP | 2,131 lines
1<?php // $Id: Server.php,v 1.1.2.3 2008/02/27 03:02:05 martinlanghoff Exp $
2/*
37require_once "HTTP/WebDAV/Tools/_parse_proppatch.php";
38require_once "HTTP/WebDAV/Tools/_parse_lockinfo.php";
39
45 * @package HTTP_WebDAV_Server
46 * @author  Hartmut Holzgraefe <hholzgra@php.net>
47 * @version @package_version@
199        // for the motivation for not checking OPTIONS requests on / see 
200        // http://pear.php.net/bugs/bug.php?id=5363
201        if ( (   !(($this->_SERVER['REQUEST_METHOD'] == 'OPTIONS') && ($this->path == "/")))
229        
230        if (method_exists($this, $wrapper) && ($method == "options" || method_exists($this, $method))) {
231            $this->$wrapper();  // call method by name
457     {
458     // dummy entry for PHPDoc
459     } 
mock_objects_test.php https://github.com/TomMaher/umambo.git | PHP | 657 lines
1<?php
2    // $Id: mock_objects_test.php 4 2006-04-25 02:08:26Z phpnut $
3    require_once(dirname(__FILE__) . '/../expectation.php');
174            $stub = &new StubDummy();
175            $this->assertTrue(method_exists($stub, "aMethod"));
176            $this->assertNull($stub->aMethod(null));
180            $stub = &new StubDummyWithExtraMethods();
181            $this->assertTrue(method_exists($stub, "extraMethod"));
182        }
185            $stub = &new AnotherStubDummy();
186            $this->assertTrue(method_exists($stub, "aMethod"));
187        }
191            $this->assertIsA($stub, "SpecialSimpleStub");
192            $this->assertTrue(method_exists($stub, "aMethod"));
193        }
outputrenderers.php https://github.com/dongsheng/moodle.git | PHP | 4,765 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
83        if ($this->mustache === null) {
84            require_once($CFG->dirroot . '/lib/mustache/src/Mustache/Autoloader.php');
85            Mustache_Autoloader::register();
187        $rendermethod = 'render_'.$classname;
188        if (method_exists($this, $rendermethod)) {
189            return $this->$rendermethod($widget);
315        $rendermethod = 'render_'.$classname;
316        if (method_exists($this, $rendermethod)) {
317            return $this->$rendermethod($widget);
318        }
319        if ($rendermethod !== $deprecatedmethod && method_exists($this, $deprecatedmethod)) {
320            // This is exactly where we don't want to be.
348    public function __call($method, $arguments) {
349        if (method_exists('renderer_base', $method)) {
350            throw new coding_exception('Protected method called against '.get_class($this).' :: '.$method);
plugins.php https://github.com/arconis25/bourbonjournal.git | PHP | 638 lines
1<?php
2/**
42	 *
43	 * @uses		plugins.php
44	 * @author		Jordi Canals
146			$this->p_file = trim($plugin_file);
147			$this->ID = ( empty($ID) ) ? strtolower(basename($this->p_file, '.php')) : trim($ID) ;
148
149			// Load component data and settings.
150			if ( method_exists($this, 'setDefaults') ) {
151				$this->setDefaults();
158				register_activation_hook($this->p_file, array($this, '_activatePlugin'));
159				if ( method_exists($this, '_deactivate') ) {
160					register_deactivation_hook($this->p_file, array($this, '_deactivate'));
174				// Add administration menus.
175				if ( method_exists($this, '_adminMenus') ) {
176					add_action('admin_menu', array($this, '_adminMenus'));		// Add Panel menus.
class.flashremoting_base.php https://github.com/elhakim22003/TypoFlash.git | PHP | 743 lines
1<?php
2
17			/*
18			These need to be set in typo3_remoting_config.php which need to be included in each class extending this one
19			*/
37	/*
38	Method table was removed in AMFPHP 1.9
39			$this->methodTable = array(
95		20/03/2008
96		Disabled in AMFPHP 1.9.
97		Not really needed as long as strict checks are maintained inside the different functions themselves
118			$err = $GLOBALS['BE_USER']->logoff();
119			if (method_exists($this, '_onBElogout')) { 
120					$this->_onBElogout($oldUid, $oldLocation);
130			$err = $GLOBALS['FE_USER']->logoff();
131			if (method_exists($this, '_onFElogout')) { 
132					$this->_onFElogout($oldUid, $oldLocation);
GeneratedObjectArrayColumnTypeTest.php https://github.com/mattleff/propel.git | PHP | 131 lines
1<?php
2
10
11require_once 'PHPUnit/Framework.php';
12require_once dirname(__FILE__) . '/../../../../../generator/lib/util/PropelQuickBuilder.php';
12require_once dirname(__FILE__) . '/../../../../../generator/lib/util/PropelQuickBuilder.php';
13require_once dirname(__FILE__) . '/../../../../../runtime/lib/Propel.php';
14
20 */
21class GeneratedObjectArrayColumnTypeTest extends PHPUnit_Framework_TestCase
22{
40	{
41		$this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'getTags'));
42		$this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'hasTag'));
42		$this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'hasTag'));
43		$this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'setTags'));
44		$this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'addTag'));
CodeIgniter.php git://github.com/ci-bonfire/Bonfire.git | PHP | 569 lines
1<?php
2/**
4 *
5 * An open source application development framework for PHP
6 *
64 */
65	if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/constants.php'))
66	{
66	{
67		require_once(APPPATH.'config/'.ENVIRONMENT.'/constants.php');
68	}
69
70	if (file_exists(APPPATH.'config/constants.php'))
71	{
71	{
72		require_once(APPPATH.'config/constants.php');
73	}
class.extensibleobject.php https://bitbucket.org/benkeen/nextgen-gallery | PHP | 1,016 lines
1<?php
2define('__EXTOBJ_STATIC__', '__STATICALLY_CALLED__');
119
120		              if (method_exists($this, 'define_class')) {
121		                      call_user_func_array(array($this, 'define_class'), $args);
122		              }
123		              elseif (method_exists($this, 'define_static')) {
124		                      call_user_func_array(array($this, 'define_static'), $args);
140        if ($define_instance) {
141            if (method_exists($this, 'define_instance')) {
142                    call_user_func_array(array($this, 'define_instance'), $args);
143            }
144            elseif (method_exists($this, 'define')) {
145                    call_user_func_array(array($this, 'define'), $args);
150		          // Initialize the state of the object
151		          if (method_exists($this, 'initialize')) {
152		              call_user_func_array(array($this, 'initialize'), $args);
Sequential.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 348 lines
1<?PHP
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
3// +----------------------------------------------------------------------+
4// | PHP Version 4                                                        |
5// +----------------------------------------------------------------------+
5// +----------------------------------------------------------------------+
6// | Copyright (c) 1997-2002 The PHP Group                                |
7// +----------------------------------------------------------------------+
7// +----------------------------------------------------------------------+
8// | This source file is subject to version 2.0 of the PHP license,       |
9// | that is bundled with this package in the file LICENSE, and is        |
10// | available at through the world-wide-web at                           |
11// | http://www.php.net/license/2_02.txt.                                 |
12// | If you did not receive a copy of the PHP license and are unable to   |
13// | obtain it through the world-wide-web, please send a note to          |
14// | license@php.net so we can mail you a copy immediately.               |
15// +----------------------------------------------------------------------+
GeneratedObjectArrayColumnTypeTest.php git://github.com/propelorm/Propel.git | PHP | 237 lines
1<?php
2
10
11require_once dirname(__FILE__) . '/../../../../../generator/lib/util/PropelQuickBuilder.php';
12require_once dirname(__FILE__) . '/../../../../../runtime/lib/Propel.php';
19 */
20class GeneratedObjectArrayColumnTypeTest extends PHPUnit_Framework_TestCase
21{
43    {
44        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'getTags'));
45        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'hasTag'));
45        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'hasTag'));
46        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'setTags'));
47        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'addTag'));
47        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'addTag'));
48        $this->assertTrue(method_exists('ComplexColumnTypeEntity2', 'removeTag'));
49        // only plural column names get a tester, an adder, and a remover method
QueryBuilderTest.php git://github.com/propelorm/Propel.git | PHP | 1,122 lines
1<?php
2
10
11require_once dirname(__FILE__) . '/../../../../tools/helpers/bookstore/BookstoreTestBase.php';
12require_once dirname(__FILE__) . '/../../../../tools/helpers/bookstore/BookstoreDataPopulator.php';
17 * @author     Fran├žois Zaninotto
18 * @version    $Id: QueryBuilderTest.php 1347 2009-12-03 21:06:36Z francois $
19 * @package    generator.builder.om
325    {
326        foreach (BookPeer::getFieldNames(BasePeer::TYPE_PHPNAME) as $colName) {
327            $filterMethod = 'filterBy' . $colName;
327            $filterMethod = 'filterBy' . $colName;
328            $this->assertTrue(method_exists('BookQuery', $filterMethod), 'QueryBuilder adds filterByColumn() methods for every column');
329            $q = BookQuery::create()->$filterMethod(1);
608    {
609        $this->assertTrue(method_exists('BookQuery', 'filterByAuthor'), 'QueryBuilder adds filterByFk() methods');
610        $this->assertTrue(method_exists('BookQuery', 'filterByPublisher'), 'QueryBuilder adds filterByFk() methods for all fkeys');
language.php git://github.com/joomla/joomla-platform.git | PHP | 1,332 lines
1<?php
2/**
194			$paths[0] = JPATH_SITE . "/language/overrides/$lang.localise.php";
195			$paths[2] = JPATH_SITE . "/language/$lang/$lang.localise.php";
196		}
200			// Note: Manual indexing to enforce load order.
201			$paths[1] = JPATH_ADMINISTRATOR . "/language/overrides/$lang.localise.php";
202			$paths[3] = JPATH_ADMINISTRATOR . "/language/$lang/$lang.localise.php";
226			 */
227			if (method_exists($class, 'transliterate'))
228			{
231
232			if (method_exists($class, 'getPluralSuffixes'))
233			{
874				// We didn't find any errors but there's probably a parse notice.
875				$this->errorfiles['PHP' . $filename] = 'PHP parser errors :' . $php_errormsg;
876			}
Container.php git://github.com/guilhermeblanco/ZendFramework1-Doctrine2.git | PHP | 1,095 lines
1<?php
2
625
626        if (method_exists($adapter, 'initialize')) {
627            $adapter->initialize($config);
636
637            // Prevent stupid PHP error of missing extension (if other driver is being used)
638            $couchbaseClassName = 'Couchbase';
642        } else if ($adapter instanceof \Doctrine\Common\Cache\MemcacheCache) {
643            // Prevent stupid PHP error of missing extension (if other driver is being used)
644            $memcacheClassName = 'Memcache';
675        } else if ($adapter instanceof \Doctrine\Common\Cache\MemcachedCache) {
676            // Prevent stupid PHP error of missing extension (if other driver is being used)
677            $memcacheClassName = 'Memcached';
700        } else if ($adapter instanceof \Doctrine\Common\Cache\RedisCache) {
701            // Prevent stupid PHP error of missing extension (if other driver is being used)
702            $redisClassName = 'Redis';
CodeIgniter.php git://github.com/daylightstudio/FUEL-CMS.git | PHP | 559 lines
1<?php
2/**
4 *
5 * An open source application development framework for PHP
6 *
64 */
65	if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/constants.php'))
66	{
66	{
67		require_once(APPPATH.'config/'.ENVIRONMENT.'/constants.php');
68	}
69
70	if (file_exists(APPPATH.'config/constants.php'))
71	{
71	{
72		require_once(APPPATH.'config/constants.php');
73	}
CodeIgniter.php git://github.com/EllisLab/CodeIgniter.git | PHP | 508 lines
1<?php
2/**
4 *
5 * An open source application development framework for PHP
6 *
64 */
65	if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/constants.php'))
66	{
66	{
67		require_once(APPPATH.'config/'.ENVIRONMENT.'/constants.php');
68	}
69
70	if (file_exists(APPPATH.'config/constants.php'))
71	{
71	{
72		require_once(APPPATH.'config/constants.php');
73	}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21