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
ydclasses LegalPart
LegalPart - définition de la classe LegalPart, élément directement identifiable d'un LegalDoc (article, chapitre, ...)
Aucun schéma n'est associé à cette classe de documents
La classe est définie dans le fichier legaldoc.inc.php
Documentation de la classe
Chaque LegalPart comprend:
- un titre (title)
- évent. un en-tête (head) qui est une texte mono ou multi-lingue
- soit:
- des sous-parties (hasPart) identifiées par leur clé
- un dictionnaire de paragraphes (paragraph), chacun étant un texte mono ou multi-lingue,
- un text qui est un texte mono ou multi-lingue
- évent. une queue (tail) qui est un texte mono ou multi-lingue
Un LegalPart peut porter d'autres champs comme:
- source
- ...
La classe LegalPart implémente YamlDocElement.
Toutes les infos sont stockées dans la propriété $_c.
A la construction les champs string et text sont transformés en objet MLString.