|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct (Application $application) | |
| initialize (Request $request, Response $response, Server $server, array $params=[]) | |
| getEnvironment () | |
| getResponse () | |
| setResponse (Response $response) | |
| getRequest () | |
| getServer () | |
| getApplication () | |
| getCulture () | |
| getLanguage () | |
| getLanguageObject () | |
| getSite () | |
| getSiteObject () | |
| setCulture (Context\Culture $culture) | |
| setLanguage ($language) | |
| setSite ($site) | |
Открытые статические члены | |
| static | getCurrent () |
Защищенные данные | |
| $application | |
| $response | |
| $request | |
| $server | |
| $language | |
| $site | |
| $env | |
| $culture | |
| $params | |
Context of current request.
См. определение в файле context.php строка 15
| __construct | ( | Application | $application | ) |
Creates new instance of context.
| Application | $application |
См. определение в файле context.php строка 49
| getApplication | ( | ) |
Returns backreference to Application.
См. определение в файле context.php строка 126
| getCulture | ( | ) |
Returns culture of the context.
См. определение в файле context.php строка 136
|
static |
Static method returns current instance of context.
См. определение в файле context.php строка 239
| getEnvironment | ( | ) |
См. определение в файле context.php строка 70
| getLanguage | ( | ) |
Returns current language ID (en, ru).
См. определение в файле context.php строка 146
| getLanguageObject | ( | ) |
Returns current language object.
См. определение в файле context.php строка 156
| getRequest | ( | ) |
Returns request object of the context.
См. определение в файле context.php строка 106
| getResponse | ( | ) |
Returns response object of the context.
См. определение в файле context.php строка 84
| getServer | ( | ) |
Returns server object of the context.
См. определение в файле context.php строка 116
| getSite | ( | ) |
| getSiteObject | ( | ) |
Returns current language object.
См. определение в файле context.php строка 176
Initializes context by request and response objects.
| Request | $request | |
| Response | $response | |
| Server | $server | |
| array | $params |
См. определение в файле context.php строка 62
| setCulture | ( | Context\Culture | $culture | ) |
Sets culture of the context.
| \Bitrix\Main\Context\Culture | $culture |
См. определение в файле context.php строка 187
| setLanguage | ( | $language | ) |
Sets language of the context.
| string | Localization\EO_Language | $language |
См. определение в файле context.php строка 199
| setResponse | ( | Response | $response | ) |
Sets response of the context.
| Response | $response | Response. |
См. определение в файле context.php строка 95
| setSite | ( | $site | ) |
Sets site of the context.
| string | EO_Site | $site |
См. определение в файле context.php строка 219
|
protected |
См. определение в файле context.php строка 18
|
protected |
См. определение в файле context.php строка 39
|
protected |
См. определение в файле context.php строка 36
|
protected |
См. определение в файле context.php строка 30
|
protected |
См. определение в файле context.php строка 42
|
protected |
См. определение в файле context.php строка 24
|
protected |
См. определение в файле context.php строка 21
|
protected |
См. определение в файле context.php строка 27
|
protected |
См. определение в файле context.php строка 33