Donate Share

PhpDocumentor

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

function and same-named method conflict

You are viewing a single message from this topic. View all messages.

  1. 2008-09-02 21:09:18 UTC
    I have a setup like this:

    <?php
    class Example {

    var $data;

    /**
    * this function simple calls {@link doSomething} with its
    * own parameters and stores the result in {@link $data},
    */
    function doSomething($parameters) {
    $this->data = doSomething($parameters);
    }
    } // class Example

    /**
    * long description about the parameters
    */
    function doSomething($parameters) {
    // lots of stuff
    return $something;
    }
    ?>

    So, this link in the method documentation (or anywhere in this class)
    does not link to the function, but to the method itself.

    There seems not to be a possibility to do this per punctuation -
    any method in the same class is always found before a function.
    http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.see.pkg.html
    What should I do?


    Paul
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.