diff --git a/zh/reference/acl.rst b/zh/reference/acl.rst index 48978798bcd8..a90c0c6202af 100755 --- a/zh/reference/acl.rst +++ b/zh/reference/acl.rst @@ -1,4 +1,4 @@ -Access Control Lists ACL +访问控制列表 ACL ======================== :doc:`Phalcon\\Acl <../api/Phalcon_Acl>` provides an easy and lightweight management of ACLs as well as the permissions attached to them. `Access Control Lists`_ (ACL) allow an application to control access to its areas and the underlying objects from requests. You are encouraged to read more about the ACL methodology so as to be familiar with its concepts. @@ -172,8 +172,9 @@ The following example demonstrates how to attach listeners to this component: //Bind the eventsManager to the acl component $acl->setEventsManager($eventManagers); -Implementing your own adapters +实现你自己的适配器 ------------------------------ The :doc:`Phalcon\\Acl\\AdapterInterface <../api/Phalcon_Acl_AdapterInterface>` interface must be implemented in order to create your own ACL adapters or extend the existing ones. +为了创建你自己的ACL适配器或继承那些存在的适配器你需要实现这个`Phalcon\\Acl\\AdapterInterface <../api/Phalcon_Acl_AdapterInterface>`接口。 .. _Access Control Lists: http://en.wikipedia.org/wiki/Access_control_list