PageRenderTime 1487ms queryFilters 0ms Sphinxql 519ms GetByIds 932ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 1ms

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

Source

Language

Repository

SluggableBehaviorTest.php https://github.com/mattleff/propel.git | PHP | 299 lines
1<?php
2
3/*
4 *	$Id: TimestampableBehaviorTest.php 1460 2010-01-17 22:36:48Z francois $
5 * This file is part of the Propel package.
11
12require_once dirname(__FILE__) . '/../../../../tools/helpers/bookstore/BookstoreTestBase.php';
13
26		$this->assertEquals(count($table13->getColumns()), 3, 'Sluggable adds one columns by default');
27		$this->assertTrue(method_exists('Table13', 'getSlug'), 'Sluggable adds a slug column by default');
28		$table14 = Table14Peer::getTableMap();
29		$this->assertEquals(count($table14->getColumns()), 3, 'Sluggable does not add a column when it already exists');
30		$this->assertTrue(method_exists('Table14', 'getUrl'), 'Sluggable allows customization of slug_column name');
31		$this->assertTrue(method_exists('Table14', 'getSlug'), 'Sluggable adds a standard getter for the slug column');
35	{
36		$this->assertTrue(method_exists('Table13', 'getSlug'), 'Sluggable adds a getter for the slug column');
37		$t = new Table13();
rocket.php https://bitbucket.org/ryanfaerman/rocket | PHP | 464 lines
17	 *
18	 * @param array $routes	will override routes.php 
19	 */
20	function __construct($routes = array()) {
21		if(file_exists('config/system.php')) {
22			include 'config/system.php';
26		if(!count($routes)) {
27			if(file_exists('config/system.php')) {
28				include 'config/routes.php';
97		
98		$file = $this->config->paths->system.$class.'.php'; 
99		if(file_exists($file)) {
103		} else {
104			$file = $this->config->paths->controllers.$class.'.php';
105			if(file_exists($file)) {
wp-multibyte-patch.php https://bitbucket.org/EnsekiTT/modest_plugins | PHP | 443 lines
1<?php
2/*
19
20	// Do not edit this section. Use wpmp-config.php instead.
21
358
359		if(method_exists($this, 'process_search_terms') && false !== $this->conf['patch_process_search_terms'])
360			add_action('sanitize_comment_cookies', array(&$this, 'process_search_terms'));
361
362		if(method_exists($this, 'wp_mail') && false !== $this->conf['patch_wp_mail'])
363			add_action('phpmailer_init', array(&$this, 'wp_mail'));
364
365		if(method_exists($this, 'admin_custom_css') && false !== $this->conf['patch_admin_custom_css'])
366			add_action('admin_head' , array(&$this, 'admin_custom_css'), 99);
367
368		if(method_exists($this, 'wplink_js') && false !== $this->conf['patch_wplink_js'])
369			add_action('wp_default_scripts' , array(&$this, 'wplink_js'), 9);
db.class.php https://bitbucket.org/Daniel0203/openrat | PHP | 489 lines
1<?php
2//
3// +----------------------------------------------------------------------+
4// | PHP version 4.0                                                      |
5// +----------------------------------------------------------------------+
5// +----------------------------------------------------------------------+
6// | Copyright (c) 1997-2001 The PHP Group                                |
7// +----------------------------------------------------------------------+
7// +----------------------------------------------------------------------+
8// | This source file is subject to version 2.02 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// +----------------------------------------------------------------------+
xajaxAIO.inc.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 1,243 lines
39$this->_insertIntoArray($this->aRegistrars,$objPlugin,$nPriority);if(method_exists($objPlugin,'canProcessRequest'))
40if(method_exists($objPlugin,'processRequest'))
41$this->_insertIntoArray($this->aProcessors,$objPlugin,$nPriority);}
332}
333function backtrace(){if(0 <=version_compare(PHP_VERSION,'4.3.0'))
334return '<div><div>Backtrace:</div><pre>'
493function _compressSelf($sFolder=null){if(null==$sFolder)
494$sFolder=dirname(dirname(__FILE__));require_once(dirname(__FILE__). '/xajaxCompress.inc.php');if($handle=opendir($sFolder)){while(!(false===($sName=readdir($handle)))){if('.'!=$sName&&'..'!=$sName&&is_dir($sFolder . '/' . $sName)){$this->_compressSelf($sFolder . '/' . $sName);}else if(8 < strlen($sName)&&0==strpos($sName,'.compressed')){if('.inc.php'==substr($sName,strlen($sName)-8,8)){$sName=substr($sName,0,strlen($sName)-8);$sPath=$sFolder . '/' . $sName . '.inc.php';if(file_exists($sPath)){$aParsed=array();$aFile=file($sPath);$nSkip=0;foreach(array_keys($aFile)as $sKey)
495if('//SkipDebug'==$aFile[$sKey])
511function _compile($sFolder=null,$bWriteFile=true){if(null==$sFolder)
512$sFolder=dirname(__FILE__);require_once(dirname(__FILE__). '/xajaxCompress.inc.php');$aOutput=array();if($handle=opendir($sFolder)){while(!(false===($sName=readdir($handle)))){if('.'!=$sName&&'..'!=$sName&&is_dir($sFolder . '/' . $sName)){$aOutput[]=$this->_compile($sFolder . '/' . $sName,false);}else if(8 < strlen($sName)){if('.inc.php'==substr($sName,strlen($sName)-8,8)){$sName=substr($sName,0,strlen($sName)-8);$sPath=$sFolder . '/' . $sName . '.inc.php';if(
513'xajaxAIO'!=$sName&&
1039return true;return false;}
1040function hasMethod($sMethod){return method_exists($this->obj,$sMethod)||method_exists($this->obj,"__call");}
1041function call($sMethod,$aArgs){$objResponseManager=&xajaxResponseManager::getInstance();$objResponseManager->append(
testgradeitem.php git://github.com/moodle/moodle.git | PHP | 569 lines
1<?php
2
37
38require_once($CFG->libdir.'/simpletest/fixtures/gradetest.php');
39
101        $grade_item = new grade_item();
102        $this->assertTrue(method_exists($grade_item, 'insert'));
103
124        $grade_item = new grade_item($this->grade_items[7]);//use a grade item not touched by previous (or future) tests
125        $this->assertTrue(method_exists($grade_item, 'delete'));
126
137        $grade_item = new grade_item($this->grade_items[0]);
138        $this->assertTrue(method_exists($grade_item, 'update'));
139
153        $grade_item = new grade_item($this->grade_items[2]);
154        $this->assertTrue(method_exists($grade_item, 'load_scale'));
155        $scale = $grade_item->load_scale();
testgradecategory.php git://github.com/moodle/moodle.git | PHP | 670 lines
1<?php
2
37
38require_once($CFG->libdir.'/simpletest/fixtures/gradetest.php');
39
136        $grade_category = new grade_category($this->grade_categories[1]);
137        $this->assertTrue(method_exists($grade_category, 'build_path'));
138        $path = grade_category::build_path($grade_category);
143        $grade_category = new grade_category();
144        $this->assertTrue(method_exists($grade_category, 'fetch'));
145
152        $grade_category = new grade_category();
153        $this->assertTrue(method_exists($grade_category, 'fetch_all'));
154
161        $grade_category = new grade_category($this->grade_categories[0]);
162        $this->assertTrue(method_exists($grade_category, 'update'));
163
ctl.appmgr.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 300 lines
1<?php
2require_once('objectPage.php');
12        foreach($apps as $k=>$app){
13            $file = BASE_DIR.'/plugins/app/'.$app['plugin_package'].'/setting.php';
14            if(file_exists($file)){
34    function install_update(){
35        $this->pagedata['update_url'] = 'index.php?ctl=system/appmgr&act=download_update_app&app_status='.$_GET['app_status'].'&url='.$_GET['url'];
36        $this->page('system/appmgr/update.html');
40        if(isset($_GET['url'])){
41            include(CORE_DIR.'/admin/controller/service/ctl.download.php');
42            $download = new ctl_download();
44                'download_list'=>array($_GET['url']),
45                'succ_url'=>'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])
46                .'/index.php?ctl=system/appmgr&act=do_update&app_status='.$_GET['app_status']
55        $task = HOME_DIR.'/tmp/'.$_GET['download'];
56        $temp_mess = file_get_contents($task.'/task.php');
57        $down_data = unserialize($temp_mess);
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);
App.class.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 163 lines
23
24		Package::import(DYHB_PATH.'/LibPHP');// ?? DoYouHaoBaby ??
25		//if(!is_file(DYHB_PATH.'/LibCom/Js/Dyhb.package.js')){Package::importJsPackage('Dyhb',false);}
35		$oUrl->parseUrl();
36		require(APP_PATH.'/App/DoYouHaoBaby.php');// ?????????
37		self::checkTemplate();// ????????
41		if($GLOBALS['_commonConfig_']['HTML_CACHE_ON']){// ??????
42			if(file_exists(APP_PATH.'/App/Config/Html.php')){
43				G::C('_HTML_',(array)(include APP_PATH.'/App/Config/Html.php'));
71		if(method_exists( $oModule,'init__')){call_user_func(array($oModule,'init__'));}
72		if(defined('DOYOUHAOBABY_TEMPLATE_BASE') && ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)!==TEMPLATE_NAME && is_dir(APP_PATH."/Theme/".ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)."/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/".ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)."/Public/Php/Lang");}
73		if(method_exists( $oModule,'b'.ucfirst(ACTION_NAME).'_')){call_user_func(array($oModule,'b'.ucfirst(ACTION_NAME).'_'));}
116
117		if(is_dir(APP_PATH."/Theme/{$sTemplateSet}/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/{$sTemplateSet}/Public/Php/Lang");}
118		if($sTemplateSet!='Default' && is_dir(APP_PATH."/Theme/Default/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/Default/Public/Php/Lang");}
element.inc.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 1,749 lines
1<?php
2
5*****
6*****      MiniXML - PHP class library for generating and parsing XML.
7*****
42
43require_once(MINIXML_CLASSDIR . "/treecomp.inc.php");
44require_once(MINIXML_CLASSDIR . "/node.inc.php");
578			{
579				if (method_exists($this->xchildren[$i], 'MiniXMLElement'))
580				{
588			{
589				if (method_exists($this->xchildren[$i], 'MiniXMLElement'))
590				{
789
790		if (! method_exists($child, 'MiniXMLElement'))
791		{
wp-multibyte-patch.php http://wpzf.googlecode.com/svn/trunk/ | PHP | 443 lines
1<?php
2/*
19
20	// Do not edit this section. Use wpmp-config.php instead.
21
358
359		if(method_exists($this, 'process_search_terms') && false !== $this->conf['patch_process_search_terms'])
360			add_action('sanitize_comment_cookies', array(&$this, 'process_search_terms'));
361
362		if(method_exists($this, 'wp_mail') && false !== $this->conf['patch_wp_mail'])
363			add_action('phpmailer_init', array(&$this, 'wp_mail'));
364
365		if(method_exists($this, 'admin_custom_css') && false !== $this->conf['patch_admin_custom_css'])
366			add_action('admin_head' , array(&$this, 'admin_custom_css'), 99);
367
368		if(method_exists($this, 'wplink_js') && false !== $this->conf['patch_wplink_js'])
369			add_action('wp_default_scripts' , array(&$this, 'wplink_js'), 9);
wp-multibyte-patch.php http://ichitaso.googlecode.com/svn/trunk/ | PHP | 430 lines
1<?php
2/*
348
349		if(method_exists($this, 'process_search_terms') && false !== $this->conf['patch_process_search_terms'])
350			add_action('sanitize_comment_cookies', array(&$this, 'process_search_terms'));
351
352		if(method_exists($this, 'wp_mail') && false !== $this->conf['patch_wp_mail'])
353			add_action('phpmailer_init', array(&$this, 'wp_mail'));
354
355		if(method_exists($this, 'admin_custom_css') && false !== $this->conf['patch_admin_custom_css'])
356			add_action('admin_head' , array(&$this, 'admin_custom_css'), 99);
357
358		if(method_exists($this, 'word_count_js') && false !== $this->conf['patch_word_count_js'])
359			add_action('wp_default_scripts' , array(&$this, 'word_count_js'), 9);
360
361		if(method_exists($this, 'word_count_js_localize') && false !== $this->conf['patch_word_count_js'])
362			add_action('wp_default_scripts' , array(&$this, 'word_count_js_localize'), 11);
AdminController.php git://github.com/valentinbora/joobsbox-php.git | PHP | 467 lines
1<?php
2/**
9 * @author   Valentin Bora <contact@valentinbora.com>
10 * @license  New BSD License http://www.joobsbox.com/joobsbox-php-license
11 * @version  1.0
11 * @version  1.0
12 * @link     http://docs.joobsbox.com/php
13 */
20 * @author   Valentin Bora <contact@valentinbora.com>
21 * @license  New BSD License http://www.joobsbox.com/joobsbox-php-license
22 * @link     http://docs.joobsbox.com/php
107        $this->view->plugins            = $this->menuPlugins;
108        $this->view->pluginsThemePath   = str_replace("index.php", "", $this->view->baseUrl);
109        $this->view->locale             = Zend_Registry::get("Zend_Locale");
148            if ($plugin->isDir() && $name[0] != '.' && $name[0] != '_') {
149                include_once $this->_corePluginPath . "/$name/$name.php";
150                // Analyze prerequisites
m2.php git://github.com/bcosca/fatfree.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 git://github.com/bcosca/fatfree.git | PHP | 734 lines
1<?php
2
3/**
4	Simple Flat-file ORM for the PHP Fat-Free Framework
5
104					$file=self::$vars['TEMP'].$_SERVER['SERVER_NAME'].'.'.
105						'php.'.self::hash($file);
106					self::putfile($file,$text);
120	/**
121		Store PHP expression in flat-file
122			@param $file string
137			$expr=array();
138		$out='<?php'."\n\n".'return '.self::stringify($expr).';'."\n";
139		switch ($this->format) {
227					array(
228						'_PHP_'=>
229							array(
NestedSetBehaviorObjectBuilderModifierTest.php git://github.com/eventhorizonpl/forked-php-orm-benchmark.git | PHP | 1,521 lines
1<?php
2
3/*
4 *	$Id: NestedSetBehaviorObjectBuilderModifierTest.php 2167 2011-01-20 14:12:28Z francois $
5 * This file is part of the Propel package.
11
12require_once 'tools/helpers/bookstore/behavior/BookstoreNestedSetTestBase.php';
13
725	{
726		$this->assertTrue(method_exists('Table9', 'insertAsFirstChildOf'), 'nested_set adds a insertAsFirstChildOf() method');
727		list($t1, $t2, $t3, $t4, $t5, $t6, $t7) = $this->initTree();
790	{
791		$this->assertTrue(method_exists('Table9', 'insertAsLastChildOf'), 'nested_set adds a insertAsLastChildOf() method');
792		list($t1, $t2, $t3, $t4, $t5, $t6, $t7) = $this->initTree();
855	{
856		$this->assertTrue(method_exists('Table9', 'insertAsPrevSiblingOf'), 'nested_set adds a insertAsPrevSiblingOf() method');
857		list($t1, $t2, $t3, $t4, $t5, $t6, $t7) = $this->initTree();
Object.php git://github.com/maintainable/framework.git | PHP | 301 lines
1<?php
2/**
5 * @copyright  (c) 2007-2009 Maintainable Software, LLC
6 * @license    http://opensource.org/licenses/bsd-license.php BSD
7 */
12 * @copyright  (c) 2007-2009 Maintainable Software, LLC
13 * @license    http://opensource.org/licenses/bsd-license.php BSD
14 */
49        // call overloading for subclass
50        if (method_exists($this, '_get')) {
51            return $this->_get($name);
71        // call overloading for subclass
72        if (method_exists($this, '_set')) {
73            return $this->_set($name, $value);
86        // call overloading for subclass
87        if (method_exists($this, '_isset')) {
88            return $this->_isset($name);
testgradeitem.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | PHP | 508 lines
1<?php // $Id$
2
37
38require_once($CFG->libdir.'/simpletest/fixtures/gradetest.php');
39
64        $grade_item = new grade_item();
65        $this->assertTrue(method_exists($grade_item, 'insert'));
66
83        $grade_item = new grade_item($this->grade_items[0]);
84        $this->assertTrue(method_exists($grade_item, 'delete'));
85
92        $grade_item = new grade_item($this->grade_items[0]);
93        $this->assertTrue(method_exists($grade_item, 'update'));
94
108        $grade_item = new grade_item($this->grade_items[2]);
109        $this->assertTrue(method_exists($grade_item, 'load_scale'));
110        $scale = $grade_item->load_scale();
testgradecategory.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | PHP | 471 lines
1<?php // $Id$
2
37
38require_once($CFG->libdir.'/simpletest/fixtures/gradetest.php');
39
79        $grade_category = new grade_category($this->grade_categories[1]);
80        $this->assertTrue(method_exists($grade_category, 'build_path'));
81        $path = grade_category::build_path($grade_category);
86        $grade_category = new grade_category();
87        $this->assertTrue(method_exists($grade_category, 'fetch'));
88
95        $grade_category = new grade_category();
96        $this->assertTrue(method_exists($grade_category, 'fetch_all'));
97
103        $grade_category = new grade_category($this->grade_categories[0]);
104        $this->assertTrue(method_exists($grade_category, 'update'));
105
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21