Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 41) 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;
71 if (is_array($method) || (substr($method, 0, 5) == 'this:')) {
72 if (is_array($method)) {
74 $method = $method[1];
77 $method = substr($method, 5);
89 if (!function_exists($method)) {
[all …]
H A DServer.php79 $method = $this->callbacks[$methodname];
89 if (is_string($method) && substr($method, 0, 5) === 'this:') {
91 $method = substr($method, 5);
93 return $this->$method($args);
96 return call_user_func($method, $args);
98 … return new Error(-32601, "server error. requested callable '{$method}' does not exist.");
124 protected function hasMethod($method) argument
126 return in_array($method, array_keys($this->callbacks));
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'
73 $method = $this->callbacks[$methodname];
127 public function methodSignature($method) argument
129 if (!$this->hasMethod($method)) {
130 … return new Error(-32601, 'server error. requested method "' . $method . '" not specified.');
133 $types = $this->signatures[$method];
167 public function methodHelp($method) argument
169 return $this->help[$method];
/dokuwiki/inc/Remote/
H A DApi.php100 if ($this->coreMethodExist($method)) {
121 * @param string $method name of method
132 list($plugin, $method) = $customCalls[$method];
133 $fullMethod = "plugin.$plugin.$method";
157 * @param string $method method name
169 $this->checkAccess($methods[$method]);
184 * @param string $method name of method
193 if (!isset($coreMethods[$method])) {
242 * @param string $method name of method
250 $method = explode('.', $method);
[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.php58 * @param string $method
61 public function sendRequest($url,$data='',$method='GET'){ argument
64 'method' => $method);
69 $method = $httpdata['method'];
73 return parent::sendRequest($url,$data,$method);
H A DHTTPClient.php158 * @param string $method - HTTP Method usually GET or POST.
164 public function sendRequest($url,$data='',$method='GET'){ argument
219 if($method == 'POST'){
234 }elseif($method == 'GET'){
305 $request = "$method $request_url HTTP/".$this->http.HTTP_NL;
384 … return $this->sendRequest($this->resp_headers['location'],$unencodedData,$method);
/dokuwiki/inc/Extension/
H A DEventHandler.php47 * @param string $method event handler function
51 public function register_hook($event, $advise, $obj, $method, $param = null, $seq = 0) argument
55 $this->hooks[$event . '_' . $advise][$seq][] = array($obj, $method, $param);
76 list($obj, $method, $param) = $hook;
79 $method($event, $param);
81 $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;
53 $doc = $method->getDocComment();
68 foreach ($method->getParameters() as $parameter) {
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DRegistry.php197 * @param string $method
201 public function &call($type, $method, $parameters = array()) argument
212 if ($method === 'get_handler')
221 $result = call_user_func_array(array($class, $method), $parameters);
H A DLocator.php104 if ($this->file->method & SIMPLEPIE_FILE_SOURCE_REMOTE)
150 if ($file->method & SIMPLEPIE_FILE_SOURCE_REMOTE)
164 elseif ($file->method & SIMPLEPIE_FILE_SOURCE_LOCAL)
254 …if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code =…
384 …if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code =…
412 …if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code =…
H A DFile.php65 var $method = SIMPLEPIE_FILE_SOURCE_NONE; variable in SimplePie_File
92 $this->method = SIMPLEPIE_FILE_SOURCE_REMOTE | SIMPLEPIE_FILE_SOURCE_CURL;
155 $this->method = SIMPLEPIE_FILE_SOURCE_REMOTE | SIMPLEPIE_FILE_SOURCE_FSOCKOPEN;
292 $this->method = SIMPLEPIE_FILE_SOURCE_LOCAL | SIMPLEPIE_FILE_SOURCE_FILE_GET_CONTENTS;
/dokuwiki/lib/plugins/info/
H A Dsyntax.php180 foreach ($methods as $method) {
181 $title = '$'.$p.'->'.$method['name'].'()';
186 $doc .= '<tr><th>Description</th><td colspan="2">'.$method['desc'].
188 if ($method['params']) {
189 $c = count($method['params']);
192 foreach ($method['params'] as $desc => $type) {
197 if ($method['return']) {
198 $doc .= '<tr><th>Return value</th><td>'.hsc(key($method['return'])).
199 '</td><td>'.hsc(current($method['return'])).'</td></tr>';
/dokuwiki/inc/
H A DPassHash.php31 $method = '';
44 $method = 'smd5';
48 $method = 'apr1';
56 $method = 'pmd5';
60 $method = 'pmd5';
87 $method = 'ssha';
90 $method = 'lsmd5';
96 $method = 'sha2';
108 $method = 'md5';
110 $method = 'sha1';
[all …]
H A DFeedParserFile.php40 $this->method = SIMPLEPIE_FILE_SOURCE_REMOTE | SIMPLEPIE_FILE_SOURCE_FSOCKOPEN;
H A Dauth.php1209 * @param string $method The hashing method
1213 function auth_cryptPassword($clear, $method = '', $salt = null) { argument
1215 if(empty($method)) $method = $conf['passcrypt'];
1218 $call = 'hash_'.$method;
1221 msg("Unsupported crypt method $method", -1);
H A Dform.php60 * @param bool|string $method (optional, deprecated) 'POST' or 'GET', default is POST
65 public function __construct($params, $action=false, $method=false, $enctype=false) argument
70 if ($method !== false) $this->params['method'] = strtolower($method);
H A Dhtml.php181 * @param string $method
187 function html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $label = false, $svg … argument
207 …$html = '<form class="button btn_'.$name.'" method="'.$method.'" action="'.$script.'"><div class="…
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Parse/
H A DDate.php605 foreach ($all_methods as $method)
607 if (strtolower(substr($method, 0, 5)) === 'date_')
609 $cache[get_class($this)][] = $method;
614 foreach ($cache[get_class($this)] as $method)
616 $this->built_in[] = $method;
645 foreach ($this->user as $method)
647 if (($returned = call_user_func($method, $date)) !== false)
653 foreach ($this->built_in as $method)
655 if (($returned = call_user_func(array($this, $method), $date)) !== false)
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php36 protected $method = 'get'; variable in dokuwiki\\Menu\\Item\\AbstractItem
182 $this->method,
247 'method' => $this->method,
H A DEdit.php22 $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.md20 The `compile` method compiles a string of LESS code to CSS.
30 The `compileFile` method reads and compiles a file. It will either return the
38 The `checkedCompile` method is like `compileFile`, but it only compiles if the output
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md62 - implement the ```setup($options)``` method and register options, arguments, commands and set help…
67 - implement the ```main($options)``` method and do your business logic there
96 …ring 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 (…
108 The formatter is used through the ``format()`` method which expects at least two arrays: The first …

12