Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 64) sorted by relevance

123

/template/strap/ComboStrap/Meta/Store/
H A DMetadataDbStore.php90 public function set(Metadata $metadata) argument
92 if ($metadata instanceof MetadataTabular) {
94 $this->syncTabular($metadata);
98 …throw new ExceptionRuntime("The metadata ($metadata) is not yet supported on set", self::CANONICAL…
102 public function get(Metadata $metadata, $default = null) argument
105 $resource = $metadata->getResource();
110 if ($metadata instanceof MetadataTabular) {
112 return $this->getDbTabularData($metadata);
124 return $database->getFromRow($metadata->getName());
132 private function syncTabular(MetadataTabular $metadata) argument
[all …]
H A DMetadataDokuWikiStore.php137 public function set(Metadata $metadata) argument
140 $name = $metadata->getName();
141 $persistentValue = $metadata->toStoreValue();
142 $defaultValue = $metadata->toStoreDefaultValue();
143 $resource = $metadata->getResource();
155 * @param Metadata $metadata
159 public function get(Metadata $metadata, $default = null) argument
162 $resource = $metadata->getResource();
170 return $this->getFromName($metadata->getName(), $default);
/template/strap/ComboStrap/Meta/Form/
H A DFormMetaField.php128 * @param Metadata $metadata
131 public static function createFromMetadata(Metadata $metadata): FormMetaField argument
133 $field = FormMetaField::create($metadata->getName(), $metadata->getDataType());
135 self::setCommonDataToFieldFromMetadata($field, $metadata);
137 $childrenMetadata = $metadata->getChildrenClass();
140 $metadata->getParent();
145 $field->setTab($metadata->getTab());
154 static::setLeafDataToFieldFromMetadata($field, $metadata);
159 if ($metadata->isScalar()) {
160 $value = $metadata->toStoreValue();
[all …]
H A DFormMeta.php193 * @param Metadata $metadata
196 public function addFormFieldFromMetadata(Metadata $metadata): FormMeta argument
198 $field = FormMetaField::createFromMetadata($metadata);
/template/strap/ComboStrap/
H A DMetadataSingleArrayStore.php44 public function set(Metadata $metadata) argument
46 $this->checkResource($metadata->getResource());
47 $this->setFromPersistentName($metadata::getPersistentName(), $metadata->toStoreValue());
50 public function get(Metadata $metadata, $default = null) argument
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 argument
128 $this->checkResource($metadata->getResource());
[all …]
H A DMetadataFormDataStore.php25 public function get(Metadata $metadata, $default = null) argument
27 $this->checkResource($metadata->getResource());
29 $type = $metadata->getDataType();
36 foreach ($metadata->getChildrenObject() as $childrenObject) {
51 $value = $this->data[$metadata::getName()] ?? null;
H A DMetadataStoreTransfer.php169 foreach ($validatedMetadata as $metadata) {
174 if ($metadata->getPersistenceType() !== Metadata::PERSISTENT_METADATA) {
175 …$messages[] = Message::createWarningMessage("The metadata ({$metadata->getName()}) is not persiste…
176 ->setCanonical($metadata->getCanonical());
184 $metadata->sendToWriteStore();
186 …ges[] = Message::createErrorMessage("Error while replicating the meta ($metadata) from the store (…
187 ->setCanonical($metadata->getCanonical());
H A DMetadataFrontmatterStore.php87 foreach (Meta\Api\MetadataSystem::getMutableMetadata() as $metadata) {
89 $metadata
94 $sourceValue = $this->get($metadata);
96 $targetValue = $metadata->getValue();
101 $defaultValue = $metadata->getDefaultValue();
111 $this->set($metadata);
115 $this->remove($metadata);
H A DTemplateStore.php20 public function set(Metadata $metadata) argument
25 public function get(Metadata $metadata, $default = null) argument
H A DMetaManagerForm.php163 foreach (MetadataSystem::getMetadataClasses() as $metadata) {
164 if (!$metadata::isOnForm()) {
167 if (!in_array($metadata::getName(), $metadataNameInOrder)) {
168 $metadataObject = (new $metadata())
H A DLdJson.php195 $metadata = $store->getFromName(self::OLD_ORGANIZATION_PROPERTY);
196 if ($metadata !== null) {
198 "organization" => $metadata
H A DCacheTag.php75 public static function metadata($data) function in ComboStrap\\CacheTag
H A DMarkupPath.php373 $metadata = $store->getCurrentFromName('relation');
374 if ($metadata === null) {
380 if (!key_exists('references', $metadata)) {
385 foreach (array_keys($metadata['references']) as $referencePageId) {
1082 $metadata = Meta\Api\MetadataSystem::getForName($metadataName);
1097 $value = $metadata
H A DIconTag.php100 public static function metadata(Doku_Renderer_metadata $renderer, $tagAttribute) function in ComboStrap\\IconTag
/template/strap/action/
H A Dimgmove.php65 $metadata = MetadataSystem::getForName($persistentImage)
73 $value = $metadata->getValue();
80 $metadata
196 $metadata = MetadataSystem::getForName($key)
207 if ($metadata instanceof PageImages) {
208 $pageImagesObject = $metadata;
209 $images = $metadata->getValueAsPageImages();
238 if (!($metadata instanceof MetadataImage)) {
242 $imageId = $metadata->getValue()->toAbsoluteId();
250 $metadata->setValue($imageId)->persist();
/template/strap/ComboStrap/Api/
H A DMetaManagerHandler.php176 $metadata = MetadataSystem::getForName($booleanMeta)
184 $defaultBoolean[$metadata::getName()] = $metadata->toStoreDefaultValue();
272 … $metadata = MetadataDokuWikiStore::getOrCreateFromResource($page)->getDataCurrentAndPersistent();
273 $persistent = $metadata[MetadataDokuWikiStore::PERSISTENT_DOKUWIKI_KEY];
275 $current = $metadata[MetadataDokuWikiStore::CURRENT_METADATA];
347 $metadata = MetadataSystem::getForName($key);
349 $metadata = null;
354 if ($metadata !== null && $metadata->isMutable()) {
368 if ($metadata !== null && $metadata->isMutable()) {
388 $metadata = MetadataSystem::getForName($key);
[all …]
/template/strap/ComboStrap/Meta/Api/
H A DMetadataStore.php30 * @param Metadata $metadata
33 public function set(Metadata $metadata); argument
38 * @param Metadata $metadata
41 public function get(Metadata $metadata, $default = null); argument
H A DMetadataTabular.php361 foreach ($row as $metadata) {
362 $toStoreValue = $metadata->toStoreValue();
363 $toDefaultStoreValue = $metadata->toStoreDefaultValue();
368 $rowArray[$metadata::getPersistentName()] = $toStoreValue;
H A DMetadataSystem.php173 foreach (MetadataSystem::getMetadataObjects() as $metadata) {
174 if ($metadata::isMutable()) {
175 $metas[] = $metadata;
/template/strap/renderer/
H A Danalytics.php148 protected $metadata = array(); // the metadata in frontmatter variable in renderer_plugin_combo_analytics
319 if (empty($this->metadata[PageTitle::TITLE])) {
322 $this->metadata[PageTitle::TITLE] = $dokuWikiMetadata[PageTitle::TITLE] ?? null;
333 if (empty($this->metadata[self::DESCRIPTION])) {
336 $this->metadata[self::DESCRIPTION] = $dokuWikiMetadata[self::DESCRIPTION]["abstract"];
347 if (empty($this->metadata[Canonical::PROPERTY_NAME])) {
631 if (!isset($this->metadata[$key])) {
632 $this->metadata[$key] = $value;
634 …$this->metadata[PageH1::H1_PARSED] = MetadataDokuWikiStore::getOrCreateFromResource($requestedPage…
645 ksort($this->metadata);
[all …]
/template/strap/ComboStrap/Meta/Field/
H A DPageImagePath.php23 public static function createFromParent(Metadata $metadata): PageImagePath argument
25 return (new PageImagePath($metadata));
/template/strap/resources/library/bootstrap/
H A DREADME.md18 * [bootstrap.json] is a metadata file with all official bootstrap information
19 …* [bootstrapCustom.json] is a metadata file with the [ComboStrap](https://combostrap.com) 16 grid …
/template/strap/syntax/
H A Dmetadata.php54 $metadata = p_read_metadata($ID);
55 $metas = $metadata['persistent'];
H A Dfragment.php223 $metadata = $page->getMetadataForRendering();
225 … $renderer->doc .= MarkupRenderUtility::renderInstructionsToXhtml($templateStack, $metadata);
/template/bootstrap3/
Ddetail.php29 $metadata = array( variable
456 … <?php $active = 'active in'; foreach ($metadata as $section => $items): ?>

123