PageRenderTime 348ms queryTime 74ms sortTime 10ms getByIdsTime 53ms findMatchingLines 132ms

100+ results results for 'php call_user_func_array' (348 ms)

Not the results you expected?
Table.php https://gitlab.com/sulistiana/api-mrbn | PHP | 555 lines
                    
1<?php
                    
2/**
                    
173
                    
174				call_user_func_array(array($sql,'where'),$options['conditions']);
                    
175			}
                    
458	{
                    
459		require_once 'Relationship.php';
                    
460		$namespace = $this->class->getNamespaceName();
                    
542	/**
                    
543	 * @deprecated Model.php now checks for get|set_ methods via method_exists so there is no need for declaring static g|setters.
                    
544	 */
                    
551			trigger_error('static::$getters and static::$setters are deprecated. Please define your setters and getters by declaring methods in your model prefixed with get_ or set_. See
                    
552			http://www.phpactiverecord.org/projects/main/wiki/Utilities#attribute-setters and http://www.phpactiverecord.org/projects/main/wiki/Utilities#attribute-getters on how to make use of this option.', E_USER_DEPRECATED);
                    
553	}
                    
                
fpdf_tpl.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 445 lines
                    
1<?php
                    
2//
                    
136        	$args = func_get_args();
                    
137        	return call_user_func_array(array($this, 'TCPDF::endTemplate'), $args);
                    
138        }
                    
260        	$args = func_get_args();
                    
261        	return call_user_func_array(array($this, 'TCPDF::SetFont'), $args);
                    
262        }
                    
286        	$args = func_get_args();
                    
287			return call_user_func_array(array($this, 'TCPDF::Image'), $args);
                    
288        }
                    
307        	$args = func_get_args();
                    
308        	return call_user_func_array(array($this, 'TCPDF::AddPage'), $args);
                    
309        }
                    
322        	$args = func_get_args();
                    
323			return call_user_func_array(array($this, 'TCPDF::Link'), $args);
                    
324        }
                    
                
class.jetpack-sync-queue.php https://gitlab.com/vanafroo/landingpage | PHP | 459 lines
                    
1<?php
                    
2
                    
270			$sql   = "DELETE FROM $wpdb->options WHERE option_name IN (" . implode( ', ', array_fill( 0, count( $ids_to_remove ), '%s' ) ) . ')';
                    
271			$query = call_user_func_array( array( $wpdb, 'prepare' ), array_merge( array( $sql ), $ids_to_remove ) );
                    
272			$wpdb->query( $query );
                    
391		// at the same time
                    
392		// TODO: confirm we only need to support PHP 5.05+ (otherwise we'll need to emulate microtime as float, and avoid PHP_INT_MAX)
                    
393		// @see: http://php.net/manual/en/function.microtime.php
                    
396		// row iterator is used to avoid collisions where we're writing data waaay fast in a single process
                    
397		if ( $this->row_iterator === PHP_INT_MAX ) {
                    
398			$this->row_iterator = 0;
                    
                
core.php https://github.com/justus/kohana-formo.git | PHP | 724 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2
                    
154	{
                    
155		return call_user_func_array(array($this->driver(), $func), $args);
                    
156	}
                    
387
                    
388			call_user_func_array(array($this, 'order'), $args);
                    
389		}
                    
                
Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
                    
1<?php
                    
2/**
                    
339		$ocost = array();
                    
340		$costs = call_user_func_array( 'array_merge', $costs );
                    
341
                    
                
Diff.php https://bitbucket.org/LogIN/appstorez.git | PHP | 453 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * The original PHP version of this code was written by Geoffrey T. Dairiki
                    
7 * <dairiki@dairiki.org>, and is used/adapted with his permission.
                    
8 *
                    
9 * $Horde: framework/Text_Diff/Diff.php,v 1.11.2.12 2009/01/06 15:23:41 jan Exp $
                    
10 *
                    
14 * See the enclosed file COPYING for license information (LGPL). If you did
                    
15 * not receive this file, see http://opensource.org/licenses/lgpl-license.php.
                    
16 *
                    
51
                    
52        require_once 'Text/Diff/Engine/' . $engine . '.php';
                    
53        $class = 'Text_Diff_Engine_' . $engine;
                    
55
                    
56        $this->_edits = call_user_func_array(array($diff_engine, 'diff'), $params);
                    
57    }
                    
                
MY_Model.php https://github.com/JamieLomas/pyrocms.git | PHP | 662 lines
                    
1<?php
                    
2
                    
97		{
                    
98			$result = call_user_func_array($db_method, $arguments);
                    
99
                    
541		{
                    
542			$data = call_user_func_array(array($this, $method), array($data));
                    
543		}
                    
558		{
                    
559			call_user_func_array(array($this, $method), array($data, $id));
                    
560		}
                    
                
class.client.php https://gitlab.com/billyprice1/osTicket | PHP | 481 lines
                    
1<?php
                    
2/*********************************************************************
                    
2/*********************************************************************
                    
3    class.client.php
                    
4
                    
15**********************************************************************/
                    
16require_once INCLUDE_DIR.'class.user.php';
                    
17
                    
35            $rv = $args
                    
36                ? call_user_func_array(array($this->user, $name), $args)
                    
37                : call_user_func(array($this->user, $name));
                    
64
                    
65            return sprintf('%s/view.php?%s',
                    
66                    $cfg->getBaseUrl(),
                    
185        return  $args
                    
186            ? call_user_func_array(array($this->user, $name), $args)
                    
187            : call_user_func(array($this->user, $name));
                    
                
BaseFcactcomHc.php https://github.com/cidesa/roraima-comunal.git | PHP | 745 lines
                    
1<?php
                    
2
                    
374      if(isset($this->$metodo)) $this->$metodo = $a[0];
                    
375    }else call_user_func_array($m, $a);
                    
376
                    
489	
                    
