FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=11813&edit=1

ID: 11813
Updated by: demon.gene@gmail.com
Reported By: rele at gmx dot de
Summary: @link URL short description does'nt work
-Status: Open
+Status: Verified
Type: Bug
Package: PhpDocumentor
Operating System: Windows XP SP2
Package Version: 1.4.0
PHP Version: 5.2.3
Roadmap Versions:
New Comment:

-Status: Open
+Status: Verified
Verified this behavior using phpDoc in current SVN on PHP 5.2.10.


Previous Comments:
------------------------------------------------------------------------

[2009-07-21 17:30:46] ashnazg

-Roadmap Versions:
+Roadmap Versions: 1.4.3


------------------------------------------------------------------------

[2007-08-10 07:00:14] #c6284055f77a3b28c08

Description:
------------
The @link tag example on
http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.link.pkg.html
does not work as expected and documented, regarding the {@link URL
inline tag} which does work as expected.

@link URL short description
will not replace the link text "URL" by "short description" but will
append the short description to the URL link text.

Test script:
---------------
<?php

/**
* MySQL Slow Query Log Filter
*
* @category Performance Tools
* @package mysql-log-filter
* @link http://code.google.com/p/mysql-log-filter/ Easily find
MySQL query bottlenecks
*/

/**
* Displays <a href="http://www.example.com">Hello</a>
* @link http://www.example.com Hello
*/
define("TEST_CONSTANT2",3);
?>

Expected result:
----------------
<a href="http://code.google.com/p/mysql-log-filter/">Easily find MySQL
query bottlenecks</a>
...
<a href="http://www.example.com">Hello</a>

Actual result:
--------------
<a
href="http://code.google.com/p/mysql-log-filter/">http://code.google.com/p/mysql-log-filter/
Easily find MySQL query bottlenecks</a>
...
<a href="http://www.example.com">http://www.example.com Hello</a>

------------------------------------------------------------------------

Search Discussions

  • Demon Gene at Aug 30, 2009 at 6:59 am
    Edit report at http://pear.php.net/bugs/bug.php?id=11813&edit=1

    ID: 11813
    Updated by: demon.gene@gmail.com
    Reported By: rele at gmx dot de
    Summary: @link URL short description does'nt work
    -Status: Verified
    +Status: Assigned
    Type: Bug
    Package: PhpDocumentor
    Operating System: Windows XP SP2
    Package Version: 1.4.0
    PHP Version: 5.2.3
    -Assigned To:
    +Assigned To: ashnazg
    Roadmap Versions:
    New Comment:

    -Status: Verified
    +Status: Assigned
    -Assigned To:
    +Assigned To: ashnazg



    Previous Comments:
    ------------------------------------------------------------------------

    [2009-08-30 08:58:44] ashnazg

    -Status: Open
    +Status: Verified
    Verified this behavior using phpDoc in current SVN on PHP 5.2.10.

    ------------------------------------------------------------------------

    [2009-07-21 17:30:46] ashnazg

    -Roadmap Versions:
    +Roadmap Versions: 1.4.3


    ------------------------------------------------------------------------

    [2007-08-10 07:00:14] #c6284055f77a3b28c08

    Description:
    ------------
    The @link tag example on
    http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.link.pkg.html
    does not work as expected and documented, regarding the {@link URL
    inline tag} which does work as expected.

    @link URL short description
    will not replace the link text "URL" by "short description" but will
    append the short description to the URL link text.

    Test script:
    ---------------
    <?php

    /**
    * MySQL Slow Query Log Filter
    *
    * @category Performance Tools
    * @package mysql-log-filter
    * @link http://code.google.com/p/mysql-log-filter/ Easily find
    MySQL query bottlenecks
    */

    /**
    * Displays <a href="http://www.example.com">Hello</a>
    * @link http://www.example.com Hello
    */
    define("TEST_CONSTANT2",3);
    ?>

    Expected result:
    ----------------
    <a href="http://code.google.com/p/mysql-log-filter/">Easily find MySQL
    query bottlenecks</a>
    ...
    <a href="http://www.example.com">Hello</a>

    Actual result:
    --------------
    <a
    href="http://code.google.com/p/mysql-log-filter/">http://code.google.com/p/mysql-log-filter/
    Easily find MySQL query bottlenecks</a>
    ...
    <a href="http://www.example.com">http://www.example.com Hello</a>

    ------------------------------------------------------------------------
  • Demon Gene at Aug 30, 2009 at 7:29 am
    Edit report at http://pear.php.net/bugs/bug.php?id=11813&edit=1

    ID: 11813
    Updated by: demon.gene@gmail.com
    Reported By: rele at gmx dot de
    Summary: @link URL short description does'nt work
    -Status: Assigned
    +Status: Closed
    Type: Bug
    Package: PhpDocumentor
    Operating System: Windows XP SP2
    Package Version: 1.4.0
    PHP Version: 5.2.3
    Assigned To: ashnazg
    Roadmap Versions:
    New Comment:

    -Status: Assigned
    +Status: Closed
    Committed fix to SVN.


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-08-30 08:58:56] ashnazg

    -Status: Verified
    +Status: Assigned
    -Assigned To:
    +Assigned To: ashnazg


    ------------------------------------------------------------------------

    [2009-08-30 08:58:44] ashnazg

    -Status: Open
    +Status: Verified
    Verified this behavior using phpDoc in current SVN on PHP 5.2.10.

    ------------------------------------------------------------------------

    [2009-07-21 17:30:46] ashnazg

    -Roadmap Versions:
    +Roadmap Versions: 1.4.3


    ------------------------------------------------------------------------

    [2007-08-10 07:00:14] #c6284055f77a3b28c08

    Description:
    ------------
    The @link tag example on
    http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.link.pkg.html
    does not work as expected and documented, regarding the {@link URL
    inline tag} which does work as expected.

    @link URL short description
    will not replace the link text "URL" by "short description" but will
    append the short description to the URL link text.

    Test script:
    ---------------
    <?php

    /**
    * MySQL Slow Query Log Filter
    *
    * @category Performance Tools
    * @package mysql-log-filter
    * @link http://code.google.com/p/mysql-log-filter/ Easily find
    MySQL query bottlenecks
    */

    /**
    * Displays <a href="http://www.example.com">Hello</a>
    * @link http://www.example.com Hello
    */
    define("TEST_CONSTANT2",3);
    ?>

    Expected result:
    ----------------
    <a href="http://code.google.com/p/mysql-log-filter/">Easily find MySQL
    query bottlenecks</a>
    ...
    <a href="http://www.example.com">Hello</a>

    Actual result:
    --------------
    <a
    href="http://code.google.com/p/mysql-log-filter/">http://code.google.com/p/mysql-log-filter/
    Easily find MySQL query bottlenecks</a>
    ...
    <a href="http://www.example.com">http://www.example.com Hello</a>

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 30, '09 at 6:58a
activeAug 30, '09 at 7:29a
posts3
users1
websitepear.php.net

1 user in discussion

Demon Gene: 3 posts

People

Translate

site design / logo © 2022 Grokbase