PageRenderTime 6391ms queryFilters 0ms Sphinxql 5016ms GetByIds 1311ms meta 0ms repositoryFilters 4ms languageFilters 0ms sourceFilters 1ms

86,194 results for 'php method_exists repo:Amit_Ashckenazi/unmatched-archives' (6391 ms)

Source

Language

Repository

frontpage.php https://github.com/roelmann/krystle.git | PHP | 293 lines
1<?php  //require the theme lib.php file - but check first whether the theme location has been set in moodle config.php
2if (!empty($CFG->themedir) and file_exists("$CFG->themedir/krystle")) {
102<head>
103    <?php if ($usecf) { ?><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><?php } ?>
104    <title><?php echo $PAGE->title ?></title>
131
132<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
133<?php echo $OUTPUT->standard_top_of_body_html();
167        			<?php
168        	            include('profileblock.php') //ProfileBlock is included as a separate php file to make future editing easier
169        			?>
198                        <div class="region-content">
199                        	<?php    include('bxslider.php'); //BoxSlider is included as a separate php file to make future editing easier ?>
200                        
207                            <!--Main Content for page -->
208                            <?php echo method_exists($OUTPUT, "main_content")?$OUTPUT->main_content():core_renderer::MAIN_CONTENT_TOKEN ?>
209                            
function_block.php https://github.com/jinbo51/DiscuzX.git | PHP | 1,121 lines
1<?php
2
6 *
7 *      $Id: function_block.php 32895 2013-03-21 04:18:15Z zhangguosheng $
8 */
794		}
795		$url = empty($mod) || $flag == '1' ? '' : $script.'.php?mod='.$mod.($diymod?'&diy=yes':'');
796	}
875		$blockclass = $blockconvert = array();
876		if(file_exists($dir.'blockclass.php')) {
877			include_once($dir.'blockclass.php');
889			$scriptname = $scriptclass = '';
890			if(preg_match('/^(block_[\w]+)\.php$/i', $filename, $match)) {
891				$scriptclass = $match[1];
895					$obj = new $scriptclass();
896					if(method_exists($obj, 'name') && method_exists($obj, 'blockclass') && method_exists($obj, 'fields')
897							&& method_exists($obj, 'getsetting') && method_exists($obj, 'getdata')) {
component.php https://github.com/J2MTecnologia/joomla-3.x.git | PHP | 1,895 lines
1<?php
2/**
70	/**
71	 * A path to the PHP file that the scriptfile declaration in
72	 * the manifest refers to.
79	/**
80	 * For legacy installations this is a path to the PHP file that the scriptfile declaration in the
81	 * manifest refers to.
228			// Upgrade manually set or update function available or update tag detected
229			if ($this->parent->isUpgrade() || ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'update'))
230				|| $updateElement)
295
296		if ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'preflight'))
297		{
444
445		if ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'install'))
446		{
component.php https://github.com/kochen/joomla-rtl.git | PHP | 1,901 lines
1<?php
2/**
70	/**
71	 * A path to the PHP file that the scriptfile declaration in
72	 * the manifest refers to.
79	/**
80	 * For legacy installations this is a path to the PHP file that the scriptfile declaration in the
81	 * manifest refers to.
228			// Upgrade manually set or update function available or update tag detected
229			if ($this->parent->isUpgrade() || ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'update'))
230				|| $updateElement)
295
296		if ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'preflight'))
297		{
444
445		if ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'install'))
446		{
component.php https://github.com/dprotopopov/tritumana.git | PHP | 1,882 lines
1<?php
2/**
71	/**
72	 * A path to the PHP file that the scriptfile declaration in
73	 * the manifest refers to.
80	/**
81	 * For legacy installations this is a path to the PHP file that the scriptfile declaration in the
82	 * manifest refers to.
230			// Upgrade manually set or update function available or update tag detected
231			if ($this->parent->isUpgrade() || ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'update'))
232				|| $updateElement)
296
297		if ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'preflight'))
298		{
445
446		if ($this->parent->manifestClass && method_exists($this->parent->manifestClass, 'install'))
447		{
controller.php https://github.com/JesseDunlap/metacloud.git | PHP | 170 lines
1<?php
2/**
2/**
3 * Lynn PHP
4 *
4 *
5 * @category  		Lynn PHP
6 * @package			Lynn_Controller
71	public function dispatch($action) {		
72		if(method_exists($this, 'onReady')) {
73			$this->onReady();
75
76		if(method_exists($this, 'before_filter')) {
77			$this->before_filter();
81		
82		if(method_exists($this, $action)) {
83			$this->$action();
install.controller.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 653 lines
1<?php
2/**
236
237		$buff = '<?php if(!defined("__XE__")) exit();'."\n";
238		foreach($ftp_info as $key => $val)
247
248			require_once(_XE_PATH_.'libs/ftp.class.php');
249			$oFtp = new ftp();
331		// 0. check your version of php (5.2.2 is not supported)
332		if(phpversion()=='5.2.2') $checklist['php_version'] = false;
333		else $checklist['php_version'] = true;
358		Context::set('install_enable', $install_enable);
359		Context::set('phpversion', phpversion());
360
440						$oModule = &getClass($module);
441						if($oModule && method_exists($oModule, 'checkUpdate') && method_exists($oModule, 'moduleUpdate'))
442						{
eztemplate.php git://github.com/ezsystems/ezpublish.git | PHP | 2,720 lines
1<?php
2/**
13/*!
14  \class eZTemplate eztemplate.php
15  \ingroup eZTemplate
20  template files are parsed and processed with template variables set
21  by the PHP code.
22
36
37  - eZTemplatePHPOperator - Allows for easy redirection of operator names to PHP functions.
38  - eZTemplateLocaleOperator - Allows for locale conversions.
73  for instance an element in an array or data in an object. Since the syntax is the
74  same for arrays and objects the PHP code can use simple arrays when speed is required,
75  the template code will not care.
92
93$tpl->registerOperators( new eZTemplatePHPOperator( array( "upcase" => "strtoupper",
94                                                           "reverse" => "strrev" ) ) );
acp_search.php http://seo-phpbb.googlecode.com/svn/trunk/ | PHP | 627 lines
53		global $db, $user, $auth, $template, $cache;
54		global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
55
230		global $db, $user, $auth, $template, $cache;
231		global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
232
299						// pass a reference to myself so the $search object can make use of save_state() and attributes
300						if ($error = $this->search->delete_index($this, append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&mode=$mode&action=delete", false)))
301						{
603	{
604		global $phpbb_root_path, $phpEx, $user;
605
605
606		if (!preg_match('#^\w+$#', $type) || !file_exists("{$phpbb_root_path}includes/search/$type.$phpEx"))
607		{
GeneratedObjectTest.php git://github.com/propelorm/Propel.git | PHP | 1,733 lines
1<?php
2
10
11require_once dirname(__FILE__) . '/../../../../tools/helpers/bookstore/BookstoreTestBase.php';
12require_once dirname(__FILE__) . '/../../../../../generator/lib/util/PropelQuickBuilder.php';
34        parent::setUp();
35        require_once dirname(__FILE__) . '/../../../../tools/helpers/bookstore/behavior/TestAuthor.php';
36    }
80    {
81        $this->assertTrue(method_exists('Publisher', 'applyDefaultValues'), 'Tables with default values should have an applyDefaultValues() method');
82        $this->assertFalse(method_exists('Book', 'applyDefaultValues'), 'Tables with no default values should not have an applyDefaultValues() method');
912        );
913        $this->assertEquals($expectedKeys, array_keys($arr1), 'toArray() returns an associative array with BasePeer::TYPE_PHPNAME keys by default');
914        $this->assertEquals('Don Juan', $arr1['Title'], 'toArray() returns an associative array representation of the object');
953        $builder->setSchema($schema);
954        $builder->getConfig()->setBuildProperty('defaultKeyType', 'studlyPhpName');
955        $builder->buildClasses();
libfructose.php git://github.com/charliesome/Fructose.git | PHP | 2,402 lines
161		$path = $str->F_to_s(NULL)->__STRING;
162		foreach(array('%s','%s.php','%s.fruc.php','lib/%s','lib/%s.php','lib/%s.fruc.php') as $pathfmt)
163		{
189		
190		if(method_exists($this, _rmethod_to_php($sym->__SYMBOL)))
191			return new F_TrueClass;
1121		{
1122			if(method_exists($v, "toPHP"))
1123				$arr[] = $v->toPHP();
1386		{
1387			if(method_exists($v, "toPHP"))
1388				$arr[] = $v->toPHP();
1497			
1498			if(method_exists($v, "toPHP"))
1499				$arr[$k] = $v->toPHP();
kernel.posts.php http://litepublisher.googlecode.com/svn/trunk/ | PHP | 2,606 lines
1<?php
2/**
7**/
8//items.posts.class.php
9class titemsposts extends titems {
117
118//post.class.php
119class tpost extends titem implements  itemplate {
227      if ($name == 'id') return $this->data['id'];
228      if (method_exists($this, $get = 'get' . $name))   return $this->$get();
229      if (array_key_exists($name, $this->childdata)) return $this->childdata[$name];
258      if ($name == 'id') return $this->setid($value);
259      if (method_exists($this, $set = 'set'. $name)) return $this->$set($value);
260      if (array_key_exists($name, $this->childdata)) {
758    } else {
759      //inject php code
760      $l = tlocal::i()->ini['comment'];
beEngine.inc.php http://becontent.googlecode.com/svn/trunk/ | PHP | 1,162 lines
259			{
260				if (method_exists($v, version_compare(phpversion(), "5.0", "<")?'includejs':'includeJS'))
261				{
263				}
264				if (method_exists($v, version_compare(phpversion(), "5.0", "<")?'includestyle':'includeStyle'))
265				{
267				}
268				if (method_exists($v, version_compare(phpversion(), "5.0", "<")?'injectjs':'injectJS'))
269				{
271				}
272				if (method_exists($v, version_compare(phpversion(), "5.0", "<")?'injectstyle':'injectStyle'))
273				{
1061			{
1062				if (PHP_OS == "WINNT" or PHP_OS == "WIN32")
1063				{
component.php https://code.google.com/p/mj-its/ | text | 0 lines
1<?php
2/* SVN FILE: $Id$ */
4 *
5 * PHP versions 4 and 5
6 *
6 *
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
13 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
14 * @link          http://cakephp.org CakePHP(tm) Project
15 * @package       cake
16 * @subpackage    cake.cake.libs.controller
17 * @since         CakePHP(tm) v TBD
18 * @version       $Revision$
20 * @lastmodified  $Date$
21 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
22 */
component.php http://noserub.googlecode.com/svn/trunk/ | PHP | 268 lines
1<?php
2/* SVN FILE: $Id$ */
5 *
6 * PHP versions 4 and 5
7 *
7 *
8 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
9 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
15 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
16 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
17 * @package       cake
18 * @subpackage    cake.cake.libs.controller
19 * @since         CakePHP(tm) v TBD
20 * @version       $Revision: 1802 $
22 * @lastmodified  $Date: 2009-08-06 09:28:59 +0200 (Thu, 06 Aug 2009) $
23 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
24 */
Inspector.php git://github.com/UnionOfRAD/lithium.git | PHP | 655 lines
1<?php
2/**
24 * This inspector provides a simple interface to the PHP Reflection API that
25 * can be used to gather information about any PHP source file for purposes of
26 * test metrics or static analysis.
64	public static function isCallable($object, $method, $internal = false) {
65		$methodExists = method_exists($object, $method);
66		return $internal ? $methodExists : $methodExists && is_callable([$object, $method]);
142			}
143			if (method_exists($inspector, static::$_methodMap[$key])) {
144				$setAccess = (
400		if (strpos($data, PHP_EOL) !== false) {
401			$c = explode(PHP_EOL, PHP_EOL . $data);
402		} else {
430	 *         or `false` on error.
431	 * @link http://php.net/function.class-parents.php PHP Manual: `class_parents()`.
432	 */
Rewrite.php git://github.com/zendframework/zf2.git | PHP | 531 lines
1<?php
2/**
96
97            require_once 'Zend/Controller/Router/Route/Module.php';
98            $compat = new Route\Module(array(), $dispatcher, $request);
116    {
117        if (method_exists($route, 'setRequest')) {
118            $route->setRequest($this->getFrontController()->getRequest());
167            if ($config->{$section} === null) {
168                require_once 'Zend/Controller/Router/Exception.php';
169                throw new Exception("No route configuration in section '{$section}'");
179                if (!isset($info->chain)) {
180                    require_once 'Zend/Controller/Router/Exception.php';
181                    throw new Exception("No chain defined");
220
221        if (isset($info->abstract) && $info->abstract && method_exists($route, 'isAbstract')) {
222            $route->isAbstract(true);
frontend_controller.php http://bedita.googlecode.com/svn/trunk/ | PHP | 2,523 lines
1<?php
2/*-----8<--------------------------------------------------------------------
29 *
30 * $Id: frontend_controller.php 3921 2012-09-03 14:14:14Z bato $
31 */
32if(defined('BEDITA_CORE_PATH')) {
33	require_once (BEDITA_CORE_PATH . DS . 'bedita_exception.php');
34}
162	 * check if there's an active session and try to login if user not logged
163	 *  - if "authorizedGroups" array defined in frontend.ini.php, user has to be in one of those groups
164	 *  - if "staging" is defined only backend authorized groups are permitted
480
481			include_once (APP . 'app_error.php');
482			return new AppError('handleExceptionFrontAccess', $params, $ex->errorTrace());
483		} elseif ($ex instanceof BeditaRuntimeException) {
484			include_once (APP . 'app_error.php');
485			return new AppError('handleExceptionRuntime',
component.php git://github.com/klevo/wildflower.git | PHP | 254 lines
1<?php
2/* SVN FILE: $Id$ */
4 *
5 * PHP versions 4 and 5
6 *
6 *
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
13 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
14 * @link          http://cakephp.org CakePHP(tm) Project
15 * @package       cake
16 * @subpackage    cake.cake.libs.controller
17 * @since         CakePHP(tm) v TBD
18 * @version       $Revision$
20 * @lastmodified  $Date$
21 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
22 */
VorbisComment.php http://php-reader.googlecode.com/svn/trunk/ | PHP | 156 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: VorbisComment.php 251 2011-06-13 15:41:51Z svollbehr $
21 */
23/**#@+ @ignore */
24require_once 'Zend/Media/Flac/MetadataBlock.php';
25require_once 'Zend/Media/Vorbis/Header/Comment.php';
42 * @license    http://framework.zend.com/license/new-bsd     New BSD License
43 * @version    $Id: VorbisComment.php 251 2011-06-13 15:41:51Z svollbehr $
44 */
70    {
71        if (method_exists($this, $name)) {
72            return call_user_func(array($this, $name), $arguments);
76        } catch (Zend_Media_Vorbis_Exception $e) {
77            require_once 'Zend/Media/Flac/Exception.php';
78            throw new Zend_Media_Flac_Exception($e->getMessage());
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21