490	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
491	{
                    
547	
                    
548	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
549	{
                    
570	
                    
571	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
572	{
                    
625	
                    
626	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
627	{
                    
                
XRDS.php https://github.com/devilzz/metabbs.git | PHP | 419 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
18 */
                    
19require_once 'Services/Yadis/XML.php';
                    
20
                    
371                foreach ($filters as $filter) {
                    
372                    if (call_user_func_array($filter, array($service))) {
                    
373                        $matches++;
                    
                
Template.php https://bitbucket.org/thisislawatts/stacey.git | PHP | 430 lines
                    
1<?php
                    
2
                    
413
                    
414        $ret = call_user_func_array(array($object, $method), $arguments);
                    
415
                    
                
services_ctools_export_ui.class.php https://bitbucket.org/luksak/services.git | PHP | 399 lines
                    
1<?php
                    
2
                    
155    if (!empty($definition['file'])) {
                    
156      call_user_func_array('module_load_include', $definition['file']);
                    
157    }
                    
163    );
                    
164    call_user_func_array($definition['form'], array(&$form[$endpoint->server], $endpoint, $settings));
                    
165
                    
185    if (!empty($definition['file'])) {
                    
186      call_user_func_array('module_load_include', $definition['file']);
                    
187    }
                    
187    }
                    
188    $values = call_user_func_array($definition['submit'], array($endpoint, &$values));
                    
189  }
                    
                
ext_function.cpp https://bitbucket.org/gnanakeethan/hiphop-php.git | C++ | 441 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com)         |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.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   +----------------------------------------------------------------------+
                    
                
class-wp-customize-setting.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 565 lines
                    
1<?php
                    
2/**
                    
388	public final function check_capabilities() {
                    
389		if ( $this->capability && ! call_user_func_array( 'current_user_can', (array) $this->capability ) )
                    
390			return false;
                    
391
                    
392		if ( $this->theme_supports && ! call_user_func_array( 'current_theme_supports', (array) $this->theme_supports ) )
                    
393			return false;
                    
                
AssetFactory.php https://github.com/macolu/assetic.git | PHP | 366 lines
                    
1<?php
                    
2
                    
191                // nested formula
                    
192                $asset->add(call_user_func_array(array($this, 'createAsset'), $input));
                    
193            } else {
                    
                
BaseFunctionI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 577 lines
                    
231
                    
232          return call_user_func(array($relatedTable->getClassName(), 'getBy'.ucfirst($relatedTable->getColumn($column->getRelatedColumnName())->getPhpName())), $this->rowOffsetGet("{$name}Id", $offset, $options));
                    
233        }
                    
317
                    
318    return call_user_func_array(array($this, '__unset'), $args);
                    
319  }
                    
356        {
                    
357          $this->row[$offset] = $this->values[$column->getPhpName()];
                    
358        }
                    
423        {
                    
424          if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName())
                    
425          {
                    
452          $columns = $table->getPrimaryKeyColumns();
                    
453          $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id;
                    
454        }
                    
                
Diff.php https://bitbucket.org/rezanachmad/php-selenium-training.git | PHP | 453 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * The original PHP version of this code was written by Geoffrey T. Dairiki
                    
7 * <dairiki@dairiki.org>, and is used/adapted with his permission.
                    
8 *
                    
9 * $Horde: framework/Text_Diff/Diff.php,v 1.11.2.11 2008/02/24 10:57:46 jan Exp $
                    
10 *
                    
14 * See the enclosed file COPYING for license information (LGPL). If you did
                    
15 * not receive this file, see http://opensource.org/licenses/lgpl-license.php.
                    
16 *
                    
51
                    
52        require_once 'Text/Diff/Engine/' . $engine . '.php';
                    
53        $class = 'Text_Diff_Engine_' . $engine;
                    
55
                    
56        $this->_edits = call_user_func_array(array($diff_engine, 'diff'), $params);
                    
57    }
                    
                
ClassLoader.php https://gitlab.com/fiesta-framework/Mail | PHP | 387 lines
                    
1<?php
                    
2
                    
17 *
                    
18 * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
                    
19 *
                    
59        if (!empty($this->prefixesPsr0)) {
                    
60            return call_user_func_array('array_merge', $this->prefixesPsr0);
                    
61        }
                    
292    {
                    
293        // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
                    
294        if ('\\' == $class[0]) {
                    
302
                    
303        $file = $this->findFileWithExtension($class, '.php');
                    
304
                    
                
AdminPage.php https://bitbucket.org/gfelizola/pacaembu-institucional.git | PHP | 439 lines
                    
1<?php
                    
2
                    
7	 * $page_title string (mandatory)
                    
8	 * $parent (string)  (default: options-general.php)
                    
9	 * $capability (string)  (default: 'manage_options')
                    
235			$button_args = array_slice( func_get_args(), 1 );
                    
236			$content .= call_user_func_array( array( $this, 'submit_button' ), $button_args );
                    
237		}
                    
286
                    
287		return call_user_func_array( array( 'scbForms', $method ), $args );
                    
288	}
                    
340			'screen_icon' => '',
                    
341			'parent' => 'options-general.php',
                    
342			'capability' => 'manage_options',
                    
385jQuery( document ).ready( function( $ ){
                    
386	var $spinner = $( new Image() ).attr( 'src', '<?php echo admin_url( "images/wpspin_light.gif" ); ?>' );
                    
387
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
71			if( method_exists($this, $method) ) {
                    
72				call_user_func_array( array( $this,$method ), array());
                    
73			} else {
                    
74				if( $judul == "" ){
                    
75					call_user_func_array( array( $this,"index" ), array());	
                    
76				}
                    
110				if( method_exists($this, $method) ) {
                    
111					call_user_func_array( array( $this,$method ), array());
                    
112				} else {
                    
113					if( $judul == "" ){
                    
114						call_user_func_array( array( $this,"index" ), array());	
                    
115					}
                    
                
Converter.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
206            if($useGetter) {
                    
207                $getData = call_user_func_array(array($pearObject, $rules['getter']), $rules['getterArgs']);
                    
208            } else {
                    
220                }
                    
221                $getData = call_user_func_array(array($this, $rules['converter']), $args);
                    
222            }
                    
225            if($useSetter) {
                    
226                $setData = call_user_func_array(array($mageObject, $rules['setter']), $noWrap ? $getData : array($getData));
                    
227            }
                    
                
Dispatcher.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 499 lines
                    
1<?php
                    
2
                    
207        // If an array is not given to us as the payload, we will turn it into one so
                    
208        // we can easily use call_user_func_array on the listeners, passing in the
                    
209        // payload to each of them so that they receive each of these arguments.
                    
220        foreach ($this->getListeners($event) as $listener) {
                    
221            $response = call_user_func_array($listener, $payload);
                    
222
                    
317
                    
318            $this->sorted[$eventName] = call_user_func_array(
                    
319                'array_merge', $this->listeners[$eventName]
                    
345        return function () use ($listener, $container) {
                    
346            return call_user_func_array(
                    
347                $this->createClassCallable($listener, $container), func_get_args()
                    
                
consumer.php https://github.com/BraveSirRobin/amqphp.git | PHP | 406 lines
                    
31
                    
32require __DIR__ . '/class-loader.php';
                    
33
                    
158
                    
159    /** @override \amqphp\Consumer */
                    
160    function handleDelivery (wire\Method $m, amqp\Channel $chan) {
                    
193
                    
194    /** @override \amqphp\Consumer */
                    
195    function handleRecoveryOk (wire\Method $m, amqp\Channel $chan) { }
                    
240
                    
241$USAGE = sprintf('Usage: php consumer.php [switches]
                    
242
                    
292
                    
293php consumer.php --strat "cond" \
                    
294                 --strat "trel 5 0" \
                    
                
logarithmic.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 357 lines
                    
1<?php
                    
2/**
                    
320        {
                    
321            return call_user_func_array(
                    
322                $this->properties['labelCallback'],
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
1<?php
                    
2
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
71        if (!empty($this->prefixesPsr0)) {
                    
72            return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
                    
73        }
                    
376
                    
377        $file = $this->findFileWithExtension($class, '.php');
                    
378
                    
                
Yadis.php https://gitlab.com/x33n/ampache | PHP | 382 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * The core PHP Yadis implementation.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
19 */
                    
20require_once "Auth/Yadis/PlainHTTPFetcher.php";
                    
21require_once "Auth/Yadis/ParanoidHTTPFetcher.php";
                    
25 */
                    
26require_once "Auth/Yadis/ParseHTML.php";
                    
27
                    
30 */
                    
31require_once "Auth/Yadis/XRDS.php";
                    
32
                    
                
FlattenException.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 297 lines
                    
1<?php
                    
2
                    
16/**
                    
17 * FlattenException wraps a PHP Exception to be able to serialize it.
                    
18 *
                    
34
                    
35        return call_user_func_array(array('Symfony\Component\Debug\Exception\FlattenException', $method), $args);
                    
36    }
                    
47
                    
48        return call_user_func_array(array($this->handler, $method), $args);
                    
49    }
                    
57/**
                    
58 * FlattenException wraps a PHP Exception to be able to serialize it.
                    
59 *
                    
279                $result[$key] = array('resource', get_resource_type($value));
                    
280            } elseif ($value instanceof \__PHP_Incomplete_Class) {
                    
281                // Special case of object, is_object will return false
                    
                
Relation.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 349 lines
                    
1<?php
                    
2
                    
330    {
                    
331        $result = call_user_func_array([$this->query, $method], $parameters);
                    
332
                    
                
EsmtpTransport.php https://github.com/bheneka/gitta.git | PHP | 339 lines
                    
1<?php
                    
2
                    
10
                    
11//@require 'Swift/Transport/AbstractSmtpTransport.php';
                    
12//@require 'Swift/Transport/EsmtpHandler.php';
                    
12//@require 'Swift/Transport/EsmtpHandler.php';
                    
13//@require 'Swift/Transport/IoBuffer.php';
                    
14//@require 'Swift/Transport/SmtpAgent.php';
                    
14//@require 'Swift/Transport/SmtpAgent.php';
                    
15//@require 'Swift/TransportException.php';
                    
16//@require 'Swift/Mime/Message.php';
                    
16//@require 'Swift/Mime/Message.php';
                    
17//@require 'Swift/Events/EventDispatcher.php';
                    
18
                    
210      {
                    
211        $return = call_user_func_array(array($handler, $method), $args);
                    
212        //Allow fluid method calls
                    
                
LALR.php https://github.com/sergiosgc/Text_Parser.git | PHP | 219 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
                    
158            $sprintfArgs = array_values($sprintfArgs);
                    
159            call_user_func_array('printf', $sprintfArgs);
                    
160        }
                    
195                    // Call the reduction function, retrieving the non-terminal that results from the reduction
                    
196                    $token = call_user_func_array(array($this, $action['function']), $symbols);
                    
197                    if (!is_object($token) || !method_exists($token, 'getId') || !method_exists($token, 'getValue')) {
                    
                
AbstractClient.php https://github.com/Exercise/zf2.git | PHP | 326 lines
                    
1<?php
                    
2/**
                    
317        if (method_exists($class, $methodName)) {
                    
318            call_user_func_array(array($class, $methodName), $callParameters);
                    
319        } elseif (method_exists($class, $methodName . 'Action')) {
                    
319        } elseif (method_exists($class, $methodName . 'Action')) {
                    
320            call_user_func_array(array($class, $methodName . 'Action'), $callParameters);
                    
321        } else {
                    
                
ezmodulefunctioninfo.php https://github.com/eeggenberger/ezpublish.git | PHP | 321 lines
                    
1<?php
                    
2/**
                    
11/*!
                    
12  \class eZModuleFunctionInfo ezmodulefunctioninfo.php
                    
13  \brief The class eZModuleFunctionInfo does
                    
46            {
                    
47                $definitionFile = $path . '/' . $this->ModuleName . '/function_definition.php';
                    
48                if ( file_exists( $definitionFile ) )
                    
296
                    
297        return call_user_func_array( array( $classObject, $methodName ), $parameterArray );
                    
298    }
                    
300    /*!
                    
301     \deprecated use call_user_func_array() instead
                    
302    */
                    
310
                    
311        return call_user_func_array( array( $classObject, $methodName ), $parameterArray );
                    
312    }
                    
                
Mail.php https://github.com/quarkness/piwik.git | PHP | 430 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mail.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
23/** Zend_Log_Writer_Abstract */
                    
24// require_once 'Zend/Log/Writer/Abstract.php';
                    
25
                    
26/** Zend_Log_Exception */
                    
27// require_once 'Zend/Log/Exception.php';
                    
28
                    
29/** Zend_Log_Formatter_Simple*/
                    
30// require_once 'Zend/Log/Formatter/Simple.php';
                    
31
                    
43 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
44 * @version    $Id: Mail.php 23775 2011-03-01 17:25:24Z ralph $
                    
45 */
                    
                
xpdovalidator.class.php https://github.com/francisreboucas/revolution.git | PHP | 323 lines
                    
1<?php
                    
2/*
                    
74                                if (is_callable($callable)) {
                    
75                                     $result= call_user_func_array($callable, array($this->object->_fields[$column],$rule['parameters']));
                    
76                                    if (!$result) $this->addMessage($column, $ruleName, isset($rule['parameters']['message']) ? $rule['parameters']['message'] : $ruleName . ' failed');
                    
92                                            $callableParams= array($this->object->_fields[$column], $rule['parameters']);
                    
93                                            $result= call_user_func_array($callable, $callableParams);
                    
94                                        } else {
                    
                
class-wp-customize-section.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 453 lines
                    
304		?>
                    
305		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
306			<h3 class="accordion-section-title" tabindex="0">
                    
306			<h3 class="accordion-section-title" tabindex="0">
                    
307				<?php echo esc_html( $this->title ); ?>
                    
308				<span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span>
                    
350		?>
                    
351		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
352			<h3 class="accordion-section-title">
                    
362
                    
363				<button type="button" class="button change-theme"><?php _ex( 'Change', 'theme' ); ?></button>
                    
364			</h3>
                    
364			</h3>
                    
365			<div class="customize-themes-panel control-panel-content themes-php">
                    
366				<h2>
                    
                
PhpRenderer.php https://github.com/mrbanzai/zf2.git | PHP | 455 lines
                    
1<?php
                    
2/**
                    
38 */
                    
39class PhpRenderer implements Renderer, Pluggable
                    
40{
                    
96     *
                    
97     * @return \Zend\View\PhpRenderer
                    
98     */
                    
120     * @param  mixed $options 
                    
121     * @return PhpRenderer
                    
122     * @throws Exception\InvalidArgumentException
                    
166     * @param  array|ArrayAccess $variables 
                    
167     * @return PhpRenderer
                    
168     * @throws Exception\InvalidArgumentException
                    
377        if (is_callable($helper)) {
                    
378            return call_user_func_array($helper, $argv);
                    
379        }
                    
                
TraceableEventDispatcher.php https://github.com/jdewit/symfony.git | PHP | 414 lines
                    
1<?php
                    
2
                    
192    {
                    
193        return call_user_func_array(array($this->dispatcher, $method), $arguments);
                    
194    }
                    
199     * This method is public because it is used in a closure.
                    
200     * Whenever Symfony will require PHP 5.4, this could be changed
                    
201     * to a proper private method.
                    
233     * This method is public because it is used in a closure.
                    
234     * Whenever Symfony will require PHP 5.4, this could be changed
                    
235     * to a proper private method.
                    
                
SchemaBuilder.php https://gitlab.com/brucealdridge/yii2 | PHP | 465 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * ```php
                    
19 * $this->createTable('table', [
                    
299     *
                    
300     * Do not call this method directly as it is a PHP magic method that
                    
301     * will be implicitly called when an unknown method is being invoked.
                    
310        if ($name === 'default') {
                    
311            return call_user_func_array([$this, '_default'], $arguments);
                    
312        }
                    
                
l10n.php https://github.com/mikitracey/ifusa.git | PHP | 455 lines
                    
1<?php
                    
2/**
                    
209	$args = func_get_args();
                    
210	return call_user_func_array('_n', $args);
                    
211}
                    
261	$args = func_get_args();
                    
262	return call_user_func_array('_n_noop', $args);
                    
263
                    
                
Option.php https://github.com/nattaphat/hgis.git | PHP | 252 lines
                    
1<?php
                    
2
                    
18
                    
19namespace PhpOption;
                    
20
                    
66        return new LazyOption(function() use ($callback, $arguments, $noneValue) {
                    
67            $return = call_user_func_array($callback, $arguments);
                    
68
                    
135     *
                    
136     * ```php
                    
137     *     $repo->findSomething()
                    
154     *
                    
155     * ```php
                    
156     *     $comment->getMaybeFile()->ifDefined(function($file) {
                    
175     *
                    
176     * ```php
                    
177     *     (new Some("foo"))->map('strtoupper')->get(); // "FOO"
                    
                
AuthManager.php https://gitlab.com/susmitha.plts/photographer_portfolio | PHP | 294 lines
                    
1<?php
                    
2
                    
291    {
                    
292        return call_user_func_array([$this->guard(), $method], $parameters);
                    
293    }
                    
                
Varien.php https://github.com/su2921iw/ma.git | PHP | 425 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
99
                    
100        call_user_func_array('session_set_cookie_params', $cookieParams);
                    
101
                    
                
loader.php https://bitbucket.org/hudsonite/concrete5.git | PHP | 466 lines
                    
1<?php defined('C5_EXECUTE') or die("Access Denied.");
                    
2
                    
29			$env = Environment::get();
                    
30			require_once($env->getPath(DIRNAME_LIBRARIES . '/' . $lib . '.php', $pkgHandle));
                    
31		}
                    
37			$env = Environment::get();
                    
38			require_once($env->getPath(DIRNAME_JOBS . '/' . $job . '.php', $pkgHandle));
                    
39		}
                    
47			if (!$r) {
                    
48				require_once($env->getPath(DIRNAME_MODELS . '/' . $mod . '.php', $pkgHandle));
                    
49			}
                    
87			$env = Environment::get();
                    
88			include($env->getPath(DIRNAME_ELEMENTS . '/' . $file . '.php', $pkgHandle));
                    
89		}
                    
98			$env = Environment::get();
                    
99			require_once($env->getPath(DIRNAME_TOOLS . '/' . $file . '.php', $pkgHandle));
                    
100		}
                    
                
numeric_comparison_filter_test.php https://github.com/mackensen/moodle.git | PHP | 280 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
111        $this->expectExceptionMessage($exceptionmessage);
                    
112        call_user_func_array([$filter, 'add_filter_value'], $values);
                    
113    }
                    
                
FilesystemManager.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 304 lines
                    
1<?php
                    
2
                    
301    {
                    
302        return call_user_func_array([$this->disk(), $method], $parameters);
                    
303    }
                    
                
Environment.php https://bitbucket.org/mikebosire/framework.git | PHP | 577 lines
                    
1<?php namespace Illuminate\View;
                    
2
                    
49	 */
                    
50	protected $extensions = array('blade.php' => 'blade', 'php' => 'php');
                    
51
                    
295
                    
296			return call_user_func_array($callable, func_get_args());
                    
297		};
                    
                
Abstract.php https://github.com/grandison/budo16.git | PHP | 242 lines
                    
1<?php
                    
2/**
                    
21/** Zend_Server_Interface */
                    
22// require_once 'Zend/Server/Interface.php';
                    
23
                    
26 */
                    
27// require_once 'Zend/Server/Definition.php';
                    
28
                    
31 */
                    
32// require_once 'Zend/Server/Method/Definition.php';
                    
33
                    
36 */
                    
37// require_once 'Zend/Server/Method/Callback.php';
                    
38
                    
41 */
                    
42// require_once 'Zend/Server/Method/Prototype.php';
                    
43
                    
                
Result.php https://bitbucket.org/juan_sanchez/aiyellow.git | PHP | 342 lines
                    
1<?php
                    
2/**
                    
183     * get data out.  These values have to be references:
                    
184     * @see http://php.net/manual/en/mysqli-stmt.bind-result.php
                    
185     *
                    
203            }
                    
204            call_user_func_array(array($this->resource, 'bind_result'), $this->statementBindValues['values']);
                    
205        }
                    
                
Model.php https://github.com/buldezir/dja_on_php.git | PHP | 509 lines
                    
1<?php
                    
2
                    
174            $h = static::_getHelper($method);
                    
175            return call_user_func_array(array($h, 'call'), $args);
                    
176        }
                    
182        $h = static::_getHelper($method);
                    
183        return call_user_func_array(array($h, 'callStatic'), $args);
                    
184    }
                    
186    /**
                    
187     * return php-representaion of field value
                    
188     *
                    
241            if ($force) {
                    
242                $value = $fieldObj->toPhp($value);
                    
243            }
                    
248                if ($force) {
                    
249                    $value = $fieldObj->toPhp($value);
                    
250                }
                    
                
Navigation.php https://github.com/coudenysj/zf2.git | PHP | 340 lines
                    
1<?php
                    
2/**
                    
117            }
                    
118            return call_user_func_array($helper, $arguments);
                    
119        }
                    
                
EsiTest.php https://gitlab.com/fabian.morales/marlon_becerra | PHP | 220 lines
                    
1<?php
                    
2
                    
17
                    
18class EsiTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
102
                    
103        $this->assertEquals('foo <?php echo $this->esi->handle($this, \'...\', \'alt\', true) ?>'."\n", $response->getContent());
                    
104        $this->assertEquals('ESI', $response->headers->get('x-body-eval'));
                    
108
                    
109        $this->assertEquals('foo <?php echo $this->esi->handle($this, \'...\', \'\', false) ?>'."\n", $response->getContent());
                    
110
                    
113
                    
114        $this->assertEquals('foo <?php echo $this->esi->handle($this, \'...\', \'\', false) ?>'."\n", $response->getContent());
                    
115    }
                    
124
                    
125        $this->assertEquals('foo <?php echo "<?"; ?>php die("foo"); ?><?php echo "<%"; ?>= "lala" %>', $response->getContent());
                    
126    }
                    
                
Mail.php https://github.com/kervin/kyzstudio.git | PHP | 427 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mail.php 22971 2010-09-18 20:32:24Z mikaelkael $
                    
21 */
                    
23/** Zend_Log_Writer_Abstract */
                    
24#require_once 'Zend/Log/Writer/Abstract.php';
                    
25
                    
26/** Zend_Log_Exception */
                    
27#require_once 'Zend/Log/Exception.php';
                    
28
                    
29/** Zend_Log_Formatter_Simple*/
                    
30#require_once 'Zend/Log/Formatter/Simple.php';
                    
31
                    
43 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
44 * @version    $Id: Mail.php 22971 2010-09-18 20:32:24Z mikaelkael $
                    
45 */
                    
                
builtin-functions.h https://github.com/tstarling/hiphop-php.git | C Header | 376 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_BUILTIN_FUNCTIONS_H_
                    
18#define incl_HPHP_BUILTIN_FUNCTIONS_H_
                    
                
tweet.php https://github.com/SMLabs/codeigniter-twitter.git | PHP | 641 lines
                    
1<?php
                    
2	
                    
15			{
                    
16				return call_user_func_array(array($this, $method), $args);
                    
17			}
                    
18			
                    
19			return call_user_func_array(array($this->_oauth, $method), $args);
                    
20		}
                    
                
Dispatcher.php https://gitlab.com/szlongshu/manaphp | PHP | 446 lines
                    
1<?php
                    
2
                    
2
                    
3namespace ManaPHP\Mvc {
                    
4
                    
4
                    
5    use ManaPHP\Component;
                    
6    use ManaPHP\Mvc\Dispatcher\Exception;
                    
6    use ManaPHP\Mvc\Dispatcher\Exception;
                    
7    use ManaPHP\Mvc\Dispatcher\NotFoundActionException;
                    
8    use ManaPHP\Mvc\Dispatcher\NotFoundControllerException;
                    
10    /**
                    
11     * ManaPHP\Mvc\Dispatcher
                    
12     *
                    
18     *
                    
19     *    $di = new ManaPHP\Di();
                    
20     *
                    
                
Mail.php https://github.com/mrbanzai/zf2.git | PHP | 437 lines
                    
1<?php
                    
2/**
                    
229                }
                    
230                call_user_func_array(array($mail, $method), $params);
                    
231            }
                    
                
opWidgetFormRichTextareaOpenPNE.class.php https://github.com/Kazuhiro-Murota/OpenPNE3.git | PHP | 372 lines
                    
1<?php
                    
2
                    
93      }
                    
94      call_user_func_array(array($extension, 'configure'), array(&$this->tinyMCEConfigs));
                    
95    }
                    
                
Forge.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 303 lines
                    
56
                    
57            call_user_func_array( [$this, 'run'], $params);
                    
58        }
                    
65     * scanning the collections and grabbing the information from
                    
66     * 'forge.php' files.
                    
67     */
                    
89            {
                    
90                if ($dir == '.' || $dir == '..' || ! is_file($path . $dir .'/forge.php'))
                    
91                {
                    
99                {
                    
100                    log_message('debug', '[Forge] Invalid forge.php file at: '. $path . $dir .'/forge.php');
                    
101                    continue;
                    
249		    {
                    
250			    log_message('debug', '[Forge] Invalid forge.php file at: '. $dir .'/forge.php');
                    
251			    continue;
                    
                
Mysqli.php https://github.com/Exercise/zf2.git | PHP | 343 lines
                    
1<?php
                    
2/**
                    
81     * @param mixed $parameter Name the parameter, either integer or string.
                    
82     * @param mixed $variable  Reference to PHP variable containing the value.
                    
83     * @param mixed $type      OPTIONAL Datatype of SQL parameter.
                    
197            }
                    
198            call_user_func_array(
                    
199                array($this->_stmt, 'bind_param'),
                    
231            // set up references to the result binding space.
                    
232            // just passing $this->_values in the call_user_func_array()
                    
233            // below won't work, you need references.
                    
240            // bind to the result variables
                    
241            call_user_func_array(
                    
242                array($this->_stmt, 'bind_result'),
                    
                
widgets.php https://bitbucket.org/zenoalbisser/webkit.git | PHP | 210 lines
                    
166		<a class="widget-action hide-if-no-js" href="#available-widgets"></a>
                    
167		<a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"><span class="edit"><?php _e('Edit'); ?></span><span class="add"><?php _e('Add'); ?></span></a>
                    
168	</div>
                    
168	</div>
                    
169	<div class="widget-title"><h4><?php echo $widget_title ?><span class="in-widget-title"></span></h4></div>
                    
170	</div>
                    
176	if ( isset($control['callback']) )
                    
177		$has_form = call_user_func_array( $control['callback'], $control['params'] );
                    
178	else
                    
182	<input type="hidden" name="id_base" class="id_base" value="<?php echo esc_attr($id_base); ?>" />
                    
183	<input type="hidden" name="widget-width" class="widget-width" value="<?php echo esc_attr($control['width']); ?>" />
                    
184	<input type="hidden" name="widget-height" class="widget-height" value="<?php echo esc_attr($control['height']); ?>" />
                    
184	<input type="hidden" name="widget-height" class="widget-height" value="<?php echo esc_attr($control['height']); ?>" />
                    
185	<input type="hidden" name="widget_number" class="widget_number" value="<?php echo esc_attr($widget_number); ?>" />
                    
186	<input type="hidden" name="multi_number" class="multi_number" value="<?php echo esc_attr($multi_number); ?>" />
                    
                
Result.php https://github.com/MontmereLimited/zf2.git | PHP | 299 lines
                    
1<?php
                    
2/**
                    
177     * get data out.  These values have to be references:
                    
178     * @see http://php.net/manual/en/mysqli-stmt.bind-result.php
                    
179     * 
                    
197            }
                    
198            call_user_func_array(array($this->resource, 'bind_result'), $this->statementBindValues['values']);
                    
199        }
                    
                
Mail.php https://bitbucket.org/haichau59/manga.git | PHP | 430 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mail.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
23/** Zend_Log_Writer_Abstract */
                    
24//require_once 'Zend/Log/Writer/Abstract.php';
                    
25
                    
26/** Zend_Log_Exception */
                    
27//require_once 'Zend/Log/Exception.php';
                    
28
                    
29/** Zend_Log_Formatter_Simple*/
                    
30//require_once 'Zend/Log/Formatter/Simple.php';
                    
31
                    
43 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
44 * @version    $Id: Mail.php 24594 2012-01-05 21:27:01Z matthew $
                    
45 */
                    
                
controllers.rst https://github.com/codeigniter-jp/ci-ja.git | ReStructuredText | 324 lines
                    
32
                    
33	<?php
                    
34	class Blog extends CI_Controller {
                    
46
                    
47	example.com/index.php/blog/
                    
48
                    
114
                    
115	example.com/index.php/products/shoes/sandals/123
                    
116
                    
181optional second parameter. This array can be used in combination with
                    
182PHP's `call_user_func_array <http://php.net/call_user_func_array>`_
                    
183to emulate CodeIgniter's default behavior.
                    
273
                    
274		example.com/index.php/products/shoes/show/123
                    
275
                    
                
AbstractFeed.php https://github.com/Exercise/zf2.git | PHP | 319 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: FeedAbstract.php 22092 2010-05-04 12:50:51Z padraic $
                    
20 */
                    
271            if (method_exists($extension, $method)) {
                    
272                return call_user_func_array(array($extension, $method), $args);
                    
273            }
                    
                
Mail.php https://bitbucket.org/hmancvs/farmis.git | PHP | 430 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mail.php,v 1.1 2011/11/03 08:30:01 smusoke Exp $
                    
21 */
                    
23/** Zend_Log_Writer_Abstract */
                    
24require_once 'Zend/Log/Writer/Abstract.php';
                    
25
                    
26/** Zend_Log_Exception */
                    
27require_once 'Zend/Log/Exception.php';
                    
28
                    
29/** Zend_Log_Formatter_Simple*/
                    
30require_once 'Zend/Log/Formatter/Simple.php';
                    
31
                    
43 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
44 * @version    $Id: Mail.php,v 1.1 2011/11/03 08:30:01 smusoke Exp $
                    
45 */
                    
                
Navigation.php https://bitbucket.org/netglue/zf-1.12-release.git | PHP | 346 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once 'Zend/View/Helper/Navigation/HelperAbstract.php';
                    
27
                    
127        if ($helper = $this->findHelper($method, false)) {
                    
128            return call_user_func_array(array($helper, $method), $arguments);
                    
129        }
                    
184            if ($strict) {
                    
185                require_once 'Zend/View/Exception.php';
                    
186                $e = new Zend_View_Exception(sprintf(
                    
                
OutputFormat.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 289 lines
                    
1<?php
                    
2
                    
106		} else if(method_exists('\\Sabberworm\\CSS\\OutputFormatter', $sMethodName)) {
                    
107			return call_user_func_array(array($this->getFormatter(), $sMethodName), $aArguments);
                    
108		} else {
                    
                
HtmlBuilder.php https://bitbucket.org/helfreire/tccsite.git | PHP | 409 lines
                    
1<?php namespace Illuminate\Html;
                    
2
                    
76
                    
77		return '<script'.$this->attributes($attributes).'></script>'.PHP_EOL;
                    
78	}
                    
94
                    
95		return '<link'.$this->attributes($attributes).'>'.PHP_EOL;
                    
96	}
                    
402		{
                    
403			return call_user_func_array($this->macros[$method], $parameters);
                    
404		}
                    
                
ByteArray.php https://bitbucket.org/tobmaster/carica-io.git | PHP | 326 lines
                    
1<?php
                    
2
                    
65    public function __toString() {
                    
66      return call_user_func_array('pack', array_merge(array("C*"), $this->_bytes));
                    
67    }
                    
                
AbstractBlockTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 319 lines
                    
1<?php
                    
2/**
                    
21
                    
22class AbstractBlockTest extends \PHPUnit_Framework_TestCase
                    
23{
                    
29    /**
                    
30     * @var EventManagerInterface|\PHPUnit_Framework_MockObject_MockObject
                    
31     */
                    
34    /**
                    
35     * @var ScopeConfigInterface|\PHPUnit_Framework_MockObject_MockObject
                    
36     */
                    
39    /**
                    
40     * @var CacheStateInterface|\PHPUnit_Framework_MockObject_MockObject
                    
41     */
                    
44    /**
                    
45     * @var CacheInterface|\PHPUnit_Framework_MockObject_MockObject
                    
46     */
                    
                
widgets.php https://github.com/MikeLockz/lockwitz.git | PHP | 225 lines
                    
181		<a class="widget-action hide-if-no-js" href="#available-widgets"></a>
                    
182		<a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"><span class="edit"><?php _e('Edit'); ?></span><span class="add"><?php _e('Add'); ?></span></a>
                    
183	</div>
                    
189	<div class="widget-content">
                    
190<?php
                    
191	if ( isset($control['callback']) )
                    
191	if ( isset($control['callback']) )
                    
192		$has_form = call_user_func_array( $control['callback'], $control['params'] );
                    
193	else
                    
199	<input type="hidden" name="widget-height" class="widget-height" value="<?php if (isset( $control['height'] )) echo esc_attr($control['height']); ?>" />
                    
200	<input type="hidden" name="widget_number" class="widget_number" value="<?php echo esc_attr($widget_number); ?>" />
                    
201	<input type="hidden" name="multi_number" class="multi_number" value="<?php echo esc_attr($multi_number); ?>" />
                    
220	</div>
                    
221<?php
                    
222	echo $sidebar_args['after_widget'];
                    
                
PluginManager.class.php https://github.com/cj/Project-Pier.git | PHP | 183 lines
                    
1<?php
                    
2 /**
                    
16  * 
                    
17  * @see application/plugins.php
                    
18  *  
                    
40      foreach(array_keys($activated_plugins) as $name) {
                    
41        include_once 'plugins/'.$name.'/init.php';
                    
42      } // foreach
                    
101        foreach($functions as $f) {
                    
102          trace(__FILE__,"call_user_func_array({$f['function']},..");
                    
103          call_user_func_array($f['function'], array_slice($args, 0, (int)$f['accepted_args']));
                    
121          $args[1] = $value;
                    
122          $value = call_user_func_array($f['function'], array_slice($args, 1,(int)$f['accepted_args']));
                    
123        } // foreach
                    
129  function useHelper($plugin_name, $helper) {
                    
130    //$helper_file = APPLICATION_PATH . "/plugins/$plugin_name/helpers/$helper.php";
                    
131    $helper_file = "plugins/$plugin_name/helpers/$helper.php";
                    
                
validation.php https://github.com/o1iver/Code-Backup.git | PHP | 516 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
126	 * @param   string    field name
                    
127	 * @param   callback  valid PHP callback
                    
128	 * @param   array     extra parameters for the rule
                    
292					// This is either a callback as an array or a lambda
                    
293					$passed = call_user_func_array($rule, $params);
                    
294				}
                    
374	 *
                    
375	 *     // Get errors from messages/forms/login.php
                    
376	 *     $errors = $Validation->errors('forms/login');
                    
                
Tree_builder.php https://bitbucket.org/mbaily/tremain.git | PHP | 511 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
16
                    
17 require_once APPPATH.'libraries/datastructures/Tree.php';
                    
18 require_once APPPATH.'libraries/relationship_parser/Nodes.php';
                    
18 require_once APPPATH.'libraries/relationship_parser/Nodes.php';
                    
19 require_once APPPATH.'libraries/relationship_parser/Iterators.php';
                    
20
                    
108				$entry_ids = $node->parent()->entry_ids();
                    
109				$entry_ids = call_user_func_array('array_merge', $entry_ids);
                    
110			}
                    
119		$this->_unique_ids = array_unique(
                    
120			call_user_func_array('array_merge', $all_entry_ids),
                    
121			SORT_NUMERIC
                    
166		{
                    
167			require_once APPPATH.'libraries/relationship_parser/Parser.php';
                    
168		}
                    
                
ExceptionRenderer.php https://bitbucket.org/luobailiang/cake.git | PHP | 284 lines
                    
1<?php
                    
2/**
                    
7 *
                    
8 * PHP 5
                    
9 *
                    
9 *
                    
10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
11 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @link          http://cakephp.org CakePHP(tm) Project
                    
18 * @package       Cake.Error
                    
18 * @package       Cake.Error
                    
19 * @since         CakePHP(tm) v 2.0
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
48 * Using a subclass of ExceptionRenderer gives you full control over how Exceptions are rendered, you
                    
49 * can configure your class in your core.php, with `Configure::write('Exception.renderer', 'MyClass');`
                    
50 * You should place any custom exception renderers in `app/Lib/Error`.
                    
                
key.php https://github.com/patrickheck/concrete5.git | PHP | 379 lines
                    
137		$env = Environment::get();
                    
138		$file = $env->getPath(DIRNAME_ELEMENTS . '/' . DIRNAME_PERMISSIONS . '/' . DIRNAME_KEYS . '/' . $this->pkHandle . '.php', $this->getPackageHandle());
                    
139		return file_exists($file);
                    
329		if (is_object($obj)) {
                    
330			return call_user_func_array(array($obj, 'getAccessListItems'), $args);		
                    
331		} else {
                    
                
Ion_auth.php https://github.com/aletaschile/CodeIgniter-Ion-Auth.git | PHP | 375 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
17*
                    
18* Requirements: PHP5 or above
                    
19*
                    
90
                    
91		return call_user_func_array( array($this->ci->ion_auth_model, $method), $arguments);
                    
92	}
                    
                
element.php https://github.com/foxbei/joomla15.git | PHP | 713 lines
                    
1<?php
                    
2/**
                    
3* @package   ZOO Component
                    
4* @file      element.php
                    
5* @version   2.3.7 March 2011
                    
184		if ($layout == null) {
                    
185			$layout = "{$type}.php";
                    
186		}
                    
402			// call method
                    
403			$res = call_user_func_array(array($this, $method), $args);
                    
404			// output if method returns a string
                    
                
component_engine.php https://gitlab.com/Rad1calDreamer/honey | PHP | 358 lines
                    
1<?php
                    
2/**
                    
167		if (substr($pageTemplateReg, -1, 1) == "/")
                    
168			$pageTemplateReg .= "index\\.php";
                    
169
                    
264		{
                    
265			return call_user_func_array($this->resolveCallback, array($this, $pageCandidates, &$arVariables));
                    
266		}
                    
                
shutdown_manager.php https://github.com/mackensen/moodle.git | PHP | 235 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
44     *
                    
45     * @private to be called from lib/setup.php only!
                    
46     */
                    
54        // Signal handlers should only be used when dealing with a CLI script.
                    
55        // In the case of PHP called in a web server the server is the owning process and should handle the signal chain
                    
56        // properly itself.
                    
102                array_unshift($params, $signo);
                    
103                $shouldexit = call_user_func_array($callback, $params) && $shouldexit;
                    
104            } catch (Throwable $e) {
                    
104            } catch (Throwable $e) {
                    
105                // phpcs:ignore
                    
106                error_log('Exception ignored in signal function ' . get_callable_name($callback) . ': ' . $e->getMessage());
                    
164        if ($DB->is_transaction_started()) {
                    
165            if (!defined('PHPUNIT_TEST') or !PHPUNIT_TEST) {
                    
166                // This should not happen, it usually indicates wrong catching of exceptions,
                    
                
ExceptionRenderer.php https://bitbucket.org/ManiAdil/jardinorient.git | PHP | 308 lines
                    
1<?php
                    
2/**
                    
7 *
                    
8 * PHP 5
                    
9 *
                    
9 *
                    
10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
11 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @link          http://cakephp.org CakePHP(tm) Project
                    
18 * @package       Cake.Error
                    
18 * @package       Cake.Error
                    
19 * @since         CakePHP(tm) v 2.0
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
49 * Using a subclass of ExceptionRenderer gives you full control over how Exceptions are rendered, you
                    
50 * can configure your class in your core.php, with `Configure::write('Exception.renderer', 'MyClass');`
                    
51 * You should place any custom exception renderers in `app/Lib/Error`.
                    
                
Mail.php https://github.com/woledzki/hiphop-zend.git | PHP | 430 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mail.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
23/** Zend_Log_Writer_Abstract */
                    
24//require_once 'Zend/Log/Writer/Abstract.php';
                    
25
                    
26/** Zend_Log_Exception */
                    
27//require_once 'Zend/Log/Exception.php';
                    
28
                    
29/** Zend_Log_Formatter_Simple*/
                    
30//require_once 'Zend/Log/Formatter/Simple.php';
                    
31
                    
43 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
44 * @version    $Id: Mail.php 23775 2011-03-01 17:25:24Z ralph $
                    
45 */
                    
                
Command.php https://gitlab.com/rmoshiur81/Larave-Grading | PHP | 543 lines
                    
1<?php
                    
2
                    
133        foreach ($this->getArguments() as $arguments) {
                    
134            call_user_func_array([$this, 'addArgument'], $arguments);
                    
135        }
                    
137        foreach ($this->getOptions() as $options) {
                    
138            call_user_func_array([$this, 'addOption'], $options);
                    
139        }
                    
                
labeled.php https://github.com/fusenigk/mantisbt-1.git | PHP | 520 lines
                    
1<?php
                    
2/**
                    
248            {
                    
249                $this->labels[$nr] = call_user_func_array(
                    
250                    $this->properties['labelCallback'],
                    
                
Collection.php https://gitlab.com/milton2913/myBlog | PHP | 364 lines
                    
1<?php
                    
2
                    
298    {
                    
299        return call_user_func_array([$this->toBase(), 'zip'], func_get_args());
                    
300    }
                    
                
Diff.php https://github.com/phaidon/Wikula.git | PHP | 453 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * The original PHP version of this code was written by Geoffrey T. Dairiki
                    
7 * <dairiki@dairiki.org>, and is used/adapted with his permission.
                    
8 *
                    
9 * $Horde: framework/Text_Diff/Diff.php,v 1.11.2.12 2009/01/06 15:23:41 jan Exp $
                    
10 *
                    
14 * See the enclosed file COPYING for license information (LGPL). If you did
                    
15 * not receive this file, see http://opensource.org/licenses/lgpl-license.php.
                    
16 *
                    
51        
                    
52        require_once 'modules/Wikula/lib/vendor/Text_Diff/Diff/Engine/' . $engine . '.php';
                    
53        $class = 'Text_Diff_Engine_' . $engine;
                    
55
                    
56        $this->_edits = call_user_func_array(array($diff_engine, 'diff'), $params);
                    
57    }
                    
                
ext_std_function.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 292 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.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   +----------------------------------------------------------------------+
                    
                
ArrayCharacterStream.php https://gitlab.com/techniconline/kmc | PHP | 294 lines
                    
1<?php
                    
2
                    
175
                    
176        return call_user_func_array('array_merge', $arrays);
                    
177    }
                    
192
                    
193        $fp = fopen('php://memory', 'w+b');
                    
194        fwrite($fp, $chars);
                    
                
ListController.php https://gitlab.com/gideonmarked/atls-express | PHP | 486 lines
                    
1<?php namespace Backend\Behaviors;
                    
2
                    
259        if (method_exists($this->controller, 'onDelete')) {
                    
260            return call_user_func_array([$this->controller, 'onDelete'], func_get_args());
                    
261        }
                    
345
                    
346        return implode(PHP_EOL, $collection);
                    
347    }
                    
482            }
                    
483            call_user_func_array($callback, [$widget, $widget->model]);
                    
484        });
                    
                
QubitQuery.class.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 410 lines
                    
1<?php
                    
2
                    
181
                    
182    return call_user_func_array(array($this, '__isset'), $args);
                    
183  }
                    
208
                    
209    return call_user_func_array(array($this, '__get'), $args);
                    
210  }
                    
237
                    
238    return call_user_func_array(array($this, '__set'), $args);
                    
239  }
                    
                
MediaEntityController.php https://github.com/iaminawe/openoutreach.git | PHP | 215 lines
                    
1<?php
                    
2/**
                    
169    foreach (module_implements($this->entityInfo['load hook']) as $module) {
                    
170      call_user_func_array($module . '_' . $this->entityInfo['load hook'], $args);
                    
171    }
                    
                
Applet.php https://github.com/agilehands/PHP-AQUA.git | PHP | 248 lines
                    
1<?php
                    
2/**
                    
5 *           +----------------------------------------------+
                    
6 *           | THIS FILE IS A PART OF "PHP AQUA" FRAMEWORK | 
                    
7 *           +----------------------------------------------+
                    
21 * 	
                    
22 * ################   http://www.phpaqua.com   ###############
                    
23 */
                    
26	 * 		!!!!!! THIS DOCUMENTATION IS NOT MAINTAINED AND MAY BE OBSOLET !!!!!	
                    
27	 * 		FOR LATEST DOCUMENT PLZ REFER TO SITE: http://www.phpaqua.com
                    
28	 * 
                    
106			
                    
107			@include( $appletDir . '/lang/'.App::getDefaultLocale() . '.php');
                    
108			@include( $appletDir . '/lang/'.App::getCurrentLocale() . '.php');		
                    
143			if( App::$instance->willCallAppletMethod( $applet, $id, $action, $params )){
                    
144				call_user_func_array( array( $obj, $action ), $params);
                    
145				$obj->state('__lastAction__', $action );
                    
                
Cache.php https://github.com/abirmmu/codeigniter-cache.git | PHP | 431 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
128			// Call the model or library with the method provided and the same arguments
                    
129			$new_response = call_user_func_array(array($this->_ci->$property, $method), $arguments);
                    
130			$this->write($new_response, $cache_file, $expires);
                    
301			{
                    
302				// create non existing dirs, asumes PHP5
                    
303				if ( ! @mkdir($test_path, DIR_WRITE_MODE, TRUE)) return FALSE;
                    
429
                    
430/* End of file Cache.php */
                    
431/* Location: ./application/libraries/Cache.php */
                    
                
ObjectCollection.php https://gitlab.com/digaotinfo/agendaLegislativa | PHP | 326 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
9 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @link          http://cakephp.org CakePHP(tm) Project
                    
11 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
24 * @package       Cake.Utility
                    
25 * @since CakePHP(tm) v 2.0
                    
26 */
                    
129		foreach ($list as $name) {
                    
130			$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
                    
131			if ($options['collectReturn'] === true) {
                    
                
select.php https://github.com/letuboy/SwiftSharing-Core.git | PHP | 445 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
8 * @copyright  (c) 2008-2009 Kohana Team
                    
9 * @license    http://kohanaphp.com/license
                    
10 */
                    
155
                    
156		call_user_func_array(array($this->_last_join, 'using'), $columns);
                    
157
                    
                
HeadLink.php https://gitlab.com/yousafsyed/easternglamor | PHP | 495 lines
                    
1<?php
                    
2/**
                    
61     *
                    
62     * Use PHP_EOL as separator
                    
63     */
                    
67
                    
68        $this->setSeparator(PHP_EOL);
                    
69    }
                    
82    {
                    
83        return call_user_func_array(array($this, '__invoke'), func_get_args());
                    
84    }
                    
                
Navigation.php https://github.com/Zefiryn/graduationprojects.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Navigation.php 23953 2011-05-03 05:47:39Z ralph $
                    
21 */
                    
25 */
                    
26require_once 'Zend/View/Helper/Navigation/HelperAbstract.php';
                    
27
                    
127		if ($helper = $this->findHelper($method, false)) {
                    
128			return call_user_func_array(array($helper, $method), $arguments);
                    
129		}
                    
176			if ($strict) {
                    
177				require_once 'Zend/View/Exception.php';
                    
178				$e = new Zend_View_Exception(sprintf(
                    
                
WebBrowser.php https://github.com/wzs/Scrappr.git | PHP | 405 lines
                    
5 */
                    
6class phpQueryObjectPlugin_WebBrowser {
                    
7	/**
                    
15	 *
                    
16	 * @param phpQueryObject $self
                    
17	 * @todo support 'reset' event
                    
173		self::authorizeHost($ajaxSettings['url']);
                    
174		$xhr = phpQuery::ajax(
                    
175			self::ajaxSettingsPrepare($ajaxSettings)
                    
182		if ($xhr->getLastResponse()->isSuccessful()) {
                    
183			phpQuery::callbackRun($callback,
                    
184				array(self::browserReceive($xhr)->WebBrowser()),
                    
323 * @return unknown
                    
324 * @link http://www.php.net/manual/en/function.parse-url.php
                    
325 * @author stevenlewis at hotmail dot com
                    
                
class-wp-customize-panel.php https://gitlab.com/webkod3r/tripolis | PHP | 389 lines
                    
1<?php
                    
2/**
                    
233	final public function check_capabilities() {
                    
234		if ( $this->capability && ! call_user_func_array( 'current_user_can', (array) $this->capability ) ) {
                    
235			return false;
                    
237
                    
238		if ( $this->theme_supports && ! call_user_func_array( 'current_theme_supports', (array) $this->theme_supports ) ) {
                    
239			return false;
                    
321		?>
                    
322		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>-content">
                    
323			<?php $this->content_template(); ?>
                    
324		</script>
                    
325		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>">
                    
326			<?php $this->render_template(); ?>
                    
327		</script>
                    
328        <?php
                    
329	}
                    
                
Manager.php https://gitlab.com/x33n/ampache | PHP | 523 lines
                    
1<?php
                    
2
                    
11 * The base session class used by the Auth_Yadis_Manager.  This
                    
12 * class wraps the default PHP session machinery and should be
                    
13 * subclassed if your application doesn't use PHP sessioning.
                    
16 */
                    
17class Auth_Yadis_PHPSession {
                    
18    /**
                    
299
                    
300        // Stale flag for cleanup if PHP lib has trouble.
                    
301        $this->stale = false;
                    
383     *
                    
384     * @param Auth_Yadis_PHPSession $session An object which
                    
385     * implements the Auth_Yadis_PHPSession API.
                    
413
                    
414            list($yadis_url, $services) = call_user_func_array($discover_cb,
                    
415                                                               array(
                    
                
Mysqli.php https://github.com/lanmediaservice/lms-tplib.git | PHP | 369 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mysqli.php 16927 2009-07-21 17:49:39Z ralph $
                    
21 */
                    
26 */
                    
27//*** require_once 'Zend/Db/Statement.php';
                    
28
                    
82             */
                    
83            //*** require_once 'Zend/Db/Statement/Mysqli/Exception.php';
                    
84            throw new Zend_Db_Statement_Mysqli_Exception("Mysqli prepare error: " . $mysqli->error);
                    
91     * @param mixed $parameter Name the parameter, either integer or string.
                    
92     * @param mixed $variable  Reference to PHP variable containing the value.
                    
93     * @param mixed $type      OPTIONAL Datatype of SQL parameter.
                    
207            }
                    
208            call_user_func_array(
                    
209                array($this->_stmt, 'bind_param'),
                    
                
widgets.php https://github.com/exploradoreselectronicos/pressmark.git | PHP | 323 lines
                    
1<?php
                    
2
                    
2
                    
3require_once( 'admin.php' );
                    
4require_once(ABSPATH . 'wp-admin/includes/widgets.php');
                    
13$title = __( 'Widgets' );
                    
14$parent_file = 'themes.php';
                    
15
                    
244<?php foreach ( $show_values as $show_value => $show_text ) : $show_value = attribute_escape( $show_value ); ?>
                    
245				<option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option>
                    
246<?php endforeach; ?>
                    
261<?php foreach ( $wp_registered_sidebars as $sidebar_id => $registered_sidebar ) : $sidebar_id = attribute_escape( $sidebar_id ); ?>
                    
262				<option value='<?php echo $sidebar_id; ?>'<?php selected( $sidebar_id, $sidebar ); ?>><?php echo wp_specialchars( $registered_sidebar['name'] ); ?></option>
                    
263<?php endforeach; ?>
                    
321
                    
322<?php require_once( 'admin-footer.php' ); ?>
                    
323
                    
                
TraceableEventDispatcher.php https://gitlab.com/techniconline/kmc | PHP | 335 lines
                    
1<?php
                    
2
                    
201    {
                    
202        return call_user_func_array(array($this->dispatcher, $method), $arguments);
                    
203    }
                    
                
file.php https://github.com/rii-J/concrete5-de.git | PHP | 526 lines
                    
1<?php 
                    
2
                    
41		$fv = $this->getApprovedVersion();
                    
42		return call_user_func_array(array($fv, $nm), $a);
                    
43	}
                    
                
Navigation.php https://github.com/mrbanzai/zf2.git | PHP | 374 lines
                    
1<?php
                    
2/**
                    
139        if ($helper = $this->findHelper($method, false)) {
                    
140            return call_user_func_array($helper, $arguments);
                    
141        }
                    
                
LocaleMenu.php https://gitlab.com/my-application.bjoernbartels.earth/my-application | PHP | 320 lines
                    
1<?php
                    
2/**
                    
36 * @copyright   2012-2013 Jurian Sluiman.
                    
37 * @license     http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
38 * @link        http://juriansluiman.nl
                    
317
                    
318        return call_user_func_array($callback, $args);
                    
319    }
                    
                
AbstractItem.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 478 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version   $Id: AbstractItem.php 57540 2012-10-14 18:27:59Z btowles $
                    
4 * @author    RocketTheme http://www.rockettheme.com
                    
475	{
                    
476		return call_user_func_array($callback, array($this));
                    
477	}
                    
                
class-wp-walker.php https://github.com/muskmelon/Greemo.git | PHP | 399 lines
                    
1<?php
                    
2/**
                    
128		$cb_args = array_merge( array(&$output, $element, $depth), $args);
                    
129		call_user_func_array(array(&$this, 'start_el'), $cb_args);
                    
130
                    
141					$cb_args = array_merge( array(&$output, $depth), $args);
                    
142					call_user_func_array(array(&$this, 'start_lvl'), $cb_args);
                    
143				}
                    
151			$cb_args = array_merge( array(&$output, $depth), $args);
                    
152			call_user_func_array(array(&$this, 'end_lvl'), $cb_args);
                    
153		}
                    
156		$cb_args = array_merge( array(&$output, $element, $depth), $args);
                    
157		call_user_func_array(array(&$this, 'end_el'), $cb_args);
                    
158	}
                    
                
RecursiveIteratorIterator.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 403 lines
                    
1<?php
                    
2
                    
2
                    
3// This doc comment block generated by idl/sysdoc.php
                    
4/**
                    
5 * ( excerpt from
                    
6 * http://docs.hhvm.com/manual/en/class.recursiveiteratoriterator.php )
                    
7 *
                    
36
                    
37  // This doc comment block generated by idl/sysdoc.php
                    
38  /**
                    
39   * ( excerpt from
                    
40   * http://docs.hhvm.com/manual/en/recursiveiteratoriterator.construct.php )
                    
41   *
                    
78
                    
79  // This doc comment block generated by idl/sysdoc.php
                    
80  /**
                    
                
renderer.php https://github.com/micz/elencode.git | PHP | 322 lines
                    
1<?php
                    
2/**
                    
8if(!defined('DOKU_INC')) die('meh.');
                    
9require_once DOKU_INC . 'inc/parser/renderer.php';
                    
10require_once DOKU_INC . 'inc/plugin.php';
                    
10require_once DOKU_INC . 'inc/plugin.php';
                    
11require_once DOKU_INC . 'inc/pluginutils.php';
                    
12
                    
68        // execute the callback against ourself
                    
69        call_user_func_array(array(&$this, $instruction[0]),$instruction[1]);
                    
70      }
                    
153
                    
154    function php($text) {}
                    
155
                    
155
                    
156    function phpblock($text) {}
                    
157
                    
                
Mail.php https://github.com/Enrise/Zend.git | PHP | 430 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Mail.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
23/** Zend_Log_Writer_Abstract */
                    
24// require_once 'Zend/Log/Writer/Abstract.php';
                    
25
                    
26/** Zend_Log_Exception */
                    
27// require_once 'Zend/Log/Exception.php';
                    
28
                    
29/** Zend_Log_Formatter_Simple*/
                    
30// require_once 'Zend/Log/Formatter/Simple.php';
                    
31
                    
43 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
44 * @version    $Id: Mail.php 24593 2012-01-05 20:35:02Z matthew $
                    
45 */
                    
                
 

Source

Language