PageRenderTime 1026ms queryTime 222ms sortTime 24ms getByIdsTime 186ms findMatchingLines 335ms

100+ results results for 'php call_user_func' (1026 ms)

Not the results you expected?
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
                    
                
BasePhysicalObjectI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 563 lines
                    
174
                    
175        if ("{$name}Id" == $column->getPhpName())
                    
176        {
                    
217
                    
218          return call_user_func(array($relatedTable->getClassName(), 'getBy'.ucfirst($relatedTable->getColumn($column->getRelatedColumnName())->getPhpName())), $this->rowOffsetGet("{$name}Id", $offset, $options));
                    
219        }
                    
231
                    
232    return call_user_func_array(array($this, '__get'), $args);
                    
233  }
                    
409        {
                    
410          if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName())
                    
411          {
                    
438          $columns = $table->getPrimaryKeyColumns();
                    
439          $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id;
                    
440        }
                    
                
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	}
                    
                
fruitful-function.php https://gitlab.com/sihabudinahmad/asppi | PHP | 331 lines
                    
1<?php
                    
2
                    
77    foreach( (array) $wp_settings_sections[$page] as $section ) {
                    
78        call_user_func($section['callback'], $section);
                    
79        if ( !isset($wp_settings_fields) ||
                    
127									print '<div class="option_block '.$value['option-block'].'">';
                    
128										call_user_func($field['callback'], $field['args']['fields'][$row]); 
                    
129									print '</div>';	
                    
137							print '<div class="box-option">';
                    
138								call_user_func($field['callback'], $field['args']['fields'][$row]); 
                    
139							print '</div>';	
                    
147						print '<div class="box-option">';
                    
148						call_user_func($field['callback'], $field['args']);
                    
149					print '</div></div>';				
                    
215		<div class="slides-btn">
                    
216			<span class="collapse_all"><?php _e('Collapse all', 'fruitful'); ?></span>
                    
217			<span class="expand_all"><?php _e('Expand all', 'fruitful'); ?></span>
                    
                
core.php https://github.com/justus/kohana-formo.git | PHP | 724 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2
                    
139
                    
140			if ($option AND $find_by == 'item' AND call_user_func($option, $search) == $field->alias())
                    
141				return $field;
                    
154	{
                    
155		return call_user_func_array(array($this->driver(), $func), $args);
                    
156	}
                    
387
                    
388			call_user_func_array(array($this, 'order'), $args);
                    
389		}
                    
                
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
                    
                
Dispatcher.php https://gitlab.com/judielsm/Handora | PHP | 497 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()
                    
481    {
                    
482        return call_user_func($this->queueResolver);
                    
483    }
                    
                
ext_stream-user-filters.cpp https://gitlab.com/iranjith4/hhvm | C++ | 407 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2016 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   +----------------------------------------------------------------------+
                    
                
arr.php https://github.com/kodeplay/kodelearn.git | PHP | 574 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies the
                    
353	 * same callback to all elements in an array, including sub-arrays.
                    
374			{
                    
375				$array[$key] = call_user_func($callback, $val);
                    
376			}
                    
383	 * Merges one or more arrays recursively and preserves all keys.
                    
384	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
385	 *
                    
501	 *     // Get the result of the callback
                    
502	 *     $result = call_user_func_array($func, $params);
                    
503	 *
                    
                
BaseFcactcomHc.php https://github.com/cidesa/siga-universitario.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	{
                    
                
_Default.default.phtml-a7d06f43796a0e7b6008fda4d3212119.php https://github.com/iguana007/gui-for-ACL-NETTE-2.0.git | PHP | 185 lines
                    
10?>
                    
11<h1><?php call_user_func(reset($_l->blocks['title']), $_l, get_defined_vars())  ?></h1>
                    
12
                    
13<table cellspacing="0" cellpadding="0">
                    
14    <?php if ($user->isAllowed('ceska_sporitelna', 'nahled')): ?><tr><td><b>Česká Spořitelna</b><?php if ($user->isAllowed('ceska_sporitelna', 'sprava')): ?>
                    
15 <img src="<?php echo htmlSpecialChars($basePath) ?>/images/edit.gif" height="19" width="19" title="Edit" alt="Edit" /><?php endif ?></td><td></td><td></td><td></td></tr>
                    
15 <img src="<?php echo htmlSpecialChars($basePath) ?>/images/edit.gif" height="19" width="19" title="Edit" alt="Edit" /><?php endif ?></td><td></td><td></td><td></td></tr>
                    
16       <?php if ($user->isAllowed('oblast_praha', 'nahled')): ?><tr><td><span class="node-t"></span></td><td>Oblast Praha<?php if ($user->isAllowed('oblast_praha', 'sprava')): ?>
                    
17 <img src="<?php echo htmlSpecialChars($basePath) ?>/images/edit.gif" height="19" width="19" title="Edit" alt="Edit" /><?php endif ?>
                    
26          <?php if ($user->isAllowed('kromerizsky_region', 'nahled')): ?><tr><td><span class="node-n"></span></td><td><span class="node-t"></span></td><td>Kroměřížský region<?php if ($user->isAllowed('kromerizsky_region', 'sprava')): ?>
                    
27 <img src="<?php echo htmlSpecialChars($basePath) ?>/images/edit.gif" height="19" width="19" title="Edit" alt="Edit" /><?php endif ?>
                    
28</td><td></td></tr><?php endif ?>
                    
51
                    
52             <?php if ($user->isAllowed('pobocka_zarami', 'nahled')): ?><tr><td><span class="node-n"></span></td><td></td><td><span class="node-l"></span></td><td>Pobočka Zarámí<?php if ($user->isAllowed('pobocka_zarami', 'sprava')): ?>
                    
53 <img src="<?php echo htmlSpecialChars($basePath) ?>/images/edit.gif" height="19" width="19" title="Edit" alt="Edit" /><?php endif ?>
                    
                
Updater.php https://gitlab.com/andecode/theme-spark | PHP | 416 lines
                    
1<?php
                    
2
                    
87      $class = $updater['class'];
                    
88      if (call_user_func([$class, 'canUpdateDirectory'], $directory)) {
                    
89        return $class;
                    
                
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
                    
                
meta-box.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 479 lines
                    
1<?php
                    
2// Prevent loading this file directly
                    
46		 *
                    
47		 * @see demo/demo.php file for details
                    
48		 *
                    
79			{
                    
80				call_user_func( array( self::get_class_name( $field ), 'add_actions' ) );
                    
81			}
                    
122				// Enqueue scripts and styles for fields
                    
123				call_user_func( array( self::get_class_name( $field ), 'admin_enqueue_scripts' ) );
                    
124			}
                    
232			{
                    
233				call_user_func( array( self::get_class_name( $field ), 'show' ), $field, $saved );
                    
234			}
                    
310				// Allow field class change the value
                    
311				$new = call_user_func( array( self::get_class_name( $field ), 'value' ), $new, $old, $post_id, $field );
                    
312
                    
                
Parser.php https://gitlab.com/matijabelec/bigpandadev | PHP | 399 lines
                    
1<?php
                    
2
                    
153
                    
154                    if (null !== $test && call_user_func($test, $token)) {
                    
155                        if ($dropNeedle) {
                    
                
Yaml.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 415 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25#require_once 'Zend/Config.php';
                    
26
                    
101        if (!is_callable($yamlDecoder)) {
                    
102            #require_once 'Zend/Config/Exception.php';
                    
103            throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable');
                    
133        if (empty($yaml)) {
                    
134            #require_once 'Zend/Config/Exception.php';
                    
135            throw new Zend_Config_Exception('Filename is not set');
                    
173        if ($this->_loadFileErrorStr !== null) {
                    
174            #require_once 'Zend/Config/Exception.php';
                    
175            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
181        // Parse YAML
                    
182        $config = call_user_func($this->getYamlDecoder(), $yaml);
                    
183
                    
                
Updater.php https://gitlab.com/reasonat/test8 | PHP | 411 lines
                    
1<?php
                    
2
                    
88      $class = $updater['class'];
                    
89      if (call_user_func(array($class, 'canUpdateDirectory'), $directory)) {
                    
90        return $class;
                    
                
class-wp-embed.php https://gitlab.com/pankajmohale/chef2go | PHP | 386 lines
                    
1<?php
                    
2/**
                    
88	jQuery(document).ready(function($){
                    
89		$.get("<?php echo admin_url( 'admin-ajax.php?action=oembed-cache&post=' . $post->ID, 'relative' ); ?>");
                    
90	});
                    
91</script>
                    
92<?php
                    
93	}
                    
170				if ( preg_match( $handler['regex'], $url, $matches ) && is_callable( $handler['callback'] ) ) {
                    
171					if ( false !== $return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr ) )
                    
172						/**
                    
267			if ( $html ) {
                    
268				/** This filter is documented in wp-includes/class-wp-embed.php */
                    
269				return apply_filters( 'embed_oembed_html', $html, $url, $attr, $post_ID );
                    
                
AdminPage.php https://github.com/EthanBlast/Glam-Star-Life.git | PHP | 463 lines
                    
1<?php
                    
2
                    
12	 * $icon string  Path to an icon for the top level menu
                    
13	 * $parent string  ( default: options-general.php )
                    
14	 * $capability string  ( default: 'manage_options' )
                    
220		if ( is_array( $submit_button ) ) {
                    
221			$content .= call_user_func( array( $this, 'submit_button' ), $submit_button );
                    
222		} elseif ( true === $submit_button ) {
                    
227			$button_args = array_slice( func_get_args(), 1 );
                    
228			$content .= call_user_func_array( array( $this, 'submit_button' ), $button_args );
                    
229		}
                    
315	function __call( $method, $args ) {
                    
316		return call_user_func_array( array( 'scbForms', $method ), $args );
                    
317	}
                    
365			'icon' => '',
                    
366			'parent' => 'options-general.php',
                    
367			'capability' => 'manage_options',
                    
                
class-walker-comment.php https://gitlab.com/ReneMC/Custom-wordpress-theme | PHP | 364 lines
                    
241?>
                    
242		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
243			<div class="comment-body">
                    
243			<div class="comment-body">
                    
244				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
245			</div>
                    
269?>
                    
270		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
271		<?php if ( 'div' != $args['style'] ) : ?>
                    
289
                    
290		<?php comment_text( get_comment_id(), array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
                    
291
                    
322?>
                    
323		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
324			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
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');
                    
                
Number.php https://bitbucket.org/masal/sonsuzdongu.git | PHP | 420 lines
                    
25require_once 'Zend/Measure/Abstract.php';
                    
26require_once 'Zend/Locale.php';
                    
27
                    
157            if (!Zend_Locale::isLocale($locale, true, false)) {
                    
158                require_once 'Zend/Measure/Exception.php';
                    
159                throw new Zend_Measure_Exception("Language (" . (string) $locale . ") is unknown");
                    
261                if (call_user_func(Zend_Locale_Math::$comp, $value, 0) < 0) {
                    
262                    $value = call_user_func(Zend_Locale_Math::$sqrt, call_user_func(Zend_Locale_Math::$pow, $value, 2));
                    
263                }
                    
286                $split[$x] = hexdec($split[$x]);
                    
287                $value     = call_user_func(Zend_Locale_Math::$add, $value,
                    
288                            call_user_func(Zend_Locale_Math::$mul, $split[$x],
                    
360            $count    = 200;
                    
361            while (call_user_func(Zend_Locale_Math::$comp, $value, 0, 25) <> 0) {
                    
362                while ($value >= $romanval[$i]) {
                    
                
DebugClassLoader.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 328 lines
                    
1<?php
                    
2
                    
31    private static $deprecated = array();
                    
32    private static $php7Reserved = array('int', 'float', 'bool', 'string', 'true', 'false', 'null');
                    
33    private static $darwinCache = array('/' => array('/', array()));
                    
66                self::$caseCheck = 1;
                    
67            } elseif (false !== stripos(PHP_OS, 'darwin')) {
                    
68                // on MacOSX, HFS+ is case insensitive but realpath() doesn't normalize the case of characters
                    
91    {
                    
92        // Ensures we don't hit https://bugs.php.net/42098
                    
93        class_exists('Symfony\Component\Debug\ErrorHandler');
                    
171            } else {
                    
172                call_user_func($this->classLoader, $class);
                    
173                $file = false;
                    
196
                    
197            if (in_array(strtolower($refl->getShortName()), self::$php7Reserved)) {
                    
198                @trigger_error(sprintf('%s uses a reserved class name (%s) that will break on PHP 7 and higher', $name, $refl->getShortName()), E_USER_DEPRECATED);
                    
                
class-walker-comment.php https://gitlab.com/em645jn/brochure | PHP | 364 lines
                    
241?>
                    
242		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
243			<div class="comment-body">
                    
243			<div class="comment-body">
                    
244				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
245			</div>
                    
269?>
                    
270		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
271		<?php if ( 'div' != $args['style'] ) : ?>
                    
289
                    
290		<?php comment_text( $comment, array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
                    
291
                    
322?>
                    
323		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
324			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
Prefs.php https://github.com/imr/horde.git | PHP | 499 lines
                    
1<?php
                    
2/**
                    
214        if ($this->_opts['sizecallback'] &&
                    
215            call_user_func($this->_opts['sizecallback'], $pref, strlen($val))) {
                    
216            return false;
                    
                
arr.php https://github.com/azhai2012/calf.git | PHP | 585 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies the
                    
353	 * same callback to all elements in an array, including sub-arrays.
                    
379					{
                    
380						$array[$key] = call_user_func($cb, $array[$key]);
                    
381					}
                    
384				{
                    
385					$array[$key] = call_user_func($callback, $array[$key]);
                    
386				}
                    
394	 * Merges one or more arrays recursively and preserves all keys.
                    
395	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
396	 *
                    
512	 *     // Get the result of the callback
                    
513	 *     $result = call_user_func_array($func, $params);
                    
514	 *
                    
                
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    }
                    
                
ClusterStrategy.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 398 lines
                    
1<?php
                    
2
                    
340        if (!isset($slot) && isset($this->commands[$cmdID = $command->getId()])) {
                    
341            $key = call_user_func($this->commands[$cmdID], $command);
                    
342
                    
                
AssetFactory.php https://gitlab.com/mohamedchiheb.bida/workshopFOS | PHP | 424 lines
                    
1<?php
                    
2
                    
195                // nested formula
                    
196                $asset->add(call_user_func_array(array($this, 'createAsset'), $input));
                    
197            } else {
                    
                
processor.php https://github.com/AlinT/socorro.git | PHP | 356 lines
                    
1<?php
                    
2/**
                    
248            {
                    
249                $moduleNamespace = call_user_func( array( $moduleClass, 'getNamespace' ) );
                    
250
                    
                
ext_function.cpp https://github.com/github-ivan/hiphop-php.git | C++ | 344 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.jetpack-sync-queue.php https://gitlab.com/hunt9310/ras | 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;
                    
                
class-wp-customize-setting.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 439 lines
                    
1<?php
                    
2/**
                    
263	public final function check_capabilities() {
                    
264		if ( $this->capability && ! call_user_func_array( 'current_user_can', (array) $this->capability ) )
                    
265			return false;
                    
266
                    
267		if ( $this->theme_supports && ! call_user_func_array( 'current_theme_supports', (array) $this->theme_supports ) )
                    
268			return false;
                    
                
arr.php https://github.com/daveWid/arid.git | PHP | 574 lines
                    
1<?php defined('ARID') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies the
                    
353	 * same callback to all elements in an array, including sub-arrays.
                    
374			{
                    
375				$array[$key] = call_user_func($callback, $val);
                    
376			}
                    
383	 * Merges one or more arrays recursively and preserves all keys.
                    
384	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
385	 *
                    
501	 *     // Get the result of the callback
                    
502	 *     $result = call_user_func_array($func, $params);
                    
503	 *
                    
                
custom-background.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 360 lines
                    
183<tr valign="top">
                    
184<th scope="row"><?php _e('Preview'); ?></th>
                    
185<td>
                    
197?>
                    
198<div id="custom-background-image" style="<?php echo $background_styles; ?>"><?php // must be double quote, see above ?>
                    
199<?php if ( get_background_image() ) { ?>
                    
201<img class="custom-background-image" src="<?php echo get_theme_mod('background_image_thumb', ''); ?>" style="visibility:hidden;" alt="" />
                    
202<?php } ?>
                    
203</div>
                    
273<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('No Repeat'); ?></option></label>
                    
274	<label><input type="radio" name="background-repeat" value="repeat"<?php checked('repeat', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile'); ?></option></label>
                    
275	<label><input type="radio" name="background-repeat" value="repeat-x"<?php checked('repeat-x', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Horizontally'); ?></option></label>
                    
275	<label><input type="radio" name="background-repeat" value="repeat-x"<?php checked('repeat-x', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Horizontally'); ?></option></label>
                    
276	<label><input type="radio" name="background-repeat" value="repeat-y"<?php checked('repeat-y', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Vertically'); ?></option></label>
                    
277</fieldset></td>
                    
                
MasterSlaveReplication.php https://bitbucket.org/ashwanthkumar/blueignis-spout.git | PHP | 423 lines
                    
1<?php
                    
2
                    
264
                    
265            return call_user_func($readonly, $command);
                    
266        }
                    
275
                    
276                return call_user_func($readonly, $command);
                    
277            }
                    
                
services9.php https://gitlab.com/yousafsyed/easternglamor | PHP | 394 lines
                    
1<?php
                    
2
                    
210    {
                    
211        $this->services['foo.baz'] = $instance = call_user_func(array($this->getParameter('baz_class'), 'getInstance'));
                    
212
                    
212
                    
213        call_user_func(array($this->getParameter('baz_class'), 'configureStatic1'), $instance);
                    
214
                    
256    {
                    
257        require_once '%path%foo.php';
                    
258
                    
                
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
                    
                
arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
388					{
                    
389						$array[$key] = call_user_func($cb, $array[$key]);
                    
390					}
                    
393				{
                    
394					$array[$key] = call_user_func($callbacks, $array[$key]);
                    
395				}
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
520	 *     // Get the result of the callback
                    
521	 *     $result = call_user_func_array($func, $params);
                    
522	 *
                    
                
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
                    
                
class-wp-customize-panel.php https://gitlab.com/ReneMC/Custom-wordpress-theme | PHP | 389 lines
                    
1<?php
                    
2/**
                    
178		$panel = $this;
                    
179		$active = call_user_func( $this->active_callback, $this );
                    
180
                    
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(); ?>
                    
                
Command.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 512 lines
                    
1<?php
                    
2
                    
147        if ($this->code) {
                    
148            return call_user_func($this->code, $input, $output);
                    
149        } else {
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
                
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					}
                    
                
App.php https://github.com/rmiddle/wgm.issues.git | PHP | 467 lines
                    
1<?php
                    
2
                    
59				if(method_exists($this,$action)) {
                    
60					call_user_func(array(&$this, $action));
                    
61				}
                    
                
BCMath.php https://github.com/grandison/budo16.git | PHP | 482 lines
                    
19 * @copyright  2006 Alexander Valyalkin
                    
20 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
21 * @version    1.2.0b
                    
29 * This class is a wrapper for PHP BCMath extension.
                    
30 * See http://php.net/manual/en/ref.bc.php for details.
                    
31 *
                    
35 * @copyright  2005, 2006 Alexander Valyalkin
                    
36 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
37 * @link       http://pear.php.net/package/Crypt_RSA
                    
101        if (!extension_loaded('bcmath')) {
                    
102            if (!@dl('bcmath.' . PHP_SHLIB_SUFFIX) && !@dl('php_bcmath.' . PHP_SHLIB_SUFFIX)) {
                    
103                // cannot load BCMath extension. Set error string
                    
103                // cannot load BCMath extension. Set error string
                    
104                $this->errstr = 'Crypt_RSA package requires the BCMath extension. See http://php.net/manual/en/ref.bc.php for details';
                    
105                return;
                    
                
Yaml.php https://bitbucket.org/masal/sonsuzdongu.git | PHP | 381 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php 24092 2011-05-31 02:43:28Z adamlundrigan $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Config.php';
                    
26
                    
101        if (!is_callable($yamlDecoder)) {
                    
102            require_once 'Zend/Config/Exception.php';
                    
103            throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable');
                    
133        if (empty($yaml)) {
                    
134            require_once 'Zend/Config/Exception.php';
                    
135            throw new Zend_Config_Exception('Filename is not set');
                    
173        if ($this->_loadFileErrorStr !== null) {
                    
174            require_once 'Zend/Config/Exception.php';
                    
175            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
class-wp-session-tokens.php https://gitlab.com/VTTE/sitios-vtte | PHP | 294 lines
                    
1<?php
                    
2/**
                    
224	final public static function destroy_all_for_all_users() {
                    
225		/** This filter is documented in wp-includes/class-wp-session-tokens.php */
                    
226		$manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' );
                    
226		$manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' );
                    
227		call_user_func( array( $manager, 'drop_sessions' ) );
                    
228	}
                    
                
AuthManager.php https://gitlab.com/Sigpot/AirSpot | PHP | 294 lines
                    
1<?php
                    
2
                    
291    {
                    
292        return call_user_func_array([$this->guard(), $method], $parameters);
                    
293    }
                    
                
Yaml.php https://bitbucket.org/kdms/sh-magento.git | PHP | 382 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php 23294 2010-11-05 00:27:34Z ramon $
                    
20 */
                    
24 */
                    
25#require_once 'Zend/Config.php';
                    
26
                    
101        if (!is_callable($yamlDecoder)) {
                    
102            #require_once 'Zend/Config/Exception.php';
                    
103            throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable');
                    
133        if (empty($yaml)) {
                    
134            #require_once 'Zend/Config/Exception.php';
                    
135            throw new Zend_Config_Exception('Filename is not set');
                    
173        if ($this->_loadFileErrorStr !== null) {
                    
174            #require_once 'Zend/Config/Exception.php';
                    
175            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
EventDispatcher.php https://gitlab.com/x33n/respond | PHP | 185 lines
                    
1<?php
                    
2
                    
163        foreach ($listeners as $listener) {
                    
164            call_user_func($listener, $event, $eventName, $this);
                    
165            if ($event->isPropagationStopped()) {
                    
181            krsort($this->listeners[$eventName]);
                    
182            $this->sorted[$eventName] = call_user_func_array('array_merge', $this->listeners[$eventName]);
                    
183        }
                    
                
Builder.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 243 lines
                    
1<?php
                    
2
                    
203        if (isset($this->resolver)) {
                    
204            return call_user_func($this->resolver, $table, $callback);
                    
205        }
                    
                
Yaml.php https://bitbucket.org/hmancvs/farmis.git | PHP | 381 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php,v 1.1 2011/11/03 08:29:27 smusoke Exp $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Config.php';
                    
26
                    
101        if (!is_callable($yamlDecoder)) {
                    
102            require_once 'Zend/Config/Exception.php';
                    
103            throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable');
                    
133        if (empty($yaml)) {
                    
134            require_once 'Zend/Config/Exception.php';
                    
135            throw new Zend_Config_Exception('Filename is not set');
                    
173        if ($this->_loadFileErrorStr !== null) {
                    
174            require_once 'Zend/Config/Exception.php';
                    
175            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
Diff.php https://github.com/mlinsey/Gitdocs.git | PHP | 456 lines
                    
1<?php
                    
2/**
                    
3
                    
4http://pear.php.net/package/Text_Diff
                    
5
                    
8 *
                    
9 * The original PHP version of this code was written by Geoffrey T. Dairiki
                    
10 * <dairiki@dairiki.org>, and is used/adapted with his permission.
                    
11 *
                    
12 * $Horde: framework/Text_Diff/Diff.php,v 1.11.2.12 2009/01/06 15:23:41 jan Exp $
                    
13 *
                    
17 * See the enclosed file COPYING for license information (LGPL). If you did
                    
18 * not receive this file, see http://opensource.org/licenses/lgpl-license.php.
                    
19 *
                    
54
                    
55        require_once 'Diff/Engine/' . $engine . '.php';
                    
56        $class = 'Text_Diff_Engine_' . $engine;
                    
                
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
                    
                
AuthAction.php https://gitlab.com/itlboy/yii2-starter-installed | PHP | 367 lines
                    
1<?php
                    
2/**
                    
25 *
                    
26 * ```php
                    
27 * class SiteController extends Controller
                    
71    /**
                    
72     * @var callable PHP callback, which should be triggered in case of successful authentication.
                    
73     * This callback should accept [[ClientInterface]] instance as an argument.
                    
75     *
                    
76     * ```php
                    
77     * public function onAuthSuccess($client)
                    
212        }
                    
213        $response = call_user_func($this->successCallback, $client);
                    
214        if ($response instanceof Response) {
                    
229        if ($viewFile === null) {
                    
230            $viewFile = __DIR__ . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR . 'redirect.php';
                    
231        } else {
                    
                
Listener.php https://gitlab.com/judielsm/Handora | PHP | 234 lines
                    
1<?php
                    
2
                    
60        $this->commandPath = $commandPath;
                    
61        $this->workerCommand = '"'.PHP_BINARY.'" artisan queue:work %s --queue="%s" --delay=%s --memory=%s --sleep=%s --tries=%s';
                    
62    }
                    
145        if (isset($this->outputHandler)) {
                    
146            call_user_func($this->outputHandler, $type, $line);
                    
147        }
                    
                
graph.class.php https://github.com/LATC/EU-data-cloud.git | PHP | 381 lines
                    
1<?php
                    
2require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'moriarty.inc.php';
                    
2require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'moriarty.inc.php';
                    
3require_once MORIARTY_ARC_DIR . "ARC2.php";
                    
4require_once MORIARTY_DIR . 'httprequest.class.php';
                    
4require_once MORIARTY_DIR . 'httprequest.class.php';
                    
5require_once MORIARTY_DIR . 'httprequestfactory.class.php';
                    
6require_once MORIARTY_DIR . 'simplegraph.class.php';
                    
6require_once MORIARTY_DIR . 'simplegraph.class.php';
                    
7require_once MORIARTY_DIR . 'changeset.class.php';
                    
8/**
                    
164        if(is_callable($callback)){
                    
165          call_user_func($callback, $response);
                    
166        } else if($response->is_success()===false){
                    
177      if(is_callable($callback)){
                    
178          call_user_func($callback, $response);
                    
179      } 
                    
                
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            }
                    
                
plugin.php https://gitlab.com/pixelbrackets/t3adminer | PHP | 482 lines
                    
1<?php
                    
2
                    
16    {
                    
17        // is_subclass_of(string, string) is available since PHP 5.0.3
                    
18        do {
                    
46    {
                    
47        return call_user_func_array(array('parent', $function), $args);
                    
48    }
                    
53            if (method_exists($plugin, $function)) {
                    
54                switch (count($args)) { // call_user_func_array() doesn't work well with references
                    
55                    case 0:
                    
92            if (method_exists($plugin, $function)) {
                    
93                $return += call_user_func_array(array($plugin, $function), $args);
                    
94            }
                    
                
Yaml.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 381 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php 24594 2012-01-05 21:27:01Z matthew $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Config.php';
                    
26
                    
101        if (!is_callable($yamlDecoder)) {
                    
102            require_once 'Zend/Config/Exception.php';
                    
103            throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable');
                    
133        if (empty($yaml)) {
                    
134            require_once 'Zend/Config/Exception.php';
                    
135            throw new Zend_Config_Exception('Filename is not set');
                    
173        if ($this->_loadFileErrorStr !== null) {
                    
174            require_once 'Zend/Config/Exception.php';
                    
175            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
ext_stream-user-filters.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 406 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   +----------------------------------------------------------------------+
                    
                
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    }
                    
                
tests.php https://bitbucket.org/ashwanthkumar/blueignis_workspace.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
12 */
                    
13require_once dirname(__FILE__)."/assertions.php";
                    
14
                    
197      test_call_func(test_before_func_name());
                    
198      call_user_func($func);
                    
199   }
                    
243  $func = array_shift($args);
                    
244  if(function_exists($func)) return call_user_func_array($func, $args);
                    
245  return;
                    
                
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        });
                    
                
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'],
                    
                
action.php https://gitlab.com/alexprowars/bitrix | PHP | 283 lines
                    
1<?php
                    
2namespace Bitrix\Scale;
                    
157					{
                    
158						$this->actionParams = call_user_func($modifyerFunction, $this->id, $this->actionParams, $this->serverHostname, $this->userParams);
                    
159					}
                    
                
ThemeInitialization.php https://gitlab.com/mohamed_hussein/prodt | PHP | 365 lines
                    
1<?php
                    
2
                    
118          // some people might experience slight visual regressions on
                    
119          // update.php.
                    
120          continue;
                    
144        foreach ($active_theme->getBaseThemeExtensions() as $base) {
                    
145          call_user_func($theme_engine . '_init', $base);
                    
146        }
                    
146        }
                    
147        call_user_func($theme_engine . '_init', $active_theme->getExtension());
                    
148      }
                    
                
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(
                    
                
reflectionfunction.invokeargs.html https://bitbucket.org/thncr/manuals.git | HTML | 140 lines
                    
11 <div class="up"><a href="class.reflectionfunction.html">ReflectionFunction</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="reflectionfunction.invokeargs" class="refentry">
                    
15  <h1 class="refname">ReflectionFunction::invokeArgs</h1>
                    
16  <p class="verinfo">(PHP 5 &gt;= 5.1.0)</p><p class="refpurpose"><span class="refname">ReflectionFunction::invokeArgs</span> &mdash; <span class="dc-title">Invokes function args</span></p>
                    
17
                    
45       The passed arguments to the function as an array, much like 
                    
46        <span class="function"><a href="function.call-user-func-array.html" class="function">call_user_func_array()</a></span> works.
                    
47      </p>
                    
71    <div class="example-contents">
                    
72<div class="phpcode"><code><span style="color: #000000">
                    
73<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">title</span><span style="color: #007700">(</span><span style="color: #0000BB">$title</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$name</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s.&nbsp;%s\r\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$title</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$name</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #0000BB">$function&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">ReflectionFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">'title'</span><span style="color: #007700">);<br /><br />echo&nbsp;</span><span style="color: #0000BB">$function</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'Dr'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Phil'</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?&gt;</span>
                    
89    <div class="example-contents">
                    
90<div class="phpcode"><code><span style="color: #000000">
                    
91<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">get_false_conditions</span><span style="color: #007700">(array&nbsp;</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">,&nbsp;array&nbsp;&amp;</span><span style="color: #0000BB">$false_conditions</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;(</span><span style="color: #0000BB">$conditions&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$condition</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$condition</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$false_conditions</span><span style="color: #007700">[]&nbsp;=&nbsp;</span><span style="color: #0000BB">$condition</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #0000BB">$function_ref&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">ReflectionFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">'get_false_conditions'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$conditions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #0000BB">true</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$false_conditions&nbsp;</span><span style="color: #007700">=&nbsp;array();<br /><br /></span><span style="color: #0000BB">$function_ref</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">$false_conditions</span><span style="color: #007700">));<br /><br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$false_conditions</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
                
QuestionBase.php https://gitlab.com/mariadb-corporation/LimeSurvey | PHP | 330 lines
                    
1<?php
                    
2
                    
189                    {
                    
190                        $metaData['options'] = call_user_func($metaData['options'], $this);
                    
191                    }
                    
                
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(
                    
                
Number.php https://github.com/albertobraschi/NFS.git | PHP | 420 lines
                    
25#require_once 'Zend/Measure/Abstract.php';
                    
26#require_once 'Zend/Locale.php';
                    
27
                    
157            if (!Zend_Locale::isLocale($locale, true, false)) {
                    
158                #require_once 'Zend/Measure/Exception.php';
                    
159                throw new Zend_Measure_Exception("Language (" . (string) $locale . ") is unknown");
                    
261                if (call_user_func(Zend_Locale_Math::$comp, $value, 0) < 0) {
                    
262                    $value = call_user_func(Zend_Locale_Math::$sqrt, call_user_func(Zend_Locale_Math::$pow, $value, 2));
                    
263                }
                    
286                $split[$x] = hexdec($split[$x]);
                    
287                $value     = call_user_func(Zend_Locale_Math::$add, $value,
                    
288                            call_user_func(Zend_Locale_Math::$mul, $split[$x],
                    
360            $count    = 200;
                    
361            while (call_user_func(Zend_Locale_Math::$comp, $value, 0, 25) <> 0) {
                    
362                while ($value >= $romanval[$i]) {
                    
                
class-wp-customize-section.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 453 lines
                    
1<?php
                    
2/**
                    
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">
                    
352			<h3 class="accordion-section-title">
                    
353				<?php
                    
354				if ( $this->manager->is_theme_active() ) {
                    
398		</li>
                    
399<?php }
                    
400}
                    
                
Mail.php https://github.com/Riges/KawaiViewModel.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 */
                    
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 24593 2012-01-05 20:35:02Z matthew $
                    
45 */
                    
                
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        }
                    
                
opWidgetFormRichTextareaOpenPNE.class.php https://github.com/Kazuhiro-Murota/OpenPNE3.git | PHP | 372 lines
                    
1<?php
                    
2
                    
87      {
                    
88        self::$plugins              = array_merge(self::$plugins, call_user_func(array($extension, 'getPlugins')));
                    
89        self::$buttons              = array_merge_recursive(self::$buttons, call_user_func(array($extension, 'getButtons')));
                    
89        self::$buttons              = array_merge_recursive(self::$buttons, call_user_func(array($extension, 'getButtons')));
                    
90        self::$buttonOnclickActions = array_merge(self::$buttonOnclickActions, call_user_func(array($extension, 'getButtonOnClickActions')));
                    
91        self::$convertCallbackList  = array_merge(self::$convertCallbackList, call_user_func(array($extension, 'getConvertCallbacks')));
                    
91        self::$convertCallbackList  = array_merge(self::$convertCallbackList, call_user_func(array($extension, 'getConvertCallbacks')));
                    
92        self::$htmlConvertList      = array_merge(self::$htmlConvertList, call_user_func(array($extension, 'getHtmlConverts')));
                    
93      }
                    
93      }
                    
94      call_user_func_array(array($extension, 'configure'), array(&$this->tinyMCEConfigs));
                    
95    }
                    
252    {
                    
253      return call_user_func(self::$convertCallbackList[$tagname], $isEndtag, $tagname, $attributes, true);
                    
254    }
                    
                
SCP.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 360 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include 'Net/SCP.php';
                    
13 *    include 'Net/SCP.php';
                    
14 *    include 'Net/SSH2.php';
                    
15 *
                    
                
arr.php https://github.com/o1iver/Code-Backup.git | PHP | 574 lines
                    
1<?php defined('SYSPATH') or die('No direct access allowed.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies the
                    
353	 * same callback to all elements in an array, including sub-arrays.
                    
374			{
                    
375				$array[$key] = call_user_func($callback, $val);
                    
376			}
                    
383	 * Merges one or more arrays recursively and preserves all keys.
                    
384	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
385	 *
                    
501	 *     // Get the result of the callback
                    
502	 *     $result = call_user_func_array($func, $params);
                    
503	 *
                    
                
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
                    
                
Diff.php https://bitbucket.org/roycocup/stargym.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    }
                    
                
timber-twig.php https://gitlab.com/aristath/timber | PHP | 374 lines
                    
1<?php
                    
2
                    
90					$args[] = $context;
                    
91					call_user_func_array( 'do_action', $args );
                    
92				}, array( 'needs_context' => true ) ) );
                    
246		}
                    
247		return call_user_func_array( $function_name, ( $args ) );
                    
248	}
                    
                
admin.php https://github.com/digitalstrategyworks/Reese-WordPress.git | PHP | 163 lines
                    
1<?php
                    
2if ( !class_exists( 'pluginbuddy_skylerbuddy_admin' ) ) {
                    
18			$args = func_get_args();
                    
19			return call_user_func_array( array( $this->_parent, 'alert' ), $args );
                    
20		}
                    
23			$args = func_get_args();
                    
24			return call_user_func_array( array( $this->_parent, 'video' ), $args );
                    
25		}
                    
28			$args = func_get_args();
                    
29			return call_user_func_array( array( $this->_parent, 'tip' ), $args );
                    
30		}
                    
33			$args = func_get_args();
                    
34			return call_user_func_array( array( $this->_parent, 'log' ), $args );
                    
35		}
                    
70			
                    
71			$posted = stripslashes_deep( $_POST ); // Unescape all the stuff WordPress escaped. Sigh @ WordPress for being like PHP magic quotes.
                    
72			foreach( $posted as $index => $item ) {
                    
                
filter.php https://gitlab.com/Bartwillemsen/aurora-framework | PHP | 225 lines
                    
1<?php
                    
2namespace Aurora\Routing;
                    
51
                    
52			$response = call_user_func_array(static::$filters[$filter], $parameters);
                    
53
                    
                
ClassLoader.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 458 lines
                    
1<?php
                    
2
                    
18 *
                    
19 * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
                    
20=======
                    
47=======
                    
48 * @see    http://www.php-fig.org/psr/psr-0/
                    
49 * @see    http://www.php-fig.org/psr/psr-4/
                    
68    {
                    
69        return call_user_func_array('array_merge', $this->prefixesPsr0);
                    
70=======
                    
76        if (!empty($this->prefixesPsr0)) {
                    
77            return call_user_func_array('array_merge', $this->prefixesPsr0);
                    
78        }
                    
342    {
                    
343        // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
                    
344        if ('\\' == $class[0]) {
                    
                
class.dbstorage.php https://github.com/DragonFire/wowcs.git | PHP | 381 lines
                    
1<?php
                    
2
                    
23 * To use this, you should create new storage class with some options included:
                    
24 *  - fields list (table fields, see examples (/includes/storages/*.php))
                    
25 *  - storage (table) name
                    
195            return $this;
                    
196        $this->m_data = call_user_func_array(array($this->m_db, 'selectRow'), $this->m_sqlData);
                    
197        return $this;
                    
205            return $this;
                    
206        $this->m_data = call_user_func_array(array($this->m_db, 'select'), $this->m_sqlData);
                    
207        return $this;
                    
                
Abstract.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 176 lines
                    
1<?php
                    
2/**
                    
173        
                    
174        return call_user_func(array($_controllerName, 'getInstance')); 
                    
175    }
                    
                
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    }
                    
                
Manager.php https://bitbucket.org/selfeky/xclusivescardwebsite.git | PHP | 529 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($discover_cb,
                    
415                                                         $this->url,
                    
                
Column.php https://gitlab.com/yousafsyed/easternglamor | PHP | 501 lines
                    
1<?php
                    
2/**
                    
234     * @return bool
                    
235     * @SuppressWarnings(PHPMD.BooleanGetMethodName)
                    
236     */
                    
289        if (is_array($frameCallback)) {
                    
290            $renderedValue = call_user_func($frameCallback, $renderedValue, $row, $this, false);
                    
291        }
                    
314        if (is_array($frameCallback)) {
                    
315            $renderedValue = call_user_func($frameCallback, $renderedValue, $row, $this, true);
                    
316        }
                    
                
Yaml.php https://github.com/akentner/LexsignExtensions.git | PHP | 382 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: Yaml.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Config.php';
                    
26
                    
101        if (!is_callable($yamlDecoder)) {
                    
102            require_once 'Zend/Config/Exception.php';
                    
103            throw new Zend_Config_Exception('Invalid parameter to setYamlDecoder() - must be callable');
                    
133        if (empty($yaml)) {
                    
134            require_once 'Zend/Config/Exception.php';
                    
135            throw new Zend_Config_Exception('Filename is not set');
                    
173        if ($this->_loadFileErrorStr !== null) {
                    
174            require_once 'Zend/Config/Exception.php';
                    
175            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
AbstractPaginator.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 487 lines
                    
1<?php
                    
2
                    
289        if (isset(static::$currentPathResolver)) {
                    
290            return call_user_func(static::$currentPathResolver);
                    
291        }
                    
316        if (isset(static::$currentPageResolver)) {
                    
317            return call_user_func(static::$currentPageResolver, $pageName);
                    
318        }
                    
474    {
                    
475        return call_user_func_array([$this->getCollection(), $method], $parameters);
                    
476    }
                    
                
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    }
                    
                
PluginBroker.php https://github.com/obias/zf2.git | PHP | 375 lines
                    
1<?php
                    
2/**
                    
325        if (!is_callable($callback)) {
                    
326            throw new Exception\InvalidArgumentException(sprintf('Validator must be a valid PHP callback; %s provided', gettype($callback)));
                    
327        }
                    
353        if (null !== ($validator = $this->getValidator())) {
                    
354            return call_user_func($validator, $plugin);
                    
355        }
                    
                
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            }
                    
                
controller.php https://github.com/4sidora/Bagira.CMS.git | PHP | 328 lines
                    
1<?php
                    
2
                    
86
                    
87            $mod_name = MODUL_DIR.'/'.system::url(0).'/'.$class_name.'.php';
                    
88
                    
93
                    
94				if (file_exists(MODUL_DIR.'/'.system::url(0).'/lang-ru.php'))
                    
95        			include(MODUL_DIR.'/'.system::url(0).'/lang-ru.php');
                    
108
                    
109                    	$content = call_user_func(array($c, $action_name));
                    
110               	}
                    
164
                    
165            if (file_exists(MODUL_DIR.'/mpanel/lang-ru.php'))
                    
166        		include(MODUL_DIR.'/mpanel/lang-ru.php');
                    
177
                    
178	            	if (file_exists(MODUL_DIR.'/'.$name.'/lang-ru.php'))
                    
179	             		include(MODUL_DIR.'/'.$name.'/lang-ru.php');
                    
                
class-wp-embed.php https://gitlab.com/VTTE/sitios-vtte | PHP | 498 lines
                    
1<?php
                    
2/**
                    
90	jQuery(document).ready(function($){
                    
91		$.get("<?php echo admin_url( 'admin-ajax.php?action=oembed-cache&post=' . $post->ID, 'relative' ); ?>");
                    
92	});
                    
93</script>
                    
94		<?php
                    
95	}
                    
172				if ( preg_match( $handler['regex'], $url, $matches ) && is_callable( $handler['callback'] ) ) {
                    
173					$return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr );
                    
174					if ( false !== $return ) {
                    
337		if ( $html ) {
                    
338			/** This filter is documented in wp-includes/class-wp-embed.php */
                    
339			return apply_filters( 'embed_oembed_html', $html, $url, $attr, $post_ID );
                    
                
class-wp-walker.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 425 lines
                    
1<?php
                    
2/**
                    
145		$cb_args = array_merge( array(&$output, $element, $depth), $args);
                    
146		call_user_func_array(array($this, 'start_el'), $cb_args);
                    
147
                    
156					$cb_args = array_merge( array(&$output, $depth), $args);
                    
157					call_user_func_array(array($this, 'start_lvl'), $cb_args);
                    
158				}
                    
166			$cb_args = array_merge( array(&$output, $depth), $args);
                    
167			call_user_func_array(array($this, 'end_lvl'), $cb_args);
                    
168		}
                    
171		$cb_args = array_merge( array(&$output, $element, $depth), $args);
                    
172		call_user_func_array(array($this, 'end_el'), $cb_args);
                    
173	}
                    
                
base-admin.class.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 537 lines
                    
1<?php
                    
2/**
                    
142		if(!empty($drawFunction))
                    
143			call_user_func($drawFunction);
                    
144		
                    
277			if(!empty(self::$master_view) && !isset(self::$tempVars["is_masterView"]) ){
                    
278				$masterViewFilepath = self::$path_views.self::$master_view.".php";
                    
279				RevSliderFunctions::validateFilepath($masterViewFilepath,"Master View");
                    
285				
                    
286				switch($view){ //switch URLs to corresponding php files
                    
287					case 'slide':
                    
300				
                    
301				$viewFilepath = self::$path_views.$view.".php";
                    
302				
                    
315	protected static function getPathTemplate($templateName){
                    
316		$pathTemplate = self::$path_templates.$templateName.'.php';
                    
317		RevSliderFunctions::validateFilepath($pathTemplate,'Template');
                    
                
Mail.php https://gitlab.com/devtoannh/cafe | 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 */
                    
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 23775 2011-03-01 17:25:24Z ralph $
                    
45 */
                    
                
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
                    
                
Abstract.php https://gitlab.com/yousafsyed/easternglamor | PHP | 418 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25#require_once 'Zend/Locale.php';
                    
26
                    
29 */
                    
30#require_once 'Zend/Locale/Math.php';
                    
31
                    
34 */
                    
35#require_once 'Zend/Locale/Format.php';
                    
36
                    
94        if (isset($this->_units[$type]) === false) {
                    
95            #require_once 'Zend/Measure/Exception.php';
                    
96            throw new Zend_Measure_Exception("Type ($type) is unknown");
                    
121        if (empty($locale)) {
                    
122            #require_once 'Zend/Registry.php';
                    
123            if (Zend_Registry::isRegistered('Zend_Locale') === true) {
                    
                
class-walker-comment.php https://gitlab.com/morganestes/wordpress-develop | PHP | 400 lines
                    
239?>
                    
240		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
241			<div class="comment-body">
                    
241			<div class="comment-body">
                    
242				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
243			</div>
                    
266?>
                    
267		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
268		<?php if ( 'div' != $args['style'] ) : ?>
                    
299
                    
300		<?php
                    
301		comment_text(
                    
345?>
                    
346		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
347			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
class-render.php https://gitlab.com/BenjaminHolm/wp-rocket | PHP | 588 lines
                    
1<?php
                    
2namespace WP_Rocket\Admin\Settings;
                    
186
                    
187			call_user_func_array( array( $this, $args['type'] ), array( $args ) );
                    
188		}
                    
255
                    
256			call_user_func_array( array( $this, $args['type'] ), array( $args ) );
                    
257		}
                    
269		foreach ( $this->hidden_settings as $setting ) {
                    
270			call_user_func_array( array( $this, 'hidden' ), array( $setting ) );
                    
271		}
                    
537					case 'purge_cache':
                    
538						$url = admin_url( 'admin-post.php?action=' . $action );
                    
539
                    
552					case 'rocket_generate_critical_css':
                    
553						$url = admin_url( 'admin-post.php?action=' . $action );
                    
554
                    
                
Image.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 544 lines
                    
10 * file that was distributed with this source code. For the full list of
                    
11 * contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
                    
12 *
                    
12 *
                    
13 * @link        https://github.com/PHPOffice/PHPWord
                    
14 * @copyright   2010-2016 PHPWord contributors
                    
17
                    
18namespace PhpOffice\PhpWord\Element;
                    
19
                    
20use PhpOffice\PhpWord\Exception\CreateTemporaryFileException;
                    
21use PhpOffice\PhpWord\Exception\InvalidImageException;
                    
22use PhpOffice\PhpWord\Exception\UnsupportedImageTypeException;
                    
433     *
                    
434     * @throws \PhpOffice\PhpWord\Exception\CreateTemporaryFileException
                    
435     */
                    
                
driver.php https://github.com/enygma/fuel.git | PHP | 475 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Fuel is a fast, lightweight, community driven PHP5 framework.
                    
6 *
                    
11 * @copyright	2010 Dan Horrigan
                    
12 * @link		http://fuelphp.com
                    
13 */
                    
340	 * @access	public
                    
341	 * @param	string|array	Valid PHP callback
                    
342	 * @param	array 			Arguements for the above function/method
                    
354			// Create the contents
                    
355			$contents = call_user_func_array($callback, $args);
                    
356
                    
474
                    
475/* End of file driver.php */
                    
476
                    
                
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	}
                    
                
Template.php https://bitbucket.org/thisislawatts/stacey.git | PHP | 430 lines
                    
1<?php
                    
2
                    
116            unset($b[$name]);
                    
117            call_user_func($blocks[$name], $context, $b);
                    
118        } elseif (isset($this->blocks[$name])) {
                    
118        } elseif (isset($this->blocks[$name])) {
                    
119            call_user_func($this->blocks[$name], $context, $blocks);
                    
120        } elseif (false !== $parent = $this->getParent($context)) {
                    
413
                    
414        $ret = call_user_func_array(array($object, $method), $arguments);
                    
415
                    
                
Image.php https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 470 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Image.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
23/** @see Zend_Barcode_Renderer_RendererAbstract*/
                    
24require_once 'Zend/Barcode/Renderer/RendererAbstract.php';
                    
25
                    
84        if (!function_exists('gd_info')) {
                    
85            require_once 'Zend/Barcode/Renderer/Exception.php';
                    
86            throw new Zend_Barcode_Renderer_Exception('Zend_Barcode_Renderer_Image requires the GD extension');
                    
100        if (!is_numeric($value) || intval($value) < 0) {
                    
101            require_once 'Zend/Barcode/Renderer/Exception.php';
                    
102            throw new Zend_Barcode_Renderer_Exception(
                    
128        if (!is_numeric($value) || intval($value) < 0) {
                    
129            require_once 'Zend/Barcode/Renderer/Exception.php';
                    
130            throw new Zend_Barcode_Renderer_Exception(
                    
                
SCP.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 361 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include('Net/SCP.php');
                    
13 *    include('Net/SCP.php');
                    
14 *    include('Net/SSH2.php');
                    
15 *
                    
                
Mailer.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 504 lines
                    
1<?php namespace Illuminate\Mail;
                    
2
                    
362		{
                    
363			return call_user_func($callback, $message);
                    
364		}
                    
                
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    }
                    
                
error.php https://github.com/adivik2000/nigraha.git | PHP | 394 lines
                    
1<?php
                    
2/* SVN FILE: $Id: error.php 5811 2007-10-20 06:39:14Z phpnut $ */
                    
3/**
                    
7 *
                    
8 * PHP versions 4 and 5
                    
9 *
                    
9 *
                    
10 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
                    
11 * Copyright 2005-2007, Cake Software Foundation, Inc.
                    
19 * @copyright		Copyright 2005-2007, Cake Software Foundation, Inc.
                    
20 * @link				http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
                    
21 * @package			cake
                    
22 * @subpackage		cake.cake.libs
                    
23 * @since			CakePHP(tm) v 0.10.5.1732
                    
24 * @version			$Revision: 5811 $
                    
                
TextDataTest.php https://gitlab.com/thohid44/Complete_Sumitted_Project_Without_Filter_Search | PHP | 365 lines
                    
14        }
                    
15        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
16
                    
42		$expectedResult = array_pop($args);
                    
43		$result = call_user_func_array(array('PHPExcel_Calculation_TextData','ASCIICODE'),$args);
                    
44		$this->assertEquals($expectedResult, $result);
                    
170		$expectedResult = array_pop($args);
                    
171		$result = call_user_func_array(array('PHPExcel_Calculation_TextData','STRINGLENGTH'),$args);
                    
172		$this->assertEquals($expectedResult, $result);
                    
186		$expectedResult = array_pop($args);
                    
187		$result = call_user_func_array(array('PHPExcel_Calculation_TextData','SEARCHINSENSITIVE'),$args);
                    
188		$this->assertEquals($expectedResult, $result);
                    
355		$expectedResult = array_pop($args);
                    
356		$result = call_user_func_array(array('PHPExcel_Calculation_TextData','VALUE'),$args);
                    
357		$this->assertEquals($expectedResult, $result, NULL, 1E-8);
                    
                
AuthenticationHttpTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 458 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
10
                    
11require_once 'libraries/config.default.php';
                    
12require_once 'test/PMATestCase.php';
                    
16 *
                    
17 * @package PhpMyAdmin-test
                    
18 */
                    
121
                    
122        call_user_func_array(array($header_method, 'withConsecutive'), $headers);
                    
123
                    
141        $_REQUEST['old_usr'] = '1';
                    
142        $GLOBALS['cfg']['Server']['LogoutURL'] = 'http://phpmyadmin.net/logout';
                    
143
                    
                
XRDS.php https://github.com/supplychainstudies/OSI.git | PHP | 418 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
18 */
                    
19//require_once 'Services/Yadis/XML.php';
                    
20require_once 'XML.php';
                    
370                foreach ($filters as $filter) {
                    
371                    if (call_user_func_array($filter, array($service))) {
                    
372                        $matches++;
                    
                
LoggerTest.php https://gitlab.com/oytunistrator/google-api-php-client | PHP | 445 lines
                    
1<?php
                    
2/**
                    
20
                    
21class LoggerTest extends PHPUnit_Framework_TestCase
                    
22{
                    
42
                    
43    call_user_func(array($logger, $key), $message, $context);
                    
44  }
                    
222
                    
223    call_user_func(array($logger, $key), $message, $context);
                    
224  }
                    
253  {
                    
254    $fp = fopen('php://memory', 'r+');
                    
255
                    
265  {
                    
266    $fp = fopen('php://memory', 'r+');
                    
267
                    
                
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  }
                    
                
binder.php https://gitlab.com/alexprowars/bitrix | PHP | 442 lines
                    
1<?php
                    
2
                    
256	/**
                    
257	 * Returns list of method params which possible use in call_user_func_array().
                    
258	 * @return array
                    
                
Dispatcher.php https://gitlab.com/madwanz64/laravel | PHP | 224 lines
                    
1<?php
                    
2
                    
147
                    
148        $queue = call_user_func($this->queueResolver, $connection);
                    
149
                    
                
settings_connections.php https://gitlab.com/x33n/platform | PHP | 225 lines
                    
1<?php
                    
2$page_data_object = new CASHConnection(AdminHelper::getPersistentData('cash_effective_user'));
                    
123						$return_url = rtrim(CASHSystem::getCurrentURL(),'/') . '/finalize';
                    
124						// PHP <= 5.2 >>>> $cash_admin->page_data['state_markup'] = call_user_func($seed_name . '::getRedirectMarkup', $return_url);
                    
125						$cash_admin->page_data['state_markup'] = $seed_name::getRedirectMarkup($return_url);
                    
128						$_REQUEST['connections_base_uri'] = $connections_base_uri;
                    
129						// PHP <= 5.2 >>>> $cash_admin->page_data['state_markup'] = call_user_func($seed_name . '::handleRedirectReturn', $_REQUEST);
                    
130						$cash_admin->page_data['state_markup'] = $seed_name::handleRedirectReturn($_REQUEST);
                    
                
class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
                    
1<?php
                    
2/**
                    
336
                    
337		$result = call_user_func_array( $function, $arguments );
                    
338
                    
                
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'),
                    
                
Mail.php https://bitbucket.org/kdms/sh-magento.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 */
                    
                
 

Source

Language