PHP Class Devise\Templates\TemplatesResponseHandler

Datei anzeigen Open project: devisephp/cms

Protected Properties

Property Type Description
$TemplatesManager

Public Methods

Method Description
__construct ( TemplatesManager $TemplatesManager, TemplatesCleaner $TemplatesCleaner, Framework $Framework )
executeDestroy ( string $templatePath ) : Redirect Executes destroy template method in TemplatesManager and properly handles the response.
executeFieldCleanup ( string $templatePath ) : Redirect Executes cleanOldTemplateFields in TemplatesManager and properly handles the response.
executeStore ( array $input ) : Redirect Executes store template method in TemplatesManager and properly handles the response.
executeUpdate ( string $templatePath, array $input ) : Redirect Executes update template method in TemplatesManager and handles the response accordingly.
executeVariableStore ( $templatePath, array $input ) : Redirect Executes store variable method from TemplatesManager

Method Details

__construct() public method

public __construct ( TemplatesManager $TemplatesManager, TemplatesCleaner $TemplatesCleaner, Framework $Framework )
$TemplatesManager TemplatesManager
$TemplatesCleaner TemplatesCleaner
$Framework Devise\Support\Framework

executeDestroy() public method

Executes destroy template method in TemplatesManager and properly handles the response.
public executeDestroy ( string $templatePath ) : Redirect
$templatePath string
return Redirect

executeFieldCleanup() public method

Executes cleanOldTemplateFields in TemplatesManager and properly handles the response.
public executeFieldCleanup ( string $templatePath ) : Redirect
$templatePath string
return Redirect

executeStore() public method

Executes store template method in TemplatesManager and properly handles the response.
public executeStore ( array $input ) : Redirect
$input array
return Redirect

executeUpdate() public method

Executes update template method in TemplatesManager and handles the response accordingly.
public executeUpdate ( string $templatePath, array $input ) : Redirect
$templatePath string Path to template
$input array
return Redirect

executeVariableStore() public method

Executes store variable method from TemplatesManager
public executeVariableStore ( $templatePath, array $input ) : Redirect
$input array
return Redirect

Property Details

$TemplatesManager protected_oe property

protected $TemplatesManager