2008年10月27日星期一

Re: [fw-mvc] Funciton to get Actions and created methods/actions

Or just take a look at the Zend_Server_Reflection module (which is
essentially what zfsecurity uses for this):

http://framework.zend.com/manual/en/zend.server.reflection.html

Chris Martin wrote:
>
>
> I needed something similar for my project, and ran into an interesting
> module by Jason Eisen called zfsecurity (BSD License):
>
> http://oss.jasoneisen.com/2008/10/14/security-module-screencast/
> http://code.google.com/p/zfsecurity/
>
> I had most of my ACL coded into my project already and didn't want the ORM
> overhead of Doctrine, so I didn't use this module directly - But, it is an
> excellent example for ACL management of controller actions, and it can
> generate the resources/privs from the Controller classes automatically.
>
> Take a look in the zfsecurity project, specifically, at:
> ./module/security/library/Security/Acl/Generator.php
> ./module/security/controllers/UpdateController.php
>
>
>

--
View this message in context: http://www.nabble.com/Funciton-to-get-Actions-and-created-methods-actions-tp20192963p20195156.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: