[ 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 vimport ('includes.exceptions.AppException'); 12 13 vimport ('includes.http.Request'); 14 vimport ('includes.http.Response'); 15 vimport ('includes.http.Session'); 16 17 vimport ('includes.runtime.Globals'); 18 vimport ('includes.runtime.Controller'); 19 vimport ('includes.runtime.Viewer'); 20 vimport ('includes.runtime.Theme'); 21 vimport ('includes.runtime.BaseModel'); 22 vimport ('includes.runtime.JavaScript'); 23 24 vimport ('includes.runtime.LanguageHandler'); 25 vimport ('includes.runtime.Cache'); 26 27 abstract class Vtiger_EntryPoint { 28 29 /** 30 * Login data 31 */ 32 protected $login = false; 33 34 /** 35 * Get login data. 36 */ 37 function getLogin() { 38 return $this->login; 39 } 40 41 /** 42 * Set login data. 43 */ 44 function setLogin($login) { 45 if ($this->login) throw new AppException('Login is already set.'); 46 $this->login = $login; 47 } 48 49 /** 50 * Check if login data is present. 51 */ 52 function hasLogin() { 53 return $this->getLogin()? true: false; 54 } 55 56 abstract function process (Vtiger_Request $request); 57 58 }
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 |