Documentation

helper.php

Table of Contents

Functions

url_acl_add_auth()  : mixed
向角色中添加权限名 url_acl_add_auth("管理员",'产品'); url_acl_add_auth("管理员",['产品','产品列表']);
url_acl()  : mixed
检测角色是否有权限
get_url_acl_auth_urls()  : mixed
取角色有的权限 返回可以访问的URL
get_url_acl_auth_name()  : mixed
取角色拥有的ACL名称
url_acl_add()  : mixed
把URL添加到权限中
get_url_acl_request_uri()  : mixed
取请求URL,不包含?
get_url_acl()  : mixed
权限列表

Functions

url_acl_add_auth()

向角色中添加权限名 url_acl_add_auth("管理员",'产品'); url_acl_add_auth("管理员",['产品','产品列表']);

url_acl_add_auth(mixed $auth_name, mixed $acl_title) : mixed
Parameters
$auth_name : mixed
$acl_title : mixed

url_acl()

检测角色是否有权限

url_acl(mixed $auth_name) : mixed
Parameters
$auth_name : mixed

get_url_acl_auth_urls()

取角色有的权限 返回可以访问的URL

get_url_acl_auth_urls(mixed $auth_name) : mixed
Parameters
$auth_name : mixed

get_url_acl_auth_name()

取角色拥有的ACL名称

get_url_acl_auth_name(mixed $auth_name) : mixed
Parameters
$auth_name : mixed

url_acl_add()

把URL添加到权限中

url_acl_add(mixed $title, mixed $url) : mixed
Parameters
$title : mixed
$url : mixed

get_url_acl_request_uri()

取请求URL,不包含?

get_url_acl_request_uri() : mixed

get_url_acl()

权限列表

get_url_acl() : mixed
✖ Error 404 while fetching file: ✖ Error 404 while fetching file: 
On this page

Search results