documentation - How do you document your PHP functions and classes inline? -
I know that PHP code has many different criteria for inline documentation. What I mean by inline documentation, and please correct me if there is a better word:
/ ** * This is a description for the category given below. * * @ Package my-package * @subpackage my-subpackage * @author my-name * @version my-version * ... * / class command operations {...
Is the best and most widely accepted form of inline documentation? Are there any tools to automatically generate such documents, or is it to be done manually?
I'm not interested in making manuals - I want to know how to comment on the code above, or "inline documentation".
, which you have posted, is a widely accepted form
Edit: In reference to generating an in-line document in my code, I have never seen a device, will go back and do this externally for a project is usually left in the scope of the IDE when you code Make the template.
Eclipse really does a good job of it (this is one of the few things I like to accept) and I believe that Netbeen does that well. Any large IDE will have functionality to help with this type of template generation.
Comments
Post a Comment