Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

{@link Fully Qualfied Path} doesn't work in parameter, method or even class description #40

Open
rvanbaalen opened this issue Jun 26, 2014 · 1 comment
Labels

Comments

@rvanbaalen
Copy link

As described. Example; a part of the ValidForm Builder source:

    /**
     * Add a hidden input field to the form collection.
     *
     * Hidden fields can be used for example to inject custom values in your post data and still have
     * them validated using ValidForm Builder.
     *
     * @param string $name The hidden field's `name` attribute
     * @param string $type Define a validation type using one of the `ValidForm::VFORM_` constants. This does **not**
     * influence the fact that you're creating a hidden field. This is only used for validation of the hidden field's
     * content.
     * @param array $meta Optional meta array
     * @param boolean $blnJustRender If true, only create a {@link \ValidFormBuilder\Hidden} instance and return it.
     * When false, this {@link \ValidFormBuilder\Hidden} instance is added to the internal `elements` collection
     * and will be parsed when `toHtml()` is called.
     *
     * @return \ValidFormBuilder\Hidden
     */
    public function addHiddenField($name, $type, $meta = array(), $blnJustRender = false)
    {
        $objField = new Hidden($name, $type, $meta);

        if (! $blnJustRender) {
            // *** Fieldset already defined?
            $objFieldset = $this->__elements->getLast("ValidFormBuilder\\Fieldset");
            if ($this->__elements->count() == 0 || ! is_object($objFieldset)) {
                $objFieldset = $this->addFieldset();
            }

            $objField->setMeta("parent", $objFieldset, true);

            // *** Add field to the fieldset.
            $objFieldset->addField($objField);
        }

        return $objField;
    }

View Rendered docs here

I would expect that {@link \ValidFormBuilder\Hidden} converts to "\ValidFormBuilder\Hidden" (an actual link to that Class' documentation page).

Instead, I get this:

screen shot 2014-06-26 at 17 06 54

@mvriel
Copy link
Member

mvriel commented Jul 19, 2014

This issue should be fixed in phpDocumentor 2.6 but I want to verify it just to be sure

@mvriel mvriel added the bug label Jul 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants