PHPDocumentor code not displaying properly

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • comp.lang.php

    PHPDocumentor code not displaying properly

    I'm not having a good coding week.

    The following PHPDocumentor code displays wrong:

    [PHP]
    /**
    * Class for alternatively handling sessions other than the {@link
    http://us3.php.net/manual/en/ref.session.php default PHP methodology}
    on
    session handling
    *
    * This class will not have its methods handled manually since they can
    be
    alternatively handled internally by a call to
    * {@link
    http://us3.php.net/manual/en/function.sessio n-set-save-handler.php
    session_set_sav e_handler} function as follows:
    *
    * <code>
    * <?
    * $sess =& new SessionHandler( );
    * @session_set_sa ve_handler(arra y(&$sess, 'open'), array(&$sess,
    'close'), array(&$sess, 'read'), array(&$sess, 'write'), array(&$sess,
    'destroy'), array(&$sess, 'gc'));
    * ?>
    * </code>
    *
    * For more info on this class within the scope of alternate session
    handling {@link
    http://us3.php.net/manual/en/function.sessio n-set-save-handler.php#608 21
    click here}
    *
    *
    * @author Phil Powell
    * @version 1.2.0
    * @package APP
    * @todo Modify this class to allow for storing of session within a
    database table
    */
    [/PHP]

    This is what I wind up getting when I view the docs:

    Class for alternatively handling sessions other than the default PHP
    methodology on session handling

    This class will not have its methods handled manually since they can be
    alternatively handled internally by a call to session_set_sav e_handler
    function as follows:

    * todo: Modify this class to allow for storing of session within a
    database table
    * version: 1.2.0
    * author: Phil Powell

    Located in /session.inc.php (line 44)
    The entire <code></codeblock is missing along with the next 2 lines
    down,
    and I can't find what I did wrong to be able to fix it.

    Anyone who knows PHPDocumentor well is welcome to help me with this one

    Thanx
    Phil

Working...