modules/KnowledgeBase/views/KnowledgeBase.php
<?php
/**
* @package View
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
* @author Tomasz Kur <t.kur@yetiforce.com>
* @author Tomasz Poradzewski <t.poradzewski@yetiforce.com>
*/
class KnowledgeBase_KnowledgeBase_View extends Vtiger_Index_View
{
/** {@inheritdoc} */
public function process(App\Request $request)
{
$moduleName = $request->getModule();
$viewer = $this->getViewer($request);
$viewer->view('KnowledgeBase.tpl', $moduleName);
}
}