本文整理汇总了PHP中getSingleDBInstance函数的典型用法代码示例。如果您正苦于以下问题:PHP getSingleDBInstance函数的具体用法?PHP getSingleDBInstance怎么用?PHP getSingleDBInstance使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getSingleDBInstance函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: Users
/** 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 ...");
}
开发者ID:Pengzw,项目名称:c3crm,代码行数:11,代码来源:Users.php
示例2: Relsettings
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 ...");
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:8,代码来源:Relsettings.php
示例3: Maillists
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 ...");
}
开发者ID:Pengzw,项目名称:c3crm,代码行数:8,代码来源:Maillists.php
示例4: Qunfatmps
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 ...");
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:8,代码来源:Qunfatmps.php
示例5: Products
/** 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 ...");
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:10,代码来源:Products.php
示例6: Notes
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 ...");
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:8,代码来源:Notes.php
示例7: ClearColumnFields
function ClearColumnFields()
{
$this->log = LoggerManager::getLogger('import_salesorder');
$this->db =& getSingleDBInstance();
$colf = getColumnFields("SalesOrder");
foreach ($colf as $key => $value) {
$this->column_fields[$key] = '';
}
}
开发者ID:ruckfull,项目名称:taobaocrm,代码行数:9,代码来源:ImportSalesorder.php
示例8: ImportLead
/** 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);
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:13,代码来源:ImportLead.php
示例9: DeleteMemdays
function DeleteMemdays()
{
$this->log = LoggerManager::getLogger('DeleteMemdays');
$this->db =& getSingleDBInstance();
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:5,代码来源:delete_memdays.php
示例10: QunfatmpsDataPopulator
function QunfatmpsDataPopulator()
{
$this->log = LoggerManager::getLogger('QunfatmpsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:5,代码来源:QunfatmpsDataPopulator.php
示例11: ImportNote
/** 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;
}
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:11,代码来源:ImportNote.php
示例12: stripslashes_deep
$_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
开发者ID:honj51,项目名称:taobaocrm,代码行数:31,代码来源:init.php
示例13: OnlineAccsalesreportsDataPopulator
function OnlineAccsalesreportsDataPopulator()
{
$this->log = LoggerManager::getLogger('OnlineAccsalesreportsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:ruckfull,项目名称:taobaocrm,代码行数:5,代码来源:OnlineAccsalesreportsDataPopulator.php
示例14: AddressreportsDataPopulator
function AddressreportsDataPopulator()
{
$this->log = LoggerManager::getLogger('AddressreportsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:5,代码来源:AddressreportsDataPopulator.php
示例15: Accounts
function Accounts()
{
$this->log = LoggerManager::getLogger('account');
$this->db =& getSingleDBInstance();
$this->column_fields = getColumnFields('Accounts');
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:6,代码来源:Accounts.php
示例16: LoginHistory
function LoginHistory()
{
$this->log = LoggerManager::getLogger('loginhistory');
$this->db =& getSingleDBInstance();
}
开发者ID:Pengzw,项目名称:c3crm,代码行数:5,代码来源:LoginHistory.php
示例17: NewmemberreportsDataPopulator
function NewmemberreportsDataPopulator()
{
$this->log = LoggerManager::getLogger('NewmemberreportsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:5,代码来源:NewmemberreportsDataPopulator.php
示例18: RelsettingsDataPopulator
function RelsettingsDataPopulator()
{
$this->log = LoggerManager::getLogger('RelsettingsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:5,代码来源:RelsettingsDataPopulator.php
示例19: ContactsDataPopulator
function ContactsDataPopulator()
{
$this->log = LoggerManager::getLogger('ContactsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:Pengzw,项目名称:c3crm,代码行数:5,代码来源:ContactsDataPopulator.php
示例20: OrdernumreportsDataPopulator
function OrdernumreportsDataPopulator()
{
$this->log = LoggerManager::getLogger('OrdernumreportsDataPopulator');
$this->db =& getSingleDBInstance();
}
开发者ID:honj51,项目名称:taobaocrm,代码行数:5,代码来源:OrdernumreportsDataPopulator.php
注:本文中的getSingleDBInstance函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论