Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 12 of 12) sorted by last modified time

/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php577 * Array of user-added callback methods
585 * Array of user-added callback methods
659 * Add a callback method to parse a date
663 * @param callable $callback
665 public function add_callback($callback) argument
667 if (is_callable($callback)) {
668 $this->user[] = $callback;
670 trigger_error('User-supplied function must be a valid callback', E_USER_WARNING);
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DTar.php214 if(is_callable($this->callback)) {
215 call_user_func($this->callback, $fileinfo);
312 if(is_callable($this->callback)) {
313 call_user_func($this->callback, $fileinfo);
342 if (is_callable($this->callback)) {
343 call_user_func($this->callback, $fileinfo);
H A DZip.php175 if(is_callable($this->callback)) {
176 call_user_func($this->callback, $fileinfo);
254 if(is_callable($this->callback)) {
255 call_user_func($this->callback, $fileinfo);
394 if(is_callable($this->callback)) {
395 call_user_func($this->callback, $fileinfo);
456 if(is_callable($this->callback)) {
457 call_user_func($this->callback, $fileinfo);
H A DArchive.php14 protected $callback; variable in splitbrain\\PHPArchive\\Archive
124 * Set a callback function to be called whenever a file is added or extracted.
126 * The callback is called with a FileInfo object as parameter. You can use this to show progress
129 * @param callable $callback
131 public function setCallback($callback) argument
133 $this->callback = $callback;
/dokuwiki/inc/
H A Dcommon.php771 $callback = static fn() => true;
772 return Event::createAndTrigger('COMMON_WORDBLOCK_BLOCKED', $data, $callback, true);
1190 // we need the callback to work around strftime's char limit
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php2821 * If $callback is set to false then \phpseclib3\Net\SSH2::get_channel_packet(self::CHANNEL_EXEC) will need to be called manually.
2826 * @psalm-return ($callback is callable ? bool : string|bool)
2829 public function exec($command, callable $callback = null)
2907 return is_callable($callback) ? true : $output;
2911 if (is_callable($callback)) {
2912 if ($callback($temp) === true) {
2921 exec($command, $callback = null) global() argument
H A DSCP.php
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSimplePie.php1317 * Set callback function to create cache filename with
3094 trigger_error('subscribe_*() has been deprecated, implement the callback yourself', \E_USER_DEPRECATED);
3110 * Sorting callback for items
/dokuwiki/inc/Ui/
H A DRevisions.php90 * @param callable $callback returns array of hidden fields for the form button
93 protected function navigation($first, $hasNext, $callback) argument
102 $html .= html_btn('newer', $this->id, "p", $callback($first));
107 $html .= html_btn('older', $this->id, "n", $callback($last));
/dokuwiki/lib/scripts/
H A Dlocktimer.js60 * Add a callback that is executed when the post request to renew the lock and save the draft returns successfully
66 * @param {function} callback the only param is the data returned by the server
68 addRefreshCallback: function(callback) { argument
69 dw_locktimer.callbacks.push(callback);
124 function (callback) { argument
125 callback(data);
H A Dfileuploader.js1031 _attachLoadEvent: function(iframe, callback){ argument
1051 callback();
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php1938 $callback = function ($x) {
1941 $value = strtoupper(preg_replace_callback('#[^\x20-\x7E]#', $callback, $value->element));