PageRenderTime 635ms queryFilters 1ms Sphinxql 222ms GetByIds 312ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 25ms

31,137 results for 'php method_exists' (635 ms)

Source

Language

Repository

Page.php git://git.savannah.nongnu.org/tbk.git | PHP | 1,116 lines
1<?php
2/**
23 */
24require_once 'Zend/Navigation/Container.php';
25
175        if (!is_array($options)) {
176            require_once 'Zend/Navigation/Exception.php';
177            throw new Zend_Navigation_Exception(
192
193                require_once 'Zend/Loader.php';
194                @Zend_Loader::loadClass($type);
197                if (!$page instanceof Zend_Navigation_Page) {
198                    require_once 'Zend/Navigation/Exception.php';
199                    throw new Zend_Navigation_Exception(sprintf(
212        if ($hasMvc) {
213            require_once 'Zend/Navigation/Page/Mvc.php';
214            return new Zend_Navigation_Page_Mvc($options);
umil.php https://code.google.com/p/phpbbex/ | PHP | 3,037 lines
565	{
566		global $auth, $cache, $user, $phpbb_root_path, $phpEx;
567
1353	{
1354		global $cache, $user, $phpbb_root_path, $phpEx;
1355
1578
1579			include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
1580		}
2079			global $phpbb_root_path, $phpEx;
2080			include($phpbb_root_path . 'includes/functions_install.' . $phpEx);
2081		}
2135			global $phpbb_root_path, $phpEx;
2136			include("{$phpbb_root_path}includes/functions_install.$phpEx");
2137		}
FirePHP.class.php https://code.google.com/p/haquery/ | PHP | 1,828 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     
testgradegrades.php https://moodleazure.svn.codeplex.com/svn | PHP | 192 lines
1<?php // $Id: testgradegrades.php,v 1.4.2.2 2008/03/27 17:13:01 nicolasconnault Exp $
2
37
38require_once($CFG->libdir.'/simpletest/fixtures/gradetest.php');
39
57        $grade_grade = new grade_grade();
58        $this->assertTrue(method_exists($grade_grade, 'insert'));
59
83        $grade_grade = new grade_grade($this->grade_grades[0]);
84        $this->assertTrue(method_exists($grade_grade, 'update'));
85    }
88        $grade_grade = new grade_grade();
89        $this->assertTrue(method_exists($grade_grade, 'fetch'));
90
97        $grade_grade = new grade_grade();
98        $this->assertTrue(method_exists($grade_grade, 'fetch_all'));
99
FirePHP.class.php git://github.com/madiedinro/FirePHPBundle.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 {
ContextSwitch.php git://github.com/jaequery/jien.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 23775 2011-03-01 17:25:24Z ralph $
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();
adodb-pdo.inc.php git://github.com/indowebit/Ext-PHP.git | PHP | 626 lines
1<?php
2/* 
24
25/* int as in long (the php native int type).
26 * If you mark a column as an int, PDO expects get_col to return
32
33/* get_col: when len is 0 ptr should point to a php_stream *,
34 * otherwise it should behave like a string. Indicate a NULL field
161			case 'sqlite':
162				include_once(ADODB_DIR.'/drivers/adodb-pdo_'.$this->dsnType.'.inc.php');
163				break;
180		$args = func_get_args();
181		if(method_exists($this->_driver, 'Concat')) 
182			return call_user_func_array(array($this->_driver, 'Concat'), $args); 
266	{
267		if(method_exists($this->_driver, 'SetTransactionMode')) 
268			return $this->_driver->SetTransactionMode($transaction_mode); 
ContextSwitch.php git://github.com/valentinbora/joobsbox-php.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 12811 2008-11-24 20:44:26Z matthew $
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 git://github.com/valentinbora/joobsbox-php.git | PHP | 1,118 lines
1<?php
2/**
23 */
24require_once 'Zend/Navigation/Container.php';
25
175        if (!is_array($options)) {
176            require_once 'Zend/Navigation/Exception.php';
177            throw new Zend_Navigation_Exception(
193                if (!class_exists($type)) {
194                    require_once 'Zend/Loader.php';
195                    @Zend_Loader::loadClass($type);
199                if (!$page instanceof Zend_Navigation_Page) {
200                    require_once 'Zend/Navigation/Exception.php';
201                    throw new Zend_Navigation_Exception(sprintf(
214        if ($hasMvc) {
215            require_once 'Zend/Navigation/Page/Mvc.php';
216            return new Zend_Navigation_Page_Mvc($options);
FirePHP.class.php git://github.com/klederson/phpburn.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 {
ContextSwitch.php git://github.com/fhoenig/Kellner.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 12811 2008-11-24 20:44:26Z matthew $
21 */
25 */
26require_once 'EvHttp/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();
ContextSwitch.php git://github.com/centurion-project/Centurion.git | PHP | 1,394 lines
1<?php
2/**
25 */
26//$1 'Zend/Controller/Action/Helper/Abstract.php';
27
196
197            if (method_exists($this, $method)) {
198                $this->$method($value);
290             */
291            //$1 '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();
308                 */
309                //$1 'Zend/Controller/Action/Exception.php';
310                throw new Zend_Controller_Action_Exception(sprintf('Invalid context callback registered for context "%s"', $context));
Element.php git://github.com/centurion-project/Centurion.git | PHP | 2,243 lines
1<?php
2/**
21/** @see Zend_Filter */
22//$1 'Zend/Filter.php';
23
24/** @see Zend_Form */
25//$1 'Zend/Form.php';
26
27/** @see Zend_Validate_Interface */
28//$1 'Zend/Validate/Interface.php';
29
30/** @see Zend_Validate_Abstract */
31//$1 'Zend/Validate/Abstract.php';
32
258        if (null === $this->getName()) {
259            //$1 'Zend/Form/Exception.php';
260            throw new Zend_Form_Exception('Zend_Form_Element requires each element to have a name');
Page.php git://github.com/centurion-project/Centurion.git | PHP | 1,119 lines
1<?php
2/**
24 */
25//$1 'Zend/Navigation/Container.php';
26
176        if (!is_array($options)) {
177            //$1 'Zend/Navigation/Exception.php';
178            throw new Zend_Navigation_Exception(
194                if (!class_exists($type)) {
195                    //$1 'Zend/Loader.php';
196                    @Zend_Loader::loadClass($type);
200                if (!$page instanceof Zend_Navigation_Page) {
201                    //$1 'Zend/Navigation/Exception.php';
202                    throw new Zend_Navigation_Exception(sprintf(
215        if ($hasMvc) {
216            //$1 'Zend/Navigation/Page/Mvc.php';
217            return new Zend_Navigation_Page_Mvc($options);
FirePHP.class.php git://github.com/nshahzad/phpVMS.git | PHP | 1,828 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 git://github.com/michael-romer/zf-boilerplate.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 23775 2011-03-01 17:25:24Z ralph $
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();
FirePHP.class.php git://github.com/firephp/firephp.git | PHP | 1,828 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     
EntityGeneratorTest.php git://github.com/eventhorizonpl/forked-php-orm-benchmark.git | PHP | 259 lines
1<?php
2
9
10require_once __DIR__ . '/../../TestInit.php';
11
82    {
83        $path = $this->_tmpDir . '/'. $this->_namespace . '/EntityGeneratorBook.php';
84        $this->assertFileExists($path);
96        $this->assertTrue(class_exists($metadata->name), "Class does not exist.");
97        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', '__construct'), "EntityGeneratorBook::__construct() missing.");
98        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getId'), "EntityGeneratorBook::getId() missing.");
98        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getId'), "EntityGeneratorBook::getId() missing.");
99        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'setName'), "EntityGeneratorBook::setName() missing.");
100        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getName'), "EntityGeneratorBook::getName() missing.");
100        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getName'), "EntityGeneratorBook::getName() missing.");
101        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'setAuthor'), "EntityGeneratorBook::setAuthor() missing.");
102        $this->assertTrue(method_exists($metadata->namespace . '\EntityGeneratorBook', 'getAuthor'), "EntityGeneratorBook::getAuthor() missing.");
EntityGeneratorTest.php git://github.com/eventhorizonpl/forked-php-orm-benchmark.git | PHP | 250 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.");
patForms.php git://github.com/eventhorizonpl/forked-php-orm-benchmark.git | PHP | 2,785 lines
1<?php
2/**
8 * @package    patForms
9 * @author     Sebastian Mordziol <argh@php-tools.net>
10 * @author     gERD Schaufelberger <gerd@php-tools.net>
10 * @author     gERD Schaufelberger <gerd@php-tools.net>
11 * @author     Stephan Schmidt <schst@php-tools.net>
12 * @copyright  2003-2004 PHP Application Tools
13 * @license    LGPL
14 * @link       http://www.php-tools.net
15 */
26 */
27include_once PATFORMS_INCLUDE_PATH . "/Element.php";
28
907	* patForms pre-PHP5 constructor - does nothing for the moment except being a wrapper
908	* for the PHP5 contructor for older PHP versions support.
909	*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21