Inclusion of other files

To associate files or folders to a module, so that they are imported automatically, the following methods are available:

SDK::setExtraSrc($module, $src);

$module : the name of the module
$src : the path of the file or folder to be associated

To delete the association (but not the files themselves) use:

SDK::unsetExtraSrc($module, $src);

$module : the name of the module
$src : the path of the file or folder associated

Back to top