@author
Author of current element
Gregory Beaver
Copyright 2002, Gregory Beaver
(phpDocumentor 0.1+)
@author
authorname <authoremail@example.com>
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
- /**
- * Page-Level DocBlock example.
- * displays as Gregory Beaver<strong>cellog@php.net</strong>
- * , where underlined text is a "mailto:cellog@php.net" link
- * @author Gregory Beaver <cellog@php.net>
- */
- /**
- * function datafunction
- * another contributor authored this function
- * @author Joe Shmoe
- */
- function datafunction()
- {
- ...
- }