Yaf_Dispatcher::setDefaultModule()
(Yaf >=1.0.0)
设置路由的默认模块
说明
public Yaf_Dispatcher::setDefaultModule(string $module): Yaf_Dispatcher
参数
- $module
返回值
function $dispatcher->setDefaultModule("xxx") is unable to set default module from index to othersfunction $dispatcher->setDefaultModule("xxx") is unable to set default module from index to othersYaf_Dispatcher::setDefaultModule is not effective. yaf version 2.2.9
