本文整理汇总了PHP中security::logged_in方法的典型用法代码示例。如果您正苦于以下问题:PHP security::logged_in方法的具体用法?PHP security::logged_in怎么用?PHP security::logged_in使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类security
的用法示例。
在下文中一共展示了security::logged_in方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
security::logged_in();
$this->id = null;
$arr = array(0 => '') + acc_ctrl::_load_account();
$this->acc_id = new sel($arr);
$this->name = new text();
$this->total = 0;
}
示例2: __construct
public function __construct()
{
parent::__construct();
security::logged_in();
$this->db = my_db::open();
$this->message = '';
$this->id = null;
$this->name = new text();
$this->date = new text();
$this->entry = array();
$this->total = 0;
$this->account = array();
$this->account = acc_ctrl::_load_account();
}
示例3: __construct
public function __construct()
{
parent::__construct();
security::logged_in();
$this->db = my_db::open();
}