phpDocumentor phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]
Prev Next
@author

@author

Author of current element

by 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. }

Prev Up Next
@access phpDocumentor tags @category

Documentation generated on Tue, 24 Oct 2006 09:20:03 -0500 by phpDocumentor 1.3.1