This file contains the TestModule class
This is a very basic example of using the CAT API.
The module contains two files in the Files directory. They will illustrate the use of the DeviceConfig::copyFile() method. One fille will be coppied without the name change, for the second we will provide a new name. The API also contains a similar DeviceConfig::translateFile() method, which is special to Windows installers and not used in this example.
This module will collect all certificate files stored in the database for a given profile and will copy them to the working directory.
If, for the given profile, an information file is available, this will also be copied to the working directory.
The installer will collect all available configuration attributes and save them to a file in the form of the PHP print_r output.
Finally, the installer will create a zip archive containing all above files and this file will be sent to the user as the configurator file.
Go to the Device_TestModule and DeviceConfig class definitions to learn more.