Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 187) sorted by relevance

12345678

/dokuwiki/inc/Input/
H A DInput.php76 * @param string $name Parameter name
79 public function has($name) argument
81 return isset($this->access[$name]);
91 * @param string $name Parameter name
93 public function remove($name) argument
95 if (isset($this->access[$name])) {
96 unset($this->access[$name]);
99 if (isset($this->post) && isset($_POST[$name])) {
100 unset($_POST[$name]);
102 if (isset($this->get) && isset($_GET[$name])) {
[all …]
H A DGet.php21 * @param string $name Parameter name
24 public function set($name, $value) argument
26 parent::set($name, $value);
27 $_REQUEST[$name] = $value;
H A DPost.php21 * @param string $name Parameter name
24 public function set($name, $value) argument
26 parent::set($name, $value);
27 $_REQUEST[$name] = $value;
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DFile.php44 protected $name; variable in SimplePie\\Cache\\File
50 * @param string $name Unique ID for the cache
53 public function __construct(string $location, string $name, $type) argument
56 $this->filename = $name;
58 $this->name = "$this->location/$this->filename.$this->extension";
69 …if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_wri…
75 return (bool) file_put_contents($this->name, $data);
87 if (file_exists($this->name) && is_readable($this->name)) {
88 return unserialize((string) file_get_contents($this->name));
100 return @filemtime($this->name);
[all …]
H A DMemcache.php45 protected $name; variable in SimplePie\\Cache\\Memcache
51 * @param string $name Unique ID for the cache
54 public function __construct(string $location, string $name, $type) argument
66 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
83 …return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options[…
93 $data = $this->cache->get($this->name);
108 $data = $this->cache->get($this->name);
125 $data = $this->cache->get($this->name);
128 …return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['…
141 return $this->cache->delete($this->name, 0);
H A DRedis.php46 protected $name; variable in SimplePie\\Cache\\Redis
52 * @param string $name Unique ID for the cache
55 public function __construct(string $location, string $name, $options = null) argument
78 $this->name = $this->options['prefix'] . $name;
101 $response = $this->cache->set($this->name, serialize($data));
103 $this->cache->expire($this->name, $this->options['expire']);
116 $data = $this->cache->get($this->name);
131 $data = $this->cache->get($this->name);
147 $data = $this->cache->get($this->name);
150 $return = $this->cache->set($this->name, $data);
[all …]
H A DMemcached.php43 protected $name; variable in SimplePie\\Cache\\Memcached
48 * @param string $name Unique ID for the cache
51 public function __construct(string $location, string $name, $type) argument
63 $this->name = $this->options['extras']['prefix'] . md5("$name:$type");
89 $data = $this->cache->get($this->name);
103 $data = $this->cache->get($this->name . '_mtime');
113 $data = $this->cache->get($this->name);
123 return $this->cache->delete($this->name, 0);
134 … $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']);
135 return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']);
/dokuwiki/inc/Debug/
H A DPropertyDeprecationHelper.php59 public function __get($name) argument
61 if (isset($this->deprecatedPublicProperties[$name])) {
62 $class = $this->deprecatedPublicProperties[$name];
63 DebugHelper::dbgDeprecatedProperty($class, $name);
64 return $this->$name;
67 $qualifiedName = self::class . '::$' . $name;
68 if ($this->deprecationHelperGetPropertyOwner($name)) {
78 public function __set($name, $value) argument
80 if (isset($this->deprecatedPublicProperties[$name])) {
81 $class = $this->deprecatedPublicProperties[$name];
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DResponse.php107 * @param string $name Case-insensitive header field name.
112 public function has_header(string $name): bool; argument
123 * @param string $name Case-insensitive header field name.
128 public function get_header(string $name): array; argument
137 * @param string $name Case-insensitive header field name.
142 public function with_header(string $name, $value); argument
158 * @param string $name Case-insensitive header field name.
163 public function get_header_line(string $name): string; argument
H A DRawTextResponse.php67 public function has_header(string $name): bool argument
69 return isset($this->headers[strtolower($name)]);
72 public function get_header(string $name): array argument
74 return isset($this->headers[strtolower($name)]) ? $this->headers[$name] : [];
77 public function with_header(string $name, $value) argument
82 strtolower($name) => (array) $value,
89 public function get_header_line(string $name): string argument
91 return isset($this->headers[strtolower($name)]) ? implode(", ", $this->headers[$name]) : '';
H A DPsr7Response.php67 public function has_header(string $name): bool argument
69 return $this->response->hasHeader($name);
72 public function with_header(string $name, $value) argument
74 …return new self($this->response->withHeader($name, $value), $this->permanent_url, $this->requested…
77 public function get_header(string $name): array argument
79 return $this->response->getHeader($name);
82 public function get_header_line(string $name): string argument
84 return $this->response->getHeaderLine($name);
/dokuwiki/inc/Form/
H A DInputElement.php28 * @param string $name The name of this form element
31 public function __construct($type, $name, $label = '') argument
33 parent::__construct($type, ['name' => $name]);
34 $this->attr('name', $name);
104 $name = $this->attr('name');
105 parse_str("$name=1", $parsed);
107 $name = array_keys($parsed);
108 $name = array_shift($name);
110 if (isset($parsed[$name]) && is_array($parsed[$name])) {
111 $key = array_keys($parsed[$name]);
[all …]
H A DElement.php53 * @param string $name Name of the attribute to access
57 public function attr($name, $value = null) argument
61 $this->attributes[$name] = $value;
66 if (isset($this->attributes[$name])) {
67 return $this->attributes[$name];
76 * @param string $name
79 public function rmattr($name) argument
81 if (isset($this->attributes[$name])) {
82 unset($this->attributes[$name]);
H A DForm.php68 * @param string $name
72 public function setHiddenField($name, $value) argument
74 $this->hidden[$name] = $value;
143 * @param string $name Name of the attribute
148 public function findPositionByAttribute($name, $value, $offset = 0) argument
152 if ($this->elements[$pos]->attr($name) == $value) {
214 * @param string $name
219 public function addTextInput($name, $label = '', $pos = -1) argument
221 return $this->addElement(new InputElement('text', $name, $label), $pos);
227 * @param string $name
[all …]
H A DCheckableElement.php16 * @param string $name The name of this form element
19 public function __construct($type, $name, $label) argument
21 parent::__construct($type, $name, $label);
32 [$name, $key] = $this->getInputName();
35 if (!$INPUT->has($name)) return;
39 $value = $INPUT->str($name);
47 $input = $INPUT->arr($name);
/dokuwiki/inc/parser/
H A Dmetadata.php450 * @param string $name name for the link
452 public function locallink($hash, $name = null) argument
454 if (is_array($name)) {
455 $this->_firstimage($name['src']);
456 if ($name['type'] == 'internalmedia') {
457 $this->_recordMediaUsage($name['src']);
466 * @param string|array|null $name name for the link, array for media file
468 public function internallink($id, $name = null) argument
472 if (is_array($name)) {
473 $this->_firstimage($name['src']);
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/Utils/
H A DAsserts.php14 public static function assertArgs($value, $expectedArgs, $name = '') argument
25 if ($name) {
26 $name = $name . ': ';
29 throw new Exception("{$name}expecting $expectedArgs arguments, got $numValues");
41 public static function assertMinArgs($value, $expectedMinArgs, $name = '') argument
49 if ($name) {
50 $name = $name . ': ';
53 … throw new Exception("$name expecting at least $expectedMinArgs arguments, got $numValues");
/dokuwiki/lib/plugins/authplain/_test/
H A Descaping.test.php30 $name = $config_cascade['plainauth.users']['default'];
31 copy($name, $name.".orig");
38 $name = $config_cascade['plainauth.users']['default'];
39 copy($name.".orig", $name);
54 $name = ":Colon: User:";
55 $this->auth->createUser("colonuser", "password", $name, "me@example.com");
58 $this->assertEquals($name,$user['name']);
62 $name = "\\Slash\\ User\\";
63 $this->auth->createUser("slashuser", "password", $name, "me@example.com");
66 $this->assertEquals($name,$user['name']);
[all …]
/dokuwiki/inc/Remote/OpenApiDoc/
H A DOpenAPIGenerator.php273 foreach ($args as $name => $info) {
274 $example = $this->generateExample($name, $info['type']->getOpenApiType());
281 $props[$name] = array_merge(
288 if (!$info['optional']) $reqs[] = $name;
298 * @param string $name The parameter's name
302 protected function generateExample($name, $type) argument
306 if ($name === 'rev') return 0;
307 if ($name === 'revision') return 0;
308 if ($name === 'timestamp') return time() - 60 * 24 * 30 * 2;
313 if ($name === 'page') return 'playground:playground';
[all …]
H A DDocBlockMethod.php77 [$type, $name, $description] = array_map(trim(...), sexplode(' ', $param, 3, ''));
78 if ($name === '' || $name[0] !== '$') continue;
79 $name = substr($name, 1);
80 if (!isset($result[$name])) continue; // reflection says this param does not exist
82 $result[$name]['type'] = new Type($type, $this->getContext());
83 $result[$name]['description'] = $description;
/dokuwiki/vendor/simplepie/simplepie/src/
H A DCredit.php41 public $name; variable in SimplePie\\Credit
52 ?string $name = null argument
56 $this->name = $name;
105 if ($this->name !== null) {
106 return $this->name;
H A DAuthor.php25 public $name; variable in SimplePie\\Author
47 ?string $name = null, argument
51 $this->name = $name;
74 if ($this->name !== null) {
75 return $this->name;
/dokuwiki/inc/Extension/
H A DEvent.php15 public $name = ''; variable in dokuwiki\\Extension\\Event
35 * @param string $name
38 public function __construct($name, &$data) argument
41 $this->name = $name;
50 return $this->name;
78 … ->log($this->name . ':BEFORE event triggered before event system was initialized');
100 log($this->name . ':AFTER event triggered before event system was initialized');
188 * @param string $name name for the event
197 … public static function createAndTrigger($name, &$data, $action = null, $canPreventDefault = true) argument
199 $evt = new Event($name, $data);
/dokuwiki/inc/Remote/Response/
H A DUser.php13 public $name; variable in dokuwiki\\Remote\\Response\\User
25 * @param string $name
29 public function __construct($login = '', $name = '', $mail = '', $groups = []) argument
36 $this->name = $name;
50 $this->name = $this->name ?: $USERINFO['name'];
56 $this->name = $this->name ?: $userData['name'];
/dokuwiki/inc/
H A Dform.php129 * @param string $name Field name.
134 public function addHidden($name, $value) argument
137 unset($this->_hidden[$name]);
138 else $this->_hidden[$name] = $value;
232 * @param string $name Attribute name.
238 public function findElementByAttribute($name, $value) argument
241 if (is_array($elem) && isset($elem[$name]) && $elem[$name] == $value)
284 foreach ($this->_hidden as $name => $value)
285 $form .= form_hidden(array('name' => $name, 'value' => $value));
319 * @param string $name The HTML field name
[all …]

12345678