contentbox.models.system

Class EmailTemplateService

lucee.Component
    extended by contentbox.models.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

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    any moduleSettings


    • access = public
    • returntype = any
    • inject = coldbox:setting:modules
    true false
    string templatesPath


    • access = public
    • returntype = any
    true false
    Constructor Summary
    init()
    Method Summary
    string getLog()
    string getModuleSettings()
    query getTemplates()
         Get installed templates.
    string getTemplatesPath()
    any onDIComplete()
         onDIComplete.
    any setLog(any log)
    any setModuleSettings(any moduleSettings)
    any setTemplatesPath(string templatesPath)
    boolean templateExists(string name)
         Check if template exists.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    moduleSettings

    property any moduleSettings

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:setting:modules
    serializable - true

    templatesPath

    property string templatesPath

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getLog

    public string getLog()


    getModuleSettings

    public string getModuleSettings()


    getTemplates

    public query getTemplates()

    Get installed templates


    getTemplatesPath

    public string getTemplatesPath()


    onDIComplete

    public any onDIComplete()

    onDIComplete


    setLog

    public any setLog(any log)

    Parameters:
    log

    setModuleSettings

    public any setModuleSettings(any moduleSettings)

    Parameters:
    moduleSettings

    setTemplatesPath

    public any setTemplatesPath(string templatesPath)

    Parameters:
    templatesPath

    templateExists

    public boolean templateExists(string name)

    Check if template exists

    Parameters:
    name