PATH:
home
/
letacommog
/
crmleta
/
modules
/
Settings
/
MailConverter
/
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 Settings_MailConverter_BodyAjax_View extends Settings_Vtiger_IndexAjax_View { public function process(Vtiger_Request $request) { $action = $request->get('action1'); $delimiter = $request->get('delimiter'); $bodyText = $request->get('body'); $qualifiedModuleName = $request->getModule(false); $record = $request->get('record'); $scannerId = $request->get('scannerId'); $moduleFields = Settings_MailConverter_BodyRule_Model::getModuleFields($action); $bodyFields = Settings_MailConverter_BodyRule_Model::parseBody($bodyText, $delimiter); $viewer = $this->getViewer($request); $viewer->assign('MODULE_FIELDS', $moduleFields); $viewer->assign('BODY_FIELDS', $bodyFields); $viewer->assign('QUALIFIED_MODULE', $qualifiedModuleName); if(!empty($record)) { $bodyRule = new Settings_MailConverter_BodyRule_Model(); $bodyRule->set('scannerid', $scannerId); $bodyRule->set('ruleid', $record); $mappingData = $bodyRule->getMapping(); $viewer->assign('MAPPING', $mappingData); } $viewer->view('MapFields.tpl', $qualifiedModuleName); } }
[+]
..
[-] EditRule.php
[edit]
[-] RuleAjax.php
[edit]
[-] BodyAjax.php
[edit]
[-] List.php
[edit]
[-] Edit.php
[edit]