php - documentation of function calls -


how have function calls documented in php ? have :

= = = =

function_name1(list of args)

description of function

foo bar (extracted php-doc comments)

calls:

function_name2(list of args)

function_name3(list of args)

is called in function4 function5

= = = = = = = = = = = =

function_name2(list of args)

description of function

foo bar (extracted php-doc comments)

calls:

function_name5(list of args)

is called in

function1

..

the used documentation standard in php world phpdoc. derived javadoc. large number of ides support phpdoc, means can automate documentation , can gain code completion , other features it.

several tools exist autogenerate documentation phpdoc code annotations. phpdocumentor mentioned elsewhere prominent, can use doxygen allows wider range of documentation formats

update: phpdocumentor quite outdated , cannot work php5.3 code (tried closures?). there (currently) 2 worthwhile alternatives at: docblox , phpdox.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -