本文整理汇总了PHP中core::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP core::__construct方法的具体用法?PHP core::__construct怎么用?PHP core::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类core
的用法示例。
在下文中一共展示了core::__construct方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
$this->main_path = "controllers/" . substr(get_class($this), 0, -2) . "/";
$this->template_path = "controllers/" . substr(get_class($this), 0, -2) . "/";
$this->assists_path = "assists/controllers/" . substr(get_class($this), 0, -2) . "/";
parent::__construct();
}
示例2: __construct
public function __construct()
{
parent::__construct();
$data = base::subHeader("Billing Administration", "Update your Records and Download Invoices");
$data .= base::begin();
$this->export($data);
}
示例3: __construct
public function __construct()
{
parent::__construct();
if (!$this->isProvidingCompany()) {
// Only accessible by provider
$this->reloadTarget();
}
$data = base::subHeader("Client List", "View/Create/List Clients");
$data .= base::begin();
$this->export($data);
}
示例4: __construct
public function __construct()
{
parent::__construct();
if (!$this->isAdmin()) {
die;
}
$data = base::subHeader("aTikit Admin", "Modify Users, Clients, Queues and Access Levels");
$data .= base::begin(true);
$data .= base::crumbs([['url' => '#', 'text' => 'Admin']]);
$this->export($data);
}
示例5:
function __construct()
{
parent::__construct();
}
示例6: __construct
public function __construct()
{
parent::__construct(true, false);
}
示例7:
function __construct()
{
parent::__construct();
$lib = $this->db->query('SELECT * FROM `lib`;');
// var_dump(mysqli_num_rows($lib));
}