Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.PROGRAMMING
  • Re: [phpdoc] @uses and @usesby tags

    From =?UTF-8?B?SMOkcnJhIFJhbW9i?=@21:1/5 to All on Wed Jan 5 00:24:17 2022
    fictitious kirjutas TeisipΓ€ev, 27. aprill 2021 kl 10:48:52 UTC+3:
    ++ cat phpdoc.dist.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <phpdocumentor
    configVersion="3"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpdoc.org"

    xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"

    <paths>
    <output>build/api</output>
    <cache>build/cache</cache>
    </paths>
    <version number="3.0.0">
    <api>
    <source dsn=".">
    <path>src</path>
    </source>
    </api>
    </version>
    </phpdocumentor>
    ++ cat src/uses.php
    <?php

    class Client {
    /**
    * @uses Server::method2()
    */
    function method1(){}
    }

    class Server {
    function method2(){}
    }
    ++ phpdoc # making documentation...
    ++ cd build/api/classes
    ++ firefox Client.html # OUTPUT: https://pasteboard.co/JZ5l756.png
    ++ firefox Server.html # OUTPUT: https://pasteboard.co/JZ5mB8t.png

    If Server::method2() appears in the Tags -> uses section of Client documentation page (https://pasteboard.co/JZ5l756.png),
    Client::method1() should appear in the Server documentation page (https://pasteboard.co/JZ5mB8t.png).
    Why not compare?

    Of course hoping to have understood what is written here https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.uses.pkg.html


    I also tried to post on more specific newsgroups (comp.lang.php,
    etc...), but no response :(

    πŸ™‚ πŸ™‚ πŸ™‚ πŸ™‚ πŸ™‚ πŸ™‚

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 491
    Nodes: 16 (2 / 14)
    Uptime: 87:07:51
    Calls: 9,679
    Files: 13,722
    Messages: 6,173,717

© >>> Magnum BBS <<<, 2025