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"))); }
function __construct() { parent::__construct(); $this->acl = new Acl(array(array("actions" => array("actionIndex"), "expression" => $this->UrlControl()))); }
function __construct() { parent::__construct(); }
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"))); }