lib/ezi18n/classes/eztranslatormanager.php

Show: inherited
Table of Contents

File containing the eZTranslatorManager class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZTranslatorManager

Package: lib

File containing the eZTranslatorManager class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  DYNAMIC_TRANSLATIONS_ENABLED = 'eZTMDynamicTranslationsEnabled'

Properties

Propertypublic  $Handlers= ''
Details
Type
n/a

Methods

methodpubliccreateKey(  $context,  $source,  $comment = null ) : void
static

Parameters
Name Type Description
$context
$source
$comment
methodpubliccreateMessage(  $context,  $source,  $comment = null,  $translation = null ) : void
static

Parameters
Name Type Description
$context
$source
$comment
$translation
methodpublicdynamicTranslationsEnabled( ) : void
static

methodpubliceZTranslatorManager( ) : void

methodpublicenableDynamicTranslations(  $enable = true ) : void
static

Parameters
Name Type Description
$enable
methodpublicfindKey(  $key ) : void

Parameters
Name Type Description
$key
methodpublicfindMessage(  $context,  $source,  $comment = null ) : void

Parameters
Name Type Description
$context
$source
$comment
methodpublicinstance( ) : \eZTranslatorManager
static

Returns a shared instance of the eZTranslatorManager class.

Returns
Type Description
\eZTranslatorManager
methodpublickeyTranslate(  $key ) : void

Parameters
Name Type Description
$key
methodpublicregisterHandler(  $handler ) : void
static

Parameters
Name Type Description
$handler
methodpublicresetGlobals( ) : void
static

methodpublicresetTranslations( ) : void
static

methodpublicsetActiveTranslation(  $locale,  $permanently = true ) : void
static

Parameters
Name Type Description
$locale
$permanently
methodpublictranslate(  $context,  $source,  $comment = null ) : void

Parameters
Name Type Description
$context
$source
$comment
Documentation was generated by DocBlox 0.18.1.