2008年10月27日星期一

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

Now taking a full look through this code, it can be done without reflection
as well.
It's doing a preg_match on the methods that that class has access to.
get_class_methods can do the same thing i think.

I am not sure however, if there are other places that Reflection would be
needed or not and I was trying to stay away from having to pattern match,
but I guess it'sonly once in a while that this should be used and not a big
deal on the system.

Thanks for the recommendation. I will check back with any update I find.

Chris Martin wrote:
>
>
> 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-tp20192963p20195781.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: