Changeset 74607 in spip-zone


Ignore:
Timestamp:
Aug 6, 2013, 6:14:13 PM (6 years ago)
Author:
marcimat@…
Message:

Calculer les urls des répertoires

Location:
_galaxie_/code.spip.net/autodoc/trunk/src/autodoc/Plugin/Core/Transformer/Router
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/code.spip.net/autodoc/trunk/src/autodoc/Plugin/Core/Transformer/Router/ZoraRouter.php

    r74595 r74607  
    1010
    1111use phpDocumentor\Descriptor\FileDescriptor;
     12use autodoc\Plugin\Core\Descriptor\DirectoryDescriptor;
    1213
    1314/**
     
    2425    {
    2526        $fileGenerator      = new UrlGenerator\Zora\FileDescriptor();
     27        $directoryGenerator      = new UrlGenerator\Zora\DirectoryDescriptor();
    2628
    2729        // @codingStandardsIgnoreStart
    2830        $this[] = new Rule(function ($node) { return ($node instanceof FileDescriptor); }, $fileGenerator);
     31        $this[] = new Rule(function ($node) { return ($node instanceof directoryDescriptor); }, $directoryGenerator);
    2932
    3033        // @codingStandardsIgnoreEnd
Note: See TracChangeset for help on using the changeset viewer.