Our front controller in ZF is an execution based front controller. This
means that it first will determine what is being asked for, then simple
attempt to execute it.
This is in contrast to a reflective front controller, where the Front
Controller system would know what is available in the entire system
prior to execution.
That said, you will more than likely have to get the module directory
from the front controller, then iterate that to find the modules. Once
you have the modules, you'll have to find the *Controller.php files
inside the controller directory of each module. After that, if you want
the actions, reflection is the best way to go: looking for any methods
that are public and end in 'Action'.
Hope this helps,
Ralph Schindler
admirau wrote:
Is there any chance to list all modules, controllers or actions
used in project, or do I have to parse all the files with regex/reflection?