Cheetah
|
Public Member Functions | |
__construct () | |
setTemplate ( $sTemplateName, $sTemplateSubj, $sTemplateBody, $iLangID) | |
getTemplate ($sTemplateName, $iMemberId=0) | |
parseTemplate ($sTemplateName, $aTemplateKeys, $iMemberId=0) | |
parseContent ($sContent, $aKeys, $iMemberId=0) | |
getDefaultKeys () | |
Public Attributes | |
$iDefaultLangId | |
Definition at line 10 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::__construct | ( | ) |
Class constructor.
Definition at line 17 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::getDefaultKeys | ( | ) |
Definition at line 126 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::getTemplate | ( | $sTemplateName, | |
$iMemberId = 0 |
|||
) |
Function will return array of needed template ;
string | $sTemplateName | - name of necessary template. |
integer | $iMemberId | - ID of registered member. |
Definition at line 81 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::parseContent | ( | $sContent, | |
$aKeys, | |||
$iMemberId = 0 |
|||
) |
Definition at line 103 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::parseTemplate | ( | $sTemplateName, | |
$aTemplateKeys, | |||
$iMemberId = 0 |
|||
) |
Definition at line 94 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::setTemplate | ( | $sTemplateName, | |
$sTemplateSubj, | |||
$sTemplateBody, | |||
$iLangID | |||
) |
Update existing or create new template ;
$sTemplateName | (string) - name of template ; |
$sTemplateSubj | (string) - subject of template ; |
$sTemplateBody | (string) - text of template ; |
$iLangID | (integer) - needed language's ID; |
Definition at line 35 of file ChWsbEmailTemplates.php.
ChWsbEmailTemplates::$iDefaultLangId |
Definition at line 12 of file ChWsbEmailTemplates.php.