PATH:
home
/
letacommog
/
crmleta
/
modules
/
ModComments
/
views
<?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. *************************************************************************************/ class ModComments_DetailAjax_View extends Vtiger_IndexAjax_View { public function process(Vtiger_Request $request) { $record = $request->get('record'); $moduleName = $request->getModule(); $recordModel = ModComments_Record_Model::getInstanceById($record); $currentUserModel = Users_Record_Model::getCurrentUserModel(); $modCommentsModel = Vtiger_Module_Model::getInstance('ModComments'); $viewer = $this->getViewer($request); $viewer->assign('CURRENTUSER', $currentUserModel); $viewer->assign('COMMENT', $recordModel); $viewer->assign('COMMENTS_MODULE_MODEL', $modCommentsModel); echo $viewer->view('Comment.tpl', $moduleName, true); } }
[+]
..
[-] Detail.php
[edit]
[-] InRelation.php
[edit]
[-] Edit.php
[edit]
[-] List.php
[edit]
[-] DetailAjax.php
[edit]
[-] FilePreview.php
[edit]