PageRenderTime 4590ms queryFilters 2ms Sphinxql 295ms GetByIds 2009ms meta 0ms repositoryFilters 6ms languageFilters 1ms sourceFilters 2226ms

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

Source

Language

Repository

Element.php https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 2,250 lines
1<?php
2/**
21/** @see Zend_Filter */
22require_once 'Zend/Filter.php';
23
24/** @see Zend_Form */
25require_once 'Zend/Form.php';
26
27/** @see Zend_Validate_Interface */
28require_once 'Zend/Validate/Interface.php';
29
30/** @see Zend_Validate_Abstract */
31require_once 'Zend/Validate/Abstract.php';
32
40 * @license    http://framework.zend.com/license/new-bsd     New BSD License
41 * @version    $Id: Element.php 23775 2011-03-01 17:25:24Z ralph $
42 */
Element.php https://bitbucket.org/FnTm/codeigniter-zend-sample-application.git | PHP | 2,247 lines
1<?php
2/**
21/** @see Zend_Filter */
22require_once 'Zend/Filter.php';
23
24/** @see Zend_Form */
25require_once 'Zend/Form.php';
26
27/** @see Zend_Validate_Interface */
28require_once 'Zend/Validate/Interface.php';
29
30/** @see Zend_Validate_Abstract */
31require_once 'Zend/Validate/Abstract.php';
32
40 * @license    http://framework.zend.com/license/new-bsd     New BSD License
41 * @version    $Id: Element.php 22465 2010-06-19 17:41:03Z alab $
42 */
ca_search_forms.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 1,351 lines
1<?php
2/** ---------------------------------------------------------------------
2/** ---------------------------------------------------------------------
3 * app/models/ca_search_forms.php : table access class for table ca_search_forms
4 * ----------------------------------------------------------------------
36
37require_once(__CA_LIB_DIR__.'/core/ModelSettings.php');
38require_once(__CA_LIB_DIR__."/ca/BundlableLabelableBaseModelWithAttributes.php");
38require_once(__CA_LIB_DIR__."/ca/BundlableLabelableBaseModelWithAttributes.php");
39require_once(__CA_MODELS_DIR__.'/ca_locales.php');
40require_once(__CA_MODELS_DIR__.'/ca_search_form_placements.php'); 
40require_once(__CA_MODELS_DIR__.'/ca_search_form_placements.php'); 
41require_once(__CA_MODELS_DIR__.'/ca_search_forms_x_user_groups.php'); 
42require_once(__CA_MODELS_DIR__.'/ca_metadata_elements.php');
731 	public function __call($ps_name, $pa_arguments) {
732 		if (method_exists($this->SETTINGS, $ps_name)) {
733 			return call_user_func_array(array($this->SETTINGS, $ps_name), $pa_arguments);
BaseDetailController.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 683 lines
1<?php
2/* ----------------------------------------------------------------------
2/* ----------------------------------------------------------------------
3 * app/lib/ca/BaseBrowseController.php : base controller for search interface
4 * ----------------------------------------------------------------------
27 */
28	require_once(__CA_LIB_DIR__."/ca/ImportExport/DataExporter.php");
29 	require_once(__CA_APP_DIR__.'/helpers/accessHelpers.php');
29 	require_once(__CA_APP_DIR__.'/helpers/accessHelpers.php');
30	require_once(__CA_LIB_DIR__."/core/Datamodel.php");
31 	require_once(__CA_LIB_DIR__.'/ca/ResultContext.php');
31 	require_once(__CA_LIB_DIR__.'/ca/ResultContext.php');
32 	require_once(__CA_LIB_DIR__.'/core/GeographicMap.php');
33	require_once(__CA_MODELS_DIR__."/ca_bundle_displays.php");
33	require_once(__CA_MODELS_DIR__."/ca_bundle_displays.php");
34	require_once(__CA_MODELS_DIR__."/ca_bundle_mappings.php");
35	require_once(__CA_MODELS_DIR__."/ca_relationship_types.php");
Firephp.php https://bitbucket.org/tschope/codeigniter_basic.git | PHP | 1,784 lines
282     * 
283     * @param FirePHP $instance The FirePHP object instance
284     * @return FirePHP
900                   && (substr($this->_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php'
901                       || substr($this->_standardizePath($trace[$i]['file']),-29,29)=='FirePHPCore/FirePHP.class.php')) {
902                    /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */
964                       && (substr($this->_standardizePath($trace[$i]['file']),-18,18)=='FirePHPCore/fb.php'
965                           || substr($this->_standardizePath($trace[$i]['file']),-29,29)=='FirePHPCore/FirePHP.class.php')) {
966                        /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */
989        $this->setHeader('X-Wf-Protocol-1','http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
990        $this->setHeader('X-Wf-1-Plugin-1','http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'.self::VERSION);
991     
994            $structure_index = 2;
995            $this->setHeader('X-Wf-1-Structure-2','http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1');
996        } else {
Firephp.php https://bitbucket.org/tokanizar/otagorad.git | PHP | 1,829 lines
277     * 
278     * @param FirePHP $instance The FirePHP object instance
279     * @return FirePHP
800                    $path = $this->_standardizePath($trace[$i]['file']);
801                    if (substr($path, -18, 18) == 'FirePHPCore/fb.php' || substr($path, -29, 29) == 'FirePHPCore/FirePHP.class.php') {
802                        continue;
943                   && (substr($this->_standardizePath($trace[$i]['file']), -18, 18) == 'FirePHPCore/fb.php'
944                       || substr($this->_standardizePath($trace[$i]['file']), -29, 29) == 'FirePHPCore/FirePHP.class.php')) {
945                    /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */
1006                       && (substr($this->_standardizePath($trace[$i]['file']), -18, 18) == 'FirePHPCore/fb.php'
1007                           || substr($this->_standardizePath($trace[$i]['file']), -29, 29) == 'FirePHPCore/FirePHP.class.php')) {
1008                        /* Skip - FB::trace(), FB::send(), $firephp->trace(), $firephp->fb() */
1031        $this->setHeader('X-Wf-Protocol-1', 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
1032        $this->setHeader('X-Wf-1-Plugin-1', 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/' . self::VERSION);
1033     
ContextSwitch.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 1,394 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: ContextSwitch.php 16202 2009-06-21 18:53:49Z thomas $
21 */
25 */
26require_once 'Zend/Controller/Action/Helper/Abstract.php';
27
196
197            if (method_exists($this, $method)) {
198                $this->$method($value);
290             */
291            require_once 'Zend/Layout.php';
292            $layout = Zend_Layout::getMvcInstance();
298        if (null !== ($callback = $this->getCallback($context, self::TRIGGER_INIT))) {
299            if (is_string($callback) && method_exists($this, $callback)) {
300                $this->$callback();
Page.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 1,119 lines
1<?php
2/**
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Page.php 16971 2009-07-22 18:05:45Z mikaelkael $
20 */
24 */
25require_once 'Zend/Navigation/Container.php';
26
176        if (!is_array($options)) {
177            require_once 'Zend/Navigation/Exception.php';
178            throw new Zend_Navigation_Exception(
194                if (!class_exists($type)) {
195                    require_once 'Zend/Loader.php';
196                    @Zend_Loader::loadClass($type);
200                if (!$page instanceof Zend_Navigation_Page) {
201                    require_once 'Zend/Navigation/Exception.php';
202                    throw new Zend_Navigation_Exception(sprintf(
cli.php https://bitbucket.org/etopian/php5-cli-framework.git | PHP | 352 lines
4 * License: GPL v3
5 * Allows easily writing OOP CLI scripts in PHP
6 * @author sami
30        $method_name = 'flag_'.$flag;
31        if(method_exists($this, $method_name)){
32          call_user_func(array($this, $method_name));
37        $method_name = 'argument_'.$arg;
38        if(method_exists($this, $method_name)){
39          call_user_func(array($this, $method_name));
47          $method_name = 'option_'.$arg[0];
48          if(method_exists($this, $method_name)){
49            call_user_func(array($this, $method_name), $arg[1]);
52          $method_name = 'option_'.$arg;
53          if(method_exists($this, $method_name)){
54            call_user_func(array($this, $method_name));
ft.matrix.php https://bitbucket.org/sims/heartbeets.git | PHP | 2,758 lines
1<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
2
226
227		if (! class_exists('FF2EE2')) require_once PATH_THIRD.'matrix/includes/ff2ee2/ff2ee2.php';
228
561
562					$col['has_validate_cell'] = method_exists($celltype, 'validate_cell');
563					$col['has_save_cell'] = method_exists($celltype, 'save_cell');
563					$col['has_save_cell'] = method_exists($celltype, 'save_cell');
564					$col['has_post_save_cell'] = method_exists($celltype, 'post_save_cell');
565
613		{
614			// method_exists() is supposed to accept the class name (string),
615			// but running into at least one server where that's not the case...
2711			$class = $this->_get_celltype_class($field['type'], TRUE);
2712			$method_exists = method_exists($class, $tag_func);
2713
ft.matrix.php https://bitbucket.org/sims/heartbeets.git | PHP | 2,767 lines
1<?php if (! defined('BASEPATH')) exit('No direct script access allowed');
2
226
227		if (! class_exists('FF2EE2')) require_once PATH_THIRD.'matrix/includes/ff2ee2/ff2ee2.php';
228
598		{
599			// method_exists() is supposed to accept the class name (string),
600			// but running into at least one server where that's not the case...
602
603			if (method_exists($ft, 'display_cell'))
604			{
720	{
721		if (method_exists($celltype, 'display_cell_settings'))
722		{
2720			$class = $this->_get_celltype_class($field['type'], TRUE);
2721			$method_exists = method_exists($class, $tag_func);
2722
mock_objects_test.php https://bitbucket.org/cryofrost/portal.git | PHP | 1,012 lines
1<?php
2// $Id: mock_objects_test.php 1801 2008-09-01 23:22:06Z tswicegood $
3require_once(dirname(__FILE__) . '/../autorun.php');
4require_once(dirname(__FILE__) . '/../expectation.php');
5require_once(dirname(__FILE__) . '/../mock_objects.php');
181    function testCanThrowException() {
182        if (version_compare(phpversion(), '5', '>=')) {
183            $schedule = new SimpleCallSchedule();
221        $mock = new MockDummy();
222        $this->assertTrue(method_exists($mock, "aMethod"));
223        $this->assertNull($mock->aMethod());
678    function skip() {
679        $this->skipIf(version_compare(phpversion(), '5.1', '<'), '__isset and __unset overloading not tested unless PHP 5.1+');
680    }
697    function skip() {
698        $this->skipIf(version_compare(phpversion(), '5', '<'), 'Overloading not tested unless PHP 5+');
699    }
Parser.php https://github.com/linkatic/Cultunet.git | PHP | 697 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.
44 * @author    Tomas V.V.Cox <cox@idecnet.com>
45 * @author    Stephan Schmidt <schst@php.net>
46 * @copyright 2002-2008 The PHP Group
47 * @license   http://opensource.org/licenses/bsd-license New BSD License
48 * @version   CVS: $Id: Parser.php,v 1.30 2008/09/16 16:06:22 ashnazg Exp $
49 * @link      http://pear.php.net/package/XML_Parser
54 */
55require_once 'PEAR.php';
56
m2.php https://github.com/vinai-drive-by-commits/Sample-capabilities.git | PHP | 543 lines
1<?php
2
3/**
4	MongoDB Mapper for the PHP Fat-Free Framework
5
148					$out=$out->limit($query['limit']);
149				// Convert cursor to PHP array
150				$out=iterator_to_array($out,FALSE);
226	function select() {
227		// PHP doesn't allow direct use as function argument
228		$args=func_get_args();
368			if ($m2=$this->findOne($cond,$seq,$ofs)) {
369				if (method_exists($this,'beforeLoad') &&
370					$this->beforeLoad()===FALSE)
376					array($cond,$seq,$ofs);
377				if (method_exists($this,'afterLoad'))
378					$this->afterLoad();
filedb.php https://github.com/vinai-drive-by-commits/Sample-capabilities.git | PHP | 730 lines
1<?php
2
3/**
4	Simple Flat-file ORM for the PHP Fat-Free Framework
5
108					$file=self::$vars['TEMP'].$_SERVER['SERVER_NAME'].'.'.
109						'php.'.self::hash($file);
110					self::putfile($file,$text);
124	/**
125		Store PHP expression in flat-file
126			@param $file string
141			$expr=array();
142		$out='<?php'."\n\n".'return '.self::stringify($expr).';'."\n";
143		switch ($this->format) {
231					array(
232						'_PHP_'=>
233							array(
Gear.php https://github.com/jenalgit/Panada.git | PHP | 272 lines
1<?php
2/**
6 * @link http://panadaframework.com/
7 * @license http://www.opensource.org/licenses/bsd-license.php
8 * @since version 1.0.0
62
63        if( ! file_exists( $file = $folder . str_ireplace('\\', '/', $file) . '.php' ) )
64            throw new Resources\RunException('Resource '.$file.' not available!');
109
110        if ( ! file_exists( $classFile = APP . 'Controllers/' . $this->firstUriPath . '.php' ) ) {
111            $this->subControllerHandler();
125
126        if ( ! method_exists($instance, $method) ) {
127
130
131            if( ! method_exists($instance, $method) )
132                throw new Resources\HttpException('Method '.$this->uriObj->getMethod().' does not exists in controller '.$this->firstUriPath);
Base.php https://github.com/kacperix/alice.git | PHP | 500 lines
1<?php
2
18/**
19 * Loads fixtures from an array or php file
20 *
20 *
21 * The php code if $data is a file has access to $loader->fake() to
22 * generate data and must return an array of the format below.
152                $getter = 'get'.ucfirst($property);
153                if (method_exists($reference, $getter) && is_callable(array($reference, $getter))) {
154                    return $reference->$getter();
231                }
232            } elseif (is_array($val) && method_exists($obj, $key)) {
233                foreach ($val as $num => $param) {
237                $variables[$key] = $val;
238            } elseif (method_exists($obj, 'set'.$key)) {
239                $val = $this->checkTypeHints($obj, 'set'.$key, $val);
dbFormHandler.php https://github.com/reshadf/Library.git | PHP | 1,734 lines
1<?php
2/**
8// include the "basic" formhandler
9include_once( dirname(__FILE__).'/class.FormHandler.php' );
10
11// make sure this file is not accessed directly
12if(strtolower(basename($_SERVER['PHP_SELF'])) == strtolower(basename(__FILE__)))
13{
142	{
143		require_once(FH_INCLUDE_DIR.'fields/class.CheckBox.php');
144		require_once(FH_INCLUDE_DIR.'fields/class.dbCheckBox.php');
193	{
194		require_once(FH_INCLUDE_DIR.'fields/class.TextField.php');
195		require_once(FH_INCLUDE_DIR.'fields/class.TextSelectField.php');
195		require_once(FH_INCLUDE_DIR.'fields/class.TextSelectField.php');
196		require_once(FH_INCLUDE_DIR.'fields/class.dbTextSelectField.php');
197
paypal.php https://github.com/DaveBenNoah/PrestaShop-modules.git | PHP | 1,488 lines
1<?php
2/*
9* It is also available through the world-wide-web at this URL:
10* http://opensource.org/licenses/afl-3.0.php
11* If you did not receive a copy of the license and are unable to
22*  @copyright  2007-2014 PrestaShop SA
23*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
24*  International Registered Trademark & Property of PrestaShop SA
29
30include_once(_PS_MODULE_DIR_.'/paypal/api/paypal_lib.php');
31include_once(_PS_MODULE_DIR_.'/paypal/paypal_logos.php');
31include_once(_PS_MODULE_DIR_.'/paypal/paypal_logos.php');
32include_once(_PS_MODULE_DIR_.'/paypal/paypal_orders.php');
33include_once(_PS_MODULE_DIR_.'/paypal/paypal_tools.php');
33include_once(_PS_MODULE_DIR_.'/paypal/paypal_tools.php');
34include_once(_PS_MODULE_DIR_.'/paypal/paypal_login/paypal_login.php');
35include_once(_PS_MODULE_DIR_.'/paypal/paypal_login/PayPalLoginUser.php');
Inspection.php https://github.com/jamiegrand/FUEL-CMS.git | PHP | 1,444 lines
23 * further used to generate for example, this page and many of the other pages found in this User Guide.
24 * It is essentially a wrapper around many of the convenient objects and methods of the <a href="http://php.net/manual/en/class.reflectionclass.php" target="_blank">PHP Refelction class</a>
25 * but provides extra functionality for parsing out comment information. Below is a list of related classes used by the Inspection class:
361/**
362 * Inspection class ... class. A wrapper around the <a href="http://php.net/manual/en/class.reflectionclass.php" target="_blank">PHP ReflectionClass</a>
363 *
599/**
600 * Inspection function class. A wrapper around the <a href="http://www.php.net/manual/en/class.reflectionfunction.php" target="_blank">PHP ReflectionFunction</a>
601 *
657/**
658 * Inspection class object. A wrapper around the <a href="http://www.php.net/manual/en/class.reflectionproperty.php" target="_blank">PHP ReflectionProperty</a>
659 *
693/**
694 * Inspection param class. A wrapper around the <a href="http://www.php.net/manual/en/class.reflectionparameter.php" target="_blank">PHP ReflectionParameter</a>
695 *
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21