1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Site

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

static isCreatingAllowed (string $code, array $params)
static isFreeDomainAllowed (string $code, array $params)
static manageFreeDomains (bool $setActive, int $executeAfterSeconds=0)
static getFreeDomainSuspendedTime ()
static isExportAllowed ()
static isTermsFooterShow ()
static isEmailConfirmed (int $siteId)
static isPhoneConfirmed (int $siteId)
static unpublishByScannerLockPortal ()
static publishByLicenseChange ()
static checkLimitsByLicenseChange ()

Поля данных

const FREE_DOMAIN_GRACE_DAYS = 14

Защищенные статические члены

static isNew2021Tariff ()

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

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

Методы

◆ checkLimitsByLicenseChange()

checkLimitsByLicenseChange ( )
static

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

◆ getFreeDomainSuspendedTime()

getFreeDomainSuspendedTime ( )
static

Returns suspended time of free domain.

Возвращает
int

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

◆ isCreatingAllowed()

isCreatingAllowed ( string $code,
array $params )
static

Checks restriction for creating and publication site.

Аргументы
string$codeRestriction code (not used here).
array$paramsAdditional params.
Возвращает
bool

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

◆ isEmailConfirmed()

isEmailConfirmed ( int $siteId)
static

Returns true if email is successfully confirmed.

Аргументы
int$siteIdSite id.
Возвращает
bool

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

◆ isExportAllowed()

isExportAllowed ( )
static

Checks restriction for site export.

Возвращает
bool

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

◆ isFreeDomainAllowed()

isFreeDomainAllowed ( string $code,
array $params )
static

Checks restriction for free domain.

Аргументы
string$codeRestriction code (not used here).
array$paramsAdditional params.
Возвращает
bool

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

◆ isNew2021Tariff()

isNew2021Tariff ( )
staticprotected

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

◆ isPhoneConfirmed()

isPhoneConfirmed ( int $siteId)
static

Returns true if phone is successfully confirmed.

Аргументы
int$siteIdSite id.
Возвращает
bool

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

◆ isTermsFooterShow()

isTermsFooterShow ( )
static

Checks showing terms footer.

Возвращает
bool

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

◆ manageFreeDomains()

manageFreeDomains ( bool $setActive,
int $executeAfterSeconds = 0 )
static

System method for deactivate all free domains.

Аргументы
bool$setActiveSet domains and sites active / not active.
int$executeAfterSecondsDelayed execution (in seconds).
Возвращает
void

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

◆ publishByLicenseChange()

publishByLicenseChange ( )
static

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

◆ unpublishByScannerLockPortal()

unpublishByScannerLockPortal ( )
static

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

Поля

◆ FREE_DOMAIN_GRACE_DAYS

const FREE_DOMAIN_GRACE_DAYS = 14

Allowed days for use free domain after downgrade plan.

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


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