Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Discussion options

You must be logged in to vote

OK got it:

require DIR . '/include/main/WebUI.php';
$moduleName = 'Leads';
$moduleModel = \vtlib\Module::getInstance($moduleName);
$package = new vtlib\PackageExport();
$package->export($moduleModel, '', sprintf('%s-%s.zip', $moduleModel->name, $moduleModel->version), true);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JohnMaverick
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How to
Labels
None yet
2 participants