Home
last modified time | relevance | path

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

12345

/dokuwiki/data/pages/wiki/
H A Dsyntax.txt452 The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php83 * The value of identifier can be determined by timestamp as far as the file exists,
98 * Return the last revision identifier, date value of the last entry of the changelog
111 * @param string $value changelog line
114 protected function parseAndCacheLogLine($value)
116 $info = static::parseLogLine($value);
475 * when it does not match any revision value recorded in changelog.
581 * As a result, the value of current revision identifier may change each time because:
583 * 2) the value is essentially volatile for deleted but once existed files.
H A DRevisionInfo.php55 * set value of associated "current" key for internal use. Some UI element like diff
59 * @param bool $value true if the revision is current, otherwise false
62 public function isCurrent($value = null)
64 return (bool) $this->val('current', $value);
68 * Return or set a value of associated key of revision information
72 * @param mixed $value
75 public function val($key, $value = null)
77 if (isset($value) && !array_key_exists($key, $this->info)) {
79 $this->info[$key] = $value;
89 * Set extra key-value t
60 isCurrent($value = null) global() argument
73 val($key, $value = null) global() argument
[all...]
/dokuwiki/inc/Debug/
H A DPropertyDeprecationHelper.php78 public function __set($name, $value)
83 $this->$name = $value;
93 $this->$name = $value;
113 // defined by the current class, for some value of "current" that differs slightly
79 __set($name, $value) global() argument
/dokuwiki/inc/Extension/
H A DPluginController.php144 * @deprecated in favor of the more sensible isEnabled where the return value matches the enabled state
266 foreach ($local_plugins as $plugin => $value) {
267 $out .= "\$plugins['$plugin'] = $value;\n";
388 * Returns inverse boolean value of the input
391 * @return bool inversed boolean value of input
H A DPluginTrait.php209 foreach ($defaults as $key => $value) {
211 $conf['plugin'][$plugin][$key] = $value;
222 * @return array setting => value
/dokuwiki/inc/Form/
H A DCheckableElement.php22 // default value is 1
23 $this->attr('value', 1);
38 // no key - single value
39 $value = $INPUT->str($name);
40 if ($value == $myvalue) {
56 foreach ($input as $value) {
57 if ($value == $myvalue) {
H A DDropdownElement.php55 * * the value being an array of options as defined in @param null|array $optGroups
78 * Options can be given as associative array (value => label) or as an
79 * indexd array (label = value) or as an array of arrays. In the latter
81 * option-value => array (
84 * attr-key => attr-value, ...
101 * Get or set the current value
103 * When setting a value that is not defined in the options, the value is ignored
104 * and the first option's value is selected instead
106 * @param null|string|string[] $value Th
109 val($value = null) global() argument
[all...]
H A DElement.php47 * When no $value is given, the current content of the attribute is returned.
50 * When a $value is given, the content is set to that value and the Element
54 * @param null|string $value New value to set
57 public function attr($name, $value = null) argument
60 if ($value !== null) {
61 $this->attributes[$name] = $value;
142 * Get or set the element's value
144 * This is the preferred way of setting the element's value
149 val($value = null) global() argument
[all...]
H A DForm.php17 * @var array name value pairs for hidden values
69 * @param string $value
72 public function setHiddenField($name, $value) argument
74 $this->hidden[$name] = $value;
93 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates
95 * return value of this function.
144 * @param string $value Value the attribute should have
148 public function findPositionByAttribute($name, $value, $offset = 0) argument
152 if ($this->elements[$pos]->attr($name) == $value) {
487 foreach ($this->hidden as $name => $value) {
[all...]
H A DInputElement.php91 * Figures out how to access the value for this field from INPUT data
98 * correct value yourself
121 * Handles the useInput flag and set the value attribute accordingly
131 $value = $INPUT->str($name);
133 $value = $INPUT->arr($name);
134 if (isset($value[$key])) {
135 $value = $value[$key];
137 $value = '';
140 $this->val($value);
[all...]
H A DOptGroup.php32 foreach ($values as $value) {
33 if (isset($this->options[$value])) {
34 $this->values[] = $value;
44 * Options can be given as associative array (value => label) or as an
45 * indexd array (label = value) or as an array of arrays. In the latter
47 * option-value => array (
50 * attr-key => attr-value, ...
116 $html .= '<option' . $selected . ' value="' . hsc($key) . '" ' . $attrs . '>';
H A DTagCloseElement.php56 * @param null|string $value
60 public function attr($name, $value = null) argument
62 if ($value === null) {
H A DTextareaElement.php27 * Get or set the element's value
29 * This is the preferred way of setting the element's value
31 * @param null|string $value
34 public function val($value = null) argument
36 if ($value !== null) {
37 $this->text = cleanText($value);
H A DValueElement.php8 * Just like an Element but it's value is not part of its attributes
10 * What the value is (tag name, content, etc) is defined by the actual implementations
17 * @var string holds the element's value
19 protected $value = ''; variable in dokuwiki\\Form\\ValueElement
23 * @param string $value
26 public function __construct($type, $value, $attributes = []) argument
29 $this->val($value);
33 * Get or set the element's value
35 * @param null|string $value
38 public function val($value argument
[all...]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php810 foreach ($headers as $key => $value) {
811 if ($value === '') continue;
812 $string .= $key . ': ' . $value . HTTP_NL;
/dokuwiki/inc/Input/
H A DGet.php22 * @param mixed $value Value to set
24 public function set($name, $value) argument
26 parent::set($name, $value);
27 $_REQUEST[$name] = $value;
H A DInput.php42 * Apply the set filter to the given value
118 $value = $this->applyfilter($this->access[$name]);
119 if ($nonempty && empty($value)) return $default;
120 return $value;
127 * @param mixed $value Value to set
129 public function set($name, $value)
131 $this->access[$name] = $value;
138 * and intialized with the given $default value before a reference is returned
141 * @param mixed $default If parameter is not set, initialize with this value
166 $value
130 set($name, $value) global() argument
[all...]
H A DPost.php22 * @param mixed $value Value to set
24 public function set($name, $value)
26 parent::set($name, $value);
27 $_REQUEST[$name] = $value;
25 set($name, $value) global() argument
/dokuwiki/inc/
H A DJpegMeta.php201 * @param string $value
204 function setField($field, $value) {
207 return $this->setIPTCField(substr($field,5),$value);
209 return $this->setExifField(substr($field,5),$value);
211 return $this->setExifField($field,$value);
414 * @param string $value argument
417 function setExifField($field, $value) {
432 if(strlen($value) < 8 || $value[4] != ':' || $value[
203 setField($field, $value) global() argument
448 setAdobeField($field, $value) global() argument
509 setIPTCField($field, $value) global() argument
2604 _write8BIM(& $data, $pos, $type, $header, & $value) global() argument
2672 _writeIPTCEntry(& $data, $pos, $type, & $value) global() argument
[all...]
H A DMailer.class.php145 * If an empy value is passed, the header is removed
148 * @param string|string[] $value the value of the header
151 public function setHeader($header, $value, $clean = true)
156 $value = preg_replace('/[^a-zA-Z0-9_ \-\.\+\@<>]+/', '', $value);
159 // empty value deletes
160 if (is_array($value)) {
161 $value = array_map('trim', $value);
143 setHeader($header, $value, $clean = true) global() argument
[all...]
H A DPassHash.php145 * If $salt is not null, the value is kept, but the lenght restriction is
433 $value = ord($hash[$i++]);
434 $output .= $itoa64[$value & 0x3f];
436 $value |= ord($hash[$i]) << 8;
437 $output .= $itoa64[($value >> 6) & 0x3f];
441 $value |= ord($hash[$i]) << 16;
442 $output .= $itoa64[($value >> 12) & 0x3f];
445 $output .= $itoa64[($value >> 18) & 0x3f];
H A DStyleUtils.php33 * @param string $tpl template name: if not passed as argument, the default value from $conf will be used
70 // guaranteed placeholder => value
178 * @param array $replacements with key-value pairs
184 foreach ($replacements as $key => $value) {
188 $value
/dokuwiki/inc/Search/
H A DIndexer.php26 * An empty value erases the page.
157 * An empty value will erase the key.
158 * The $key parameter can be an array to add multiple keys. $value will
162 * @param mixed $key a key string or array of key=>value pairs
163 * @param mixed $value the value or list of values argument
169 public function addMetaKeys($page, $key, $value = null)
172 $key = [$key => $value];
173 } elseif (!is_null($value)) {
174 // $key is array, but $value i
650 lookupKey($key, & $value, $func = null) global() argument
1086 addIndexKey($idx, $suffix, $value) global() argument
[all...]
/dokuwiki/inc/Subscriptions/
H A DSubscriptionSender.php56 * @param array $headers Additional mail headers in the form 'name' => 'value'
80 foreach ($headers as $header => $value) {
81 $mail->setHeader($header, $value);

12345