updateEmailTemplateHtml example



    /** * Decorates and updates html mail templates in s_core_config_mails * * @param string $name * @param string $contentHtml */
    private function updateTemplateHtml($name$contentHtml)
    {
        $contentHtml = $this->convertTemplateHtml($contentHtml);
        $this->updateEmailTemplateHtml($name$contentHtml);
    }

    /** * Updates the HTML content in s_core_config_mails * * @param string $name * @param string $contentHtml */
    private function updateEmailTemplateHtml($name$contentHtml)
    {
        $sql = <<<SQL
Home | Imprint | This part of the site doesn't use cookies.