Here's how the admin app does it: import os from gluon.myregex import regex_expose mycontroller = open(os.path.join(request.folder, 'controllers', 'mycontroller.py'), 'rb').read() exposed_functions = regex_expose.findall(mycontroller)
Anthony On Monday, February 25, 2013 4:40:01 AM UTC-5, frasse wrote: > > Hi > I like to have a method to returns a list of all exposed methods in a > controller so it can be use in a view. I want to build a information > webpage for service consumers (xmlRpc , Json .....) that can be updated > when I add /update/ remove new service to my application API. Can web2py do > it for me ? > > Thanks > /F > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

