Saturday 5 April 2008

Automatic Documentation in PHP

Something to do with phpDocumentor.

But basically, make a code block but use a double asterisk. The make elements with an @ symbol:

/**
* This function builds a simple XML file for the client to parse.
*
* @author Michele Memoli
* @since Version 0.5.3-23
* @return string Returns an XML string.
* @see ui::get_xml( )
*/

No comments: