PHP 클래스 Mlp_Redirect_Response

상속: implements Mlp_Redirect_Response_Interface
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__construct ( Mlp_Language_Negotiation_Interface $negotiation ) Constructor.
redirect ( ) : boolean Redirects if needed.

비공개 메소드들

메소드 설명
save_session ( string $language ) : void Saves the given language to the noredirect data in the $_SESSION superglobal.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Mlp_Language_Negotiation_Interface $negotiation )
$negotiation Mlp_Language_Negotiation_Interface Language negotiation object.

redirect() 공개 메소드

Redirects if needed.
public redirect ( ) : boolean
리턴 boolean