modules/Settings/TimeControlProcesses/views/Index.php
<?php
/**
* Settings TimeControlProcesses index view class.
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
*/
class Settings_TimeControlProcesses_Index_View extends Settings_Vtiger_Index_View
{
/**
* Process.
*
* @param \App\Request $request
*/
public function process(App\Request $request)
{
\App\Log::trace('Start ' . __METHOD__);
$qualifiedModule = $request->getModule(false);
$moduleModel = Settings_TimeControlProcesses_Module_Model::getCleanInstance();
$viewer = $this->getViewer($request);
$viewer->assign('QUALIFIED_MODULE', $qualifiedModule);
$viewer->assign('MODULE_MODEL', $moduleModel->getConfigInstance());
$viewer->view('Index.tpl', $qualifiedModule);
\App\Log::trace('End ' . __METHOD__);
}
public function getFooterScripts(App\Request $request)
{
return array_merge(parent::getFooterScripts($request), $this->checkAndConvertJsScripts([
"modules.Settings.{$request->getModule()}.resources.Index",
]));
}
}