コード例 #1
0
 function __construct()
 {
     parent::__construct();
     $this->acl = new Acl();
     $this->acl->setAccess(array(array("actions" => array("actionIndex"), "expression" => $this->model("BlogTest/KullaniciVarmi")->Kontrol(), "redirect" => "BlogTest/Install")));
 }
コード例 #2
0
 function __construct()
 {
     parent::__construct();
     $this->acl = new Acl(array(array("actions" => array("actionIndex"), "expression" => $this->UrlControl())));
 }
コード例 #3
0
 function __construct()
 {
     parent::__construct();
 }
コード例 #4
0
 function __construct()
 {
     parent::__construct();
     $this->acl = new Acl();
     $this->acl->setAccess(array(array("actions" => array("actionIndex", "logout", "Kategori", "Yazilar"), "expression" => $this->isLogin(), "redirect" => "BlogTest/Admin/Giris"), array("actions" => array("Giris"), "expression" => !$this->isLogin(), "redirect" => "BlogTest/Admin")));
 }