class TemplatesResponseHandler

Class TemplatesResponseHandler is used to retrieve template data

Methods

__construct(TemplatesManager $TemplatesManager, Framework $Framework)

No description

Redirect
executeStore(array $input)

Executes store template method in TemplatesManager and properly handles the response.

Redirect
executeUpdate(string $templatePath, array $input)

Executes update template method in TemplatesManager and handles the response accordingly.

Redirect
executeDestroy(string $templatePath)

Executes destroy template method in TemplatesManager and properly handles the response.

Redirect
executeVariableStore($templatePath, $input)

Executes store variable method from TemplatesManager

Details

at line 14
__construct(TemplatesManager $TemplatesManager, Framework $Framework)

Parameters

TemplatesManager $TemplatesManager
Framework $Framework

at line 27
Redirect executeStore(array $input)

Executes store template method in TemplatesManager and properly handles the response.

Parameters

array $input

Return Value

Redirect

at line 50
Redirect executeUpdate(string $templatePath, array $input)

Executes update template method in TemplatesManager and handles the response accordingly.

Parameters

string $templatePath Path to template
array $input

Return Value

Redirect

at line 71
Redirect executeDestroy(string $templatePath)

Executes destroy template method in TemplatesManager and properly handles the response.

Parameters

string $templatePath

Return Value

Redirect

at line 89
Redirect executeVariableStore($templatePath, $input)

Executes store variable method from TemplatesManager

Parameters

$templatePath
$input

Return Value

Redirect