Previous Up Next
@access phpDocumentor tags @category

@author

Author of current element

Gregory Beaver
Tag Documentation written by [email protected]
Copyright 2002, Gregory Beaver
(phpDocumentor 0.1+)
@author authorname
<[email protected]>

Description

The @author tag is used to document the author of any element that can be documented (global variable, include, constant, function, define, class, variable, method, page). phpDocumentor will take any text between angle brackets

(< and >)
and try to parse it as an email address. If successful, it will be displayed with a mailto link in the page

NEW v1.2 - @author is now inherited by child classes from a parent class, see inline {@inheritdoc}.

Example

  1. /**
  2.  * Page-Level DocBlock example.
  3.  * displays as Gregory Beaver<strong>[email protected]</strong>
  4.  * , where underlined text is a "mailto:[email protected]" link
  5.  * @author Gregory Beaver <[email protected]>
  6.  */
  7. /**
  8.  * function datafunction
  9.  * another contributor authored this function
  10.  * @author Joe Shmoe
  11.  */
  12. function datafunction()
  13. {
  14. ...
  15. }

Previous Up Next
@access phpDocumentor tags @category

Documentation generated on Mon, 05 Dec 2011 21:46:33 -0600 by phpDocumentor 1.4.4