Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions zh/reference/acl.rst
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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