100+ results for 'php func_get_args'
Not the results you expected?
SelectExtender.php (https://gitlab.com/reasonat/test8) PHP · 536 lines
1 <?php
3 namespace Drupal\Core\Database\Query;
73 */
74 public function hasAllTags() {
75 return call_user_func_array(array($this->query, 'hasAllTags'), func_get_args());
76 }
80 */
81 public function hasAnyTag() {
82 return call_user_func_array(array($this->query, 'hasAnyTag'), func_get_args());
83 }
class-wp-walker.php (https://gitlab.com/WPonEB/WPonEB) PHP · 425 lines
ImageSize.php (https://github.com/christophervalles/Zend-Framework-Skeleton.git) PHP · 364 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: ImageSize.php 23775 2011-03-01 17:25:24Z ralph $
20 */
23 * @see Zend_Validate_Abstract
24 */
25 require_once 'Zend/Validate/Abstract.php';
27 /**
131 $options = array('minwidth' => $options);
132 }
133 $argv = func_get_args();
134 array_shift($argv);
135 $options['minheight'] = array_shift($argv);
zend_lucene.php (https://github.com/TheDgtl/customisation-db.git) PHP · 445 lines
1 <?php
2 /**
3 * File containing the ezcSearchQueryZendLucene class.
167 public function select()
168 {
169 $args = func_get_args();
170 $cols = ezcSearchQueryTools::arrayFlatten( $args );
171 $this->resultFields = array_merge( $this->resultFields, $cols );
192 public function highlight()
193 {
194 $args = func_get_args();
195 $cols = ezcSearchQueryTools::arrayFlatten( $args );
196 $this->highlightFields = array_merge( $this->highlightFields, $cols );
334 public function lOr()
335 {
336 $args = func_get_args();
337 if ( count( $args ) < 1 )
338 {
class-wp-walker.php (https://bitbucket.org/ctcreative/wptest.git) PHP · 397 lines
Snapshot.php (https://gitlab.com/jjpa2018/dashboard) PHP · 435 lines
1 <?php declare(strict_types=1);
2 /*
3 * This file is part of sebastian/global-state.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
13 use function array_merge;
14 use function array_reverse;
15 use function func_get_args;
16 use function get_declared_classes;
17 use function get_declared_interfaces;
380 private function enumerateObjectsAndResources($variable): array
381 {
382 if (isset(func_get_args()[1])) {
383 $processed = func_get_args()[1];
FilesystemAdapter.php (https://gitlab.com/Sigpot/AirSpot) PHP · 383 lines
1 <?php
3 namespace Illuminate\Filesystem;
120 * @return int
121 */
122 public function prepend($path, $data, $separator = PHP_EOL)
123 {
124 if ($this->exists($path)) {
136 * @return int
137 */
138 public function append($path, $data, $separator = PHP_EOL)
139 {
140 if ($this->exists($path)) {
153 public function delete($paths)
154 {
155 $paths = is_array($paths) ? $paths : func_get_args();
157 foreach ($paths as $path) {
Grammar.php (https://github.com/sergiosgc/Structures_Grammar.git) PHP · 407 lines
1 <?php
2 /* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
3 namespace sergiosgc;
175 public function &addContextFreeRule()
176 {
177 $symbols = func_get_args();
178 if (count($symbols) == 0) throw new Structures_Grammar_Exception('At least one symbol is needed in a context-free grammar rule');
179 foreach($symbols as $i => $symbol) if (!($symbol instanceof Structures_Grammar_Symbol)) $symbols[$i] = Structures_Grammar_Symbol::create($symbol);
capabilities.php (https://github.com/itspriddle/itt-capstone.git) PHP · 421 lines
1 <?php
3 class WP_Roles {
228 $cap = $this->translate_level_to_cap($cap);
230 $args = array_slice(func_get_args(), 1);
231 $args = array_merge(array($cap, $this->id), $args);
232 $caps = call_user_func_array('map_meta_cap', $args);
250 // Map meta capabilities to primitive capabilities.
251 function map_meta_cap($cap, $user_id) {
252 $args = array_slice(func_get_args(), 2);
253 $caps = array();
312 $current_user = wp_get_current_user();
314 $args = array_slice(func_get_args(), 1);
315 $args = array_merge(array($capability), $args);
FilesSize.php (https://gitlab.com/Ltaimao/wecenter) PHP · 164 lines
1 <?php
2 /**
3 * Zend Framework
23 * @see Zend_Validate_File_Size
24 */
25 //require_once 'Zend/Validate/File/Size.php';
27 /**
77 $options = array('max' => $options);
78 } elseif (!is_array($options)) {
79 //require_once 'Zend/Validate/Exception.php';
80 throw new Zend_Validate_Exception('Invalid options to validator provided');
81 }
83 if (1 < func_num_args()) {
84 $argv = func_get_args();
85 array_shift($argv);
86 $options['max'] = array_shift($argv);
mysql_login.php (https://github.com/dlowe/aichallenge.git) PHP · 161 lines
FilesSize.php (https://gitlab.com/rsilveira1987/Expresso) PHP · 164 lines
1 <?php
2 /**
3 * Zend Framework
23 * @see Zend_Validate_File_Size
24 */
25 require_once 'Zend/Validate/File/Size.php';
27 /**
77 $options = array('max' => $options);
78 } elseif (!is_array($options)) {
79 require_once 'Zend/Validate/Exception.php';
80 throw new Zend_Validate_Exception('Invalid options to validator provided');
81 }
83 if (1 < func_num_args()) {
84 $argv = func_get_args();
85 array_shift($argv);
86 $options['max'] = array_shift($argv);
FilesSize.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 164 lines
1 <?php
2 /**
3 * Zend Framework
23 * @see Zend_Validate_File_Size
24 */
25 #require_once 'Zend/Validate/File/Size.php';
27 /**
77 $options = array('max' => $options);
78 } elseif (!is_array($options)) {
79 #require_once 'Zend/Validate/Exception.php';
80 throw new Zend_Validate_Exception('Invalid options to validator provided');
81 }
83 if (1 < func_num_args()) {
84 $argv = func_get_args();
85 array_shift($argv);
86 $options['max'] = array_shift($argv);
ImageSize.php (https://github.com/richhl/kalturaCE.git) PHP · 366 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: ImageSize.php 18148 2009-09-16 19:27:43Z thomas $
20 */
23 * @see Zend_Validate_Abstract
24 */
25 require_once 'Zend/Validate/Abstract.php';
27 /**
133 $options = array('minwidth' => $options);
134 }
135 $argv = func_get_args();
136 array_shift($argv);
137 $options['minheight'] = array_shift($argv);
select.php (https://github.com/woxxy/FoolFuuka.git) PHP · 426 lines
1 <?php
2 /**
3 * Database query builder for SELECT statements.
7 * @author Kohana Team
8 * @copyright (c) 2008-2009 Kohana Team
9 * @license http://kohanaphp.com/license
10 */
79 public function select($columns = NULL)
80 {
81 $columns = func_get_args();
83 $this->_select = array_merge($this->_select, $columns);
108 public function from($tables)
109 {
110 $tables = func_get_args();
112 $this->_from = array_merge($this->_from, $tables);
ResponseHeader.php (https://github.com/mrbanzai/zf2.git) PHP · 395 lines
1 <?php
2 /**
3 * Zend Framework
15 * @category Zend
16 * @package Zend_Test
17 * @subpackage PHPUnit
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
23 * @namespace
24 */
25 namespace Zend\Test\PHPUnit\Constraint;
26 use Zend\Controller\Response;
28 /**
29 * Response header PHPUnit Constraint
30 *
31 * @uses PHPUnit_Framework_Constraint
DateTest.php (https://gitlab.com/Abubakker/web_apps_php_26) PHP · 188 lines
12 define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
13 }
14 require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
15 }
50 $expectedResult += gmmktime(0,0,0);
51 }
52 $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args);
53 $this->assertEquals($expectedResult, $result);
54 }
177 $expectedResult += gmmktime(0,0,0);
178 }
179 $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args);
180 $this->assertEquals($expectedResult, $result);
181 }
ResponseHeader.php (https://github.com/obias/zf2.git) PHP · 395 lines
1 <?php
2 /**
3 * Zend Framework
15 * @category Zend
16 * @package Zend_Test
17 * @subpackage PHPUnit
18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
23 * @namespace
24 */
25 namespace Zend\Test\PHPUnit\Constraint;
26 use Zend\Controller\Response;
28 /**
29 * Response header PHPUnit Constraint
30 *
31 * @uses PHPUnit_Framework_Constraint
class.wp-dependencies.php (https://gitlab.com/gregtyka/helloworld1234) PHP · 509 lines
Request.php (https://bitbucket.org/helfreire/tccsite.git) PHP · 505 lines
1 <?php namespace Illuminate\Http;
3 use Illuminate\Session\Store as SessionStore;
111 public function is($pattern)
112 {
113 foreach (func_get_args() as $pattern)
114 {
115 if (str_is($pattern, $this->path()))
150 public function has($key)
151 {
152 if (count(func_get_args()) > 1)
153 {
154 foreach (func_get_args() as $value)
200 public function only($keys)
201 {
202 $keys = is_array($keys) ? $keys : func_get_args();
204 return array_only($this->input(), $keys) + array_fill_keys($keys, null);
Connection.php (https://gitlab.com/aleksbenmaza/PPE_NEW) PHP · 150 lines
mysql.php (https://github.com/archoo/electionleaflets.git) PHP · 120 lines
1 <?php
2 // +----------------------------------------------------------------------+
3 // | PHP versions 4 and 5 |
8 // +----------------------------------------------------------------------+
9 // | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB |
10 // | API as well as database abstraction for PHP applications. |
11 // | This LICENSE is in the BSD license style. |
12 // | |
43 // +----------------------------------------------------------------------+
44 //
45 // $Id: mysql.php,v 1.1 2007/09/21 08:37:02 richard Exp $
46 //
48 require_once 'MDB2/Driver/Function/Common.php';
50 /**
FilesSize.php (https://github.com/mrbanzai/zf2.git) PHP · 164 lines
Boolean.php (https://github.com/MontmereLimited/ZendFramework-v1.git) PHP · 375 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: Boolean.php 23775 2011-03-01 17:25:24Z ralph $
20 */
23 * @see Zend_Filter_Interface
24 */
25 // // // // // // // // // // require_once 'Zend/Filter/Interface.php';
27 /**
53 self::EMPTY_ARRAY => 'array',
54 self::NULL => 'null',
55 self::PHP => 'php',
56 self::FALSE_STRING => 'false',
57 self::YES => 'yes',
functions.php (https://gitlab.com/alexandresgv/siteentec) PHP · 226 lines
1 <?php
2 /**
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
5 *
9 *
10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11 * @link http://cakephp.org CakePHP(tm) Project
12 * @since 3.0.0
13 * @license http://www.opensource.org/licenses/mit-license.php MIT License
96 * @param mixed $args Array with arguments or multiple arguments in function.
97 * @return string|null Plural form of translated string.
98 * @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__dn
99 */
100 function __dn($domain, $singular, $plural, $count, $args = null)
ImageSize.php (https://bitbucket.org/alexandretaz/maniac_divers.git) PHP · 379 lines
ResponseHeader.php (https://gitlab.com/devtoannh/cafe) PHP · 400 lines
124 if (!in_array($assertType, $this->_assertTypes)) {
125 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
126 throw new Zend_Test_PHPUnit_Constraint_Exception(sprintf('Invalid assertion type "%s" provided to %s constraint', $assertType, __CLASS__));
164 case self::ASSERT_HEADER_REGEX:
165 if (4 > $argc) {
166 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
167 throw new Zend_Test_PHPUnit_Constraint_Exception('Both a header name and content to match are required for ' . __FUNCTION__);
173 : $this->_headerRegex($response, $header, $match);
174 default:
175 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
176 throw new Zend_Test_PHPUnit_Constraint_Exception('Invalid assertion type ' . __FUNCTION__);
190 public function fail($other, $description, $not = false)
191 {
192 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
193 switch ($this->_assertType) {
194 case self::ASSERT_RESPONSE_CODE:
Store.php (https://gitlab.com/madwanz64/laravel) PHP · 672 lines
1 <?php
3 namespace Illuminate\Session;
189 $placeholder = new stdClass;
191 return ! collect(is_array($key) ? $key : func_get_args())->contains(function ($key) use ($placeholder) {
192 return $this->get($key, $placeholder) === $placeholder;
193 });
202 public function has($key)
203 {
204 return ! collect(is_array($key) ? $key : func_get_args())->contains(function ($key) {
205 return is_null($this->get($key));
206 });
395 public function keep($keys = null)
396 {
397 $this->mergeNewFlashes($keys = is_array($keys) ? $keys : func_get_args());
399 $this->removeFromOldFlashData($keys);
ResponseHeader.php (https://github.com/MontmereLimited/ZendFramework-v1.git) PHP · 400 lines
124 if (!in_array($assertType, $this->_assertTypes)) {
125 // // // // // // // // // // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
126 throw new Zend_Test_PHPUnit_Constraint_Exception(sprintf('Invalid assertion type "%s" provided to %s constraint', $assertType, __CLASS__));
164 case self::ASSERT_HEADER_REGEX:
165 if (4 > $argc) {
166 // // // // // // // // // // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
167 throw new Zend_Test_PHPUnit_Constraint_Exception('Both a header name and content to match are required for ' . __FUNCTION__);
173 : $this->_headerRegex($response, $header, $match);
174 default:
175 // // // // // // // // // // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
176 throw new Zend_Test_PHPUnit_Constraint_Exception('Invalid assertion type ' . __FUNCTION__);
190 public function fail($other, $description, $not = false)
191 {
192 // // // // // // // // // // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
193 switch ($this->_assertType) {
194 case self::ASSERT_RESPONSE_CODE:
ImageSize.php (https://github.com/grandison/budo16.git) PHP · 370 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: ImageSize.php 16971 2009-07-22 18:05:45Z mikaelkael $
20 */
23 * @see Zend_Validate_Abstract
24 */
25 // require_once 'Zend/Validate/Abstract.php';
27 /**
137 $options = array('minwidth' => $options);
138 }
139 $argv = func_get_args();
140 array_shift($argv);
141 $options['minheight'] = array_shift($argv);
class.participant.php (https://github.com/addy689/Sockmonkey.git) PHP · 283 lines
bootstrap.php (https://github.com/toopay/gas-orm.git) PHP · 230 lines
26 require_once GASPATH.'classes'.DIRECTORY_SEPARATOR.'core.php';
27 require_once GASPATH.'classes'.DIRECTORY_SEPARATOR.'data.php';
28 require_once GASPATH.'classes'.DIRECTORY_SEPARATOR.'janitor.php';
29 require_once GASPATH.'classes'.DIRECTORY_SEPARATOR.'orm.php';
30 require_once GASPATH.'interfaces'.DIRECTORY_SEPARATOR.'extension.php';
136 * global is_php method
137 */
138 function is_php($version = '5.0.0')
139 {
140 static $_is_php;
143 if ( ! isset($_is_php[$version]))
144 {
145 $_is_php[$version] = (version_compare(PHP_VERSION, $version) < 0) ? FALSE : TRUE;
146 }
SearchRequest.php (https://bitbucket.org/openplacement/sherlock.git) PHP · 348 lines
1 <?php
2 /**
3 * User: Zachary Tong
81 {
82 $this->params['index'] = array();
83 $args = func_get_args();
84 foreach ($args as $arg) {
85 $this->params['index'][] = $arg;
101 {
102 $this->params['type'] = array();
103 $args = func_get_args();
104 foreach ($args as $arg) {
105 $this->params['type'][] = $arg;
134 public function sort($value)
135 {
136 $args = func_get_args();
138 //single param, array of sorts
text.php (https://bitbucket.org/asosso/joomla31.git) PHP · 333 lines
1 <?php
2 /**
3 * @package Joomla.Platform
31 *
32 * Examples:
33 * <script>alert(Joomla.JText._('<?php echo JText::_("JDEFAULT", array("script"=>true));?>'));</script>
34 * will generate an alert message containing 'Default'
35 * <?php echo JText::_("JDEFAULT");?> it will generate a 'Default' string
101 *
102 * Examples:
103 * <?php echo JText::alt("JALL","language");?> it will generate a 'All' string in English but a "Toutes" string in French
104 * <?php echo JText::alt("JALL","module");?> it will generate a 'All' string in English but a "Tous" string in French
142 *
143 * Examples:
144 * <script>alert(Joomla.JText._('<?php echo JText::plural("COM_PLUGINS_N_ITEMS_UNPUBLISHED", 1, array("script"=>true));?>'));</script>
145 * will generate an alert message containing '1 plugin successfully disabled'
146 * <?php echo JText::plural("COM_PLUGINS_N_ITEMS_UNPUBLISHED", 1);?> it will generate a '1 plugin successfully disabled' string
mysql.php (https://github.com/alvinj/Cato-CRUD-Generator.git) PHP · 120 lines
1 <?php
2 // +----------------------------------------------------------------------+
3 // | PHP versions 4 and 5 |
8 // +----------------------------------------------------------------------+
9 // | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB |
10 // | API as well as database abstraction for PHP applications. |
11 // | This LICENSE is in the BSD license style. |
12 // | |
43 // +----------------------------------------------------------------------+
44 //
45 // $Id: mysql.php,v 1.11 2007/01/12 11:29:12 quipo Exp $
46 //
48 require_once 'MDB2/Driver/Function/Common.php';
50 /**
MY_Table.php (https://github.com/netconstructor/OpenVBX.git) PHP · 210 lines
1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2 /**
3 * "The contents of this file are subject to the Mozilla Public License
52 function add_id_row($id, $data)
53 {
54 $args = func_get_args();
55 array_shift($args);
56 $this->rows[] = (is_array($data)) ? $data : $args;
Rename.php (https://github.com/gryzz/crystal_magento.git) PHP · 305 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: Rename.php 16971 2009-07-22 18:05:45Z mikaelkael $
20 */
23 * @see Zend_Filter_Interface
24 */
25 #require_once 'Zend/Filter/Interface.php';
27 /**
59 $options = array('target' => $options);
60 } elseif (!is_array($options)) {
61 #require_once 'Zend/Filter/Exception.php';
62 throw new Zend_Filter_Exception('Invalid options argument provided to filter');
63 }
node.php (https://github.com/ShadowCross/croogo.git) PHP · 244 lines
1 <?php
2 /**
3 * Node
4 *
5 * PHP version 5
6 *
7 * @category Model
9 * @version 1.0
10 * @author Fahad Ibnay Heylaal <contact@fahad19.com>
11 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
12 * @link http://www.croogo.org
13 */
206 function isUniquePerType($fields, $or = true) {
207 if (!is_array($fields)) {
208 $fields = func_get_args();
209 if (is_bool($fields[count($fields) - 1])) {
210 $or = $fields[count($fields) - 1];
DomQuery.php (https://github.com/rogerwu99/GF.git) PHP · 379 lines
2 /** PHPUnit_Framework_Constraint */
3 require_once 'PHPUnit/Framework/Constraint.php';
5 /** Zend_Dom_Query */
15 * @license New BSD {@link http://framework.zend.com/license/new-bsd}
16 */
17 class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
18 {
19 /**#@+
160 case self::ASSERT_CONTENT_COUNT_MAX:
161 if (3 > $argc) {
162 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
163 throw new Zend_Test_PHPUnit_Constraint_Exception('No count provided against which to compare');
187 public function fail($other, $description, $not = false)
188 {
189 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
190 switch ($this->_assertType) {
191 case self::ASSERT_CONTENT_CONTAINS:
Logical.php (https://bitbucket.org/kudutest1/moodlegit.git) PHP · 288 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = -1;
110 foreach ($aArgs as $argCount => $arg) {
162 // Loop through the arguments
163 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
164 $argCount = -1;
165 foreach ($aArgs as $argCount => $arg) {
RedirectResponse.php (https://gitlab.com/ealexis.t/trends) PHP · 200 lines
Condition.php (https://github.com/coleHafner/coleandheather_dabl.git) PHP · 585 lines
ImageSize.php (https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git) PHP · 370 lines
1 <?php
2 /**
3 * Zend Framework
23 * @see Zend_Validate_Abstract
24 */
25 #require_once 'Zend/Validate/Abstract.php';
27 /**
137 $options = array('minwidth' => $options);
138 }
139 $argv = func_get_args();
140 array_shift($argv);
141 $options['minheight'] = array_shift($argv);
147 }
148 } else if (!is_array($options)) {
149 #require_once 'Zend/Validate/Exception.php';
150 throw new Zend_Validate_Exception ('Invalid options to validator provided');
151 }
Rename.php (https://github.com/Exercise/zf2.git) PHP · 304 lines
class-wp-walker.php (https://gitlab.com/darmawan.fatria/df-skp-2014) PHP · 416 lines
log.php (https://github.com/jizillon/phpzillon-browser.git) PHP · 181 lines
PostList.php (https://github.com/nigeldaley/moodle.git) PHP · 300 lines
1 <?php
3 /**
133 public function withTag($tag)
134 {
135 return $this->withTags(func_get_args());
136 }
278 * @see Zend_Service_Delicious_Exception
279 */
280 require_once 'Zend/Service/Delicious/Exception.php';
281 throw new Zend_Service_Delicious_Exception('You are trying to set read-only property');
282 }
295 * @see Zend_Service_Delicious_Exception
296 */
297 require_once 'Zend/Service/Delicious/Exception.php';
298 throw new Zend_Service_Delicious_Exception('You are trying to unset read-only property');
299 }
Subject.php (https://gitlab.com/judielsm/Handora) PHP · 267 lines
call.php (https://github.com/agallou/atoum.git) PHP · 483 lines
1 <?php
3 namespace mageekguy\atoum\asserters\adapter;
5 use
6 mageekguy\atoum,
7 mageekguy\atoum\php,
8 mageekguy\atoum\test,
9 mageekguy\atoum\asserter,
137 $this->setTrace();
139 foreach (func_get_args() as $call)
140 {
141 $this->addBeforeCall($call);
154 $this->setTrace();
156 foreach (func_get_args() as $call)
157 {
158 $this->addAfterCall($call);
Boolean.php (https://gitlab.com/rsilveira1987/Expresso) PHP · 375 lines
1 <?php
2 /**
3 * Zend Framework
23 * @see Zend_Filter_Interface
24 */
25 require_once 'Zend/Filter/Interface.php';
27 /**
40 const EMPTY_ARRAY = 32;
41 const NULL = 64;
42 const PHP = 127;
43 const FALSE_STRING = 128;
44 const YES = 256;
53 self::EMPTY_ARRAY => 'array',
54 self::NULL => 'null',
55 self::PHP => 'php',
56 self::FALSE_STRING => 'false',
57 self::YES => 'yes',
Boolean.php (https://gitlab.com/LisovyiEvhenii/ismextensions) PHP · 375 lines
1 <?php
2 /**
3 * Zend Framework
23 * @see Zend_Filter_Interface
24 */
25 #require_once 'Zend/Filter/Interface.php';
27 /**
40 const EMPTY_ARRAY = 32;
41 const NULL = 64;
42 const PHP = 127;
43 const FALSE_STRING = 128;
44 const YES = 256;
53 self::EMPTY_ARRAY => 'array',
54 self::NULL => 'null',
55 self::PHP => 'php',
56 self::FALSE_STRING => 'false',
57 self::YES => 'yes',
Logical.php (https://gitlab.com/ptisky/API_prestashop) PHP · 288 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version 1.7.9, 2013-06-02
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = -1;
110 foreach ($aArgs as $argCount => $arg) {
162 // Loop through the arguments
163 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
164 $argCount = -1;
165 foreach ($aArgs as $argCount => $arg) {
ImageSize.php (https://github.com/quarkness/piwik.git) PHP · 364 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: ImageSize.php 23775 2011-03-01 17:25:24Z ralph $
20 */
23 * @see Zend_Validate_Abstract
24 */
25 // require_once 'Zend/Validate/Abstract.php';
27 /**
131 $options = array('minwidth' => $options);
132 }
133 $argv = func_get_args();
134 array_shift($argv);
135 $options['minheight'] = array_shift($argv);
TextDataTest.php (https://gitlab.com/techniconline/kmc) PHP · 364 lines
1 <?php
4 require_once 'testDataFileIterator.php';
6 class TextDataTest extends PHPUnit_Framework_TestCase
9 public function setUp()
10 {
11 if (!defined('PHPEXCEL_ROOT')) {
12 define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
13 }
14 require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
16 PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);
MockHandler.php (https://gitlab.com/aleritty/yaitb) PHP · 163 lines
Trigger.php (https://github.com/voidit/chyrp.git) PHP · 176 lines
1 <?php
2 /**
3 * Class: Trigger
39 foreach ($name as $index => $call) {
40 $args = func_get_args();
41 $args[0] = $call;
42 if ($index + 1 == count($name))
50 return false;
52 $arguments = func_get_args();
53 array_shift($arguments);
89 if (is_array($name))
90 foreach ($name as $index => $filter) {
91 $args = func_get_args();
92 $args[0] =& $target;
93 $args[1] = $filter;
Object.php (https://gitlab.com/x33n/respond) PHP · 265 lines
1 <?php
3 class Stripe_Object implements ArrayAccess
128 /**
129 * This unfortunately needs to be public to be used in Util.php
130 *
131 * @param string $class
224 }
226 // Pretend to have late static bindings, even in PHP 5.2
227 protected function _lsb($method)
228 {
229 $class = get_class($this);
230 $args = array_slice(func_get_args(), 1);
231 return call_user_func_array(array($class, $method), $args);
232 }
TextDataTest.php (https://gitlab.com/Zinnurain/destination_finder_beta) PHP · 365 lines
1 <?php
4 require_once 'testDataFileIterator.php';
6 class TextDataTest extends PHPUnit_Framework_TestCase
9 public function setUp()
10 {
11 if (!defined('PHPEXCEL_ROOT'))
12 {
13 define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
14 }
15 require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
17 PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);
Boolean.php (https://github.com/bruisedlee/zf2.git) PHP · 373 lines
1 <?php
2 /**
3 * Zend Framework
43 const EMPTY_ARRAY = 32;
44 const NULL = 64;
45 const PHP = 127;
46 const FALSE_STRING = 128;
47 const YES = 256;
56 self::EMPTY_ARRAY => 'array',
57 self::NULL => 'null',
58 self::PHP => 'php',
59 self::FALSE_STRING => 'false',
60 self::YES => 'yes',
67 * @var integer
68 */
69 protected $_type = self::PHP;
71 /**
callback.php (https://bitbucket.org/pastor399/newcastleunifc.git) PHP · 205 lines
1 <?php
2 /**
3 * @package Joomla.Platform
22 * Executes a cacheable callback if not found in cache else returns cached output and result
23 *
24 * Since arguments to this function are read with func_get_args you can pass any number of
25 * arguments to this method
26 * as long as the first argument passed is the callback definition.
27 *
28 * The callback definition can be in several forms:
29 * - Standard PHP Callback array see <http://php.net/callback> [recommended]
30 * - Function name as a string eg. 'foo' for function foo()
31 * - Static method name as a string eg. 'MyClass::myMethod' for method myMethod() of class MyClass
76 * This is a really not so smart way of doing this... we provide this for backward compatability but this
77 * WILL! disappear in a future version. If you are using this syntax change your code to use the standard
78 * PHP callback array syntax: <http://php.net/callback>
79 *
80 * We have to use some silly global notation to pull it off and this is very unreliable
base.lib.php (https://github.com/jijkoun/ssscrape.git) PHP · 239 lines
Translate.php (https://github.com/MontmereLimited/ZendFramework-v1.git) PHP · 220 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: Translate.php 23775 2011-03-01 17:25:24Z ralph $
20 */
23 * @see Zend_Loader
24 */
25 // // // // // // // // // // require_once 'Zend/Loader.php';
27 /**
28 * @see Zend_Translate_Adapter
29 */
30 // // // // // // // // // // require_once 'Zend/Translate/Adapter.php';
NotEmpty.php (https://gitlab.com/devtoannh/cafe) PHP · 279 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: NotEmpty.php 23775 2011-03-01 17:25:24Z ralph $
20 */
23 * @see Zend_Validate_Abstract
24 */
25 require_once 'Zend/Validate/Abstract.php';
27 /**
58 self::EMPTY_ARRAY => 'array',
59 self::NULL => 'null',
60 self::PHP => 'php',
61 self::SPACE => 'space',
62 self::OBJECT => 'object',
array.php (https://bitbucket.org/organicdevelopment/nooku-framework.git) PHP · 168 lines
Logical.php (https://gitlab.com/rezaul007/content-management-system) PHP · 288 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = -1;
110 foreach ($aArgs as $argCount => $arg) {
162 // Loop through the arguments
163 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
164 $argCount = -1;
165 foreach ($aArgs as $argCount => $arg) {
Logical.php (https://gitlab.com/rsilveira1987/Expresso) PHP · 288 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version 1.7.8, 2012-10-12
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = -1;
110 foreach ($aArgs as $argCount => $arg) {
162 // Loop through the arguments
163 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
164 $argCount = -1;
165 foreach ($aArgs as $argCount => $arg) {
SubProcess.php (https://bitbucket.org/ferOnti/processmaker.git) PHP · 166 lines
ManagesFrequencies.php (https://gitlab.com/jjpa2018/dashboard) PHP · 540 lines
Verify.php (https://gitlab.com/I-NOZex/quiz) PHP · 307 lines
ResponseHeader.php (https://github.com/Martin1982/IBMessagingWorkshopServer.git) PHP · 400 lines
124 if (!in_array($assertType, $this->_assertTypes)) {
125 // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
126 throw new Zend_Test_PHPUnit_Constraint_Exception(sprintf('Invalid assertion type "%s" provided to %s constraint', $assertType, __CLASS__));
164 case self::ASSERT_HEADER_REGEX:
165 if (4 > $argc) {
166 // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
167 throw new Zend_Test_PHPUnit_Constraint_Exception('Both a header name and content to match are required for ' . __FUNCTION__);
173 : $this->_headerRegex($response, $header, $match);
174 default:
175 // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
176 throw new Zend_Test_PHPUnit_Constraint_Exception('Invalid assertion type ' . __FUNCTION__);
190 public function fail($other, $description, $not = false)
191 {
192 // require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
193 switch ($this->_assertType) {
194 case self::ASSERT_RESPONSE_CODE:
Dispatcher.php (https://gitlab.com/kimting254/wbms) PHP · 486 lines
1 <?php namespace Illuminate\Events;
3 use Exception;
324 {
325 return call_user_func_array(
326 $this->createClassCallable($listener, $container), func_get_args()
327 );
328 };
394 return function() use ($class, $method)
395 {
396 $arguments = $this->cloneArgumentsForQueueing(func_get_args());
398 if (method_exists($class, 'queue'))
Logical.php (https://github.com/ashwanthkumar/webnaplo.git) PHP · 290 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version 1.7.6, 2011-02-27
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = 0;
110 foreach ($aArgs as $arg) {
163 // Loop through the arguments
164 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
165 $argCount = 0;
166 foreach ($aArgs as $arg) {
Task.php (https://gitlab.com/ebrjose/comcebu) PHP · 333 lines
Dispatcher.php (https://bitbucket.org/mikebosire/framework.git) PHP · 257 lines
1 <?php namespace Illuminate\Events;
3 use Illuminate\Container\Container;
249 // be called on that instance, then we will pass in the arguments that we
250 // received in this method into this listener class instance's methods.
251 $data = func_get_args();
253 return call_user_func_array($callable, $data);
Decorator.php (https://github.com/livinglab/openlab.git) PHP · 688 lines
1 <?php
3 /**
51 */
52 public function by( $key, $value = null ) {
53 $call_args = func_get_args();
54 call_user_func_array( [ $this->decorated, 'by' ], $call_args );
61 */
62 public function where( $key, $value = null ) {
63 $call_args = func_get_args();
64 call_user_func_array( [ $this->decorated, 'where' ], $call_args );
322 */
323 public function where_or( $callbacks ) {
324 $call_args = func_get_args();
325 call_user_func_array( [ $this->decorated, 'where_or' ], $call_args );
Facade.php (https://gitlab.com/hoangduys4k5/laravelproject) PHP · 339 lines
Build.php (https://bitbucket.org/d1rk/codeception.git) PHP · 179 lines
1 <?php
2 namespace Codeception\Command;
16 protected $template = <<<EOF
17 <?php
18 // This class was automatically generated by build task
19 // You can change it manually, but it will be overwritten on next build
40 */
41 public function %s(%s) {
42 \$this->scenario->%s('%s', func_get_args());
43 if (\$this->scenario->running()) {
44 \$result = \$this->scenario->runStep();
138 }
140 // append PHPDoc for abstractGuy methods
141 $className = '\Codeception\\AbstractGuy';
142 $class = new \ReflectionClass($className);
PHPToJavaScriptTransformer.php (https://gitlab.com/Sigpot/AirSpot) PHP · 248 lines
1 <?php
3 namespace Laracasts\Utilities\JavaScript;
7 use JsonSerializable;
9 class PHPToJavaScriptTransformer
10 {
11 /**
55 public function put()
56 {
57 $arguments = func_get_args();
59 if (is_array($arguments[0])) {
78 /**
79 * Translate the array of PHP vars to
80 * the expected JavaScript syntax.
81 *
NotEmpty.php (https://github.com/praveensingh85/MyEventDashboard1.git) PHP · 279 lines
1 <?php
2 /**
3 * Zend Framework
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license http://framework.zend.com/license/new-bsd New BSD License
19 * @version $Id: NotEmpty.php 22691 2010-07-26 19:29:14Z thomas $
20 */
23 * @see Zend_Validate_Abstract
24 */
25 require_once 'Zend/Validate/Abstract.php';
27 /**
58 self::EMPTY_ARRAY => 'array',
59 self::NULL => 'null',
60 self::PHP => 'php',
61 self::SPACE => 'space',
62 self::OBJECT => 'object',
Logical.php (https://github.com/Tassader/Spedicka.git) PHP · 288 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version 1.8.0, 2014-03-02
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = -1;
110 foreach ($aArgs as $argCount => $arg) {
162 // Loop through the arguments
163 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
164 $argCount = -1;
165 foreach ($aArgs as $argCount => $arg) {
Geometry.class.php (https://bitbucket.org/rmoger/gdp-testsite1.git) PHP · 347 lines
1 <?php
3 /**
62 if ($this->geos()) {
63 return geoPHP::geosToGeometry($this->geos()->envelope());
64 }
86 // $this->out($format, $other_args);
87 public function out() {
88 $args = func_get_args();
90 $format = array_shift($args);
91 $type_map = geoPHP::getAdapterMap();
92 $processor_type = $type_map[$format];
93 $processor = new $processor_type();
UnitTesterActions.php (https://gitlab.com/I-NOZex/quiz) PHP · 344 lines
1 <?php //[STAMP] 54aaa78e83f8952fb445f45fe4703247
2 namespace _generated;
28 */
29 public function assertEquals($expected, $actual, $message = null) {
30 return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEquals', func_get_args()));
31 }
43 */
44 public function assertNotEquals($expected, $actual, $message = null) {
45 return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEquals', func_get_args()));
46 }
58 */
59 public function assertSame($expected, $actual, $message = null) {
60 return $this->getScenario()->runStep(new \Codeception\Step\Action('assertSame', func_get_args()));
61 }
FunctionsTest.php (https://gitlab.com/khairulcse76/userLogins) PHP · 276 lines
13 define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
14 }
15 require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
17 PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);
89 $args = func_get_args();
90 $expectedResult = array_pop($args);
91 $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_ERR'),$args);
92 $this->assertEquals($expectedResult, $result, NULL, 1E-8);
93 }
105 $args = func_get_args();
106 $expectedResult = array_pop($args);
107 $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_ERROR'),$args);
108 $this->assertEquals($expectedResult, $result, NULL, 1E-8);
109 }
PostList.php (https://gitlab.com/LisovyiEvhenii/ismextensions) PHP · 300 lines
1 <?php
3 /**
133 public function withTag($tag)
134 {
135 return $this->withTags(func_get_args());
136 }
278 * @see Zend_Service_Delicious_Exception
279 */
280 #require_once 'Zend/Service/Delicious/Exception.php';
281 throw new Zend_Service_Delicious_Exception('You are trying to set read-only property');
282 }
295 * @see Zend_Service_Delicious_Exception
296 */
297 #require_once 'Zend/Service/Delicious/Exception.php';
298 throw new Zend_Service_Delicious_Exception('You are trying to unset read-only property');
299 }
Ip.php (https://github.com/leerbag/zf2.git) PHP · 207 lines
YPFCommand.php (https://github.com/yonpols/ypframework.git) PHP · 144 lines
UserTrait.php (https://github.com/irontec/ivozprovider.git) PHP · 367 lines
HookApi.php (https://gitlab.com/iamgraeme/royalmile) PHP · 337 lines
1 <?php
2 namespace WebSharks\HtmlCompressor;
148 public function hasAction() // Simple `hasHook()` alias.
149 {
150 return call_user_func_array(array($this, 'hasHook'), func_get_args());
151 }
162 public function hasFilter() // Simple `hasHook()` alias.
163 {
164 return call_user_func_array(array($this, 'hasHook'), func_get_args());
165 }
202 public function addAction() // Simple `addHook()` alias.
203 {
204 return call_user_func_array(array($this, 'addHook'), func_get_args());
205 }
Translate.php (https://github.com/kervin/kyzstudio.git) PHP · 180 lines
1 <?php
2 /**
3 * Zend Framework
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id: Translate.php 20140 2010-01-08 05:21:04Z thomas $
21 */
23 /** Zend_Locale */
24 #require_once 'Zend/Locale.php';
26 /** Zend_View_Helper_Abstract.php */
27 #require_once 'Zend/View/Helper/Abstract.php';
29 /**
Kernel.php (https://gitlab.com/vincetang/mtweb) PHP · 249 lines
Logical.php (https://gitlab.com/alexandresgv/siteentec) PHP · 288 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = -1;
110 foreach ($aArgs as $argCount => $arg) {
162 // Loop through the arguments
163 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
164 $argCount = -1;
165 foreach ($aArgs as $argCount => $arg) {
Filter.php (https://github.com/bruisedlee/zf2.git) PHP · 256 lines
Logical.php (https://github.com/andrerezende/SIE.git) PHP · 290 lines
22 * @package PHPExcel_Calculation
23 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version 1.7.5, 2010-12-10
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
36 }
107 // Loop through the arguments
108 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
109 $argCount = 0;
110 foreach ($aArgs as $arg) {
163 // Loop through the arguments
164 $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());
165 $argCount = 0;
166 foreach ($aArgs as $arg) {
Webhook.php (https://gitlab.com/hunt9310/ras) PHP · 138 lines
1 <?php
2 /*
3 * Copyright (c) 2013 - 2015 MasterCard International Incorporated
38 static public function createWebhook($hash, $authentication = null) {
40 $args = func_get_args();
41 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2);
58 public function deleteWebhook($authentication = null) {
60 $args = func_get_args();
61 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 1);
81 static public function listWebhook($criteria = null, $authentication = null) {
83 $args = func_get_args();
84 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2);
Deferred.php (https://bitbucket.org/tobmaster/carica-io.git) PHP · 369 lines
1 <?php
3 namespace Carica\Io {
151 public function notify() {
152 if ($this->_state == self::STATE_PENDING) {
153 $this->_progressArguments = func_get_args();
154 call_user_func_array($this->_progress, $this->_progressArguments);
155 }
174 function () use ($defer, $doneFilter){
175 if ($doneFilter) {
176 $defer->resolve(call_user_func_array($doneFilter, func_get_args()));
177 } else {
178 call_user_func_array(array($defer, 'resolve'), func_get_args());
183 function () use ($defer, $failFilter){
184 if ($failFilter) {
185 $defer->reject(call_user_func_array($failFilter, func_get_args()));
186 } else {
187 call_user_func_array(array($defer, 'reject'), func_get_args());
Filesystem.php (https://gitlab.com/techniconline/kmc) PHP · 426 lines
Functions.php (https://gitlab.com/ealexis.t/trends) PHP · 1937 lines
1 <?php
2 /*
3 * This file is part of PHPUnit.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
13 * zero or more times.
14 *
15 * @return PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
16 *
17 * @since Method available since Release 3.0.0
20 {
21 return call_user_func_array(
22 'PHPUnit_Framework_TestCase::any',
23 func_get_args()
Collection.php (https://gitlab.com/ealexis.t/trends) PHP · 1170 lines
1 <?php
3 namespace Illuminate\Support;
184 public function except($keys)
185 {
186 $keys = is_array($keys) ? $keys : func_get_args();
188 return new static(Arr::except($this->items, $keys));
588 public function only($keys)
589 {
590 $keys = is_array($keys) ? $keys : func_get_args();
592 return new static(Arr::only($this->items, $keys));
SelectExtender.php (https://gitlab.com/mohamed_hussein/prodt) PHP · 549 lines
Collection.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 1103 lines
1 <?php
3 namespace Illuminate\Support;
173 public function except($keys)
174 {
175 $keys = is_array($keys) ? $keys : func_get_args();
177 return new static(Arr::except($this->items, $keys));
532 public function only($keys)
533 {
534 $keys = is_array($keys) ? $keys : func_get_args();
536 return new static(Arr::only($this->items, $keys));
950 $arrayableItems = array_map(function ($items) {
951 return $this->getArrayableItems($items);
952 }, func_get_args());
954 $params = array_merge([function () {