/dokuwiki/inc/Input/ |
D | Input.php | 76 * @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 …]
|
D | Post.php | 21 * @param string $name Parameter name 24 public function set($name, $value) argument 26 parent::set($name, $value); 27 $_REQUEST[$name] = $value;
|
D | Get.php | 21 * @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/ |
D | File.php | 83 protected $name; variable in SimplePie\\Cache\\File 89 * @param string $name Unique ID for the cache 92 public function __construct($location, $name, $type) argument 95 $this->filename = $name; 97 $this->name = "$this->location/$this->filename.$this->extension"; 108 …if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_wri… 114 return (bool) file_put_contents($this->name, $data); 126 if (file_exists($this->name) && is_readable($this->name)) { 127 return unserialize(file_get_contents($this->name)); 139 return @filemtime($this->name); [all …]
|
D | Memcache.php | 84 protected $name; variable in SimplePie\\Cache\\Memcache 90 * @param string $name Unique ID for the cache 93 public function __construct($location, $name, $type) argument 105 $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); 122 …return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options[… 132 $data = $this->cache->get($this->name); 147 $data = $this->cache->get($this->name); 164 $data = $this->cache->get($this->name); 167 …return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['… 180 return $this->cache->delete($this->name, 0);
|
D | Memcached.php | 82 protected $name; variable in SimplePie\\Cache\\Memcached 87 * @param string $name Unique ID for the cache 90 public function __construct($location, $name, $type) argument 102 $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); 128 $data = $this->cache->get($this->name); 142 $data = $this->cache->get($this->name . '_mtime'); 152 $data = $this->cache->get($this->name); 162 return $this->cache->delete($this->name, 0); 172 … $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']); 173 return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']);
|
D | Redis.php | 84 protected $name; variable in SimplePie\\Cache\\Redis 90 * @param string $name Unique ID for the cache 93 public function __construct($location, $name, $options = null) argument 116 $this->name = $this->options['prefix'] . $name; 138 $response = $this->cache->set($this->name, serialize($data)); 140 $this->cache->expire($this->name, $this->options['expire']); 153 $data = $this->cache->get($this->name); 168 $data = $this->cache->get($this->name); 184 $data = $this->cache->get($this->name); 187 $return = $this->cache->set($this->name, $data); [all …]
|
D | CallableNameFilter.php | 81 * @param string $name The name for the cache will be most likly an url with query string 85 public function filter(string $name): string argument 87 return call_user_func($this->callable, $name);
|
D | NameFilter.php | 71 * @param string $name The name for the cache will be most likly an url with query string 75 public function filter(string $name): string; argument
|
/dokuwiki/inc/Debug/ |
D | PropertyDeprecationHelper.php | 59 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 = get_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/inc/Form/ |
D | InputElement.php | 28 * @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 …]
|
D | Element.php | 53 * @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]);
|
D | Form.php | 68 * @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 …]
|
D | CheckableElement.php | 16 * @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);
|
D | ButtonElement.php | 18 * @param string $name 21 public function __construct($name, $content = '') argument 23 parent::__construct('button', ['name' => $name, 'value' => 1]);
|
/dokuwiki/vendor/splitbrain/lesserphp/src/Utils/ |
D | Asserts.php | 14 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/inc/parser/ |
D | metadata.php | 450 * @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/lib/plugins/authplain/_test/ |
D | escaping.test.php | 30 $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/vendor/simplepie/simplepie/src/ |
D | Author.php | 65 public $name; variable in SimplePie\\Author 86 * @param string $name 90 public function __construct($name = null, $link = null, $email = null) argument 92 $this->name = $name; 115 if ($this->name !== null) { 116 return $this->name;
|
D | Credit.php | 81 public $name; variable in SimplePie\\Credit 89 public function __construct($role = null, $scheme = null, $name = null) argument 93 $this->name = $name; 142 if ($this->name !== null) { 143 return $this->name;
|
/dokuwiki/inc/Extension/ |
D | Event.php | 15 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/ |
D | User.php | 13 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/Remote/OpenApiDoc/ |
D | OpenAPIGenerator.php | 273 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 …]
|
D | DocBlockMethod.php | 77 [$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/inc/ |
D | form.php | 129 * @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 …]
|