|
Yaf_Application::getModulesGet defined module names Description
public array Yaf_Application::getModules
( void
)
Get the modules list defined in config, if no one defined, there will always be a module named "Index". ParametersThis function has no parameters. Return Values
ExamplesExample #1 Yaf_Application::getModulesexample
<?phpThe above example will output something similar to:
Array
(
[0] => Index
)
|