|
static | getApplication () |
static | getUserInstance () |
static | getCacheManager () |
static | getUfManager () |
static | getUserId () |
static | getUserFullName () |
static | isAdmin () |
static | getOption ($code, $default=null) |
static | setOption ($code, $value) |
static | getDocRoot () |
static | getCurDir () |
static | setPageTitle ($title, $single=false) |
static | getPublicationPathConst () |
static | getPublicationPath ($siteCode=null, $siteId=null, $createPubPath=false) |
static | isAutoPublicationEnabled () |
static | setPageClass ($marker, $class) |
static | setPageView (string $marker, string $content, bool $skipTrim=false) |
static | clearPageView ($marker) |
static | getPageView ($marker) |
static | getTemplateId ($siteId=null) |
static | isTemplateIdSystem ($templateId) |
static | getMainSiteId () |
static | getRandomString (int $length) |
static | setThemeTypoId ($themeTypoId) |
static | initAssets ($lid=0) |
static | savePicture ($file, $ext=false, $params=array()) |
static | enableFeatureTmp ($feature) |
static | disableFeatureTmp ($feature) |
static | disableAllFeaturesTmp () |
static | checkMultiFeature (array $features, array $params=[]) |
static | checkFeature (string $feature, array $params=array()) |
static | getZone () |
static | getLangISO () |
static | availableOnlyForZone (string $zone) |
static | getMarketCollectionId (string $type) |
static | isHttps () |
static | isAjaxRequest () |
static | getHttpHost () |
static | getUrlFromFile ($file) |
static | getPreviewHost () |
static | getPreviewWebhook () |
static | isB24 () |
static | isB24Cloud () |
static | isB24Connector () |
static | forceB24disable ($flag) |
static | isExtendedSMN () |
static | isStoreEnabled () |
static | getRestPath () |
static | isCloudDisable () |
static | getVersion () |
static | licenseIsValid () |
static | licenseIsFreeSite (string $type) |
static | isFreePublicAllowed () |
static | sanitize ($value, &$bad=false, $splitter=' ') |
static | getDeletedLT () |
static | getExternalSiteController () |
static | resetToFree () |
static | onBitrix24LicenseChange (string $licenseType) |
static | clearCache () |
static | clearCacheForSite (int $siteId) |
static | clearCacheForLanding (int $lid) |
static | checkRepositoryVersion () |
static | getThemes () |
static | getThemesTypo () |
static | setThemeId () |
static | getThemeId () |
static | setTheme () |
См. определение в файле manager.php строка 13
◆ availableOnlyForZone()
availableOnlyForZone |
( |
string | $zone | ) |
|
|
static |
Check if something is available in current country.
- Аргументы
-
- Возвращает
- bool
См. определение в файле manager.php строка 980
◆ checkFeature()
checkFeature |
( |
string | $feature, |
|
|
array | $params = array() ) |
|
static |
Checks that the feature is enabled.
- Аргументы
-
string | $feature | Feature code. |
array | $params | Additional params array. |
- Возвращает
- boolean
См. определение в файле manager.php строка 836
◆ checkMultiFeature()
checkMultiFeature |
( |
array | $features, |
|
|
array | $params = [] ) |
|
static |
Returns true, if all of features array is enabled.
- Аргументы
-
array | $features | Feature name. |
array | $params | Params array. |
- Возвращает
- bool
См. определение в файле manager.php строка 807
◆ checkRepositoryVersion()
checkRepositoryVersion |
( |
| ) |
|
|
static |
Clear cache, if repository version and current is different.
- Возвращает
- void
См. определение в файле manager.php строка 1500
◆ clearCache()
In cloud version clear cache when tariff change
- Возвращает
- void
См. определение в файле manager.php строка 1435
◆ clearCacheForLanding()
clearCacheForLanding |
( |
int | $lid | ) |
|
|
static |
Clear cache in cloud only for one site by landing ID
- Аргументы
-
См. определение в файле manager.php строка 1473
◆ clearCacheForSite()
clearCacheForSite |
( |
int | $siteId | ) |
|
|
static |
Clear cache in cloud only for one site
- Аргументы
-
См. определение в файле manager.php строка 1460
◆ clearPageView()
Clears view by marker code.
- Аргументы
-
string | $marker | Marker code. |
- Возвращает
- void
См. определение в файле manager.php строка 493
◆ createPublicationPath()
createPublicationPath |
( |
string | $basePath, |
|
|
string | $siteId = null ) |
|
staticprotected |
Create system dir for publication sites.
- Аргументы
-
string | $basePath | Publication physical dir. |
string | null | $siteId | Main site id. |
- Возвращает
- void
См. определение в файле manager.php строка 261
◆ disableAllFeaturesTmp()
disableAllFeaturesTmp |
( |
| ) |
|
|
static |
Disable all tmp feature.
- Возвращает
- void
См. определение в файле manager.php строка 796
◆ disableFeatureTmp()
disableFeatureTmp |
( |
| $feature | ) |
|
|
static |
Disable some tmp feature.
- Аргументы
-
string | $feature | Feature code. |
- Возвращает
- void
См. определение в файле manager.php строка 784
◆ enableFeatureTmp()
enableFeatureTmp |
( |
| $feature | ) |
|
|
static |
Enable some feature for moment.
- Аргументы
-
string | $feature | Feature code. |
- Возвращает
- void
См. определение в файле manager.php строка 774
◆ forceB24disable()
Sets local flag to new state.
- Аргументы
-
boolean | $flag | Disable or not. |
- Возвращает
- void
См. определение в файле manager.php строка 1198
◆ getApplication()
Get main instance of \CMain.
- Возвращает
- \CMain
См. определение в файле manager.php строка 71
◆ getCacheManager()
Get instance of CACHE_MANAGER;
- Возвращает
- \CCacheManager
См. определение в файле manager.php строка 89
◆ getCurDir()
Returns current dir.
- Возвращает
- false|string|null
См. определение в файле manager.php строка 198
◆ getDeletedLT()
Get deleted life time days.
- Возвращает
- int
См. определение в файле manager.php строка 1368
◆ getDocRoot()
Famous document root.
- Возвращает
- string
См. определение в файле manager.php строка 180
◆ getExternalSiteController()
getExternalSiteController |
( |
| ) |
|
|
static |
Return site controller class, or pseudo.
- Возвращает
- string
См. определение в файле manager.php строка 1379
◆ getHttpHost()
Get current host.
- Возвращает
- string
См. определение в файле manager.php строка 1058
◆ getLangISO()
Returns language code by ISO 639-1.
- Возвращает
- string
См. определение в файле manager.php строка 960
◆ getMainSiteById()
getMainSiteById |
( |
string | $siteId | ) |
|
|
staticprotected |
Returns main site row by id.
- Аргументы
-
string | $siteId | Main site id. |
- Возвращает
- array|bool
См. определение в файле manager.php строка 237
◆ getMainSiteId()
Gets site id from main module.
- Возвращает
- string
См. определение в файле manager.php строка 546
◆ getMarketCollectionId()
getMarketCollectionId |
( |
string | $type | ) |
|
|
static |
Return ID for market collection, by zone
- Аргументы
-
string | $type | name of collection type |
- Возвращает
- int
См. определение в файле manager.php строка 1007
◆ getOption()
getOption |
( |
| $code, |
|
|
| $default = null ) |
|
static |
Get option from module settings.
- Аргументы
-
string | $code | Option code. |
mixed | $default | Default value. |
- Возвращает
- mixed
См. определение в файле manager.php строка 160
◆ getPageView()
Get some content from some marker.
- Аргументы
-
- Возвращает
- string
См. определение в файле manager.php строка 503
◆ getPreviewHost()
Get URL of external template preview server. Can be rewrite by LANDING_PREVIEW_URL constant.
- Возвращает
- string
См. определение в файле manager.php строка 1105
◆ getPreviewWebhook()
Get webhook to the external template preview server. Can be rewrite by LANDING_PREVIEW_WEBHOOK constant.
- Возвращает
- string
См. определение в файле manager.php строка 1120
◆ getPublicationPath()
getPublicationPath |
( |
| $siteCode = null, |
|
|
| $siteId = null, |
|
|
| $createPubPath = false ) |
|
static |
Get path for publication sites.
- Аргументы
-
string | int | $siteCode | Site id or site code. |
string | $siteId | Main site id. |
bool | $createPubPath | Create path for publication. |
- Возвращает
- string
См. определение в файле manager.php строка 401
◆ getPublicationPathConst()
getPublicationPathConst |
( |
| ) |
|
|
static |
Get constantly publication path.
- Возвращает
- string
См. определение в файле manager.php строка 383
◆ getRandomString()
getRandomString |
( |
int | $length | ) |
|
|
static |
Returns randomize string.
- Аргументы
-
- Возвращает
- string
См. определение в файле manager.php строка 556
◆ getRestPath()
Get current REST url for work with cloud.
- Возвращает
- string
См. определение в файле manager.php строка 1235
◆ getSmnSiteDir()
getSmnSiteDir |
( |
?string | $siteId | ) |
|
|
staticprotected |
Get main site local dir.
- Аргументы
-
string | null | $siteId | Main site LID. |
- Возвращает
- string
См. определение в файле manager.php строка 358
◆ getTemplateId()
getTemplateId |
( |
| $siteId = null | ) |
|
|
static |
Gets site template id.
- Аргументы
-
string | $siteId | Site id (siteman). |
- Возвращает
- string
См. определение в файле manager.php строка 513
◆ getThemeId()
◆ getThemes()
Get themes from template dir.
См. определение в файле manager.php строка 1508
◆ getThemesTypo()
Get themes typo from template dir.
См. определение в файле manager.php строка 1516
◆ getUfManager()
Get instance of USER_FIELD_MANAGER.
- Возвращает
- \CUserTypeManager
См. определение в файле manager.php строка 98
◆ getUrlFromFile()
Get full url of local file.
- Аргументы
-
string | $file | Local file name. |
- Возвращает
- string
См. определение в файле manager.php строка 1082
◆ getUserFullName()
Get current user full name.
- Возвращает
- int
См. определение в файле manager.php строка 121
◆ getUserId()
Get current user id.
- Возвращает
- int
См. определение в файле manager.php строка 107
◆ getUserInstance()
Get main instance of \CUser.
- Возвращает
- \CUser
См. определение в файле manager.php строка 80
◆ getVersion()
Get module version.
- Возвращает
- string
См. определение в файле manager.php строка 1255
◆ getZone()
Get site zone (ru, ua, en, etc).
- Возвращает
- string
См. определение в файле manager.php строка 930
◆ initAssets()
Add assets to page from hooks and themes
- Аргументы
-
- Возвращает
- void
См. определение в файле manager.php строка 577
◆ isAdmin()
Admin or not.
- Возвращает
- boolean
См. определение в файле manager.php строка 135
◆ isAjaxRequest()
Check is current hit is ajax
- Возвращает
- bool
См. определение в файле manager.php строка 1049
◆ isAutoPublicationEnabled()
isAutoPublicationEnabled |
( |
| ) |
|
|
static |
◆ isB24()
Is B24 portal?
- Возвращает
- bool
См. определение в файле manager.php строка 1135
◆ isB24Cloud()
Is b24 portal hosted no cloud (not box)
- Возвращает
- bool
См. определение в файле manager.php строка 1168
◆ isB24Connector()
Is Site Manager and B24 connector
- Возвращает
- bool|null
См. определение в файле manager.php строка 1178
◆ isCloudDisable()
Check if cloud is disabled by settings.
- Возвращает
- bool
См. определение в файле manager.php строка 1244
◆ isExtendedSMN()
Returns true, if SMN is extended for CRM.
- Возвращает
- bool
См. определение в файле manager.php строка 1207
◆ isFreePublicAllowed()
◆ isHttps()
◆ isStoreEnabled()
Enable or not shops in this edition.
- Возвращает
- bool
См. определение в файле manager.php строка 1223
◆ isTemplateIdSystem()
isTemplateIdSystem |
( |
| $templateId | ) |
|
|
static |
Gets true, if this template id is system.
- Аргументы
-
string | $templateId | Site template id. |
- Возвращает
- bool
См. определение в файле manager.php строка 537
◆ licenseIsFreeSite()
licenseIsFreeSite |
( |
string | $type | ) |
|
|
static |
Is license free and it not a knowledge and not a store
- Аргументы
-
string | $type | Type of landing |
- Возвращает
- bool
См. определение в файле manager.php строка 1288
◆ licenseIsValid()
Check if license is expired.
- Возвращает
- bool
См. определение в файле manager.php строка 1272
◆ onBitrix24LicenseChange()
onBitrix24LicenseChange |
( |
string | $licenseType | ) |
|
|
static |
In cloud version on change highest plans.
- Аргументы
-
string | $licenseType | License Type. |
- Возвращает
- void
См. определение в файле manager.php строка 1422
◆ resetToFree()
In cloud version reset highest plans to free.
- Возвращает
- void
См. определение в файле manager.php строка 1409
◆ sanitize()
sanitize |
( |
| $value, |
|
|
& | $bad = false, |
|
|
| $splitter = ' ' ) |
|
static |
Sanitize bad value.
- Аргументы
-
string | $value | Bad value. |
bool | &$bad | Return true, if value is bad. |
string | $splitter | Splitter for bad content. |
- Возвращает
- string Good value.
См. определение в файле manager.php строка 1310
◆ savePicture()
savePicture |
( |
| $file, |
|
|
| $ext = false, |
|
|
| $params = array() ) |
|
static |
Save picture to db.
- Аргументы
-
mixed | $file | File array or path to file. |
string | $ext | File extension (if can't detected by file name). |
array | $params | Some file params. |
- Возвращает
- array|false Local file array or false on error.
См. определение в файле manager.php строка 590
◆ setOption()
setOption |
( |
| $code, |
|
|
| $value ) |
|
static |
Set option for module settings.
- Аргументы
-
string | $code | Option code. |
string | $value | Option value. |
- Возвращает
- void
См. определение в файле manager.php строка 171
◆ setPageClass()
setPageClass |
( |
| $marker, |
|
|
| $class ) |
|
static |
Add some class to some marker.
- Аргументы
-
string | $marker | Marker. |
string | $class | Class. |
- Возвращает
- void
См. определение в файле manager.php строка 457
◆ setPageTitle()
setPageTitle |
( |
| $title, |
|
|
| $single = false ) |
|
static |
Set page title.
- Аргументы
-
string | $title | Page title. |
bool | $single | If true, then set title only once. |
- Возвращает
- void
См. определение в файле manager.php строка 211
◆ setPageView()
setPageView |
( |
string | $marker, |
|
|
string | $content, |
|
|
bool | $skipTrim = false ) |
|
static |
Adds content in specific area named by marker.
- Аргументы
-
string | $marker | Marker name. |
string | $content | Content. |
bool | $skipTrim | If true content will not be trimmed. |
- Возвращает
- void
См. определение в файле manager.php строка 470
◆ setTheme()
Set current selected or default color theme.
См. определение в файле manager.php строка 1540
◆ setThemeId()
◆ setThemeTypoId()
setThemeTypoId |
( |
| $themeTypoId | ) |
|
|
static |
Set new colored theme id.
- Аргументы
-
string | $themeTypoId | Theme id. |
- Возвращает
- void
См. определение в файле manager.php строка 567
◆ $forceB24disable
◆ $tmpFeatures
◆ BUY_LICENSE_PATH
const BUY_LICENSE_PATH = '/bitrix/tools/landing/ajax.php?redirect=upgrade' |
Path, where user can buy upgrade.
См. определение в файле manager.php строка 31
◆ FEATURE_ALLOW_EXPORT
const FEATURE_ALLOW_EXPORT = 'allow_export' |
◆ FEATURE_ALLOW_VIEW_PAGE
const FEATURE_ALLOW_VIEW_PAGE = 'allow_view_page' |
◆ FEATURE_CREATE_PAGE
const FEATURE_CREATE_PAGE = 'create_page' |
◆ FEATURE_CREATE_SITE
const FEATURE_CREATE_SITE = 'create_site' |
Features codes for backward compatibility.
См. определение в файле manager.php строка 36
◆ FEATURE_CUSTOM_DOMAIN
const FEATURE_CUSTOM_DOMAIN = 'custom_domain' |
◆ FEATURE_DYNAMIC_BLOCK
const FEATURE_DYNAMIC_BLOCK = 'dynamic_block' |
◆ FEATURE_ENABLE_ALL_HOOKS
const FEATURE_ENABLE_ALL_HOOKS = 'enable_all_hooks' |
◆ FEATURE_FREE_DOMAIN
const FEATURE_FREE_DOMAIN = 'free_domain' |
◆ FEATURE_PERMISSIONS_AVAILABLE
const FEATURE_PERMISSIONS_AVAILABLE = 'permissions_available' |
◆ FEATURE_PUBLICATION_PAGE
const FEATURE_PUBLICATION_PAGE = 'publication_page' |
◆ FEATURE_PUBLICATION_SITE
const FEATURE_PUBLICATION_SITE = 'publication_site' |
◆ PUBLICATION_PATH
const PUBLICATION_PATH = '/pub/site/' |
Publication default path.
- См. также
- Manager::getPublicationPathConst()
См. определение в файле manager.php строка 25
◆ PUBLICATION_PATH_SITEMAN
const PUBLICATION_PATH_SITEMAN = '/lp/' |
◆ USER_AGREEMENT_VERSION
const USER_AGREEMENT_VERSION = 4 |
User agreement actual version.
- См. также
- Manager::getOption('user_agreement_version')
См. определение в файле manager.php строка 19
Объявления и описания членов класса находятся в файле: