/** constructor function for the main user class instantiates the Logger class and PearDatabase Class * */ function Users() { $this->log = LoggerManager::getLogger('user'); $this->log->debug("Entering Users() method ..."); $this->db =& getSingleDBInstance(); $this->log->debug("Exiting Users() method ..."); }
function Relsettings() { $this->log = LoggerManager::getLogger('relsettings'); $this->log->debug("Entering Relsettings() method ..."); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('Relsettings'); $this->log->debug("Exiting Relsettings method ..."); }
function Maillists() { $this->log = LoggerManager::getLogger('maillists'); $this->log->debug("Entering Maillists() method ..."); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('Maillists'); $this->log->debug("Exiting Maillists method ..."); }
function Qunfatmps() { $this->log = LoggerManager::getLogger('qunfatmps'); $this->log->debug("Entering Qunfatmps() method ..."); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('Qunfatmps'); $this->log->debug("Exiting Qunfatmps method ..."); }
/** Constructor which will set the column_fields in this object */ function Products() { $this->log = LoggerManager::getLogger('product'); $this->log->debug("Entering Products() method ..."); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('Products'); $this->log->debug("Exiting Product method ..."); }
function Notes() { $this->log = LoggerManager::getLogger('notes'); $this->log->debug("Entering Notes() method ..."); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('Notes'); $this->log->debug("Exiting Note method ..."); }
function ClearColumnFields() { $this->log = LoggerManager::getLogger('import_salesorder'); $this->db =& getSingleDBInstance(); $colf = getColumnFields("SalesOrder"); foreach ($colf as $key => $value) { $this->column_fields[$key] = ''; } }
function ClearColumnFields() { $this->log = LoggerManager::getLogger('import_account'); $this->db =& getSingleDBInstance(); $colf = getColumnFields("Accounts"); foreach ($colf as $key => $value) { //$this->importable_fields[$key]=1; $this->column_fields[$key] = ''; } }
/** Constructor which will set the importable_fields as $this->importable_fields[$key]=1 in this object where key is the fieldname in the field table */ function ImportLead() { $this->log = LoggerManager::getLogger('import_lead'); $this->db =& getSingleDBInstance(); $this->db->println("IMP ImportLead"); $colf = getColumnFields("Leads"); foreach ($colf as $key => $value) { $this->importable_fields[$key] = 1; } $this->db->println($this->importable_fields); }
function DeleteMemdays() { $this->log = LoggerManager::getLogger('DeleteMemdays'); $this->db =& getSingleDBInstance(); }
function QunfatmpsDataPopulator() { $this->log = LoggerManager::getLogger('QunfatmpsDataPopulator'); $this->db =& getSingleDBInstance(); }
/** Constructor which will set the importable_fields as $this->importable_fields[$key]=1 in this object where key is the fieldname in the field table */ function ImportNote() { $this->log = LoggerManager::getLogger('import_notes'); $this->db =& getSingleDBInstance(); $colf = getColumnFields("Notes"); foreach ($colf as $key => $value) { $this->importable_fields[$key] = 1; } }
$_POST = stripslashes_deep($_POST); } $_COOKIE = stripslashes_deep($_COOKIE); $_REQUEST = stripslashes_deep($_REQUEST); } header('Content-Type: text/html; charset=UTF-8'); global $entityDel; global $display; global $category; global $currentModule; require_once $root_directory . 'include/utils/utils.php'; require_once $root_directory . 'include/database/PearDatabase.php'; require_once $root_directory . 'include/logging.php'; require_once $root_directory . 'modules/Users/Users.php'; $log =& LoggerManager::getLogger('index'); $adb =& getSingleDBInstance(); $skipActions = array("Save", "Delete", "Popup", "Ajax", "ChangePassword", "CreatePDF"); $theme = "softed"; $current_language = "zh_cn"; if (isset($_REQUEST['PHPSESSID'])) { session_id($_REQUEST['PHPSESSID']); //Setting the same session id to Forums as in CRM $sid = $_REQUEST['PHPSESSID']; } // Create or reestablish the current session session_start(); /** * 递归方式的对变量中的特殊字符去除转义 * * @access public * @param mix $value
function OnlineAccsalesreportsDataPopulator() { $this->log = LoggerManager::getLogger('OnlineAccsalesreportsDataPopulator'); $this->db =& getSingleDBInstance(); }
function AddressreportsDataPopulator() { $this->log = LoggerManager::getLogger('AddressreportsDataPopulator'); $this->db =& getSingleDBInstance(); }
function Accounts() { $this->log = LoggerManager::getLogger('account'); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('Accounts'); }
function LoginHistory() { $this->log = LoggerManager::getLogger('loginhistory'); $this->db =& getSingleDBInstance(); }
function NewmemberreportsDataPopulator() { $this->log = LoggerManager::getLogger('NewmemberreportsDataPopulator'); $this->db =& getSingleDBInstance(); }
function RelsettingsDataPopulator() { $this->log = LoggerManager::getLogger('RelsettingsDataPopulator'); $this->db =& getSingleDBInstance(); }
function ContactsDataPopulator() { $this->log = LoggerManager::getLogger('ContactsDataPopulator'); $this->db =& getSingleDBInstance(); }
function OrdernumreportsDataPopulator() { $this->log = LoggerManager::getLogger('OrdernumreportsDataPopulator'); $this->db =& getSingleDBInstance(); }
/** Constructor */ function UsersLastImport() { $this->log = LoggerManager::getLogger('UsersLastImport'); $this->db =& getSingleDBInstance(); }
/** Constructor */ function ImportMap() { $this->log = LoggerManager::getLogger('file'); $this->db =& getSingleDBInstance(); }
/** Constructor Function for SalesOrder class * This function creates an instance of LoggerManager class using getLogger method * creates an instance for PearDatabase class and get values for column_fields array of SalesOrder class. */ function SalesOrder() { $this->log = LoggerManager::getLogger('SalesOrder'); $this->db =& getSingleDBInstance(); $this->column_fields = getColumnFields('SalesOrder'); }