TranslatorAwareInterface

Known implementers

Omeka\Form\View\Helper\FormAsset , Omeka\Form\View\Helper\FormCkeditor , Omeka\Form\View\Helper\FormCkeditorInline , Omeka\Form\View\Helper\FormColorPicker , Omeka\Form\View\Helper\FormRecaptcha , Omeka\Form\View\Helper\FormRestoreTextarea , Zend\Form\View\Helper\AbstractHelper , Zend\Form\View\Helper\FormInput , Zend\Form\View\Helper\FormText , Zend\Form\View\Helper\FormTextarea , Zend\I18n\View\Helper\AbstractTranslatorHelper

Methods Summary
public
# setTranslator( Zend\I18n\Translator\TranslatorInterface $translator = NULL, string $textDomain = NULL )
Sets translator to use in helper
public
# getTranslator( )
Returns translator used in object
public
# hasTranslator( )
Checks if the object has a translator
public
# setTranslatorEnabled( bool $enabled = true )
Sets whether translator is enabled and should be used
public
# isTranslatorEnabled( )
Returns whether translator is enabled and should be used
public
# setTranslatorTextDomain( string $textDomain = 'default' )
Set translation text domain
public
# getTranslatorTextDomain( )
Return the translation text domain