100+ results results for 'php func_get_arg repo:adoweb/utilphp' (319 ms)
1<?php 2 312 { 313 $keys = is_array($name) ? $name : func_get_args(); 314 477 { 478 $keys = is_array($keys) ? $keys : func_get_args(); 479function.func-get-arg.html https://bitbucket.org/thncr/manuals.git | HTML | 218 lines
15 <h1 class="refname">func_get_arg</h1> 16 <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">func_get_arg</span> — <span class="dc-title">Return an item from the argument list</span></p> 17 125<div class="phpcode"><code><span style="color: #000000"> 126<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">()<br />{<br /> </span><span style="color: #0000BB">$numargs </span><span style="color: #007700">= </span><span style="color: #0000BB">func_num_args</span><span style="color: #007700">();<br /> echo </span><span style="color: #DD0000">"Number of arguments: </span><span style="color: #0000BB">$numargs</span><span style="color: #DD0000"><br />\n"</span><span style="color: #007700">;<br /> if (</span><span style="color: #0000BB">$numargs </span><span style="color: #007700">>= </span><span style="color: #0000BB">2</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"Second argument is: " </span><span style="color: #007700">. </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">) . </span><span style="color: #DD0000">"<br />\n"</span><span style="color: #007700">;<br /> }<br />}<br /><br /></span><span style="color: #0000BB">foo </span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">2</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 127</span> 135 <p><strong>Example #2 <span class="function"><strong>func_get_arg()</strong></span> example before and 136 after PHP 5.3</strong></p> 137 <div class="example-contents"> 138<div class="phpcode"><code><span style="color: #000000"> 139test.php<br /><span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">() {<br /> include </span><span style="color: #DD0000">'./fga.inc'</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #DD0000">'First arg'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Second arg'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?><br /></span><br />fga.php<br /><span style="color: #0000BB"><?php<br /><br />$arg </span><span style="color: #007700">= </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?></span> 140</span> 169<div class="phpcode"><code><span style="color: #000000"> 170<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'As passed : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">'After change : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br />function </span><span style="color: #0000BB">byRef</span><span style="color: #007700">(&</span><span style="color: #0000BB">$arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'As passed : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">'After change : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">byRef</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 171</span>BaseFunctionI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 577 lines
1<?php 2 209 { 210 $args = func_get_args(); 211 301 302 if ("{$name}Id" == $column->getPhpName()) 303 { 423 { 424 if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName()) 425 { 452 $columns = $table->getPrimaryKeyColumns(); 453 $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id; 454 } 494 { 495 $selectCriteria->add($column->getFullyQualifiedName(), $this->keys[$column->getPhpName()]); 496 }l10n.php https://github.com/mikitracey/ifusa.git | PHP | 455 lines
1<?php 2/** 208 _deprecated_function( __FUNCTION__, '2.8', '_n()' ); 209 $args = func_get_args(); 210 return call_user_func_array('_n', $args); 260 _deprecated_function( __FUNCTION__, '2.8', '_n_noop()' ); 261 $args = func_get_args(); 262 return call_user_func_array('_n_noop', $args);WebBrowser.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 405 lines
15 * 16 * @param phpQueryObject $self 17 * @todo support 'reset' event 29 else { 30 $self->bind('click', array($location, $callback), array('phpQueryPlugin_WebBrowser', 'hadleClick')); 31 $self->bind('submit', array($location, $callback), array('phpQueryPlugin_WebBrowser', 'handleSubmit')); 173 self::authorizeHost($ajaxSettings['url']); 174 $xhr = phpQuery::ajax( 175 self::ajaxSettingsPrepare($ajaxSettings) 269 if ($xhr->getLastResponse()->isSuccessful() && $callback) 270 phpQuery::callbackRun($callback, array( 271 self::browserReceive($xhr) 323 * @return unknown 324 * @link http://www.php.net/manual/en/function.parse-url.php 325 * @author stevenlewis at hotmail dot comImageSize.php https://github.com/StefanRHRO/SCRM.git | PHP | 364 lines
1<?php 2/** 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 */ 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 132 } 133 $argv = func_get_args(); 134 array_shift($argv); 142 } else if (!is_array($options)) { 143 require_once 'Zend/Validate/Exception.php'; 144 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 207 if (($this->_maxwidth !== null) and ($options['minwidth'] > $this->_maxwidth)) { 208 require_once 'Zend/Validate/Exception.php'; 209 throw new Zend_Validate_Exception("The minimum image width must be less than or equal to the "class.json-api-links.php https://gitlab.com/hunt9310/ras | PHP | 269 lines
1<?php 2 2 3require_once dirname( __FILE__ ) . '/../class.json-api.php'; 4 32 function get_link() { 33 $args = func_get_args(); 34 $format = array_shift( $args );Payment.php https://gitlab.com/hunt9310/ras | PHP | 141 lines
1<?php 2/* 60 61 $args = func_get_args(); 62 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2); 86 87 $args = func_get_args(); 88 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2); 105 106 $args = func_get_args(); 107 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2); 127 128 $args = func_get_args(); 129 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 1);mysqlnduhconnection.close.html https://bitbucket.org/thncr/manuals.git | HTML | 143 lines
11 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="mysqlnduhconnection.close" class="refentry"> 33 Failing to call the parent implementation may cause memory leaks or 34 crash PHP. This is not considered a bug. Please, keep in mind that 35 the <em>mysqlnd</em> library functions have never been designed 98<div class="phpcode"><code><span style="color: #000000"> 99<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">close_type_to_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">$mapping </span><span style="color: #007700">= array(<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_DISCONNECTED </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_DISCONNECTED"</span><span style="color: #007700">,<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_EXPLICIT </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_EXPLICIT"</span><span style="color: #007700">,<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT"</span><span style="color: #007700">,<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_LAST </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT"<br /> </span><span style="color: #007700">);<br /> return (isset(</span><span style="color: #0000BB">$mapping</span><span style="color: #007700">[</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">])) ? </span><span style="color: #0000BB">$mapping</span><span style="color: #007700">[</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">] : </span><span style="color: #DD0000">'unknown'</span><span style="color: #007700">;<br />}<br /><br />class </span><span style="color: #0000BB">proxy </span><span style="color: #007700">extends </span><span style="color: #0000BB">MysqlndUhConnection </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">close</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$close_type</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s(%s)\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"close_type = %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">close_type_to_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">));<br /> </span><span style="color: #FF8000">/* WARNING: you must call the parent */<br /> </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">close</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$close_type</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s returns %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br /> }<br />}<br /></span><span style="color: #0000BB">mysqlnd_uh_set_connection_proxy</span><span style="color: #007700">(new </span><span style="color: #0000BB">proxy</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">$mysqli </span><span style="color: #007700">= new </span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"root"</span><span style="color: #007700">, </span><span style="color: #DD0000">""</span><span style="color: #007700">, </span><span style="color: #DD0000">"test"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-></span><span style="color: #0000BB">close</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?></span> 100</span> 141 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div> 142 <div class="home"><a href="index.html">PHP Manual</a></div> 143</div></body></html>Route.php https://bitbucket.org/Maxsy/adapi.git | PHP | 416 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 251 { 252 $args = func_get_args(); 253 $this->methods = $args; 269 { 270 $args = func_get_args(); 271 $this->methods = array_merge($this->methods, $args); 279 { 280 $args = func_get_args(); 281 $this->methods = array_merge($this->methods, $args); 341 * 342 * http://blog.sosedoff.com/2009/09/20/rails-like-php-url-router/ 343 *class-wp-walker.php https://gitlab.com/WPonEB/WPonEB | PHP | 425 lines
1<?php 2/** 189 public function walk( $elements, $max_depth ) { 190 $args = array_slice(func_get_args(), 2); 191 $output = ''; 281 282 $args = array_slice( func_get_args(), 4 ); 283 $output = '';mysqlnd-uh.quickstart.how-it-works.html https://bitbucket.org/thncr/manuals.git | HTML | 106 lines
11 <div class="up"><a href="mysqlnd-uh.quickstart.html">Quickstart and Examples</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="mysqlnd-uh.quickstart.how-it-works" class="section"> 31 library C functions with its own functions. Whenever a 32 PHP MySQL extension compiled to use <em>mysqlnd</em> calls 33 a mysqlnd function, the functions installed by the plugin are executed 39 <p class="para"> 40 The built-in PHP classes and their methods do nothing but call their 41 <em>mysqlnd</em> C library counterparts, to behave exactly 51 public function connect(($conn, $host, $user, $passwd, $db, $port, $socket, $mysql_flags) { 52 MYSQLND* c_mysqlnd_connection = convert_from_php_to_c($conn); 53 ... 77<div class="phpcode"><code><span style="color: #000000"> 78<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">proxy </span><span style="color: #007700">extends </span><span style="color: #0000BB">MysqlndUhConnection </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$host</span><span style="color: #007700">, </span><span style="color: #0000BB">$user</span><span style="color: #007700">, </span><span style="color: #0000BB">$passwd</span><span style="color: #007700">, </span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #0000BB">$port</span><span style="color: #007700">, </span><span style="color: #0000BB">$socket</span><span style="color: #007700">, </span><span style="color: #0000BB">$mysql_flags</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s(%s)\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$host</span><span style="color: #007700">, </span><span style="color: #0000BB">$user</span><span style="color: #007700">, </span><span style="color: #0000BB">$passwd</span><span style="color: #007700">, </span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #0000BB">$port</span><span style="color: #007700">, </span><span style="color: #0000BB">$socket</span><span style="color: #007700">, </span><span style="color: #0000BB">$mysql_flags</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s returns %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br /> }<br />}<br /></span><span style="color: #0000BB">mysqlnd_uh_set_connection_proxy</span><span style="color: #007700">(new </span><span style="color: #0000BB">proxy</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">$mysqli </span><span style="color: #007700">= new </span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"root"</span><span style="color: #007700">, </span><span style="color: #DD0000">""</span><span style="color: #007700">, </span><span style="color: #DD0000">"test"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 79</span>CreditCard.php https://github.com/mrbanzai/zf2.git | PHP | 338 lines
1<?php 2/** 162 } else if (!is_array($options)) { 163 $options = func_get_args(); 164 $temp['type'] = array_shift($options);user.php https://github.com/weissms/owb-mirror.git | PHP | 282 lines
1<?php 2 6 global $current_user, $wp_roles; 7 $user_id = (int) func_get_arg( 0 ); 8Translate.php https://github.com/fracmak/mythweb.git | PHP | 349 lines
1<?php 2/** 20// point to an array containing first the user-visible name of the language, the 21// php locale for printing and finally the matching language and charset codes. 22 public static $Languages = array( 82 if (func_num_args() > 1) { 83 $a = func_get_args(); 84 array_shift($a); // shift off $str, we don't need it here 120 // Flatten arrays 121 $ab = func_get_args(); 122 $a[] = $ab[0];Size.php https://bitbucket.org/sasezaki/mirror-zf1-standard-trunk-libraray-validate-dir.git | PHP | 404 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 109 } elseif (!is_array($options)) { 110 require_once 'Zend/Validate/Exception.php'; 111 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 114 if (1 < func_num_args()) { 115 $argv = func_get_args(); 116 array_shift($argv); 183 if (!is_string($min) and !is_numeric($min)) { 184 require_once 'Zend/Validate/Exception.php'; 185 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 190 if (($max !== null) && ($min > $max)) { 191 require_once 'Zend/Validate/Exception.php'; 192 throw new Zend_Validate_Exception("The minimum must be less than or equal to the maximum filesize, but $min >"Table.php https://github.com/katzgrau/notes.git | PHP | 440 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 76 { 77 $args = func_get_args(); 78 $this->heading = (is_array($args[0])) ? $args[0] : $args; 157 { 158 $args = func_get_args(); 159 $this->rows[] = (is_array($args[0])) ? $args[0] : $args; 438 439/* End of file Table.php */ 440/* Location: ./system/libraries/Table.php */class-wp-walker.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 397 lines
1<?php 2/** 175 176 $args = array_slice(func_get_args(), 2); 177 $output = ''; 265 266 $args = array_slice( func_get_args(), 4 ); 267 $output = '';class-wp-admin-bar.php https://github.com/vidor/vidor.me.git | PHP | 474 lines
77 if ( func_num_args() >= 3 && is_string( func_get_arg(0) ) ) 78 $args = array_merge( array( 'parent' => func_get_arg(0) ), func_get_arg(2) ); 79 371 372 ?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $class ); ?>"><?php 373 foreach ( $node->children as $item ) { 400 401 <li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $menuclass ); ?>"><?php 402 if ( $has_link ): 402 if ( $has_link ): 403 ?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php 404 if ( ! empty( $node->meta['onclick'] ) ) : 404 if ( ! empty( $node->meta['onclick'] ) ) : 405 ?> onclick="<?php echo esc_js( $node->meta['onclick'] ); ?>"<?php 406 endif;SSDB.php https://gitlab.com/dleonov/my-framework-two | PHP | 576 lines
1<?php 2/** 7 * 8 * SSDB PHP client SDK. 9 */ 130 function request(){ 131 $args = func_get_args(); 132 $cmd = array_shift($args); 216 function incr($key, $val=1){ 217 $args = func_get_args(); 218 return $this->__call(__FUNCTION__, $args); 220 function decr($key, $val=1){ 221 $args = func_get_args(); 222 return $this->__call(__FUNCTION__, $args); 224 function zincr($name, $key, $score=1){ 225 $args = func_get_args(); 226 return $this->__call(__FUNCTION__, $args);Inflector.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 472 lines
1<?php 2/** 55 if (!is_array($options)) { 56 $options = func_get_args(); 57 $temp = array();DomQuery.php https://github.com/gauravk90/site.git | PHP | 403 lines
22/** PHPUnit_Framework_Constraint */ 23require_once 'PHPUnit/Framework/Constraint.php'; 24 36 */ 37class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint 38{ 146 if (!in_array($assertType, $this->_assertTypes)) { 147 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 148 throw new Zend_Test_PHPUnit_Constraint_Exception(sprintf('Invalid assertion type "%s" provided to %s constraint', $assertType, __CLASS__)); 170 if (3 > $argc) { 171 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 172 throw new Zend_Test_PHPUnit_Constraint_Exception('No pattern provided against which to match'); 208 { 209 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 210 switch ($this->_assertType) {em-locations.php https://bitbucket.org/akeda/bmw-id-hris.git | PHP | 315 lines
1<?php 2/** 115 if( is_object(current($args)) && get_class((current($args))) == 'EM_Location' ){ 116 $func_args = func_get_args(); 117 $locations = $func_args[0]; 157 } 158 //FIXME check if reference is ok when restoring object, due to changes in php5 v 4 159 $EM_Location_old= $EM_Location;SelectExtender.php https://gitlab.com/reasonat/test8 | PHP | 536 lines
1<?php 2 74 public function hasAllTags() { 75 return call_user_func_array(array($this->query, 'hasAllTags'), func_get_args()); 76 } 81 public function hasAnyTag() { 82 return call_user_func_array(array($this->query, 'hasAnyTag'), func_get_args()); 83 }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 }Query.php https://gitlab.com/itlboy/yii2-starter-installed | PHP | 377 lines
1<?php 2/** 2/** 3 * League.Uri (http://uri.thephpleague.com) 4 * 7 * @copyright 2013-2015 Ignace Nyamagana Butera 8 * @license https://github.com/thephpleague/uri/blob/master/LICENSE (MIT License) 9 * @version 4.1.0 9 * @version 4.1.0 10 * @link https://github.com/thephpleague/uri/ 11 */ 107 108 return (new QueryParser())->parse($str, static::$separator, PHP_QUERY_RFC3986); 109 } 161 162 return (new QueryParser())->build($this->data, static::$separator, PHP_QUERY_RFC3986); 163 }arr.php https://github.com/popovag/kohana_core.git | PHP | 457 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 8 * @copyright (c) 2007-2009 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 200 * 201 * @deprecated Use [array_search](http://php.net/array_search) instead 202 * 234 /** 235 * Recursive version of [array_map](http://php.net/array_map), applies the 236 * same callback to all elements in an array, including sub-arrays. 266 * Merges one or more arrays recursively and preserves all keys. 267 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 268 * 288 // Get the next array 289 $arr = func_get_arg($i); 290Request.php https://gitlab.com/devtoannh/cafe | PHP | 439 lines
1<?php 2/** 23 */ 24require_once 'Zend/XmlRpc/Value.php'; 25 28 */ 29require_once 'Zend/XmlRpc/Fault.php'; 30 45 * @license http://framework.zend.com/license/new-bsd New BSD License 46 * @version $Id: Request.php 23775 2011-03-01 17:25:24Z ralph $ 47 */ 210 $argc = func_num_args(); 211 $argv = func_get_args(); 212 if (0 == $argc) {QueryBuilder.php https://github.com/Kazuzeya/OpenFlame-Dbal.git | PHP | 546 lines
1<?php 2/** 5 * @copyright (c) 2011 openflame-project.org 6 * @license http://opensource.org/licenses/mit-license.php The MIT License 7 * @link https://github.com/OpenFlame/OpenFlame-Dbal 8 * 9 * Minimum Requirement: PHP 5.3.0 10 */ 18 * 19 * @license http://opensource.org/licenses/mit-license.php The MIT License 20 * @link https://github.com/OpenFlame/OpenFlame-Dbal 177 { 178 $args = func_get_args(); 179 279 { 280 $args = func_get_args(); 281 $statement = array_shift($args);Compass.php https://github.com/vivid-planet/library.git | PHP | 511 lines
1<?php 2require_once dirname(__FILE__) . '/../ExtensionInterface.php'; 198 { 199 $args = func_get_args(); 200 $files = array(); 245 246 $args = func_get_args(); 247 $list = array(); 267 { 268 $args = func_get_args(); 269 $place = array_pop($args); 289 { 290 $args = func_get_args(); 291 $list = array(); 299 { 300 $args = func_get_args(); 301 $list = self::compassList($args, ',');InArray.php https://github.com/quarkness/piwik.git | PHP | 204 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: InArray.php 23775 2011-03-01 17:25:24Z ralph $ 20 */ 24 */ 25// require_once 'Zend/Validate/Abstract.php'; 26 75 } else if (!is_array($options)) { 76 // require_once 'Zend/Validate/Exception.php'; 77 throw new Zend_Validate_Exception('Array expected as parameter'); 81 if ($count > 1) { 82 $temp['haystack'] = func_get_arg(0); 83 $temp['strict'] = func_get_arg(1); 85 } else { 86 $temp = func_get_arg(0); 87 if (!array_key_exists('haystack', $options)) {Mockery.php https://github.com/DocAl/mockery.git | PHP | 347 lines
1<?php 2/** 12 * obtain it through the world-wide-web, please send an email 13 * to padraic@php.net so we can send you a copy immediately. 14 * 48 } 49 $args = func_get_args(); 50 return call_user_func_array(array(self::$_container, 'mock'), $args); 57 } 58 $args = func_get_args(); 59 return call_user_func_array(array(self::$_container, 'instanceMock'), $args); 136 { 137 $return = new \Mockery\Matcher\Ducktype(func_get_args()); 138 return $return; 158 { 159 $return = new \Mockery\Matcher\Contains(func_get_args()); 160 return $return;Db.php https://gitlab.com/wuhang2003/typecho | PHP | 440 lines
1<?php 2/** 6 * @license GNU General Public License 2.0 7 * @version $Id: Db.php 107 2008-04-11 07:14:43Z magike.net $ 8 */ 290 { 291 $args = func_get_args(); 292 return call_user_func_array(array($this->sql(), 'select'), $args ? $args : array('*'));zend_lucene.php https://github.com/marc1706/customisation-db.git | PHP | 445 lines
1<?php 2/** 168 { 169 $args = func_get_args(); 170 $cols = ezcSearchQueryTools::arrayFlatten( $args ); 193 { 194 $args = func_get_args(); 195 $cols = ezcSearchQueryTools::arrayFlatten( $args ); 335 { 336 $args = func_get_args(); 337 if ( count( $args ) < 1 ) 363 { 364 $args = func_get_args(); 365 if ( count( $args ) < 1 )Parametro.php https://gitlab.com/bluedrayco/Portafolio | PHP | 439 lines
1<?php 2 26 * Listado de los Parametros 27 * @param mixed func_get_args()[0] arreglo de opciones procedentes del query param 28 * @return mixed objeto respuesta con los datos de los Parametros 35 'ControlEscolarCalendarioBundle:Parametro', 36 (count(func_get_args()[0]) > 0) ? func_get_args()[0] : array(), 37 null, 39 null, 40 (count(func_get_args()[0]) > 0) ? 'findByOpciones' : 'findBy' 41 );Grammar.php https://github.com/sergiosgc/Structures_Grammar.git | PHP | 407 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */ 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');Former.php https://gitlab.com/hatemdigify/digifyblog | PHP | 489 lines
1<?php 2namespace Former; 300 { 301 $rules = call_user_func_array('array_merge', func_get_args()); 302functions.php https://gitlab.com/inglobe/mgt-clemente-css | PHP | 412 lines
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-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 29 * 30 * @link http://us3.php.net/manual/en/security.magicquotes.disabling.php 31 */ 62 if (defined('COMPILER_INCLUDE_PATH')) { 63 $classFile = $class.'.php'; 64 } else { 94{ 95 return Mage::app()->getTranslator()->translate(func_get_args()); 96}Request.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 445 lines
1<?php 2/** 23 */ 24#require_once 'Zend/XmlRpc/Value.php'; 25 28 */ 29#require_once 'Zend/XmlRpc/Fault.php'; 30 31/** @see Zend_Xml_Security */ 32#require_once 'Zend/Xml/Security.php'; 33 34/** @see Zend_Xml_Exception */ 35#require_once 'Zend/Xml/Exception.php'; 36 216 $argc = func_num_args(); 217 $argv = func_get_args(); 218 if (0 == $argc) {FilesystemAdapter.php https://gitlab.com/Sigpot/AirSpot | PHP | 383 lines
1<?php 2 121 */ 122 public function prepend($path, $data, $separator = PHP_EOL) 123 { 137 */ 138 public function append($path, $data, $separator = PHP_EOL) 139 { 154 { 155 $paths = is_array($paths) ? $paths : func_get_args(); 156Size.php https://github.com/taste/zf2.git | PHP | 401 lines
1<?php 2/** 116 if (1 < func_num_args()) { 117 $argv = func_get_args(); 118 array_shift($argv);functions.wp-cron.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 402 lines
1<?php 2// Last sync [WP12462] 140 if ( !is_array($args) ) 141 $args = array_slice( func_get_args(), 1 ); 142 226 227 @include_once(ABSPATH . 'wp-cron.php'); 228 return;FilesSize.php https://gitlab.com/Ltaimao/wecenter | PHP | 164 lines
1<?php 2/** 24 */ 25//require_once 'Zend/Validate/File/Size.php'; 26 78 } elseif (!is_array($options)) { 79 //require_once 'Zend/Validate/Exception.php'; 80 throw new Zend_Validate_Exception('Invalid options to validator provided'); 83 if (1 < func_num_args()) { 84 $argv = func_get_args(); 85 array_shift($argv); 106 { 107 //require_once 'Zend/Loader.php'; 108 if (is_string($value)) {DateTest.php https://gitlab.com/Zinnurain/destination_finder_beta | PHP | 188 lines
13 } 14 require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 15 } 51 } 52 $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args); 53 $this->assertEquals($expectedResult, $result); 117 } 118 $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args); 119 $this->assertEquals($expectedResult, $result); 138 $expectedResult = array_pop($args); 139 $result = call_user_func_array(array('PHPExcel_Shared_Date','PHPToExcel'),$args); 140 $this->assertEquals($expectedResult, $result, NULL, 1E-5); 178 } 179 $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args); 180 $this->assertEquals($expectedResult, $result);pages.php https://gitlab.com/gricelya/rental | PHP | 330 lines
1<?php 2 63 $collection = clone $this; 64 foreach(func_get_args() as $uri) { 65 if(is_array($uri) or $uri instanceof Traversable) { 84 85 $args = func_get_args(); 86Connection.php https://gitlab.com/mario.uriarte/doctrine2.5-tutorial | PHP | 150 lines
1<?php 2/* 143 144 $stmt = call_user_func_array(array($this->_conn, 'query'), func_get_args()); 145 $stmt = new Statement($stmt, $this);FilesSize.php https://gitlab.com/rsilveira1987/Expresso | PHP | 164 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/File/Size.php'; 26 78 } elseif (!is_array($options)) { 79 require_once 'Zend/Validate/Exception.php'; 80 throw new Zend_Validate_Exception('Invalid options to validator provided'); 83 if (1 < func_num_args()) { 84 $argv = func_get_args(); 85 array_shift($argv); 106 { 107 require_once 'Zend/Loader.php'; 108 if (is_string($value)) {FilesSize.php https://gitlab.com/yousafsyed/easternglamor | PHP | 164 lines
1<?php 2/** 24 */ 25#require_once 'Zend/Validate/File/Size.php'; 26 78 } elseif (!is_array($options)) { 79 #require_once 'Zend/Validate/Exception.php'; 80 throw new Zend_Validate_Exception('Invalid options to validator provided'); 83 if (1 < func_num_args()) { 84 $argv = func_get_args(); 85 array_shift($argv); 106 { 107 #require_once 'Zend/Loader.php'; 108 if (is_string($value)) {Template.php https://github.com/razorlegacy/pyrocms.git | PHP | 591 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 228 // If we have some segments passed 229 if($title_segments =& func_get_args()) 230 {ImageSize.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 379 lines
1<?php 2/** 98 99 $argv = func_get_args(); 100 array_shift($argv);Template.php https://bitbucket.org/flyingdog/kennel.git | PHP | 200 lines
1<?php 2 /** 176 { 177 $arguments = func_get_args(); 178 foreach ($arguments as $stylesheet) 184 { 185 $arguments = func_get_args(); 186 $lastArg = $arguments[count($arguments)-1];Dispatcher.php https://gitlab.com/rmoshiur81/Larave-Grading | PHP | 504 lines
1<?php 2 347 return call_user_func_array( 348 $this->createClassCallable($listener, $container), func_get_args() 349 ); 410 return function () use ($class, $method) { 411 $arguments = $this->cloneArgumentsForQueueing(func_get_args()); 412phpzip.php https://github.com/Bigjoos/U-232-V3.git | PHP | 211 lines
1<?php 2/** 10// 11// PHPZip v1.2 by Sext (sext@neud.net) 2002-11-18 12// (Changed: 2003-03-01) 17// 18// Examples in sample1.php, sample2.php and sample3.php 19// 19// 20class PHPZip 21{ 54 if (file_exists($dir)) { 55 $args = func_get_args(); 56 $pref = $args[1]; 208 } 209} // end of the 'PHPZip' class 210Campaign.php https://gitlab.com/estratega.pe/cc | PHP | 309 lines
80 acl('ind_edit', null, 403); 81 $ID = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 82 $p = $this->campaign->getCampaignRow(['id_campaign' => $ID]); 142 acl('ind_show', null, 403); 143 $ID = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 144 $ID = filter_var(intval($ID),FILTER_VALIDATE_INT) ? $ID : 0; 163 acl('ind_del', null, 403); 164 $ID = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 165 $ID = filter_var(intval($ID),FILTER_VALIDATE_INT) ? $ID : 0; 194 public function getCampaigns() { 195 $format = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 196 261 } else { 262 $format = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 263 $ID = (sizeof(func_get_args()) >= 0x0002) ? func_get_arg(1): $this->uri->segment(4);InArray.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 204 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: InArray.php 20358 2010-01-17 19:03:49Z thomas $ 20 */ 24 */ 25// require_once 'Zend/Validate/Abstract.php'; 26 75 } else if (!is_array($options)) { 76 // require_once 'Zend/Validate/Exception.php'; 77 throw new Zend_Validate_Exception('Array expected as parameter'); 81 if ($count > 1) { 82 $temp['haystack'] = func_get_arg(0); 83 $temp['strict'] = func_get_arg(1); 85 } else { 86 $temp = func_get_arg(0); 87 if (!array_key_exists('haystack', $options)) {Snapshot.php https://gitlab.com/jjpa2018/dashboard | PHP | 435 lines
1<?php declare(strict_types=1); 2/* 4 * 5 * (c) Sebastian Bergmann <sebastian@phpunit.de> 6 * 14use function array_reverse; 15use function func_get_args; 16use function get_declared_classes; 381 { 382 if (isset(func_get_args()[1])) { 383 $processed = func_get_args()[1];eventsearch.php https://gitlab.com/ricardosanchez/prueba | PHP | 386 lines
1<?php 2 5 * 6 * @version $Id: eventsearch.php 3588 2012-05-02 10:40:19Z geraintedwards $ 7 * @package Events 18// setup for all required function and classes 19$file = JPATH_SITE . '/components/com_jevents/mod.defines.php'; 20if (file_exists($file)) 22 include_once($file); 23 include_once(JEV_LIBS . "/modfunctions.php"); 24} 67 * 68 * For php4 compatability we must not use the __constructor as a constructor for plugins 69 * because func_get_args ( void ) returns a copy of all passed arguments NOT references. 143 144 // See http://www.php.net/manual/en/timezones.php 145 $tz = $params->get("icaltimezonelive", "");script_combiner.php https://github.com/plastic/Cake-boilerplate.git | PHP | 325 lines
1<?php 2/** 8// Include the stand-alone configuration file if it exists. 9if (is_file(CONFIGS . 'script_combiner.php')) { 10 Configure::load('script_combiner'); 100 // Get the CSS files. 101 $cssFiles = func_get_args(); 102 181 // Get the javascript files. 182 $jsFiles = func_get_args(); 183fpdf_tpl.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 449 lines
1<?php 2// 135 if (is_subclass_of($this, 'TCPDF')) { 136 $args = func_get_args(); 137 return call_user_func_array(array($this, 'TCPDF::endTemplate'), $args); 263 if (is_subclass_of($this, 'TCPDF')) { 264 $args = func_get_args(); 265 return call_user_func_array(array($this, 'TCPDF::SetFont'), $args); 289 if (is_subclass_of($this, 'TCPDF')) { 290 $args = func_get_args(); 291 return call_user_func_array(array($this, 'TCPDF::Image'), $args); 310 if (is_subclass_of($this, 'TCPDF')) { 311 $args = func_get_args(); 312 return call_user_func_array(array($this, 'TCPDF::AddPage'), $args); 325 if (is_subclass_of($this, 'TCPDF')) { 326 $args = func_get_args(); 327 return call_user_func_array(array($this, 'TCPDF::Link'), $args);ImageSize.php https://github.com/grandison/budo16.git | PHP | 370 lines
1<?php 2/** 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 */ 24 */ 25// require_once 'Zend/Validate/Abstract.php'; 26 138 } 139 $argv = func_get_args(); 140 array_shift($argv); 148 } else if (!is_array($options)) { 149 // require_once 'Zend/Validate/Exception.php'; 150 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 213 if (($this->_maxwidth !== null) and ($options['minwidth'] > $this->_maxwidth)) { 214 // require_once 'Zend/Validate/Exception.php'; 215 throw new Zend_Validate_Exception("The minimum image width must be less than or equal to the "xstandard.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 286 lines
55 ?> 56 <script type="text/javascript" src="<?php echo JURI::root() ?>/plugins/editors/xstandard/xstandard.js"></script> 57 <?php 158 <div style="border: 1px solid #D5D5D5"> 159 <object type="application/x-xstandard" id="xstandard" class="<?php echo $name ?>" width="<?php echo $width ?>" height="<?php echo $height ?>"> 160 <param name="Value" value="<?php echo $content ?>" /> 183 <param name="CMSCode" value="065126D6-357D-46FC-AF74-A1F5B2D5036E" /> 184 <param name="CMSImageLibraryURL" value="<?php echo $url ?>plugins/editors/xstandard/imagelibrary.php" /> 185 <param name="CMSAttachmentLibraryURL" value="<?php echo $url ?>plugins/editors/xstandard/attachmentlibrary.php" /> 185 <param name="CMSAttachmentLibraryURL" value="<?php echo $url ?>plugins/editors/xstandard/attachmentlibrary.php" /> 186 <param name="CMSDirectoryURL" value="<?php echo $url ?>plugins/editors/xstandard/directory.php" /> 187 <param name="PreviewXSLT" value="<?php echo $url ?>plugins/editors/xstandard/preview.xsl" /> 192 </object> 193 <input type="hidden" id="<?php echo $name ?>" name="<?php echo $name ?>" value="" /> 194 </div>Request.php https://github.com/Spavacz/NPG.git | PHP | 439 lines
1<?php 2/** 23 */ 24require_once 'Zend/XmlRpc/Value.php'; 25 28 */ 29require_once 'Zend/XmlRpc/Fault.php'; 30 45 * @license http://framework.zend.com/license/new-bsd New BSD License 46 * @version $Id: Request.php 20208 2010-01-11 22:37:37Z lars $ 47 */ 210 $argc = func_num_args(); 211 $argv = func_get_args(); 212 if (0 == $argc) {capabilities.php https://github.com/itspriddle/itt-capstone.git | PHP | 421 lines
1<?php 2 229 230 $args = array_slice(func_get_args(), 1); 231 $args = array_merge(array($cap, $this->id), $args); 251function map_meta_cap($cap, $user_id) { 252 $args = array_slice(func_get_args(), 2); 253 $caps = array(); 313 314 $args = array_slice(func_get_args(), 1); 315 $args = array_merge(array($capability), $args);View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
1<?php 2namespace Concrete\Core\View; 121 { 122 $a = func_get_args(); 123 $controllerPath = $this->controller->getControllerActionPath(); 210 if (!$this->innerContentFile) { // will already be set in a legacy tools file 211 $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle)); 212 } 466 467 $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php'); 468 $_file = $_record->getFile();functions.php https://gitlab.com/alexandresgv/siteentec | PHP | 226 lines
2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 3.0.0 12 * @since 3.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 23 * @return mixed Translated string. 24 * @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__ 25 */ 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 */RedirectResponse.php https://gitlab.com/ealexis.t/trends | PHP | 200 lines
1<?php 2 93 { 94 return $this->withInput($this->request->only(func_get_args())); 95 } 104 { 105 return $this->withInput($this->request->except(func_get_args())); 106 }cron.php https://github.com/thisduck/wordpress.git | PHP | 400 lines
1<?php 2/** 139 _deprecated_argument( __FUNCTION__, '3.0.0', __('This argument has changed to an array to match the behavior of the other cron functions.') ); 140 $args = array_slice( func_get_args(), 1 ); 141 } 226 227 WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' ); 228 return; 232 233 $cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron'; 234 wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) ); 245 246 // Prevent infinite loops caused by lack of wp-cron.php 247 if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false || ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) )InArray.php https://bitbucket.org/haichau59/manga.git | PHP | 204 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: InArray.php 24594 2012-01-05 21:27:01Z matthew $ 20 */ 24 */ 25//require_once 'Zend/Validate/Abstract.php'; 26 75 } else if (!is_array($options)) { 76 //require_once 'Zend/Validate/Exception.php'; 77 throw new Zend_Validate_Exception('Array expected as parameter'); 81 if ($count > 1) { 82 $temp['haystack'] = func_get_arg(0); 83 $temp['strict'] = func_get_arg(1); 85 } else { 86 $temp = func_get_arg(0); 87 if (!array_key_exists('haystack', $options)) {ChromePhp.php https://github.com/cazzerson/Suma.git | PHP | 437 lines
18/** 19 * Server Side Chrome PHP debugger class 20 * 33 */ 34 const HEADER_NAME = 'X-ChromePhp-Data'; 35 128 { 129 $this->_php_version = phpversion(); 130 $this->_timestamp = $this->_php_version >= 5.1 ? $_SERVER['REQUEST_TIME'] : time(); 141 if (self::$_instance === null) { 142 self::$_instance = new ChromePhp(); 143 } 151 * @param mixed value 152 * @param string severity ChromePhp::LOG || ChromePhp::WARN || ChromePhp::ERROR 153 * @return voidclass_image_gd.php https://gitlab.com/ilya.webcity/anna | PHP | 344 lines
1<?php 2 9 * @copyright 2010, 2011 KCFinder Project 10 * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 11 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 278 protected function gdColor() { 279 $args = func_get_args(); 280Filter.php https://bitbucket.org/larryg/powerhut.git | PHP | 565 lines
1<?php namespace Basset\Filter; 2 250 { 251 $environments = func_get_args(); 252 357 { 358 $this->arguments = array_merge($this->arguments, func_get_args()); 359functions_plugins.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 451 lines
5// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | 6// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 29/** base directory of plugins */ 30define('PHPWG_PLUGINS_PATH', PHPWG_ROOT_PATH.'plugins/'); 31/** default priority for plugins handlers */ 358{ 359 $file_name = PHPWG_PLUGINS_PATH.$plugin['id'].'/main.inc.php'; 360 if (file_exists($file_name)) 379 // try to find the filesystem version in lines 2 to 10 of main.inc.php 380 $fh = fopen(PHPWG_PLUGINS_PATH.$plugin['id'].'/main.inc.php', 'r'); 381 $fs_version = null; 404 405 $maintain_file = PHPWG_PLUGINS_PATH.$plugin['id'].'/maintain.class.php'; 406AbstractDb.php https://bitbucket.org/juan_sanchez/aiyellow.git | PHP | 327 lines
1<?php 2/** 103 } elseif (func_num_args() > 1) { 104 $options = func_get_args(); 105 $firstArgument = array_shift($options);DrizzlePlatform.php https://gitlab.com/adrianjose605/SaintW | PHP | 504 lines
1<?php 2/* 54 { 55 $args = func_get_args(); 56ResponseHeader.php https://github.com/mfairchild365/zf2.git | PHP | 395 lines
1<?php 2/** 16 * @package Zend_Test 17 * @subpackage PHPUnit 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 24 */ 25namespace Zend\Test\PHPUnit\Constraint; 26use Zend\Controller\Response; 28/** 29 * Response header PHPUnit Constraint 30 * 30 * 31 * @uses PHPUnit_Framework_Constraint 32 * @uses \Zend\Test\PHPUnit\Constraint\Exception\ConstraintException 34 * @package Zend_Test 35 * @subpackage PHPUnit 36 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)MockHandler.php https://gitlab.com/aleritty/yaitb | PHP | 163 lines
1<?php 2namespace GuzzleHttp\Handler; 107 { 108 foreach (func_get_args() as $value) { 109 if ($value instanceof ResponseInterfaceclass.wp-dependencies.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 509 lines
1<?php 2/** 486 public function __construct() { 487 @list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args(); 488 if ( ! is_array($this->deps) )class.json-api.php https://bitbucket.org/mshmsh5000/wp-demo.git | PHP | 447 lines
1<?php 2 53 function __construct() { 54 $args = func_get_args(); 55 call_user_func_array( array( $this, 'setup_inputs' ), $args ); 82 if ( is_null( $post_body ) ) { 83 $this->post_body = file_get_contents( 'php://input' ); 84 396 397 // If API called via PHP, bail: don't do our custom wp_die(). Do the normal wp_die(). 398 if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {NestedArray.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 352 lines
1<?php 2 27 * // Do not do this! Avoid eval(). 28 * // May also throw a PHP notice, if the variable array keys do not exist. 29 * eval('$value = $array[\'' . implode("']['", $parents) . "'];"); 145 * requires the deletion of an already existing non-array parent value. If 146 * FALSE, PHP throws an error if trying to add into a value that is not an 147 * array. Defaults to FALSE. 154 foreach ($parents as $parent) { 155 // PHP auto-creates container arrays and NULL entries without error if $ref 156 // is NULL, but throws an error if $ref is set, but not an array. 264 public static function keyExists(array $array, array $parents) { 265 // Although this function is similar to PHP's array_key_exists(), its 266 // arguments should be consistent with getValue(). 274 * 275 * This function is similar to PHP's array_merge_recursive() function, but it 276 * handles non-array values differently. When merging values that are not bothdebug.php https://github.com/plbabin/Hybride-Ironweb-2011.git | PHP | 464 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 8 * @copyright (c) 2008-2011 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 29 // Get all passed variables 30 $variables = func_get_args(); 31 43 * 44 * Borrows heavily on concepts from the Debug class of [Nette](http://nettephp.com/). 45 * 88 { 89 // Only exists on PHP >= 5.2.4 90 if (stream_is_local($file)) 241 * 242 * // Displays SYSPATH/classes/kohana.php 243 * echo Debug::path(Kohana::find_file('classes', 'kohana'));Rename.php https://github.com/gryzz/crystal_magento.git | PHP | 305 lines
1<?php 2/** 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 */ 24 */ 25#require_once 'Zend/Filter/Interface.php'; 26 60 } elseif (!is_array($options)) { 61 #require_once 'Zend/Filter/Exception.php'; 62 throw new Zend_Filter_Exception('Invalid options argument provided to filter'); 66 trigger_error('Support for multiple arguments is deprecated in favor of a single options array', E_USER_NOTICE); 67 $argv = func_get_args(); 68 array_shift($argv); 125 } elseif (!is_array($options)) { 126 #require_once 'Zend/Filter/Exception.php'; 127 throw new Zend_Filter_Exception ('Invalid options to rename filter provided');array.php https://bitbucket.org/organicdevelopment/nooku-framework.git | PHP | 168 lines
1<?php 2/** 79 { 80 $args = func_get_args(); 81 $merged = array_shift($args);Modules.php https://bitbucket.org/goandget/goportal.git | PHP | 205 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 2 3/* PHP5 spl_autoload */ 4spl_autoload_register('Modules::autoload'); 6/** 7 * Modular Extensions - PHP5 8 * 15 * 16 * Install this file as application/libraries/Modules.php 17 * 62 ob_start(); 63 $args = func_get_args(); 64 $output = call_user_func_array(array($class, $method), array_slice($args, 1));activeRecord.php https://github.com/melechi/Simple-Core.git | PHP | 398 lines
1<?php 2class dbtools_activeRecord_activeRecord extends overloader implements SeekableIterator 284 $selection=$this->newSelection(); 285 $args=func_get_args(); 286 for ($i=0; $i<$numArgs; $i++)mysql.php https://github.com/alvinj/Cato-CRUD-Generator.git | PHP | 120 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP versions 4 and 5 | 4// +----------------------------------------------------------------------+ 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. | 44// 45// $Id: mysql.php,v 1.11 2007/01/12 11:29:12 quipo Exp $ 46// 47 48require_once 'MDB2/Driver/Function/Common.php'; 49 99 { 100 $args = func_get_args(); 101 return "CONCAT(".implode(', ', $args).")";Store.php https://gitlab.com/zan_zan/laravel_sample | PHP | 682 lines
1<?php 2 452 { 453 $keys = is_array($keys) ? $keys : func_get_args(); 454DomQuery.php https://github.com/rogerwu99/punch_bantana.git | PHP | 379 lines
2/** PHPUnit_Framework_Constraint */ 3require_once 'PHPUnit/Framework/Constraint.php'; 4 16 */ 17class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint 18{ 150 if (3 > $argc) { 151 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 152 throw new Zend_Test_PHPUnit_Constraint_Exception('No pattern provided against which to match'); 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'); 188 { 189 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 190 switch ($this->_assertType) {drupal_i18n_test_case.php https://github.com/tommeir/mifgaim.git | PHP | 294 lines
1<?php 2// $Id: drupal_i18n_test_case.php,v 1.1.2.5 2010/03/31 21:13:06 jareyero Exp $ 2// $Id: drupal_i18n_test_case.php,v 1.1.2.5 2010/03/31 21:13:06 jareyero Exp $ 3// Core: Id: drupal_web_test_case.php,v 1.96 2009/04/22 09:57:10 dries Exp 4/** 11 12require_once drupal_get_path('module', 'simpletest') . '/drupal_web_test_case.php'; 13 106 // Add the specified modules to the list of modules in the default profile. 107 $args = func_get_args(); 108 // Add language and basic i18n modulesResponseHeader.php https://github.com/mrbanzai/zf2.git | PHP | 395 lines
1<?php 2/** 16 * @package Zend_Test 17 * @subpackage PHPUnit 18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 24 */ 25namespace Zend\Test\PHPUnit\Constraint; 26use Zend\Controller\Response; 28/** 29 * Response header PHPUnit Constraint 30 * 30 * 31 * @uses PHPUnit_Framework_Constraint 32 * @uses \Zend\Test\PHPUnit\Constraint\Exception\ConstraintException 34 * @package Zend_Test 35 * @subpackage PHPUnit 36 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)call.php https://github.com/agallou/atoum.git | PHP | 483 lines
1<?php 2 6 mageekguy\atoum, 7 mageekguy\atoum\php, 8 mageekguy\atoum\test, 138 139 foreach (func_get_args() as $call) 140 { 155 156 foreach (func_get_args() as $call) 157 { 421 422 $string = (sizeof($calls) <= 0 ? '' : PHP_EOL . rtrim($calls)); 423 }Search.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 466 lines
1<?php 2/* 184 public static function &links() { 185 $args = func_get_args(); 186 $hideOption = CRM_Utils_Array::value(0, $args);ResponseHeader.php https://gitlab.com/devtoannh/cafe | PHP | 400 lines
23/** @see PHPUnit_Framework_Constraint */ 24require_once 'PHPUnit/Framework/Constraint.php'; 25 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__)); 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__); 174 default: 175 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 176 throw new Zend_Test_PHPUnit_Constraint_Exception('Invalid assertion type ' . __FUNCTION__); 191 { 192 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 193 switch ($this->_assertType) {Request.php https://github.com/jpratt/cal.git | PHP | 438 lines
1<?php 2/** 23 */ 24#require_once 'Zend/XmlRpc/Value.php'; 25 28 */ 29#require_once 'Zend/XmlRpc/Fault.php'; 30 45 * @license http://framework.zend.com/license/new-bsd New BSD License 46 * @version $Id: Request.php 13223 2008-12-14 11:21:31Z thomas $ 47 */ 209 $argc = func_num_args(); 210 $argv = func_get_args(); 211 if (0 == $argc) {Request.php https://bitbucket.org/helfreire/tccsite.git | PHP | 505 lines
1<?php namespace Illuminate\Http; 2 112 { 113 foreach (func_get_args() as $pattern) 114 { 151 { 152 if (count(func_get_args()) > 1) 153 { 153 { 154 foreach (func_get_args() as $value) 155 { 201 { 202 $keys = is_array($keys) ? $keys : func_get_args(); 203 214 { 215 $keys = is_array($keys) ? $keys : func_get_args(); 216Inflector.php https://github.com/Shreef/zf2.git | PHP | 527 lines
1<?php 2/** 75 } else if (!is_array($options)) { 76 $options = func_get_args(); 77 $temp = array();Request.php https://github.com/shevron/zf2.git | PHP | 422 lines
1<?php 2/** 189 $argc = func_num_args(); 190 $argv = func_get_args(); 191 if (0 == $argc) {FireLogger.php https://gitlab.com/paveltizek/shop | PHP | 178 lines
1<?php 2 41 $item = array( 42 'name' => 'PHP', 43 'level' => $priority, 50 51 $args = func_get_args(); 52 if (isset($args[0]) && is_string($args[0])) {FileLoader.php https://github.com/Taluu/symfony.git | PHP | 245 lines
1<?php 2 56 { 57 $args = \func_get_args(); 58 189 $classes = []; 190 $extRegexp = '/\\.php$/'; 191 $prefixLen = null;old.php https://bitbucket.org/yiwang/proxy-gfw.git | PHP | 393 lines
1<?php 2 39function print_notify($method, $url, $status, $content) { 40 $content = "<h2>PHP Server Fetch Info</h2><hr noshade='noshade'><p>$method '$url'</p><p>Return Code: $status</p><p>Message: $content</p>"; 41 $headers = array('content-type' => 'text/html'); 47 $headers = array('content-type' => 'text/html'); 48 $content = "<h2>PHP Server Debug Info</h2><hr noshade='noshade'>"; 49 foreach (func_get_args() as $key => $value) { 300 301 $request = @gzuncompress(@file_get_contents('php://input')); 302 if ($request === False) { 302 if ($request === False) { 303 return print_notify($method, $url, 500, 'OOPS! gzuncompress php://input error!'); 304 } 378 379 print_notify($request['method'], $request['url'], 502, 'PHP Server Fetch Failed: ' . var_export($errors, true)); 380}Abstract.php https://github.com/atcorp/SetucoCMS.git | PHP | 213 lines
1<?php 2/** 10 * @copyright Copyright (c) 2010 SetucoCMS Project.(http://sourceforge.jp/projects/setucocms) 11 * @license http://www.opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 12 * @version 63 { 64 foreach (func_get_args() as $i => $arg) { 65 if (is_array($arg)) { 72 73 $rowset = call_user_func_array('parent::find', func_get_args()); 74 if ($rowset->count() == 0) { 105 foreach ($primary as $key) { 106 if (is_array(func_get_arg($i))) { 107 throw new Zend_Db_Table_Exception("プライマリキーに対する値に配列は指定できません。(" . ($i + 1) . "番目のキー)"); 108 } 109 if (is_null(func_get_arg($i))) { 110 throw new Zend_Db_Table_Exception("プライマリキーに対する値に NULL は指定できません。(" . ($i + 1) . "番目のキー)");View.php https://gitlab.com/albertkeba/service | PHP | 282 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 166 { 167 $args = func_get_args(); 168 if (count($args) === 1 && is_array($args[0])) {Subject.php https://gitlab.com/judielsm/Handora | PHP | 267 lines
1<?php 2 3/* 4 * This file is part of PhpSpec, A php toolset to drive emergent 5 * design by specification. 13 14namespace PhpSpec\Wrapper; 15 15 16use PhpSpec\Wrapper\Subject\WrappedObject; 17use PhpSpec\Wrapper\Subject\Caller; 17use PhpSpec\Wrapper\Subject\Caller; 18use PhpSpec\Wrapper\Subject\SubjectWithArrayAccess; 19use PhpSpec\Wrapper\Subject\ExpectationFactory; 19use PhpSpec\Wrapper\Subject\ExpectationFactory; 20use PhpSpec\Util\Instantiator; 21use ArrayAccess;Ion_auth.php https://github.com/asalce/CodeIgniter-Ion-Auth.git | PHP | 470 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 17* 18* Requirements: PHP5 or above 19* 433 { 434 $where =& func_get_args(); 435 456 { 457 $set =& func_get_args(); 458DomQuery.php https://github.com/Exercise/zf2.git | PHP | 421 lines
1<?php 2/** 16 * @package Zend_Test 17 * @subpackage PHPUnit 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 25 */ 26namespace Zend\Test\PHPUnit\Constraint; 27 28/** 29 * Zend_Dom_Query-based PHPUnit Constraint 30 * 30 * 31 * @uses PHPUnit_Framework_Constraint 32 * @uses \Zend\Dom\Query 32 * @uses \Zend\Dom\Query 33 * @uses \Zend\Test\PHPUnit\Constraint\Exception 34 * @category ZendRegisterListenersPass.php https://gitlab.com/jjpa2018/dashboard | PHP | 238 lines
1<?php 2 58 trigger_deprecation('symfony/event-dispatcher', '5.4', 'Configuring "$tagName" in "%s" is deprecated.', __METHOD__); 59 $this->hotPathTagName = func_get_arg(1); 60 } 73 trigger_deprecation('symfony/event-dispatcher', '5.4', 'Configuring "$tagName" in "%s" is deprecated.', __METHOD__); 74 $this->noPreloadTagName = func_get_arg(1); 75 }Abstract.php https://gitlab.com/Ltaimao/wecenter | PHP | 355 lines
1<?php 2/** 24 */ 25//require_once 'Zend/Validate/Abstract.php'; 26 110 } else if (func_num_args() > 1) { 111 $options = func_get_args(); 112 $temp['table'] = array_shift($options); 125 if (!array_key_exists('table', $options) && !array_key_exists('schema', $options)) { 126 //require_once 'Zend/Validate/Exception.php'; 127 throw new Zend_Validate_Exception('Table or Schema option missing!'); 130 if (!array_key_exists('field', $options)) { 131 //require_once 'Zend/Validate/Exception.php'; 132 throw new Zend_Validate_Exception('Field option missing!'); 166 if (null === $this->_adapter) { 167 //require_once 'Zend/Validate/Exception.php'; 168 throw new Zend_Validate_Exception('No database adapter present');log.php https://github.com/jizillon/phpzillon-browser.git | PHP | 181 lines
1<?php 2/* Licensed under the Apache License, Version 2.0 54 55 $params = func_get_args(); 56 array_shift($params);Helpers.php https://gitlab.com/paveltizek/shop | PHP | 221 lines
1<?php 2 55 { 56 $args = func_get_args(); 57 return preg_replace_callback('#%#', function () use (& $args, & $count) { 115 { 116 if (PHP_VERSION_ID < 50400) { 117 return @iconv('UTF-16', 'UTF-8//IGNORE', iconv('UTF-8', 'UTF-16//IGNORE', $s)); // intentionally @CreditCard.php https://bitbucket.org/sasezaki/mirror-zf1-standard-trunk-libraray-validate-dir.git | PHP | 317 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 145 } else if (!is_array($options)) { 146 $options = func_get_args(); 147 $temp['type'] = array_shift($options); 229 if (!is_callable($service)) { 230 require_once 'Zend/Validate/Exception.php'; 231 throw new Zend_Validate_Exception('Invalid callback given'); 301 try { 302 require_once 'Zend/Validate/Callback.php'; 303 $callback = new Zend_Validate_Callback($this->_service);Xml.php https://gitlab.com/devtoannh/cafe | PHP | 165 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Xml.php 24237 2011-07-13 18:22:20Z matthew $ 21 */ 23/** Zend_Log_Formatter_Abstract */ 24require_once 'Zend/Log/Formatter/Abstract.php'; 25 31 * @license http://framework.zend.com/license/new-bsd New BSD License 32 * @version $Id: Xml.php 24237 2011-07-13 18:22:20Z matthew $ 33 */ 62 } elseif (!is_array($options)) { 63 $args = func_get_args(); 64 162 163 return $xml . PHP_EOL; 164 }Abstract.php https://gitlab.com/yousafsyed/easternglamor | PHP | 355 lines
1<?php 2/** 24 */ 25#require_once 'Zend/Validate/Abstract.php'; 26 110 } else if (func_num_args() > 1) { 111 $options = func_get_args(); 112 $temp['table'] = array_shift($options); 125 if (!array_key_exists('table', $options) && !array_key_exists('schema', $options)) { 126 #require_once 'Zend/Validate/Exception.php'; 127 throw new Zend_Validate_Exception('Table or Schema option missing!'); 130 if (!array_key_exists('field', $options)) { 131 #require_once 'Zend/Validate/Exception.php'; 132 throw new Zend_Validate_Exception('Field option missing!'); 166 if (null === $this->_adapter) { 167 #require_once 'Zend/Validate/Exception.php'; 168 throw new Zend_Validate_Exception('No database adapter present');local.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 463 lines
1<?php 2/** 4 * @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5 * @license GNU/GPL, see LICENSE.php 6 * 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 14 15require_once( EBLOG_CLASSES . DIRECTORY_SEPARATOR . 'json.php' ); 16 170 { 171 $args = func_get_args(); 172 200 { 201 // Unknown extensions will use the types/file.php 202 $classType = 'file';mysql.php https://github.com/henare/electionleaflets.git | PHP | 120 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP versions 4 and 5 | 4// +----------------------------------------------------------------------+ 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. | 44// 45// $Id: mysql.php,v 1.1 2007/09/21 08:37:02 richard Exp $ 46// 47 48require_once 'MDB2/Driver/Function/Common.php'; 49 99 { 100 $args = func_get_args(); 101 return "CONCAT(".implode(', ', $args).")";CDbCommand.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1317 lines
1<?php 2/** 25 * CDbCommand supports SQL statment preparation and parameter binding. 26 * Call {@link bindParam} to bind a PHP variable to a parameter in SQL. 27 * Call {@link bindValue} to bind a value to an SQL parameter. 78 * Since 1.1.7 it is possible to use a specific mode of data fetching by setting 79 * {@link setFetchMode FetchMode}. See {@link http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php} 80 * for more details. 107 * @return CDbCommand 108 * @see http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php 109 * @since 1.1.7 223 * @return CDbCommand the current command being executed (this is available since version 1.0.8) 224 * @see http://www.php.net/manual/en/function.PDOStatement-bindParam.php 225 */ 249 * @return CDbCommand the current command being executed (this is available since version 1.0.8) 250 * @see http://www.php.net/manual/en/function.PDOStatement-bindValue.php 251 */yiilite.php https://github.com/joshuaswarren/weatherhub.git | PHP | 1622 lines
1<?php 2/** 8 * 9 * By using this file instead of yii.php, an Yii application may 10 * improve performance due to the reduction of PHP parsing time. 10 * improve performance due to the reduction of PHP parsing time. 11 * The performance improvement is especially obvious when PHP APC extension 12 * is enabled. 19 * @license http://www.yiiframework.com/license/ 20 * @version $Id: yiilite.php 3322 2011-06-26 17:38:50Z qiang.xue $ 21 * @since 1.0 89 { 90 $args=func_get_args(); 91 if($n===2) 100 $class=new ReflectionClass($type); 101 // Note: ReflectionClass::newInstanceArgs() is available for PHP 5.1.3+ 102 // $object=$class->newInstanceArgs($args);EmailAddress.php https://github.com/quarkness/piwik.git | PHP | 560 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: EmailAddress.php 24304 2011-07-30 01:12:35Z adamlundrigan $ 20 */ 24 */ 25// require_once 'Zend/Validate/Abstract.php'; 26 29 */ 30// require_once 'Zend/Validate/Hostname.php'; 31 134 } else if (!is_array($options)) { 135 $options = func_get_args(); 136 $temp['allow'] = array_shift($options); 280 if ((bool) $mx && !$this->validateMxSupported()) { 281 // require_once 'Zend/Validate/Exception.php'; 282 throw new Zend_Validate_Exception('MX checking not available on this system');security.php https://github.com/cgajardo/repositorium.git | PHP | 747 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 263 * @access public 264 * @link http://book.cakephp.org/view/1300/requireSecure 265 */ 275 * @access public 276 * @link http://book.cakephp.org/view/1301/requireAuth 277 */ 318 case 'basic': 319 $login = array('username' => env('PHP_AUTH_USER'), 'password' => env('PHP_AUTH_PW')); 320 if (!empty($login['username'])) {set.php https://github.com/cgajardo/repositorium.git | PHP | 1155 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.cake.libs 17 * @since CakePHP(tm) v 1.2.0 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 354 * - /Comment/.[:first] (Selects the first comment) 355 * - /Comment[text=/cakephp/i] (Selects the all comments that have a text matching the regex /cakephp/i) 356 * - /Comment/@* (Selects the all key names of all comments)basics.php https://github.com/cgajardo/repositorium.git | PHP | 1026 lines
1<?php 2/** 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link http://cakephp.org CakePHP(tm) Project 17 * @package cake 19 * @since CakePHP(tm) v 0.2.9 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 21 */ 34/** 35 * Patch for PHP < 5.0 36 */ 102 * @param boolean $showFrom If set to true, the method prints from where the function was called. 103 * @link http://book.cakephp.org/view/1190/Basic-Debugging 104 * @link http://book.cakephp.org/view/1128/debugDriver.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 647 lines
1<?php 2/* 2/* 3 * $Id: Driver.php 48519 2012-02-03 23:18:52Z btowles $ 4 * 26 * @subpackage Expression 27 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 28 * @link www.doctrine-project.org 308 { 309 $args = func_get_args(); 310Cli.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 679 lines
1<?php 2/* 2/* 3 * $Id: Cli.php 48519 2012-02-03 23:18:52Z btowles $ 4 * 28 * @subpackage Cli 29 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 30 * @link www.doctrine-project.org 126 if (func_num_args() > 1) { 127 return func_get_arg(1); 128 } 279 * 280 * This means that a file called "Foo.php", say, will be expected to contain a Task class called 281 * "Doctrine_Task_Foo". Hence the method's name, "include*Doctrine*TaskClasses". 306 */ 307 $matched = (bool) preg_match('/^([A-Z].*?)\.php$/', $baseName, $matches); 308legacy.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 796 lines
1<?php 2/** 62 */ 63 protected $_layoutExt = 'php'; 64 250 * 251 * @deprecated 13.3 Use native PHP syntax. 252 */ 254 { 255 JLog::add(__METHOD__ . ' is deprecated. Use native PHP syntax.', JLog::WARNING, 'deprecated'); 256 257 // Get the arguments; there may be 1 or 2. 258 $arg0 = @func_get_arg(0); 259 $arg1 = @func_get_arg(1); 324 * @since 12.2 325 * @deprecated 13.3 Use native PHP syntax. 326 */html.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 1007 lines
1<?php 2/** 99 $function = self::$registry[$key]; 100 $args = func_get_args(); 101 111 { 112 $path = JPath::find(self::$includePaths, strtolower($file) . '.php'); 113 133 self::register($key, $toCall); 134 $args = func_get_args(); 135 216 * 217 * @see http://php.net/manual/en/function.call-user-func-array.php 218 * @since 11.1 227 228 // PHP 5.3 workaround 229 $temp = array();EmailAddress.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 560 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 29 */ 30require_once 'Zend/Validate/Hostname.php'; 31 134 } else if (!is_array($options)) { 135 $options = func_get_args(); 136 $temp['allow'] = array_shift($options); 280 if ((bool) $mx && !$this->validateMxSupported()) { 281 require_once 'Zend/Validate/Exception.php'; 282 throw new Zend_Validate_Exception('MX checking not available on this system');Server.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 959 lines
1<?php 2/** 24 */ 25require_once 'Zend/Server/Interface.php'; 26 63 /** 64 * Array of SOAP type => PHP class pairings for handling return/incoming values 65 * @var array 149 * Sets display_errors INI setting to off (prevent client errors due to bad 150 * XML in response). Registers {@link handlePhpErrors()} as error handler 151 * for E_USER_ERROR. 162 if (!extension_loaded('soap')) { 163 require_once 'Zend/Soap/Server/Exception.php'; 164 throw new Zend_Soap_Server_Exception('SOAP extension is not loaded.'); 274 if (!is_string($encoding)) { 275 require_once 'Zend/Soap/Server/Exception.php'; 276 throw new Zend_Soap_Server_Exception('Invalid encoding specified');Matrix.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 1059 lines
6/** PHPExcel root directory */ 7if (!defined('PHPEXCEL_ROOT')) { 8 /** 11 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../../'); 12 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 13} 63 * 64 * As PHP has no support for polymorphic constructors, we hack our own sort of polymorphism using func_num_args, func_get_arg, and gettype. In essence, we're just implementing a simple RTTI filter and calling the appropriate constructor. 65 */ 272 public function checkMatrixDimensions($B = null) { 273 if ($B instanceof PHPExcel_Shared_JAMA_Matrix) { 274 if (($this->m == $B->getRowDimension()) && ($this->n == $B->getColumnDimension())) { 547 if (func_num_args() > 0) { 548 $args = func_get_args(); 549 $match = implode(",", array_map('gettype', $args));TextData.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 598 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 238 if (is_bool($haystack)) { 239 $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); 240 } 274 if (is_bool($haystack)) { 275 $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); 276 } 338 if (is_bool($value)) { 339 $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); 340 } 439 if (is_bool($mixedCaseString)) { 440 $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); 441 }plugin.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 789 lines
1<?php 2/** 10 * Any of the syntaxes explained in the PHP documentation for the 11 * {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'} 12 * type are valid. 26 * before adding it to the database or sending it to the browser screen. Plugins 27 * can specify that one or more of its PHP functions is executed to 28 * modify specific types of text at these times, using the Filter API. 144 $wp_current_filter[] = $tag; 145 $args = func_get_args(); 146 _wp_call_all_hook($args); 166 if ( empty($args) ) 167 $args = func_get_args(); 168 205 $wp_current_filter[] = $tag; 206 $all_args = func_get_args(); 207 _wp_call_all_hook($all_args);OMBuilder.php https://github.com/1989gaurav/Propel.git | PHP | 542 lines
1<?php 2 10 11require_once dirname(__FILE__) . '/../DataModelBuilder.php'; 12 15 * 16 * OM-building classes are those that build a PHP (or other) class to service 17 * a single table. This includes Peer classes, Entity classes, Map classes, 32 /** 33 * Builds the PHP source for current class and returns it as a string. 34 * 36 * In most cases this method will not need to be overridden by subclasses. This method 37 * does assume that the output language is PHP code, so it will need to be overridden if 38 * this is not the case. 39 * 40 * @return string The resulting PHP sourcecode. 41 */rewrite.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 1689 lines
1<?php 2/** 71 if ( func_num_args() == 4 ) 72 $args['ep_mask'] = func_get_arg( 3 ); 73 254 * 255 * To remove any manually prepended /index.php/. 256 * 264 if ( !empty( $base ) ) { 265 $base = preg_replace( '|^/index\.php/|', '', $base ); 266 $base = trim( $base, '/' ); 315 316 // Strip 'index.php/' if we're not using path info permalinks 317 if ( !$wp_rewrite->using_index_permalinks() ) 317 if ( !$wp_rewrite->using_index_permalinks() ) 318 $url = str_replace('index.php/', '', $url); 319