Свойство | Type | Description | |
---|---|---|---|
$configResolver | |||
$localeConverter | |||
$suffixes | |||
$translator |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\Translation\TranslatorInterface $translator, array $suffixes, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverterInterface $localeConverter ) | ||
getFilters ( ) : array | Returns a list of filters to add to the existing list. | |
getName ( ) : string | Returns the name of the extension. | |
sizeFilter ( integer $number, integer $precision ) : string | Returns the binary file size, $precision will determine the decimal number precision, and the Locale will alter the format of the result by choosing between coma or point pattern. |
Méthode | Description | |
---|---|---|
getLocale ( ) |
public __construct ( Symfony\Component\Translation\TranslatorInterface $translator, array $suffixes, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverterInterface $localeConverter ) | ||
$translator | Symfony\Component\Translation\TranslatorInterface | |
$suffixes | array | |
$configResolver | eZ\Publish\Core\MVC\ConfigResolverInterface | |
$localeConverter | eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverterInterface |
public getFilters ( ) : array | ||
Résultat | array | An array of filters |