I am writing a module that will eventually be listed in the JED. I'm a bit unsure about how to properly construct docblock comments for each file within a module or plugin. If I have a module that is also part of a package, is this how I write the docblock comments:
/**
* @package MyPackageName (or Joomla.Platform or Joomla.Site??)
* @subpackage mod_my_module
* @copyright Copyright 2005 - 2013 Open Source Matters. All rights re-served.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
Do I need to include LICENSE.txt
within the modules folder? If yes, where do I get this file from?
What if my module is not part of any package? Do I then DON'T need to include both @package
and @subpackage
?