Documentation

setCulture

 public
\Bitrix\Main\Context::setCulture(
 \Bitrix\Main\Context\Culture $culture
);

This non-static method sets regional and cultural settings for context.

Parameters

ParameterDescriptionVersion
$cultureRegional settings

Examples



© «Bitrix24», 2001-2022
Up