本文整理汇总了PHP中EmailTemplate::updateEmailTemplates方法的典型用法代码示例。如果您正苦于以下问题:PHP EmailTemplate::updateEmailTemplates方法的具体用法?PHP EmailTemplate::updateEmailTemplates怎么用?PHP EmailTemplate::updateEmailTemplates使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EmailTemplate
的用法示例。
在下文中一共展示了EmailTemplate::updateEmailTemplates方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ClientsLogin
<?php
require_once '../common/config/config.inc.php';
require_once SOURCE_ROOT . 'classes/class.email_template.php';
require_once '../classes/class.clients_login.php';
$objClientLogin = new ClientsLogin();
$objClientLogin->isValidClients();
//CREATING THE CLASS OBJECTS FOR INCLUDING CLASS FILES
$objEmailTemplate = new EmailTemplate();
$return = $objEmailTemplate->updateEmailTemplates($_POST);
if ($return && $_POST[type] == 'registration') {
$objCore->setSuccessMsg(EMAIL_SUCCESS_MESSAGE);
$objCore->standardRedirect('registration_mail.php');
}
if ($return && $_POST[type] == 'forgot_password_mail') {
$objCore->setSuccessMsg(EMAIL_SUCCESS_MESSAGE);
$objCore->standardRedirect('forgot_password_mail.php');
}
if ($return && $_POST[type] == 'order_mail') {
$objCore->setSuccessMsg(EMAIL_SUCCESS_MESSAGE);
$objCore->standardRedirect('order_mail.php');
}
if ($return && $_POST[type] == 'change_password_mail') {
$objCore->setSuccessMsg(EMAIL_SUCCESS_MESSAGE);
$objCore->standardRedirect('change_password_mail.php');
}
// SET SUCCESS DELETE MESSAGE.
//