modules/Settings/Groups/views/Detail.php
<?php
/* +***********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
* Contributor(s): YetiForce S.A.
* *********************************************************************************** */
class Settings_Groups_Detail_View extends Settings_Vtiger_Index_View
{
/**
* Process.
*
* @param \App\Request $request
*/
public function process(App\Request $request)
{
$qualifiedModuleName = $request->getModule(false);
$viewer = $this->getViewer($request);
$recordModel = Settings_Groups_Record_Model::getInstance($request->getInteger('record'));
$viewer->assign('RECORD_MODEL', $recordModel);
$viewer->assign('STRUCTURE', $recordModel->getModule()->getEditViewStructure($recordModel));
$viewer->view('Detail.tpl', $qualifiedModuleName);
}
}