PHP Class Aimeos\ShopBundle\Service\I18n

Show file Open project: aimeos/aimeos-symfony2

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\Container $container ) Initializes the context manager object
get ( array $languageIds ) : Aimeos\MW\Translation\Interface[] Creates new translation objects.

Method Details

__construct() public method

Initializes the context manager object
public __construct ( Symfony\Component\DependencyInjection\Container $container )
$container Symfony\Component\DependencyInjection\Container Container object to access parameters

get() public method

Creates new translation objects.
public get ( array $languageIds ) : Aimeos\MW\Translation\Interface[]
$languageIds array List of two letter ISO language IDs
return Aimeos\MW\Translation\Interface[] List of translation objects