PHP Class Devise\Templates\TemplatesResponseHandler

Afficher le fichier Open project: devisephp/cms

Protected Properties

Свойство Type Description
$TemplatesManager

Méthodes publiques

Méthode 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 méthode

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

executeDestroy() public méthode

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

executeFieldCleanup() public méthode

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

executeStore() public méthode

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

executeUpdate() public méthode

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
Résultat Redirect

executeVariableStore() public méthode

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

Property Details

$TemplatesManager protected_oe property

protected $TemplatesManager