Documentation
D7 API documentation
What's New
Bitrix Namespace
Modules
Main
Main module in old core
Access permissions
AccessDeniedException
Application
ArgumentException
Engine
System Components
ArgumentNullException
ArgumentOutOfRangeException
ArgumentTypeException
Authentication
Config
Context
Context constructor
getApplication
getCulture
getCurrent
getLanguage
getRequest
getResponse
getServer
getSite
initialize
setCulture
setLanguage
setResponse
setSite
Data
DB
Diag
DI
Entity
Environment
Error
ErrorCollection
EventManager
FinderDestTable
Grid
GroupTaskTable
HttpApplication
HttpRequest
HttpResponse
IO
Loader
Localization
Mail
NotImplementedException
NotSupportedException
ObjectException
ObjectNotFoundException
ObjectPropertyException
Page
Replica
Request
Result
Security
Server
Service
Session
SystemException
Text
Type
UI
UrlPreview
UrlRewriterRuleMaker
UserConsent
UserField
UserTable
UserUtils
Web
XmlWriter
File Manager
Locations
A/B testing
UI library
Workflows
Blogs
Currency
Web Messenger
Document generator
Disk
Polls and Votes
Robotic Process Automation
Sites24
Tasks
Online Store
Intranet
Information blocks
Calendar
Conversion
File conversion
External messenger connectors
Report constructor
Site controller
Recycle bin
Mobile app
Performance monitor
Open Channels
SEO
Mail
Proactive protection
Advertisements
Message Service
Social Network
Telephony
Catalog
Lists
Scale
Forum
CRM
DAV
E-mail marketing
Extranet
Highload blocks
Push and Pull
Bitrix Namespace
Main
Context
setSite (с версии 14.0.0)
setSite
public
\Bitrix\Main\Context::setSite(
string
$site
);
This non-static method sets site for context.
Parameters
Parameter
Description
Version
$site
Site
Examples
© «Bitrix24», 2001-2024
Up