GoLang Yaf_Controller_Abstract::redirect

request it (93)
GoLang replacement for PHP's Yaf_Controller_Abstract::redirect [edit | history]



Do you know a GoLang replacement for PHP's Yaf_Controller_Abstract::redirect? Write it!

PHP Yaf_Controller_Abstract::redirect

PHP original manual for Yaf_Controller_Abstract::redirect [ show | php.net ]

Yaf_Controller_Abstract::redirect

(Yaf >=1.0.0)

Yaf_Controller_Abstract::redirectRedirect to a URL

Description

public bool Yaf_Controller_Abstract::redirect ( string $url )

redirect to a URL by sending a 302 header

Parameters

url

a location URL

Return Values

bool