Module ToolΒΆ

Features like Import, Export are termed as module tools. Such tools can enabled or disabled as shown below:

The example given below describes the way to enable and disable the tools for Payslip module

include_once('vtlib/Vtiger/Module.php');
$moduleInstance = Vtiger_Module::getInstance('Payslip');
$module->enableTools(Array('Import', 'Export'));
$module->disableTools('Export');