YetiForceCompany/YetiForceCRM

View on GitHub
modules/Settings/ModTracker/views/List.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

/**
 * Settings ModTracker list view class.
 *
 * @copyright YetiForce S.A.
 * @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 */
class Settings_ModTracker_List_View extends Settings_Vtiger_Index_View
{
    public function process(App\Request $request)
    {
        $moduleName = $request->getModule();
        $qualifiedModuleName = $request->getModule(false);
        $moduleModel = new Settings_ModTracker_Module_Model();
        $viewer = $this->getViewer($request);
        $viewer->assign('MODULE_MODEL', $moduleModel);
        $viewer->assign('QUALIFIED_MODULE', $qualifiedModuleName);
        $viewer->assign('MODULE', $moduleName);
        $viewer->view('List.tpl', $qualifiedModuleName);
    }
}