[SPIP] Submitted : #PROFONDEUR

SPIP

Article submitted

The article « #PROFONDEUR
(https://www.spip.net/ecrire/?exec=article&id_article=6733) » is submitted
for publication. on Monday 22 August 2022.


#PROFONDEUR

Monday 22 August 2022 , by jack

#PROFONDEUR returns the depth of a field in the tree structure.

Sections at root return a depth of 0.

Example

  • Section A
    • Section B
    • Section C
      • Section D
    • Section E
  • Section F
    • Section G

On this tree structure, we get:

  • Depth ****: rubriques A, F
  • Depth 1: rubriques B,C, E, G
  • Depth 2: rubrique D

— Sent by SPIP (https://www.spip.net/)


rubon199-7e493.jpg