Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 42) sorted by relevance

12

/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DClassServer.php46 foreach ($methods as $method) {
47 if (is_array($method)) {
48 $targetMethod = $method[0];
49 $method = $method[1];
51 $targetMethod = $method;
53 $this->callbacks[$prefix . $this->_delim . $method] = [$prefix, $targetMethod];
60 return new Error(-32601, 'server error. requested method ' . $methodname . ' does not exist.');
62 $method = $this->callbacks[$methodname];
70 // See if this method come
[all...]
H A DServer.php77 return new Error(-32601, 'server error. requested method ' . $methodname . ' does not exist.');
79 $method = $this->callbacks[$methodname];
88 // Are we dealing with a function or a method?
89 if (is_string($method) && substr($method, 0, 5) === 'this:') {
90 // It's a class method - check it exists
91 $method = substr($method, 5);
93 return $this->$method($args);
96 return call_user_func($method,
124 hasMethod($method) global() argument
[all...]
H A DIntrospectionServer.php32 'Returns an array describing the return type and required parameters of a method'
50 'Returns a documentation string for the specified method'
54 public function addCallback($method, $callback, $args, $help) argument
56 $this->callbacks[$method] = $callback;
57 $this->signatures[$method] = $args;
58 $this->help[$method] = $help;
68 // Over-rides default call method, adds signature check
71 'server error. requested method "' . $this->message->methodName . '" not specified.');
73 $method = $this->callbacks[$methodname];
79 return new Error(-32602, 'server error. wrong number of method parameter
127 methodSignature($method) global() argument
167 methodHelp($method) global() argument
[all...]
/dokuwiki/inc/Remote/
H A DApi.php20 * 'method.remoteName' => array(
24 * 'name' => 'method name in class',
26 * 'public' => 1/0 - method bypass default group check (used by login)
27 * ['doc' = 'method documentation'],
32 * core methods begin by a 'dokuwiki' or 'wiki' followed by a . and the method name itself.
35 * plugin methods are formed like 'plugin.<plugin name>.<method name>'.
105 foreach ($methods as $method => $call) {
106 $this->pluginMethods["plugin.$pluginName.$method"] = $call;
114 * Call a method via remote api.
116 * @param string $method nam
90 call($method, $args = array()) global() argument
126 callCustomCallPlugin($method, $args) global() argument
162 callPlugin($pluginName, $method, $args) global() argument
189 callCoreMethod($method, $args) global() argument
245 getMethodName($methodMeta, $method) global() argument
[all...]
/dokuwiki/vendor/kissifrot/php-ixr/src/Request/
H A DRequest.php15 private $method; variable in IXR\\Request\\Request
19 public function __construct($method, $args) argument
21 $this->method = $method;
26 <methodName>{$this->method}</methodName>
/dokuwiki/inc/HTTP/
H A DDokuHTTPClient.php59 * @param string $method
62 public function sendRequest($url, $data = '', $method = 'GET') argument
67 'method' => $method
73 $method = $httpdata['method'];
77 return parent::sendRequest($url, $data, $method);
H A DHTTPClient.php144 * This method handles the whole HTTP communication. It respects set proxy settings,
152 * @param string $method - HTTP Method usually GET or POST.
158 public function sendRequest($url, $data = '', $method = 'GET')
217 if ($method == 'POST') {
230 } elseif ($method == 'GET') {
301 $request = "$method $request_url HTTP/" . $this->http . HTTP_NL;
378 // perform redirected request, same method as before (required by RFC)
379 return $this->sendRequest($this->resp_headers['location'], $unencodedData, $method);
164 sendRequest($url, $data = '', $method = 'GET') global() argument
/dokuwiki/inc/Extension/
H A DEventHandler.php20 * constructor, loads all action plugins and calls their register() method giving them
45 * @param object $obj scope for the method be executed on, NULL for global function or callable
46 * @param string|callable $method event handler function
50 public function register_hook($event, $advise, $obj, $method, $param = null, $seq = 0) argument
54 $this->hooks[$event . '_' . $advise][$seq][] = [$obj, $method, $param];
75 [$obj, $method, $param] = $hook;
78 $method($event, $param);
80 $obj->$method($event, $param);
H A DRemotePlugin.php41 foreach ($reflection->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
43 $declaredin = $method->getDeclaringClass()->name;
47 $method_name = $method->name;
/dokuwiki/lib/plugins/info/
H A Dsyntax.php186 foreach ($methods as $method) {
187 $title = '$' . $p . '->' . $method['name'] . '()';
192 $doc .= '<tr><th>Description</th><td colspan="2">' . $method['desc'] .
194 if ($method['params']) {
195 $c = count($method['params']);
198 foreach ($method['params'] as $desc => $type) {
203 if ($method['return']) {
204 $doc .= '<tr><th>Return value</th><td>' . hsc(key($method['return'])) .
205 '</td><td>' . hsc(current($method['return'])) . '</td></tr>';
/dokuwiki/inc/
H A DPassHash.php21 * The method and salt used for the crypted hash is determined automatically,
22 * then the clear text password is crypted using the same method. If both hashs
34 $method = '';
38 //determine the used method and salt
47 $method = 'smd5';
51 $method = 'apr1';
55 $method = 'drupal_sha512';
59 $method = 'pmd5';
63 $method = 'pmd5';
67 $method
[all...]
H A DFeedParserFile.php36 $this->method = SimplePie::FILE_SOURCE_REMOTE | SimplePie::FILE_SOURCE_FSOCKOPEN;
H A Dauth.php699 * default ACL check method
1300 * Encrypts a password using the given method and salt
1302 * If the selected method needs a salt and none was given, a random one
1308 * @param string $method The hashing method
1312 function auth_cryptPassword($clear, $method = '', $salt = null)
1315 if (empty($method)) $method = $conf['passcrypt'];
1318 $call = 'hash_' . $method;
1321 msg("Unsupported crypt method
1209 auth_cryptPassword($clear, $method = '', $salt = null) global() argument
[all...]
H A Dform.php61 * @param bool|string $method (optional, deprecated) 'POST' or 'GET', default is POST
66 public function __construct($params, $action = false, $method = false, $enctype = false)
71 if ($method !== false) $this->params['method'] = strtolower($method);
77 if (!isset($this->params['method'])) {
78 $this->params['method'] = 'post';
80 $this->params['method'] = strtolower($this->params['method']);
65 __construct($params, $action = false, $method = false, $enctype = false) global() argument
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php607 foreach ($all_methods as $method) {
608 if (strtolower(substr($method, 0, 5)) === 'date_') {
609 $cache[get_class($this)][] = $method;
614 foreach ($cache[get_class($this)] as $method) {
615 $this->built_in[] = $method;
643 foreach ($this->user as $method) {
644 if (($returned = call_user_func($method, $date)) !== false) {
649 foreach ($this->built_in as $method) {
650 if (($returned = call_user_func([$this, $method], $date)) !== false) {
659 * Add a callback method t
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DRegistry.php235 trigger_error(sprintf('Using the method "set_registry()" without implementing "%s" is deprecated since SimplePie 1.8.0, implement "%s" in "%s".', RegistryAware::class, RegistryAware::class, $class), \E_USER_DEPRECATED);
242 * Call a static method for a type
245 * @param string $method
249 public function &call($type, $method, $parameters = []) argument
259 if ($method === 'get_handler') {
267 $result = call_user_func_array([$class, $method], $parameters);
H A DLocator.php109 if ($this->file->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE) {
146 if ($file->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE) {
157 } elseif ($file->method & \SimplePie\SimplePie::FILE_SOURCE_LOCAL) {
230 if ($feed->success && ($feed->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed, true)) {
337 if ($feed->success && ($feed->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed)) {
359 if ($feed->success && ($feed->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed)) {
H A DFile.php69 public $method = \SimplePie\SimplePie::FILE_SOURCE_NONE; variable in SimplePie\\File
91 $this->method = \SimplePie\SimplePie::FILE_SOURCE_REMOTE | \SimplePie\SimplePie::FILE_SOURCE_CURL;
145 $this->method = \SimplePie\SimplePie::FILE_SOURCE_REMOTE | \SimplePie\SimplePie::FILE_SOURCE_FSOCKOPEN;
248 $this->method = \SimplePie\SimplePie::FILE_SOURCE_LOCAL | \SimplePie\SimplePie::FILE_SOURCE_FILE_GET_CONTENTS;
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php35 /** @var string the method to be used when this action is used in a form */
36 protected $method = 'get'; variable in dokuwiki\\Menu\\Item\\AbstractItem
129 * Convenience method to get the attributes for constructing an <a> element
149 * Convenience method to create a full <a> element
173 * Convenience method to create a <button> element inside it's own form element
186 $this->method,
258 'method' => $this->method,
H A DEdit.php23 $this->method = 'post';
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
H A DClientSSL.php131 $method = array_shift($args);
132 $request = new Request($method, $args);
H A DClient.php68 $method = array_shift($args);
69 $request = new Request($method, $args);
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A DREADME.md
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md62 - implement the ```setup($options)``` method and register options, arguments, commands and set help texts
67 - implement the ```main($options)``` method and do your business logic there
96 For more complex coloring you can access the color class through ``$this->colors`` in your script. The ``wrap()`` method
100 its ``format()`` method. Please note that you can not pass colored texts in the second parameters (text length calculation
108 The formatter is used through the ``format()`` method which expects at least two arrays: The first defines the column
138 The resulting object then can be passed as the logger instance. The difference between the two is in adjusted method signatures (with appropriate type hinting) only. Be sure you have the suggested `psr/log` composer package installed when using these classes.
/dokuwiki/vendor/simplepie/simplepie/
H A DCHANGELOG.md14 - New method `SimplePie\SimplePie::set_cache()` for providing a PSR-16 cache implementation by @Art4 in [#742](https://github.com/simplepie/simplepie/pull/742)
15 - New method `SimplePie\SimplePie::set_cache_namefilter()` for customize the cache key in [#762](https://github.com/simplepie/simplepie/pull/762)
33 - The method `SimplePie\SimplePie::get_image_height()` returns the pixel number as `int` instead of `float` by @Art4 in [#763](https://github.com/simplepie/simplepie/pull/763)
34 - The method `SimplePie\SimplePie::get_image_width()` returns the pixel number as `int` instead of `float` by @Art4 in [#763](https://github.com/simplepie/simplepie/pull/763)
42 - The method `SimplePie\Misc::array_merge_recursive()` is deprecated, use native `array_replace_recursive()` instead
43 - The method `SimplePie\SimplePie::set_cache_name_function()` is deprecated, use `SimplePie\SimplePie::set_cache_namefilter()` instead
44 - The method `SimplePie\SimplePie::set_cache_location()` is deprecated, use `SimplePie\SimplePie::set_cache()` instead
45 - The method `SimplePie\SimplePie::force_cache_fallback()` is deprecated, expired cache will not be used anymore
66 - New method `SimplePie\Misc::get_default_useragent()` as a replacement for constant `SIMPLEPIE_USERAGENT`
250 * Added the `add_attributes()` method t
[all...]

12