本文整理汇总了PHP中model::Model方法的典型用法代码示例。如果您正苦于以下问题:PHP model::Model方法的具体用法?PHP model::Model怎么用?PHP model::Model使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类model
的用法示例。
在下文中一共展示了model::Model方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::Model();
$this->load->helper('date');
$this->load->database();
$this->load->library('firephp');
}
示例2: invoicemodel
function invoicemodel()
{
parent::Model();
$this->_table_invoice = 'invoice';
$this->_table_invoice_detail = 'invoice_detail';
$this->load->model('postpaidmodel');
}
示例3: Billingplanmodel
function Billingplanmodel()
{
parent::Model();
//table name
$this->_table = 'billingplan';
$this->_table_radgroupreply = 'radgroupreply';
$this->_table_radgroupcheck = 'radgroupcheck';
}
示例4: Postplanmodel
function Postplanmodel()
{
parent::Model();
//table name
$this->_table = 'postplan';
$this->_table_postpaid_account = 'postpaid_account';
$this->_table_radreply = 'radreply';
}
示例5: Expirationplanmodel
function Expirationplanmodel()
{
parent::Model();
//table name
$this->_table = 'expirationplan';
$this->_table_radgroupreply = 'radgroupreply';
$this->_table_radgroupcheck = 'radgroupcheck';
}
示例6:
function Admin_model()
{
parent::Model();
$this->load->library('Adodbx');
//Load Adodb Library
$this->load->library('email');
// Load Email Library
//$this->adodb->debug = true;
}
示例7:
function User_model()
{
parent::Model();
$this->load->library('Adodbx');
//Load Adodb Library
$this->load->library('email');
// Load Email Library
$this->load->model('admin_model');
// Load Admin Model
}
示例8: Vouchermodel
function Vouchermodel()
{
parent::Model();
//table name
$this->_table = 'voucher_list';
$this->_table_voucher = 'voucher';
$this->_table_radcheck = 'radcheck';
$this->_table_radreply = 'radreply';
$this->_table_usergroup = 'radusergroup';
$this->load->model('billingplanmodel');
$this->load->helper('randomuser');
}
示例9: Postpaidmodel
function Postpaidmodel()
{
parent::Model();
//tables
$this->_table = 'postpaid_account';
$this->_table_account_list = 'postpaid_account_list';
$this->_table_account_bill = 'postpaid_account_bill';
$this->_table_radcheck = 'radcheck';
$this->_table_radreply = 'radreply';
$this->_table_radacct = 'radacct';
$this->_table_postplan = 'postplan';
}
示例11:
function Soal_model()
{
parent::Model();
}
示例12: Statisticmodel
function Statisticmodel()
{
parent::Model();
}
示例13:
function __construct()
{
parent::Model();
$this->obj =& get_instance();
$this->load->dbforge();
}
示例14: onlineusermodel
function onlineusermodel()
{
parent::Model();
$this->_table_acct = 'radacct';
}