Advertisement
Guest User

Detail

a guest
Aug 29th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. public function showGraficoFido(Vtiger_Request $request) {
  2.     $recordId = $request->get('record');
  3.     $moduleName = $request->getModule();
  4.  
  5.     // Getting model to reuse it in parent
  6.     if (!$this->record) {
  7.        $this->record = Vtiger_DetailView_Model::getInstance($moduleName, $recordId);
  8.     }
  9.     $recordModel = $this->record->getRecord();
  10.  
  11.     $viewer = $this->getViewer($request);
  12.     $viewer->assign('FFFF', 'try');
  13.  
  14.     return $viewer->view('DetailViewSummaryContents.tpl', $moduleName, true);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement