PageRenderTime 3666ms queryFilters 0ms Sphinxql 2120ms GetByIds 1461ms meta 0ms repositoryFilters 32ms languageFilters 1ms sourceFilters 1ms

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

Source

Language

Repository

yiilite.php https://bitbucket.org/ddonthula/zurmounl | PHP | 10,023 lines
442		'CNumberFormatter' => '/i18n/CNumberFormatter.php',
443		'CPhpMessageSource' => '/i18n/CPhpMessageSource.php',
444		'CGettextFile' => '/i18n/gettext/CGettextFile.php',
520		'CDbAuthManager' => '/web/auth/CDbAuthManager.php',
521		'CPhpAuthManager' => '/web/auth/CPhpAuthManager.php',
522		'CUserIdentity' => '/web/auth/CUserIdentity.php',
3593			return Yii::app()->findLocalizedFile($viewFile.$extension);
3594		elseif($extension!=='.php' && is_file($viewFile.'.php'))
3595			return Yii::app()->findLocalizedFile($viewFile.'.php');
5755				return Yii::app()->findLocalizedFile($viewFile.$extension);
5756			elseif($extension!=='.php' && is_file($viewFile.'.php'))
5757				return Yii::app()->findLocalizedFile($viewFile.'.php');
5761			return Yii::app()->findLocalizedFile($viewFile.$extension);
5762		elseif($extension!=='.php' && is_file($viewFile.'.php'))
5763			return Yii::app()->findLocalizedFile($viewFile.'.php');
yiilite.php https://bitbucket.org/21h/torchok-anon | PHP | 9,013 lines
390		'CNumberFormatter' => '/i18n/CNumberFormatter.php',
391		'CPhpMessageSource' => '/i18n/CPhpMessageSource.php',
392		'CGettextFile' => '/i18n/gettext/CGettextFile.php',
465		'CDbAuthManager' => '/web/auth/CDbAuthManager.php',
466		'CPhpAuthManager' => '/web/auth/CPhpAuthManager.php',
467		'CUserIdentity' => '/web/auth/CUserIdentity.php',
3277			return Yii::app()->findLocalizedFile($viewFile.$extension);
3278		else if($extension!=='.php' && is_file($viewFile.'.php'))
3279			return Yii::app()->findLocalizedFile($viewFile.'.php');
5242					return Yii::app()->findLocalizedFile($viewFile.$extension);
5243				else if($extension!=='.php' && is_file($viewFile.'.php'))
5244					return Yii::app()->findLocalizedFile($viewFile.'.php');
5249			return Yii::app()->findLocalizedFile($viewFile.$extension);
5250		else if($extension!=='.php' && is_file($viewFile.'.php'))
5251			return Yii::app()->findLocalizedFile($viewFile.'.php');
Object.php https://github.com/stefan321/yii2.git | PHP | 220 lines
1<?php
2/**
58	 *
59	 * Do not call this method directly as it is a PHP magic method that
60	 * will be implicitly called when executing `$value = $object->property;`.
69		$getter = 'get' . $name;
70		if (method_exists($this, $getter)) {
71			return $this->$getter();
79	 *
80	 * Do not call this method directly as it is a PHP magic method that
81	 * will be implicitly called when executing `$object->property = $value;`.
90		$setter = 'set' . $name;
91		if (method_exists($this, $setter)) {
92			$this->$setter($value);
92			$this->$setter($value);
93		} elseif (method_exists($this, 'get' . $name)) {
94			throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::' . $name);
Object.php https://github.com/rlerdorf/yii2.git | PHP | 212 lines
1<?php
2/**
50	 *
51	 * Do not call this method directly as it is a PHP magic method that
52	 * will be implicitly called when executing `$value = $object->property;`.
61		$getter = 'get' . $name;
62		if (method_exists($this, $getter)) {
63			return $this->$getter();
71	 *
72	 * Do not call this method directly as it is a PHP magic method that
73	 * will be implicitly called when executing `$object->property = $value;`.
82		$setter = 'set' . $name;
83		if (method_exists($this, $setter)) {
84			$this->$setter($value);
84			$this->$setter($value);
85		} elseif (method_exists($this, 'get' . $name)) {
86			throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::' . $name);
SluggableBehaviorTest.php https://github.com/jakerella/Propel.git | PHP | 410 lines
1<?php
2
10
11require_once dirname(__FILE__) . '/../../../../tools/helpers/bookstore/BookstoreTestBase.php';
12
25        $this->assertEquals(count($table13->getColumns()), 3, 'Sluggable adds one columns by default');
26        $this->assertTrue(method_exists('Table13', 'getSlug'), 'Sluggable adds a slug column by default');
27        $table14 = Table14Peer::getTableMap();
28        $this->assertEquals(count($table14->getColumns()), 3, 'Sluggable does not add a column when it already exists');
29        $this->assertTrue(method_exists('Table14', 'getUrl'), 'Sluggable allows customization of slug_column name');
30        $this->assertTrue(method_exists('Table14', 'getSlug'), 'Sluggable adds a standard getter for the slug column');
34    {
35        $this->assertTrue(method_exists('Table13', 'getSlug'), 'Sluggable adds a getter for the slug column');
36        $t = new Table13();
38        $this->assertEquals('foo', $t->getSlug(), 'getSlug() returns the object slug');
39        $this->assertTrue(method_exists('Table14', 'getSlug'), 'Sluggable adds a getter for the slug column, even if the column does not have the default name');
40        $t = new Table14();
ModuleHandler.class.php https://github.com/prologos/xe-core.git | PHP | 1,235 lines
1<?php
2/* Copyright (C) NAVER <http://www.navercorp.com> */
522					$oModule = $this->getModuleInstance($forward->module, $type, $kind);
523					if(!is_object($oModule) || !method_exists($oModule, $this->act))
524					{
591			}
592			else if($xml_info->default_index_act && method_exists($oModule, $xml_info->default_index_act))
593			{
922									$menu->xml_file = str_replace('.xml.php', $homeMenuSrl . '.xml.php', $menu->xml_file);
923									$menu->php_file = str_replace('.php', $homeMenuSrl . '.php', $menu->php_file);
924									$layout_info->menu->{$menu_id}->menu_srl = $homeMenuSrl;
928									$menu->xml_file = str_replace($menu->menu_srl, $homeMenuSrl, $menu->xml_file);
929									$menu->php_file = str_replace($menu->menu_srl, $homeMenuSrl, $menu->php_file);
930								}
932
933							$php_file = FileHandler::exists($menu->php_file);
934							if($php_file)
m2.php https://bitbucket.org/thejeshgn/php-bootstrap-boilerplate | 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://bitbucket.org/thejeshgn/php-bootstrap-boilerplate | 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(
format.php https://bitbucket.org/ceu/moodle_demo | PHP | 719 lines
1<?PHP // $Id: format.php,v 1.12.4.18 2012/05/19 11:04:54 moodlerobot Exp $
2////////////////////////////////////////////////////////////////////////////
9
10// Based on default.php, included by ../import.php
11/**
14 */
15require_once($CFG->dirroot . '/mod/hotpot/lib.php');
16
46        }
47        require_once($CFG->libdir.'/filelib.php');
48        $baseurl = get_file_url($courseid).'/';
114        } else {
115            if (method_exists($this, 'error')) { // Moodle >= 1.8
116                $this->error(get_string('giftnovalidquestion', 'quiz'));
144
145            if (method_exists($this, 'defaultquestion')) {
146                $question = $this->defaultquestion();
grade_category_test.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 799 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
18 * @package    core_grades
19 * @category   phpunit
20 * @copyright  nicolas@moodle.com
25
26require_once(__DIR__.'/fixtures/lib.php');
27
117        $grade_category = new grade_category($this->grade_categories[1]);
118        $this->assertTrue(method_exists($grade_category, 'build_path'));
119        $path = grade_category::build_path($grade_category);
124        $grade_category = new grade_category();
125        $this->assertTrue(method_exists($grade_category, 'fetch'));
126
133        $grade_category = new grade_category();
134        $this->assertTrue(method_exists($grade_category, 'fetch_all'));
135
Parser.php https://github.com/chregu/fluxcms.git | PHP | 685 lines
1<?php
2//
3// +----------------------------------------------------------------------+
4// | PHP Version 4                                                        |
5// +----------------------------------------------------------------------+
5// +----------------------------------------------------------------------+
6// | Copyright (c) 1997-2004 The PHP Group                                |
7// +----------------------------------------------------------------------+
7// +----------------------------------------------------------------------+
8// | This source file is subject to version 3.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/3_0.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// +----------------------------------------------------------------------+
Application.php https://github.com/18thstreetmike/sodapop_for_codaserver.git | PHP | 404 lines
1<?php
2/**
31
32		$this->config = Sodapop_Application::parseIniFile($environment, $config, str_replace('/public/index.php', '', $_SERVER['SCRIPT_FILENAME']));
33
115		$bootstrap = new Bootstrap(&$this);
116		if (method_exists($bootstrap, '_initAutoload')) {
117			$bootstrap->_initAutoload();
118		}
119		if (method_exists($bootstrap, '_initRoutes')) {
120			$bootstrap->_initRoutes();
121		}
122		if (method_exists($bootstrap, '_initSitemap')) {
123			$bootstrap->_initSitemap();
124		}
125		if (method_exists($bootstrap, '_initModel')) {
126			$bootstrap->_initModel();
cp.utilities.php https://github.com/danboy/Croissierd.git | PHP | 5,636 lines
1<?php
2
178					
179					if ($OBJ->version > $EXT->version_numbers[$class_name] && method_exists($OBJ, 'update_extension') === TRUE)
180        			{
330		
331		if (method_exists($OBJ, 'settings_form') === TRUE)
332		{
415			
416			if (method_exists($OBJ, 'settings_form') === TRUE)
417			{
423        				
424        	if (method_exists($OBJ, 'settings') === TRUE)
425        	{
892				fputs ($fp,"Host: " . $target['host'] . "\r\n" ); 
893				fputs ($fp,"User-Agent: EE/EllisLab PHP/" . phpversion() . "\r\n\r\n");
894				
EntityGeneratorTest.php https://github.com/gnat42/doctrine2.git | PHP | 108 lines
1<?php
2
9
10require_once __DIR__ . '/../../TestInit.php';
11
48
49        $path = __DIR__ . '/EntityGeneratorBook.php';
50        $this->assertTrue(file_exists($path));
61    {
62        $this->assertTrue(method_exists('\EntityGeneratorBook', 'getId'));
63        $this->assertTrue(method_exists('\EntityGeneratorBook', 'setName'));
63        $this->assertTrue(method_exists('\EntityGeneratorBook', 'setName'));
64        $this->assertTrue(method_exists('\EntityGeneratorBook', 'getName'));
65        $this->assertTrue(method_exists('\EntityGeneratorBook', 'setAuthor'));
65        $this->assertTrue(method_exists('\EntityGeneratorBook', 'setAuthor'));
66        $this->assertTrue(method_exists('\EntityGeneratorBook', 'getAuthor'));
67        $this->assertTrue(method_exists('\EntityGeneratorBook', 'getComments'));
EntityGeneratorTest.php https://github.com/maxbeutel/doctrine2.git | PHP | 206 lines
1<?php
2
9
10require_once __DIR__ . '/../../TestInit.php';
11
79    {
80        $path = $this->_tmpDir . '/'. $this->_namespace . '/EntityGeneratorBook.php';
81        $this->assertFileExists($path);
93        $this->assertTrue(class_exists($metadata->name), "Class does not exist.");
94        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', '__construct'), "EntityGeneratorBook::__construct() missing.");
95        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getId'), "EntityGeneratorBook::getId() missing.");
95        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getId'), "EntityGeneratorBook::getId() missing.");
96        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'setName'), "EntityGeneratorBook::setName() missing.");
97        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getName'), "EntityGeneratorBook::getName() missing.");
97        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getName'), "EntityGeneratorBook::getName() missing.");
98        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'setAuthor'), "EntityGeneratorBook::setAuthor() missing.");
99        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getAuthor'), "EntityGeneratorBook::getAuthor() missing.");
format.php https://github.com/borrown/moodle.git | PHP | 612 lines
1<?PHP // $Id$
2////////////////////////////////////////////////////////////////////////////
9
10// Based on default.php, included by ../import.php
11/**
14 */
15require_once($CFG->dirroot . '/mod/hotpot/lib.php');
16
46        }
47        require_once($CFG->libdir.'/filelib.php');
48        $baseurl = get_file_url($courseid).'/';
109        } else {
110            if (method_exists($this, 'error')) { // Moodle >= 1.8
111                $this->error(get_string('giftnovalidquestion', 'quiz'));
139
140            if (method_exists($this, 'defaultquestion')) {
141                $question = $this->defaultquestion();
paraglide.php https://github.com/kballenegger/Paraglide.git | PHP | 789 lines
1<?php
2/*
36			if (file_exists(APP_PATH . 'lib/hooks.php')) {
37				require_once APP_PATH . 'lib/hooks.php';
38			}
39			
40			if (method_exists('Hooks', $hook)) {
41				call_user_func(array('Hooks', $hook));
47		if ($source == 'controller') {
48			if (method_exists(self::$_controller_instance, '_' . $hook)) {
49				call_user_func(array(self::$_controller_instance, '_' . $hook));
202		// SITE_FILENAME is the path and real filename of this application relative to the domain, with leading and trailing slashes
203		// example: for http://www.example.com/shop/index[.php]/categories/5?size=medium, SITE_FILENAME is /shop/index.php/
204		define('SITE_FILENAME', substr($_SERVER['SCRIPT_FILENAME'], strlen($_SERVER['DOCUMENT_ROOT'])));
216		// SITE_URL is path and accessed filename of this application relative to the domain, with leading and trailing slashes
217		// example: for http://www.example.com/shop/index[.php]/categories/5?size=medium, SITE_URL is /shop/index[.php]/
218		$uri = $_SERVER['REQUEST_URI'];
grade_category_test.php https://github.com/thepurpleblob/gumoodle.git | PHP | 707 lines
1<?php
2// This file is part of Moodle - http://moodle.org/
18 * @package    core_grades
19 * @category   phpunit
20 * @copyright  nicolas@moodle.com
25
26require_once(__DIR__.'/fixtures/lib.php');
27
113        $grade_category = new grade_category($this->grade_categories[1]);
114        $this->assertTrue(method_exists($grade_category, 'build_path'));
115        $path = grade_category::build_path($grade_category);
120        $grade_category = new grade_category();
121        $this->assertTrue(method_exists($grade_category, 'fetch'));
122
129        $grade_category = new grade_category();
130        $this->assertTrue(method_exists($grade_category, 'fetch_all'));
131
NestedSetBehaviorTest.php https://github.com/mattleff/propel.git | PHP | 48 lines
1<?php
2
3/*
4 *	$Id: NestedSetBehaviorTest.php 1834 2010-07-20 21:14:29Z 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($table9->getColumns()), 5, 'nested_set adds three column by default');
27		$this->assertTrue(method_exists('Table9', 'getTreeLeft'), 'nested_set adds a tree_left column by default');
28		$this->assertTrue(method_exists('Table9', 'getLeftValue'), 'nested_set maps the left_value getter with the tree_left column');
28		$this->assertTrue(method_exists('Table9', 'getLeftValue'), 'nested_set maps the left_value getter with the tree_left column');
29		$this->assertTrue(method_exists('Table9', 'getTreeRight'), 'nested_set adds a tree_right column by default');
30		$this->assertTrue(method_exists('Table9', 'getRightValue'), 'nested_set maps the right_value getter with the tree_right column');
30		$this->assertTrue(method_exists('Table9', 'getRightValue'), 'nested_set maps the right_value getter with the tree_right column');
31		$this->assertTrue(method_exists('Table9', 'getTreeLevel'), 'nested_set adds a tree_level column by default');
32		$this->assertTrue(method_exists('Table9', 'getLevel'), 'nested_set maps the level getter with the tree_level column');
orders.php https://github.com/happyxlq/lt_svn.git | PHP | 1,036 lines
632                                                <tr>
633                                                    <td class="main"><strong><?php echo ENTRY_STATUS; ?></strong> <?php echo zen_draw_pull_down_menu('status', $orders_statuses, $order->info['orders_status']); ?></td>
634                                                </tr>
636                                                    <td class="main"><strong><?php echo ENTRY_NOTIFY_CUSTOMER; ?></strong> <?php echo zen_draw_checkbox_field('notify', '', true); ?></td>
637                                                    <td class="main"><strong><?php echo ENTRY_NOTIFY_COMMENTS; ?></strong> <?php echo zen_draw_checkbox_field('notify_comments', '', true); ?></td>
638                                                </tr>
888
889                                                <td class="dataTableContent" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $orders->fields['order_no'] . '&action=edit', 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; ?><?php if (isset($oInfo) && is_object($oInfo) && ($orders->fields['orders_id'] == $oInfo->orders_id))
890                                    {
1028<div class="footer-area">
1029<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
1030</div>
1034</html>
1035<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
1036
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21