Lines Matching defs:metadata
44 public function set(Metadata $metadata)
46 $this->checkResource($metadata->getResource());
47 $this->setFromPersistentName($metadata::getPersistentName(), $metadata->toStoreValue());
50 public function get(Metadata $metadata, $default = null)
52 $this->checkResource($metadata->getResource());
53 $value = $this->data[$metadata::getPersistentName()] ?? null;
57 foreach ($metadata::getOldPersistentNames() as $name) {
60 $this->data[$metadata::getPersistentName()] = $value;
126 public function remove(Metadata $metadata): MetadataSingleArrayStore
128 $this->checkResource($metadata->getResource());
129 $this->setFromPersistentName($metadata->getName(), null);
141 * {@link MetadataDokuWikiStore::renderAndPersist() metadata renderer}
142 * or {@link \action_plugin_combo_metamanager::handleViewerPost() metadata manager