phpDocumentor ModuleWriting
[ class tree: ModuleWriting ] [ index: ModuleWriting ] [ all elements ]

Procedural File: TestModule.php

Source Location: /devices/test_module/TestModule.php

Page Details

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 DeviceConfigTT::copyFile() method. One fille will be coppied without the name change, for the second we will provide a new name.

The module will collect all certificate files stored in the database for a given profile and wiil copy them to the working directory.

If, for the given profile, an information file is available, this too will be copied to the working directory.

The installer will collect all available configuration attributes and save them to a file in the form of 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.

Classes
Class Description
Device_TestModule This is the main implementation class of the module
Includes
require_once (Device.php) [line 30]
[ Top ]



Documentation generated on Fri, 05 Aug 2011 15:56:30 +0200 by phpDocumentor 1.4.3