1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CAllSite
Граф наследования:CAllSite:
CAllLang CSite CLang

Открытые члены

 CheckFields ($arFields, $ID=false)
 Add ($arFields)
 Update ($ID, $arFields)

Открытые статические члены

static InDir ($strDir)
static InPeriod ($iUnixTimestampFrom, $iUnixTimestampTo)
static InGroup ($arGroups)
static GetWeekStart ()
static GetDateFormat ($type="FULL", $lang=false, $bSearchInSitesOnly=false)
static GetTimeFormat ($lang=false, $bSearchInSitesOnly=false)
static SaveDomains ($LID, $domains)
static Delete ($ID)
static GetTemplateList ($site_id)
static GetDefList ()
static GetSiteDocRoot ($site)
static GetSiteByFullPath ($path, $bOneResult=true)
static GetList ($by="sort", $order="asc", $arFilter=[])
static GetByID ($ID)
static GetArrayByID ($ID)
static GetDefSite ($LID=false)
static IsDistinctDocRoots ($arFilter=[])
static SelectBox ($sFieldName, $sValue, $sDefaultValue="", $sFuncName="", $field="class=\"typeselect\"")
static SelectBoxMulti ($sFieldName, $Value)
static GetNameTemplates ()
static GetNameFormat ($dummy=null, $site_id="")
static GetDefaultNameFormat ()
static GetCurTemplate ()

Поля данных

 $LAST_ERROR

Статические открытые данные

static $MAIN_LANGS_CACHE = []
static $MAIN_LANGS_ADMIN_CACHE = []

Подробное описание

См. определение в файле site.php строка 18

Методы

◆ Add()

Add ( $arFields)

См. определение в файле site.php строка 321

◆ CheckFields()

CheckFields ( $arFields,
$ID = false )

@global CMain $APPLICATION

См. определение в файле site.php строка 147

◆ Delete()

Delete ( $ID)
static

@global CMain $APPLICATION

См. определение в файле site.php строка 465

◆ GetArrayByID()

GetArrayByID ( $ID)
static

См. определение в файле site.php строка 754

◆ GetByID()

GetByID ( $ID)
static

См. определение в файле site.php строка 749

◆ GetCurTemplate()

GetCurTemplate ( )
static

@noinspection PhpUnusedLocalVariableInspection

См. определение в файле site.php строка 937

◆ GetDateFormat()

GetDateFormat ( $type = "FULL",
$lang = false,
$bSearchInSitesOnly = false )
static

См. определение в файле site.php строка 65

◆ GetDefaultNameFormat()

GetDefaultNameFormat ( )
static

Returns default name template By default: Russian #LAST_NAME# #NAME#, English #NAME# #LAST_NAME#

Возвращает
string - one of two possible default values

См. определение в файле site.php строка 932

◆ GetDefList()

GetDefList ( )
static

См. определение в файле site.php строка 549

◆ GetDefSite()

GetDefSite ( $LID = false)
static

См. определение в файле site.php строка 760

◆ GetList()

GetList ( $by = "sort",
$order = "asc",
$arFilter = [] )
static

См. определение в файле site.php строка 605

◆ GetNameFormat()

GetNameFormat ( $dummy = null,
$site_id = "" )
static

Returns current name template

If site is not defined - will look for name template for current language. If there is no value for language - returns pre-defined value

Аргументы
null$dummyUnused
string$site_id- use to get value for the specific site
Возвращает
string ex: #LAST_NAME# #NAME#
См. также
CSite::GetDefaultNameFormat FORMAT_NAME constant can be set in dbconn.php

См. определение в файле site.php строка 878

◆ GetNameTemplates()

GetNameTemplates ( )
static

См. определение в файле site.php строка 848

◆ GetSiteByFullPath()

GetSiteByFullPath ( $path,
$bOneResult = true )
static

См. определение в файле site.php строка 562

◆ GetSiteDocRoot()

GetSiteDocRoot ( $site)
static

См. определение в файле site.php строка 557

◆ GetTemplateList()

GetTemplateList ( $site_id)
static
Аргументы
$site_id
Возвращает
Main\EO_SiteTemplate_Result

См. определение в файле site.php строка 540

◆ GetTimeFormat()

GetTimeFormat ( $lang = false,
$bSearchInSitesOnly = false )
static

См. определение в файле site.php строка 140

◆ GetWeekStart()

GetWeekStart ( )
static

См. определение в файле site.php строка 60

◆ InDir()

InDir ( $strDir)
static

@global CMain $APPLICATION

См. определение в файле site.php строка 25

◆ InGroup()

InGroup ( $arGroups)
static

См. определение в файле site.php строка 46

◆ InPeriod()

InPeriod ( $iUnixTimestampFrom,
$iUnixTimestampTo )
static

См. определение в файле site.php строка 32

◆ IsDistinctDocRoots()

IsDistinctDocRoots ( $arFilter = [])
static

См. определение в файле site.php строка 780

◆ SaveDomains()

SaveDomains ( $LID,
$domains )
static

См. определение в файле site.php строка 286

◆ SelectBox()

SelectBox ( $sFieldName,
$sValue,
$sDefaultValue = "",
$sFuncName = "",
$field = "class=\"typeselect\"" )
static

См. определение в файле site.php строка 798

◆ SelectBoxMulti()

SelectBoxMulti ( $sFieldName,
$Value )
static

См. определение в файле site.php строка 821

◆ Update()

Update ( $ID,
$arFields )

См. определение в файле site.php строка 391

Поля

◆ $LAST_ERROR

$LAST_ERROR

См. определение в файле site.php строка 23

◆ $MAIN_LANGS_ADMIN_CACHE

$MAIN_LANGS_ADMIN_CACHE = []
static

См. определение в файле site.php строка 21

◆ $MAIN_LANGS_CACHE

$MAIN_LANGS_CACHE = []
static

См. определение в файле site.php строка 20


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/main/classes/general/site.php