# CSite

URL: https://chugunov.pro/api-bitrix/global/csite/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс `\CSite`
Модуль: Глобальные классы.

Исходный файл: `source/main/classes/general/site.php:990`

## Свойства (3)

- `$$LAST_ERROR`
- `static $$MAIN_LANGS_ADMIN_CACHE`
- `static $$MAIN_LANGS_CACHE`

## Методы (26)

- [`Add()`](https://chugunov.pro/api-bitrix/global/csite/add/)
- [`CheckFields()`](https://chugunov.pro/api-bitrix/global/csite/checkfields/)
- [`static Delete()`](https://chugunov.pro/api-bitrix/global/csite/delete/)
- [`static GetArrayByID()`](https://chugunov.pro/api-bitrix/global/csite/getarraybyid/)
- [`static GetByID()`](https://chugunov.pro/api-bitrix/global/csite/getbyid/)
- [`static GetCurTemplate()`](https://chugunov.pro/api-bitrix/global/csite/getcurtemplate/)
- [`static GetDateFormat()`](https://chugunov.pro/api-bitrix/global/csite/getdateformat/)
- [`static GetDefaultNameFormat()`](https://chugunov.pro/api-bitrix/global/csite/getdefaultnameformat/) — Возвращает шаблон имени по умолчанию. По умолчанию: русский #LAST_NAME# #NAME#, английский #NAME# #LAST_NAME#
- [`static GetDefList()`](https://chugunov.pro/api-bitrix/global/csite/getdeflist/)
- [`static GetDefSite()`](https://chugunov.pro/api-bitrix/global/csite/getdefsite/)
- [`static GetList()`](https://chugunov.pro/api-bitrix/global/csite/getlist/)
- [`static GetNameFormat()`](https://chugunov.pro/api-bitrix/global/csite/getnameformat/) — Возвращает текущий шаблон имени
- [`static GetNameTemplates()`](https://chugunov.pro/api-bitrix/global/csite/getnametemplates/)
- [`static GetSiteByFullPath()`](https://chugunov.pro/api-bitrix/global/csite/getsitebyfullpath/)
- [`static GetSiteDocRoot()`](https://chugunov.pro/api-bitrix/global/csite/getsitedocroot/) (устаревший)
- [`static GetTemplateList()`](https://chugunov.pro/api-bitrix/global/csite/gettemplatelist/)
- [`static GetTimeFormat()`](https://chugunov.pro/api-bitrix/global/csite/gettimeformat/)
- [`static GetWeekStart()`](https://chugunov.pro/api-bitrix/global/csite/getweekstart/) (устаревший)
- [`static InDir()`](https://chugunov.pro/api-bitrix/global/csite/indir/)
- [`static InGroup()`](https://chugunov.pro/api-bitrix/global/csite/ingroup/)
- [`static InPeriod()`](https://chugunov.pro/api-bitrix/global/csite/inperiod/)
- [`static IsDistinctDocRoots()`](https://chugunov.pro/api-bitrix/global/csite/isdistinctdocroots/)
- [`static SaveDomains()`](https://chugunov.pro/api-bitrix/global/csite/savedomains/)
- [`static SelectBox()`](https://chugunov.pro/api-bitrix/global/csite/selectbox/)
- [`static SelectBoxMulti()`](https://chugunov.pro/api-bitrix/global/csite/selectboxmulti/)
- [`Update()`](https://chugunov.pro/api-bitrix/global/csite/update/)

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/CSite.html
