CAllLang extends CAllSite
Table of Contents
Properties
- $LAST_ERROR : mixed
- $MAIN_LANGS_ADMIN_CACHE : mixed
- $MAIN_LANGS_CACHE : mixed
Methods
- Add() : mixed
- CheckFields() : mixed
- Delete() : mixed
- GetArrayByID() : mixed
- GetByID() : mixed
- GetCurTemplate() : mixed
- GetDateFormat() : mixed
- GetDefaultNameFormat() : string
- Returns default name template By default: Russian #LAST_NAME# #NAME#, English #NAME# #LAST_NAME#
- GetDefList() : mixed
- GetDefSite() : mixed
- GetList() : mixed
- GetNameFormat() : string
- Returns current name template
- GetNameTemplates() : mixed
- GetSiteByFullPath() : mixed
- GetSiteDocRoot() : mixed
- GetTemplateList() : EO_SiteTemplate_Result
- GetTimeFormat() : mixed
- GetWeekStart() : mixed
- InDir() : mixed
- InGroup() : mixed
- InPeriod() : mixed
- IsDistinctDocRoots() : mixed
- SaveDomains() : mixed
- SelectBox() : mixed
- SelectBoxMulti() : mixed
- Update() : mixed
Properties
$LAST_ERROR
public
mixed
$LAST_ERROR
$MAIN_LANGS_ADMIN_CACHE
public
static mixed
$MAIN_LANGS_ADMIN_CACHE
= []
$MAIN_LANGS_CACHE
public
static mixed
$MAIN_LANGS_CACHE
= []
Methods
Add()
public
Add(mixed $arFields) : mixed
Parameters
- $arFields : mixed
CheckFields()
public
CheckFields(mixed $arFields[, mixed $ID = false ]) : mixed
Parameters
- $arFields : mixed
- $ID : mixed = false
Delete()
public
static Delete(mixed $ID) : mixed
Parameters
- $ID : mixed
GetArrayByID()
public
static GetArrayByID(mixed $ID) : mixed
Parameters
- $ID : mixed
GetByID()
public
static GetByID(mixed $ID) : mixed
Parameters
- $ID : mixed
GetCurTemplate()
public
static GetCurTemplate() : mixed
GetDateFormat()
public
static GetDateFormat([mixed $type = "FULL" ][, mixed $lang = false ][, mixed $bSearchInSitesOnly = false ]) : mixed
Parameters
- $type : mixed = "FULL"
- $lang : mixed = false
- $bSearchInSitesOnly : mixed = false
GetDefaultNameFormat()
Returns default name template By default: Russian #LAST_NAME# #NAME#, English #NAME# #LAST_NAME#
public
static GetDefaultNameFormat() : string
Return values
string —- one of two possible default values
GetDefList()
public
static GetDefList() : mixed
GetDefSite()
public
static GetDefSite([mixed $LID = false ]) : mixed
Parameters
- $LID : mixed = false
GetList()
public
static GetList([mixed $by = "sort" ][, mixed $order = "asc" ][, mixed $arFilter = [] ]) : mixed
Parameters
- $by : mixed = "sort"
- $order : mixed = "asc"
- $arFilter : mixed = []
GetNameFormat()
Returns current name template
public
static GetNameFormat([mixed $dummy = null ][, string $site_id = "" ]) : string
If site is not defined - will look for name template for current language. If there is no value for language - returns pre-defined value @param null $dummy Unused
Parameters
- $dummy : mixed = null
- $site_id : string = ""
-
- use to get value for the specific site
Tags
Return values
string —ex: #LAST_NAME# #NAME#
GetNameTemplates()
public
static GetNameTemplates() : mixed
GetSiteByFullPath()
public
static GetSiteByFullPath(mixed $path[, mixed $bOneResult = true ]) : mixed
Parameters
- $path : mixed
- $bOneResult : mixed = true
GetSiteDocRoot()
public
static GetSiteDocRoot(mixed $site) : mixed
Use SiteTable::getDocumentRoot()
Parameters
- $site : mixed
GetTemplateList()
public
static GetTemplateList(mixed $site_id) : EO_SiteTemplate_Result
Parameters
- $site_id : mixed
Return values
EO_SiteTemplate_ResultGetTimeFormat()
public
static GetTimeFormat([mixed $lang = false ][, mixed $bSearchInSitesOnly = false ]) : mixed
Parameters
- $lang : mixed = false
- $bSearchInSitesOnly : mixed = false
GetWeekStart()
public
static GetWeekStart() : mixed
Use Context culture.
InDir()
public
static InDir(mixed $strDir) : mixed
Parameters
- $strDir : mixed
InGroup()
public
static InGroup(mixed $arGroups) : mixed
Parameters
- $arGroups : mixed
InPeriod()
public
static InPeriod(mixed $iUnixTimestampFrom, mixed $iUnixTimestampTo) : mixed
Parameters
- $iUnixTimestampFrom : mixed
- $iUnixTimestampTo : mixed
IsDistinctDocRoots()
public
static IsDistinctDocRoots([mixed $arFilter = [] ]) : mixed
Parameters
- $arFilter : mixed = []
SaveDomains()
public
static SaveDomains(mixed $LID, mixed $domains) : mixed
Parameters
- $LID : mixed
- $domains : mixed
SelectBox()
public
static SelectBox(mixed $sFieldName, mixed $sValue[, mixed $sDefaultValue = "" ][, mixed $sFuncName = "" ][, mixed $field = "class=\"typeselect\"" ]) : mixed
Parameters
- $sFieldName : mixed
- $sValue : mixed
- $sDefaultValue : mixed = ""
- $sFuncName : mixed = ""
- $field : mixed = "class=\"typeselect\""
SelectBoxMulti()
public
static SelectBoxMulti(mixed $sFieldName, mixed $Value) : mixed
Parameters
- $sFieldName : mixed
- $Value : mixed
Update()
public
Update(mixed $ID, mixed $arFields) : mixed
Parameters
- $ID : mixed
- $arFields : mixed