Path

ez components / documentation / api reference / 2009.1.1 / mvctools


eZ Components 2009.1.1

MvcTools: ezcMvcExternalRedirect

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMvcExternalRedirect

This result type is used to force an external redirect [source]

Implemented Interfaces

Member Variables

public string $location
The location where to re-direct to.

Method Summary

public ezcMvcExternalRedirect __construct( [$location = '/'] )
Constructs an ezcMvcExternalRedirect object to re-direct to $location
public void process( $writer )
Uses the passed in $writer to set the proper location header.

Methods

__construct

ezcMvcExternalRedirect __construct( [string $location = '/'] )
Constructs an ezcMvcExternalRedirect object to re-direct to $location

Parameters

Name Type Description
$location string  

process

void process( ezcMvcResponseWriter $writer )
Uses the passed in $writer to set the proper location header.

Parameters

Name Type Description
$writer ezcMvcResponseWriter  

Last updated: Mon, 27 Jul 2009