PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
/**
* @return
* @param _file filename including path to zip file
* @desc constructor, initialises class variables
*/
function ZipExtract($_file)
{ ....
What is the name for those definitions prior to the function/class so i could google for them... or if anyone could point me directly to some resource about them.
/**
* @return
* @param _file filename including path to zip file
* @desc constructor, initialises class variables
*/
function ZipExtract($_file)
{ ....
What is the name for those definitions prior to the function/class so i could google for them... or if anyone could point me directly to some resource about them.
Those are just comments, but a well structured, and well documented one. I do not know what those are called, but I follow and use that style.
You should try looking into "Phpdocumentor". Its a freeware, and you'll find what you're looking for there. It has a definition on what those are.
if you're code just to see something, like a code to output the contents of an array, then just let it be a code. But if you're developing an application, then it is a good time to dicipline yourself with OOP.