Each module in Daedelix PSA consist of init file which contains the general module configuration and includes headers containing meta-information regarding the module.
Module init file headers example
The follow example is taken from the default Daedelix PSA module Menu Setup that comes with the installation.
<?phpdefined('BASEPATH') or exit('No direct script access allowed');/*Module Name: Menu SetupDescription: Default module to apply changes to the menusVersion: 2.3.0Requires at least: 2.3.**/Available Headers
You can find below the list of available headers that can be added to module init file.
- Module Name – required
- Module URI – module URL
- Version – the version of the module
- Description – the description of the module, you can explain what does the module do.
- Author – module author name
- Author URI – module author URL
- Requires at least – what version of Daedelix PSA the module requires at least