使用Zend Framework和Doctrine 2管理ACL

时间:2021-10-05 06:48:49

Does anyone know how to deal with ACL and Doctrine 2 inside a Zend Framework 1.11.10 Project ?

有谁知道如何在Zend Framework 1.11.10项目中处理ACL和Doctrine 2?

Thanks. Regards.

谢谢。问候。

1 个解决方案

#1


1  

The ACLs are handled with Zend_ACL(), and as you do not have to use Zend_Db or Zend_Table or whatever classes Zend Framework provides, Doctrine-Integration should be as intended by the doctrine-manual. Here's an article on how to do it with Doctrine - it should be easily adaptable to Doctrine2.

ACL由Zend_ACL()处理,因为您不必使用Zend_Db或Zend_Table或Zend Framework提供的任何类,Doctrine-Integration应该与doctrine-manual一样。这是一篇关于如何使用Doctrine进行操作的文章 - 它应该很容易适应Doctrine2。

#1


1  

The ACLs are handled with Zend_ACL(), and as you do not have to use Zend_Db or Zend_Table or whatever classes Zend Framework provides, Doctrine-Integration should be as intended by the doctrine-manual. Here's an article on how to do it with Doctrine - it should be easily adaptable to Doctrine2.

ACL由Zend_ACL()处理,因为您不必使用Zend_Db或Zend_Table或Zend Framework提供的任何类,Doctrine-Integration应该与doctrine-manual一样。这是一篇关于如何使用Doctrine进行操作的文章 - 它应该很容易适应Doctrine2。