com\setasign\SetaSite\Module\DefaultModules\Redirect\Controller

Redirect Class Redirect

File: /SetaSite/src/Module/DefaultModules/Redirect/Controller/Redirect.php

Class hierarchy

Implements

Summary

Properties

$response

protected ?\Psr\Http\Message\ResponseInterface \com\setasign\SetaFramework\Controller\AbstractController::$response

Methods

getParam()

public \com\setasign\SetaFramework\Controller\AbstractController::getParam (
string $name,
mixed $default = null
): ?mixed

Returns a param if it exists otherwise this will return $default

Parameters
$name: string
 
$default: mixed
 

getParams()

Get all existing params

getResponse()

public \com\setasign\SetaFramework\Controller\AbstractController::getResponse (
void
): \Psr\Http\Message\ResponseInterface

indexAction()

public Redirect::indexAction (
void
): void

renderView()

setParam()

Sets a param

Parameters
$name: string
 
$value: mixed
 

setParams()

Set a array of params

Note: The params will be merged with the existing params!!

Parameters
$params: array