Deprecated: Return type of YDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/ydata.inc.php on line 428

Deprecated: Return type of YamlDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/yamldata.inc.php on line 295
yaml pub]
Menu : html yaml json edit check reindex dump unset
* 

file

name catalog.inc.php
title catalog.inc.php - classes YamlCatalog des catalogues V2
journal

26/1/2019: - prise en compte de l'utilisation du champ $schema à la place de yamlClass 18/7/2018: - prise en compte de la nouvelle classe YamlDoc 21/6/2018: - V2 12/5/2018: - scission de yd.inc.php

classes

YamlCatalog

title gestion d'un catalogue (V2)
doc

Dans la première version, les catalogues sont composés d'un champ title et d'un champ contents.
Le champ contents correspond à un dictionnaire [ docid => [ 'title' => titre ]]
En V2, on conserve la compatibilité en permettant d'avoir d'autres champs.

YamlHomeCatalog

title catalogues d'accueil