Lines Matching refs:value
195 $value = $data[$name] ?? null;
202 if ($value !== null && $value !== "") {
203 return $value;
220 * @param string|array $value
224 public function setFromPersistentName(string $name, $value, $default = null): MetadataDokuWikiStore
227 if (is_bool($value) && $oldValue !== null) {
230 if ($oldValue !== $value) {
240 * Also don't change the type of the value to a string
242 * between true and a string and will not persist the value
244 * By default, the value is copied in the current and persistent array
255 $METADATA_RENDERERS[$wikiId][self::CURRENT_METADATA][$name] = $value;
256 $METADATA_RENDERERS[$wikiId][self::PERSISTENT_DOKUWIKI_KEY][$name] = $value;
262 $name => $value
267 $this->setGlobalCacheIfAny($name, $value);
281 * (the only diff is that the persistent value are still available during a {@link p_render_metadata() metadata render})
381 * @param mixed $value
383 private function setGlobalCacheIfAny(string $name, $value)
389 $cache_metadata[$id]['persistent'][$name] = $value;
390 $cache_metadata[$id]['current'][$name] = $value;