Use phpDocumenter standard to document your code.

with Ulysses sub forum
Post Reply
KBleivik
Site Admin
Posts: 184
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway
Contact:

Use phpDocumenter standard to document your code.

Post by KBleivik »

phpDocumentor http://www.phpdoc.org/ is the current standard auto-documentation tool for the php. The WordPress default home page follows this standard. Here

Code: Select all

<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>


is an example the follows that standard using docblocks.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests