railo-context.Componentcontentbox.model.system.EmailTemplateService
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp 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
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
log
|
true
|
false
|
|
any
|
moduleSettings
|
true
|
false
|
|
string
|
templatesPath
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
string
|
getLog()
|
string
|
getModuleSettings()
|
string
|
getTemplateCode(string name)
Get template code. |
query
|
getTemplates()
Get installed templates. |
string
|
getTemplatesPath()
|
any
|
onDIComplete()
onDIComplete. |
EmailTemplateService
|
saveTemplateCode(string name, string code)
Save template code. |
any
|
setLog(any log)
|
any
|
setModuleSettings(any moduleSettings)
|
any
|
setTemplatesPath(string templatesPath)
|
boolean
|
templateExists(string name)
Check if template exists. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
required
- falseinject
- logbox:logger:{this}serializable
- truerequired
- falseinject
- coldbox:setting:modulesserializable
- truerequired
- falseserializable
- trueMethod Detail |
---|
Get template code
name
Get installed templates
onDIComplete
Save template code
name
code
log
moduleSettings
templatesPath
Check if template exists
name