执行新控制
若采用非内部调用,则会等同于浏览器的URI执行,请注意防止陷入死循环
string Core_Controller::execute( string $uri [, boolean $print = bool true , boolean $use_route = bool true , boolean $is_internal = bool true ] )
参数列表
参数 类型 描述 默认值 $uri
string
新的uri boolean
是否直接输出 bool true $use_route
boolean
是否在路由中寻找,默认:是 bool true $is_internal
boolean
是否内部调用,默认:是 bool true
string
返回新控制器执行的html
177178179180public
static
function
execute(
$uri
,
= true,
$use_route
= true,
$is_internal
= true)
{
return
HttpIO::execute(
$uri
,
,
$use_route
,
$is_internal
);
}