Lines Matching defs:metadata

36      * Current metadata / runtime metadata / calculated metadata
37 * This metadata can only be set when {@link Syntax::render() rendering}
39 * https://www.dokuwiki.org/devel:metadata#metadata_persistence
49 * Persistent metadata (data that should be in a backup)
51 * They are used as the default of the current metadata
54 * https://www.dokuwiki.org/devel:metadata#metadata_persistence
57 * metadata are persistent inside dokuwiki
97 * to set the metadata
100 * The metadata are set in $METADATA_RENDERERS (A global cache variable where the persistent data is set/exist
101 * only during metadata rendering with the function {@link p_render_metadata()}) and then
137 public function set(Metadata $metadata)
140 $name = $metadata->getName();
141 $persistentValue = $metadata->toStoreValue();
142 $defaultValue = $metadata->toStoreDefaultValue();
143 $resource = $metadata->getResource();
149 throw new ExceptionBadState("The DokuWiki metadata store is only for page resource", self::CANONICAL);
155 * @param Metadata $metadata
159 public function get(Metadata $metadata, $default = null)
162 $resource = $metadata->getResource();
168 throw new ExceptionRuntime("The DokuWiki metadata store is only for page resource", self::CANONICAL);
170 return $this->getFromName($metadata->getName(), $default);
177 * Getting a metadata for a resource via its name
180 * This function is used primarily by derived / process metadata
235 * You can't remove a metadata,
281 * (the only diff is that the persistent value are still available during a {@link p_render_metadata() metadata render})
321 * Read/render the metadata from the file
405 LogUtility::internalError("The metadata cache was empty");