13 foreach($this->cfg->defaultRoles as $role)
31 abstract public function login($prm = null, $page=null);
39 abstract public function logout($prm = null);
47 abstract public function addRole($role);
55 abstract public function hasRole($role=null);
63 abstract public function delRole($role=null);
73 abstract public function check(array $url = null, $redirect=
true);
80 abstract public function getLoginForm(array $prm = array());
101 public function getPage($type=
'login', $uri=
false) {
102 $page = $this->cfg->getInArray(
'pages', $type);
117 protected function hook($name) {}
isContained(array $url, array $checks)
static isContained(array $url, array $checks)
login($prm=null, $page=null)
getPage($type='login', $uri=false)
check(array $url=null, $redirect=true)
getLoginForm(array $prm=array())