添加路由协议对象,如果添加的路由协议已经存在则抛出异常
Parameters:
API Tags:
Information Tags:
string assemble(
string
$action, [array
$args = array()], [string
$route = '']
)
|
|
创建Url,并返回构建好的Url值
Parameters:
string |
$action: |
操作信息 |
array |
$args: |
参数信息 |
string |
$route: |
路由协议别名 |
API Tags:
Redefined in descendants as:
string getControllerKey(
)
|
|
API Tags:
string getDefaultAction(
)
|
|
返回默认的action值
API Tags:
string getDefaultController(
)
|
|
返回默认的controller值
API Tags:
string getDefaultModule(
)
|
|
返回默认的module值
API Tags:
根据rule的规则名称,从路由链中获得该路由的对象
Parameters:
API Tags:
路由解析
Parameters:
API Tags:
Redefined in descendants as:
void setAction(
string
$action
)
|
|
设置action
Parameters:
API Tags:
void setActionKey(
string
$actionKey
)
|
|
Parameters:
API Tags:
void setConfig(
$config
)
|
|
Parameters:
API Tags:
Redefinition of:
- WindModule::setConfig()
- 设置类配置
Redefined in descendants as:
void setController(
string
$controller
)
|
|
设置controller
Parameters:
API Tags:
void setControllerKey(
string
$controllerKey
)
|
|
Parameters:
API Tags:
void setModule(
string
$module
)
|
|
Parameters:
API Tags:
void setModuleKey(
string
$moduleKey
)
|
|
Parameters:
API Tags:
将路由解析到的url参数信息保存早系统变量中
Parameters:
API Tags:
Redefined in descendants as: