EmailTemplate::setView PHP Méthode

setView() public méthode

public setView ( string $view, string $controllerName = 'email', string $applicationFolder = 'dashboard' ) : EmailTemplate
$view string The view name.
$controllerName string The controller name for the view.
$applicationFolder string The application folder for the view.
Résultat EmailTemplate $this The calling object.
    public function setView($view, $controllerName = 'email', $applicationFolder = 'dashboard')
    {
        $this->view = AssetModel::viewLocation($view, $controllerName, $applicationFolder);
        return $this;
    }