modules/Settings/Watchdog/views/Index.php
<?php
/**
* YetiForce watchdog view class.
*
* @package Settings.View
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
* @author Sławomir Kłos <s.klos@yetiforce.com>
* @author Radosław Skrzypczak <r.skrzypczak@yetiforce.com>
*/
class Settings_Watchdog_Index_View extends Settings_Vtiger_Index_View
{
/** {@inheritdoc} */
public function process(App\Request $request)
{
$viewer = $this->getViewer($request);
$viewer->assign('ALL_PARAMS', \App\YetiForce\Watchdog::getAll());
$viewer->view('Index.tpl', $request->getModule(false));
}
}