本文整理汇总了PHP中Purchase::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Purchase::__construct方法的具体用法?PHP Purchase::__construct怎么用?PHP Purchase::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Purchase
的用法示例。
在下文中一共展示了Purchase::__construct方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
$this->load->model('purchase_model');
$this->load->model('product_model');
$this->load->library('form_validation');
}
示例2: __construct
public function __construct()
{
parent::__construct();
$this->load->model('purchase_finance_model');
$this->load->model('purchase_order_model');
$this->load->model('product_model');
$this->load->model('user_model');
$this->load->helper('purchase_order');
$this->load->library('form_validation');
}
示例3: __construct
public function __construct()
{
parent::__construct();
$this->load->model('purchase_statistics_model');
$this->load->model('stock_model');
$this->load->model('product_model');
$this->load->model('solr/solr_base_model');
$this->load->model('solr/solr_statistics_model');
$this->load->helper('solr');
$this->load->helper('db_helper');
$this->template->add_js('static/js/sorttable.js');
}
示例4: __construct
public function __construct()
{
parent::__construct();
}
示例5: __construct
public function __construct()
{
parent::__construct();
$this->load->model('waiting_for_perfect_model');
}
示例6: __construct
public function __construct()
{
parent::__construct();
$this->load->model('purchase_model');
$this->load->model('shipping_code_model');
}