ValidateThis API Documentation

ValidateThis.extras.coldbox
Class ColdBoxRBTranslator

WEB-INF.cftags.component
        extended by ValidateThis.core.BaseTranslator
            extended by ValidateThis.extras.coldbox.ColdBoxRBTranslator

public class ColdBoxRBTranslator
extends BaseTranslator

I act as a translator / adapter between ColdBox resource bundle and ValidateThis


Method Summary
 void setResourceBundle([coldbox.system.plugins.ResourceBundle resourcebundle])
          I am used to inject the ColdBox ResourceBundle
 any translate(Any translateThis, [Any locale=''])
          I translate text using the available resource bundle
 
Methods inherited from class ValidateThis.core.BaseTranslator
getDefaultLocale, getLocales, init, safeKey
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

setResourceBundle

public void setResourceBundle([coldbox.system.plugins.ResourceBundle resourcebundle])
I am used to inject the ColdBox ResourceBundle

Parameters:
resourcebundle - I am the ColdBox ResourceBundle plugin

translate

public any translate(Any translateThis, [Any locale=''])
I translate text using the available resource bundle

Overrides:
translate in class BaseTranslator
Parameters:
translateThis
locale

ValidateThis API Documentation