100+ results results for 'php call_user_func' (329 ms)
1<?php 2/** 339 $ocost = array(); 340 $costs = call_user_func_array( 'array_merge', $costs ); 341BasePhysicalObjectI18n.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 }fpdf_tpl.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 445 lines
1<?php 2// 136 $args = func_get_args(); 137 return call_user_func_array(array($this, 'TCPDF::endTemplate'), $args); 138 } 260 $args = func_get_args(); 261 return call_user_func_array(array($this, 'TCPDF::SetFont'), $args); 262 } 286 $args = func_get_args(); 287 return call_user_func_array(array($this, 'TCPDF::Image'), $args); 288 } 307 $args = func_get_args(); 308 return call_user_func_array(array($this, 'TCPDF::AddPage'), $args); 309 } 322 $args = func_get_args(); 323 return call_user_func_array(array($this, 'TCPDF::Link'), $args); 324 }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 }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 }arr.php https://github.com/pratikdhaboo/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 *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 +----------------------------------------------------------------------+BaseFcactcomHc.php https://github.com/cidesa/roraima-comunal.git | PHP | 745 lines
1<?php 2 374 if(isset($this->$metodo)) $this->$metodo = $a[0]; 375 }else call_user_func_array($m, $a); 376 489 490 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 491 { 547 548 public function toArray($keyType = BasePeer::TYPE_PHPNAME) 549 { 570 571 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME) 572 { 625 626 public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME) 627 {class-wp-embed.php https://github.com/AJenbo/ubuntudanmark.dk.git | 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 );_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 ?>Yadis.php https://github.com/DartmouthHackerClub/Monologue_Community.git | 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"; 32DebugClassLoader.php https://gitlab.com/guillaumev/alkarama | PHP | 349 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; 200 201 if (in_array(strtolower($refl->getShortName()), self::$php7Reserved)) { 202 @trigger_error(sprintf('%s uses a reserved class name (%s) that will break on PHP 7 and higher', $name, $refl->getShortName()), E_USER_DEPRECATED);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 stringmeta-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 ); 312Number.php https://github.com/grjones/qframe.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]) {Parser.php https://gitlab.com/ubrium/makeup | 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); 183Updater.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-walker-comment.php https://gitlab.com/webkod3r/tripolis | 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">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',Prefs.php https://github.com/sgtcarneiro/horde.git | PHP | 445 lines
1<?php 2/** 185 if ($this->_opts['sizecallback'] && 186 call_user_func($this->_opts['sizecallback'], $pref, strlen($val))) { 187 return false;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');class-walker-comment.php https://gitlab.com/juanito.abelo/nlmobile | 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">Yaml.php https://github.com/kervin/kyzstudio.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);Command.php https://github.com/nicnocquee/PPION-Website.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 );Tree_builder.php https://bitbucket.org/mbaily/tremain.git | PHP | 511 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 16 17 require_once APPPATH.'libraries/datastructures/Tree.php'; 18 require_once APPPATH.'libraries/relationship_parser/Nodes.php'; 18 require_once APPPATH.'libraries/relationship_parser/Nodes.php'; 19 require_once APPPATH.'libraries/relationship_parser/Iterators.php'; 20 108 $entry_ids = $node->parent()->entry_ids(); 109 $entry_ids = call_user_func_array('array_merge', $entry_ids); 110 } 119 $this->_unique_ids = array_unique( 120 call_user_func_array('array_merge', $all_entry_ids), 121 SORT_NUMERIC 166 { 167 require_once APPPATH.'libraries/relationship_parser/Parser.php'; 168 }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 }class-wp-customize-setting.php https://gitlab.com/Gashler/dp | 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;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); 342AssetFactory.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' ) ); 250ext_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;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 *arr.php https://gitlab.com/ken3/bluSky | 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 *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>Yaml.php https://github.com/StefanRHRO/SCRM.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);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 }class-wp-customize-panel.php https://gitlab.com/webkod3r/tripolis | 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(); ?>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'; 258widgets.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' ); ?> 323AdminPage.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" ); ?>' ); 387admin_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;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 }Yaml.php https://github.com/ianbogda/FileZ.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);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 }Manager.php https://github.com/akash6190/pragyan.git | PHP | 303 lines
1<?php 2 11 * The base session class used by the Services_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 Services_Yadis_PHPSession { 18 /** 89 90 // Stale flag for cleanup if PHP lib has trouble. 91 $this->stale = false; 173 * 174 * @param Services_Yadis_PHPSession $session An object which 175 * implements the Services_Yadis_PHPSession API. 205 206 $services = call_user_func($discover_cb, $this->url, 207 $fetcher);Option.php https://github.com/nattaphat/hgis.git | PHP | 252 lines
1<?php 2 18 19namespace PhpOption; 20 66 return new LazyOption(function() use ($callback, $arguments, $noneValue) { 67 $return = call_user_func_array($callback, $arguments); 68 135 * 136 * ```php 137 * $repo->findSomething() 154 * 155 * ```php 156 * $comment->getMaybeFile()->ifDefined(function($file) { 175 * 176 * ```php 177 * (new Some("foo"))->map('strtoupper')->get(); // "FOO"Yaml.php https://github.com/oveach/tuto-zf-doctrine2.git | 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);EventDispatcher.php https://gitlab.com/Blueprint-Marketing/solr-power | 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 }Format.php https://github.com/Sa-ryong/Stadioom-php.git | PHP | 263 lines
1<?php 2/** 28 { 29 // Stupid stuff to emulate the "new static()" stuff in this libraries PHP 5.3 equivilent 30 $class = __CLASS__; 45 { 46 $data = call_user_func(array($this, '_from_' . $from_type), $data); 47 } 192 193 $output = implode(',', $headings).PHP_EOL; 194 foreach ($data as &$row) 195 { 196 $output .= '"'.implode('","', $row).'"'.PHP_EOL; 197 } 213 214 // Output as a string representing the PHP structure 215 public function to_php()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'); 378AuthAction.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 }Diff.php https://github.com/joshuaswarren/weatherhub.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 }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 }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;Number.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.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]) {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 >= 5.1.0)</p><p class="refpurpose"><span class="refname">ReflectionFunction::invokeArgs</span> — <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"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">title</span><span style="color: #007700">(</span><span style="color: #0000BB">$title</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">)<br />{<br /> return </span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s. %s\r\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">$title</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #0000BB">$function </span><span style="color: #007700">= new </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 </span><span style="color: #0000BB">$function</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'Dr'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Phil'</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?></span> 89 <div class="example-contents"> 90<div class="phpcode"><code><span style="color: #000000"> 91<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">get_false_conditions</span><span style="color: #007700">(array </span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, array &</span><span style="color: #0000BB">$false_conditions</span><span style="color: #007700">)<br />{<br /> foreach (</span><span style="color: #0000BB">$conditions </span><span style="color: #007700">as </span><span style="color: #0000BB">$condition</span><span style="color: #007700">) {<br /> if (!</span><span style="color: #0000BB">$condition</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">$false_conditions</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$condition</span><span style="color: #007700">;<br /> }<br /> }<br />}<br /><br /></span><span style="color: #0000BB">$function_ref </span><span style="color: #007700">= new </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 </span><span style="color: #007700">= array(</span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, -</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$false_conditions </span><span style="color: #007700">= array();<br /><br /></span><span style="color: #0000BB">$function_ref</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, &</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">?></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(Manager.php https://github.com/Emaratilicious/Garden.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,xpdovalidator.class.php https://github.com/francisreboucas/revolution.git | PHP | 323 lines
1<?php 2/* 74 if (is_callable($callable)) { 75 $result= call_user_func_array($callable, array($this->object->_fields[$column],$rule['parameters'])); 76 if (!$result) $this->addMessage($column, $ruleName, isset($rule['parameters']['message']) ? $rule['parameters']['message'] : $ruleName . ' failed'); 92 $callableParams= array($this->object->_fields[$column], $rule['parameters']); 93 $result= call_user_func_array($callable, $callableParams); 94 } else {Environment.php https://bitbucket.org/mikebosire/framework.git | PHP | 577 lines
1<?php namespace Illuminate\View; 2 49 */ 50 protected $extensions = array('blade.php' => 'blade', 'php' => 'php'); 51 295 296 return call_user_func_array($callable, func_get_args()); 297 };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 }PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
1<?php 2 15 * 16 * require_once 'propel/util/PropelPager.php'; 17 * require_once 'PEACH/Propel/Poem/poemPeer.php'; 282 $this->criteria->setLimit($this->max); 283 $this->rs = call_user_func(array($this->getPeerClass(), $this->getPeerSelectMethod()), $this->criteria); 284 } 503 504 $this->recordCount = call_user_func( 505 array(file.php https://github.com/rii-J/concrete5-de.git | PHP | 526 lines
1<?php 2 41 $fv = $this->getApprovedVersion(); 42 return call_user_func_array(array($fv, $nm), $a); 43 }PluginBroker.php https://github.com/mfairchild365/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 }Mail.php https://github.com/kervin/kyzstudio.git | PHP | 427 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Mail.php 22971 2010-09-18 20:32:24Z mikaelkael $ 21 */ 23/** Zend_Log_Writer_Abstract */ 24#require_once 'Zend/Log/Writer/Abstract.php'; 25 26/** Zend_Log_Exception */ 27#require_once 'Zend/Log/Exception.php'; 28 29/** Zend_Log_Formatter_Simple*/ 30#require_once 'Zend/Log/Formatter/Simple.php'; 31 43 * @license http://framework.zend.com/license/new-bsd New BSD License 44 * @version $Id: Mail.php 22971 2010-09-18 20:32:24Z mikaelkael $ 45 */builtin-functions.h https://github.com/tstarling/hiphop-php.git | C Header | 376 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_BUILTIN_FUNCTIONS_H_ 18#define incl_HPHP_BUILTIN_FUNCTIONS_H_GraphViz.php https://github.com/pear/FSM.git | PHP | 331 lines
1<?php 2/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ 24 * @package FSM 25 * @author Philippe Jausions <jausions@php.net> 26 * @copyright 2007 Philippe Jausions / 11abacus 26 * @copyright 2007 Philippe Jausions / 11abacus 27 * @license http://www.11abacus.com/license/NewBSD.php New BSD License 28 * @version CVS: $Id$ 33 */ 34require_once 'FSM.php'; 35require_once 'Image/GraphViz.php'; 42 * 43 * PHP 5 or later is recommended to be able to handle action that return a new 44 * state. 46 * @package FSM 47 * @author Philippe Jausions <jausions@php.net> 48 * @copyright (c) 2007 by Philippe Jausions / 11abacusopWidgetFormRichTextareaOpenPNE.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'; 43TraceableEventDispatcher.php https://github.com/jdewit/symfony.git | PHP | 414 lines
1<?php 2 192 { 193 return call_user_func_array(array($this->dispatcher, $method), $arguments); 194 } 199 * This method is public because it is used in a closure. 200 * Whenever Symfony will require PHP 5.4, this could be changed 201 * to a proper private method. 233 * This method is public because it is used in a closure. 234 * Whenever Symfony will require PHP 5.4, this could be changed 235 * to a proper private method. 392 393 call_user_func($listener, $event, $eventName, $self); 394Widgets.php https://github.com/kadoshmt/Pyro-Deals.git | PHP | 476 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2 166 167 $data = method_exists($this->_widget, 'run') ? call_user_func(array($this->_widget, 'run'), $options) : array(); 168 222 // Check for default data if there is any 223 $data = method_exists($this->_widget, 'form') ? call_user_func(array(&$this->_widget, 'form'), $options) : array(); 224 414 { 415 return (array) call_user_func(array(&$this->_widget, 'save'), $options); 416 }ezuseroperationcollection.php https://github.com/Yannix/ezpublish.git | PHP | 377 lines
1<?php 2/** 11/*! 12 \class eZUserOperationCollection ezuseroperationcollection.php 13 \brief The class eZUserOperationCollection does 134 if ( $verifyUserTypeClass && method_exists( $verifyUserTypeClass, 'verifyUser' ) ) 135 $sendUserMail = call_user_func( array( $verifyUserTypeClass, 'verifyUser' ), $user, $tpl ); 136 elsepolicyedit.php https://github.com/Yannix/ezpublish.git | PHP | 382 lines
1<?php 2/** 46 $obj = new $limitation['class']( array() ); 47 $limitationValueList = call_user_func_array( array( $obj, $limitation['function'] ), $limitation['parameter'] ); 48 $limitationValueArray = array();helper.php https://github.com/projectfork/Projectfork.git | PHP | 384 lines
1<?php 2/** 362 363 $supported = call_user_func(array($class_name, 'isSupported'), $context); 364 370 { 371 $helper_file = JPATH_ADMINISTRATOR . '/components/' . $component . '/helpers/notifications.php'; 372 $class_name = 'PF' . str_replace('com_pf', '', $component) . 'NotificationsHelper';Menu.php https://github.com/Basti-sama/Bengine.git | PHP | 251 lines
1<?php 2/** 6 * @copyright Copyright protected by / Urheberrechtlich geschützt durch "Sebastian Noll" <snoll@4ym.org> 7 * @version $Id: Menu.php 8 2010-10-17 20:55:04Z secretchampion $ 8 */ 204 case "callback": 205 return call_user_func_array($param["function"], $param["arguments"]); 206 break;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 }Yaml.php https://bitbucket.org/droidzone/i-mscp.git | PHP | 413 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Yaml.php 24807 2012-05-15 12:10:42Z 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);MY_Model.php https://github.com/JamieLomas/pyrocms.git | PHP | 662 lines
1<?php 2 97 { 98 $result = call_user_func_array($db_method, $arguments); 99 541 { 542 $data = call_user_func_array(array($this, $method), array($data)); 543 } 558 { 559 call_user_func_array(array($this, $method), array($data, $id)); 560 }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 ) {