[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 <?php 2 /*+********************************************************************************** 3 * The contents of this file are subject to the vtiger CRM Public License Version 1.1 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 ************************************************************************************/ 10 11 class Inventory_SubProductsPopupAjax_View extends Inventory_SubProductsPopup_View { 12 13 function __construct() { 14 parent::__construct(); 15 $this->exposeMethod('getListViewCount'); 16 $this->exposeMethod('getRecordsCount'); 17 $this->exposeMethod('getPageCount'); 18 } 19 20 /** 21 * Function returns module name for which Popup will be initialized 22 * @param type $request 23 */ 24 public function getModule($request) { 25 return 'Products'; 26 } 27 28 function preProcess(Vtiger_Request $request) { 29 return true; 30 } 31 32 function postProcess(Vtiger_Request $request) { 33 return true; 34 } 35 36 function process (Vtiger_Request $request) { 37 $mode = $request->get('mode'); 38 if(!empty($mode)) { 39 $this->invokeExposedMethod($mode, $request); 40 return; 41 } 42 $viewer = $this->getViewer ($request); 43 44 $this->initializeListViewContents($request, $viewer); 45 $moduleName = 'Inventory'; 46 $viewer->assign('MODULE_NAME',$moduleName); 47 echo $viewer->view('PopupContents.tpl', $moduleName, true); 48 } 49 50 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |