Made of Everything You're Not

Writing code... well, forever really. Sigh...
  • Home
  • Projects
  • Portfolio
  • Resume
« Fix for “convert: no decode delegate for this image format “
mkdir tip »

phpdocumentor cheat sheet

I’ve been documenting my code in phpdoc style for a while and have compiled a cheat sheet of common tasks and cheats.

To process a given directory use the following:

phpdoc -o HTML:frames:default, HTML:Smarty:PHP, HTML:frames:phpedit, PDF:default:default, CHM:default:*, HTML:frames:phphtmllib, HTML:frames:l0l33t, HTML:frames:earthli -t /Path/To/Storage/Directory -d/Path/To/Directory/To/Parse

For a full outline of all available command options

A list of default tags:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* @abstract
* @access       public or private
* @author       author name <author@email>
* @copyright    name date
* @deprecated   description
* @deprec       alias for deprecated
* @example      /path/to/example
* @exception    Javadoc-compatible, use as needed
* @global       type $globalvarname
or
* @global       type description of global variable usage in a function
* @ignore
* @internal     private information for advanced developers only
* @param        type [$varname] description
* @return       type description
* @link         URL
* @name         procpagealias
or
* @name         $globalvaralias
* @magic        phpdoc.de compatibility
* @package      package name
* @see          name of another element that can be documented,
*                produces a link to it in the documentation
* @since        a version or a date
* @static
* @staticvar    type description of static variable usage in a function
* @subpackage    sub package name, groupings inside of a project
* @throws       Javadoc-compatible, use as needed
* @todo         phpdoc.de compatibility
* @var        type    a data type for a class variable
* @version    version
Bookmark and Share

Related Posts

Stand Alone ExpressionEngine Authentication
Importing Legacy Users Into ExpressionEngine
CartThrob 2.0 Beta Fun
ExpressionEngine and the Mystery of M00o93H7pQ09L8X1t49cHY01Z5j4TT91fGfr
Custom Routes With Zend Framework

Tags: php

This entry was written by Eric Lamb and posted on Sunday, November 16th, 2008 at 8:23 pm and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Click here to cancel reply.

  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008

Copyright © 2008 - 2012 Eric Lamb - All rights reserved