db
PreHandleResult Class Reference

Public Member Functions

 isInternalRedirect ()
 
 isExternalRedirect ()
 
 getRedirectAddress ()
 
 getControllerId ()
 
 getParameters ()
 
 getMethodName ()
 
 getLocale ()
 

Static Public Member Functions

static getInternalRedirect ($controllerId, array $parameters=[], $methodName=NULL, Locale $locale=NULL)
 
static getExternalRedirect ($redirectAddress)
 

Protected Attributes

 $redirectAddress = NULL
 
 $controllerId = NULL
 
 $parameters = NULL
 
 $methodName = NULL
 
 $locale = NULL
 

Detailed Description

Result of prehandle function in Intereceptor

Member Function Documentation

◆ getControllerId()

getControllerId ( )

◆ getExternalRedirect()

static getExternalRedirect (   $redirectAddress)
static

creates redirect to possibly external address or static site

Parameters
type$redirectAddress
Returns
PreHandleResult

◆ getInternalRedirect()

static getInternalRedirect (   $controllerId,
array  $parameters = [],
  $methodName = NULL,
Locale  $locale = NULL 
)
static

creates redirect to some internal controller

Parameters
string$controllerId
array$parameters
string$methodName
Locale$locale
Returns
PreHandleResult

◆ getLocale()

getLocale ( )

◆ getMethodName()

getMethodName ( )

◆ getParameters()

getParameters ( )

◆ getRedirectAddress()

getRedirectAddress ( )

◆ isExternalRedirect()

isExternalRedirect ( )
Returns
boolean if redirect is requested

◆ isInternalRedirect()

isInternalRedirect ( )
Returns
boolean if redirect is requested

Member Data Documentation

◆ $controllerId

$controllerId = NULL
protected

◆ $locale

$locale = NULL
protected

◆ $methodName

$methodName = NULL
protected

◆ $parameters

$parameters = NULL
protected

◆ $redirectAddress

$redirectAddress = NULL
protected

The documentation for this class was generated from the following file: