Reply to PHPDocumentor code not displaying properly

Your name:

Reply:


Posted by comp.lang.php on 12/01/06 17:46

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.session-set-save-handler.php
session_set_save_handler} function as follows:
*
* <code>
* <?
* $sess =& new SessionHandler();
* @session_set_save_handler(array(&$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.session-set-save-handler.php#60821
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:

[quote]
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_save_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)
[/quote]

The entire <code></code> block 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация