updateEmailTemplate example


    private function updateTemplate($name$content$contentHtml = null)
    {
        $content = $this->convertTemplatePlain($content);

        if ($contentHtml) {
            $contentHtml = $this->convertTemplateHtml($contentHtml);
        }

        $this->updateEmailTemplate($name$content$contentHtml);
    }

    /** * Helper method to update the translations of a mail template * * @param string $name * @param string $content * @param string $contentHtml */
    private function updateTranslation($name$content$contentHtml = null)
    {
        
Home | Imprint | This part of the site doesn't use cookies.