ContentBox Core API 1.5.7

contentbox.model.system
Class EmailTemplateService

WEB-INF.cftags.component
        extended by contentbox.model.system.EmailTemplateService

public class EmailTemplateService
extends WEB-INF.cftags.component

******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ******************************************************************************* Manage the system's email templates for admin purposes


Constructor Summary
init()
 
Method Summary
 any GETLOG()
 any GETMODULESETTINGS()
 string GETTEMPLATESPATH()
 void SETLOG(any log)
 void SETMODULESETTINGS(any moduleSettings)
 void SETTEMPLATESPATH(string templatesPath)
 string getTemplateCode(string name)
          Get template code
 query getTemplates()
          Get installed templates
 any onDIComplete()
          onDIComplete
 EmailTemplateService saveTemplateCode(string name, string code)
          Save template code
 boolean templateExists(string name)
          Check if template exists
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()

Method Detail

GETLOG

public any GETLOG()


GETMODULESETTINGS

public any GETMODULESETTINGS()


GETTEMPLATESPATH

public string GETTEMPLATESPATH()


SETLOG

public void SETLOG(any log)

Parameters:
log

SETMODULESETTINGS

public void SETMODULESETTINGS(any moduleSettings)

Parameters:
moduleSettings

SETTEMPLATESPATH

public void SETTEMPLATESPATH(string templatesPath)

Parameters:
templatesPath

getTemplateCode

public string getTemplateCode(string name)
Get template code

Parameters:
name

getTemplates

public query getTemplates()
Get installed templates


onDIComplete

public any onDIComplete()
onDIComplete


saveTemplateCode

public EmailTemplateService saveTemplateCode(string name, string code)
Save template code

Parameters:
name
code

templateExists

public boolean templateExists(string name)
Check if template exists

Parameters:
name

ContentBox Core API 1.5.7