Yaf_Controller_Abstract
PHP 手册

Yaf_Controller_Abstract::redirect

(Yaf >=1.0.0)

Yaf_Controller_Abstract::redirectRedirect to a URL

说明

public bool Yaf_Controller_Abstract::redirect ( string $url )

redirect to a URL by sending a 302 header

参数

url

a location URL

返回值

bool


Yaf_Controller_Abstract
PHP 手册