Home
last modified time | relevance | path

Searched refs:value (Results 101 – 118 of 118) sorted by path

12345

/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DDataCache.php66 * Fetches a value from the cache.
74 * @param mixed $default Default value to return if the key does not exist.
76 * @return array|mixed The value of the item from the cache, or $default in case of cache miss.
79 * MUST be thrown if the $key string is not a legal value.
88 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
92 * @param array $value The value of the item to store, must be serializable.
93 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and
94 * the driver supports TTL then the library may set a default value
102 set_data(string $key, array $value, int $ttl = null) global() argument
[all...]
H A DPsr16.php78 * Fetches a value from the cache.
86 * @param mixed $default Default value to return if the key does not exist.
88 * @return array|mixed The value of the item from the cache, or $default in case of cache miss.
91 * MUST be thrown if the $key string is not a legal value.
109 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
113 * @param array $value The value of the item to store, must be serializable.
114 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and
115 * the driver supports TTL then the library may set a default value
123 set_data(string $key, array $value, int $ttl = null) global() argument
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DFile.php94 foreach ($headers as $key => $value) {
95 $headers2[] = "$key: $value";
180 foreach ($headers as $key => $value) {
181 $out .= "$key: $value\r\n";
H A DGzdecode.php181 * @param mixed $value
183 public function __set($name, $value) argument
H A DIRI.php113 * Each key is the scheme, each value is an array with each key as the IRI
114 * part and value as the default value for that part.
150 * @param mixed $value Property value
152 public function __set($name, $value) argument
155 call_user_func([$this, 'set_' . $name], $value);
164 call_user_func([$this, 'set_' . substr($name, 1)], $value);
424 $value = ord($string[$position]);
435 if (($value
[all...]
H A DItem.php138 * See {@see \SimplePie\SimplePie::get_feed_tags()} for a description of the return value
156 * Get the base URL value.
929 * @todo If an element exists at a level, but its value is empty, we should fall back to the value from the parent (if it exists).
1168 $value = null;
1171 $value = $this->sanitize($hash['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
1178 $hashes_parent[] = $algo.':'.$value;
1182 $value = null;
1185 $value = $this->sanitize($hash['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
1192 $hashes_parent[] = $algo.':'.$value;
[all...]
H A DLocator.php326 foreach ($array as $key => $value) {
330 if (in_array(strtolower(strrchr($value, '.')), ['.rss', '.rdf', '.atom', '.xml'])) {
336 $feed = $this->registry->create(File::class, [$value, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options]);
349 foreach ($array as $key => $value) {
353 if (preg_match('/(feed|rss|rdf|atom|xml)/i', $value)) {
358 $feed = $this->registry->create(File::class, [$value, $this->timeout, 5, null, $this->useragent, $this->force_fsockopen, $this->curl_options]);
H A DMisc.php135 foreach ($element['attribs'] as $key => $value) {
137 $full .= " $key=\"" . htmlspecialchars($value['data'], ENT_COMPAT, 'UTF-8') . '"';
211 foreach ($array2 as $key => $value) {
212 if (is_array($value)) {
213 $array1[$key] = Misc::array_merge_recursive($array1[$key], $value);
215 $array1[$key] = $value;
1929 * Returns an associative array of name/value pairs, where the value is an
1943 [$name, $value] = explode('=', $section, 2);
1944 $return[urldecode($name)][] = urldecode($value);
[all...]
H A DParser.php146 $xml_is_sane = isset($values[0]['value']);
212 $attributes[$attrName] = $xml->value;
222 $this->cdata(null, $xml->value);
272 foreach ($attributes as $name => $value) {
274 $attribs[$attrib_namespace][$attribute] = $value;
299 foreach ($attribs[''] as $name => $value) {
300 $this->data['data'] .= ' ' . $name . '="' . htmlspecialchars($value, ENT_COMPAT, $this->encoding) . '"';
400 return $data['value'] ?? '';
460 if (isset($link['value'])) {
461 $link = $link['value'];
[all...]
H A DRating.php69 * Rating value
74 public $value; variable in SimplePie\\Rating
82 public function __construct($scheme = null, $value = null) argument
85 $this->value = $value;
114 * Get the value of the rating
120 if ($this->value !== null) {
121 return $this->value;
H A DRestriction.php82 public $value; variable in SimplePie\\Restriction
90 public function __construct($relationship = null, $type = null, $value = null) argument
94 $this->value = $value;
143 if ($this->value !== null) {
144 return $this->value;
H A DSanitize.php252 * Set element/attribute key/value pairs of HTML attributes
260 * @param array|null $element_attribute Element/attribute key/value pairs, null for default
508 $value = $this->registry->call(Misc::class, 'absolutize_url', [$element->getAttribute($attribute), $this->base]);
509 if ($value !== false) {
510 $value = $this->https_url($value);
511 $element->setAttribute($attribute, $value);
549 $value = $attr->value;
551 // In XHTML, empty values should never exist, so we repeat the value
[all...]
H A DSimplePie.php568 * @var mixed Force input encoding to be set to the follow value
786 foreach ($url as $value) {
787 $this->multifeed_url[] = $this->registry->call(Misc::class, 'fix_protocol', [$value, 1]);
1444 * Set element/attribute key/value pairs of HTML attributes
1452 * @param array|null $element_attribute Element/attribute key/value pairs, null for default
1475 * @param string $qs The query string that the value should be passed to.
1529 $xml_is_sane = isset($values[0]['value']);
1851 // overwrite the current value of file.
2133 * The return value is an indexed array of elements matching the given
2136 * `attribs` then has one level of associative name => value dat
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DParser.php78 * Key/value pairs of the headers
103 private const STATE_VALUE = 'value';
159 protected $value = ''; variable in SimplePie\\HTTP\\Parser
271 $this->value = trim($this->value, "\x0D\x20");
272 if ($this->name !== '' && $this->value !== '') {
276 $this->headers[$this->name] .= ', ' . $this->value;
278 $this->headers[$this->name] = $this->value;
282 $this->value = '';
327 $this->value
333 protected function value() global() function in SimplePie\\HTTP\\Parser
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/Net/
H A DIPv6.php223 // Check the value is valid
224 $value = hexdec($ipv6_part);
225 if (dechex($value) !== strtolower($ipv6_part) || $value < 0 || $value > 0xFFFF) {
231 $value = (int) $ipv4_part;
232 if ((string) $value !== $ipv4_part || $value < 0 || $value > 0xFF) {
/dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/
H A DParser.php195 * Read value
204 $value = substr($this->data, $this->position, $len);
206 return $value;
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php538 * This key-value list contains general information about the ZIP file
660 ) as $hd) { // On ODT files, these headers are 0. Keep the previous value.
687 $value = substr($header, 0, $set['len']);
689 $extra[$set['id']] = $value;
/dokuwiki/vendor/splitbrain/slika/
H A DREADME.md51 Keeping either width or height at zero will auto calculate the value for you.

12345