设置默认的action名称
public Asf_Dispatcher Asf_Dispatcher::setDefaultAction(string $name)
名称, 不区分大小写
Asf_Dispatcher Object 代表返回成功, false 代表失败
<?php class Bootstrap { public function _initHow($dispatcher) { $dispatcher->setDefaultAction('check'); } }
<?php class Bootstrap { public function _initHow($dispatcher) { $dispatcher->setDefaultModule('api')->setDefaultService('index') ->setDefaultAction('check'); } }