См. определение в файле utils.php строка 10
◆ catalogSearch()
| catalogSearch |
( |
| $query = null, |
|
|
| $type = self::TYPE_CATALOG_ALL, |
|
|
| $iblock = null, |
|
|
| $siteId = null ) |
|
static |
Search in the catalog.
- Аргументы
-
| null | $query | Query string. |
| string | $type | Search type. |
| int | $iblock | Iblock id optional. |
| int | $siteId | Site id optional. |
- Возвращает
- PublicActionResult|\CIBlockResult|int
См. определение в файле utils.php строка 66
◆ checkMultiFeature()
| checkMultiFeature |
( |
array | $code, |
|
|
array | $params = [] ) |
|
static |
Check feature enabling by codes.
- Аргументы
-
| array | $code | Feature code. |
| array | $params | Additional params array. |
- Возвращает
- \Bitrix\Landing\PublicActionResult
См. определение в файле utils.php строка 396
◆ getCatalogElement()
| getCatalogElement |
( |
| $elementId | ) |
|
|
static |
Gets catalog element by id.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле utils.php строка 275
◆ getCatalogEntity()
| getCatalogEntity |
( |
| $entityId, |
|
|
| $entityType ) |
|
staticprotected |
Gets catalog element or section by id.
- Аргументы
-
| int | $entityId | Entity id. |
| string | $entityType | Entity type. |
- Возвращает
- array
См. определение в файле utils.php строка 203
◆ getCatalogSection()
| getCatalogSection |
( |
| $sectionId | ) |
|
|
static |
Gets catalog section by id.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле utils.php строка 301
◆ getIblockURL()
| getIblockURL |
( |
| $elementId, |
|
|
| $urlType ) |
|
static |
Build element/section url.
- Аргументы
-
| int | $elementId | Element / section id. |
| string | $urlType | Type of url (section / detail). |
- Возвращает
- string
См. определение в файле utils.php строка 328
◆ getUrlPreview()
Get meta-data by URL.
- Аргументы
-
- Возвращает
- \Bitrix\Landing\PublicActionResult
См. определение в файле utils.php строка 37
◆ getUserOption()
| getUserOption |
( |
string | $name | ) |
|
|
static |
◆ isTrue()
Check if it is boolean and true.
- Аргументы
-
- Возвращает
- bool
См. определение в файле utils.php строка 437
◆ makeCatalogEntityNavChain()
| makeCatalogEntityNavChain |
( |
| $sectionId, |
|
|
array & | $chain ) |
|
staticprotected |
Makes nav chain of catalog entity.
- Аргументы
-
| int | $sectionId | Section id. |
| array | $chain | Chain array. |
- Возвращает
- void
См. определение в файле utils.php строка 181
◆ saveSettings()
| saveSettings |
( |
array | $settings | ) |
|
|
static |
Save some internal settings.
- Аргументы
-
| array | $settings | Settings array. |
- Возвращает
- \Bitrix\Landing\PublicActionResult
См. определение в файле utils.php строка 413
◆ TYPE_CATALOG
| const TYPE_CATALOG = 'catalog' |
Entity type catalog.
См. определение в файле utils.php строка 15
◆ TYPE_CATALOG_ALL
| const TYPE_CATALOG_ALL = 'all' |
Entity type any.
См. определение в файле utils.php строка 30
◆ TYPE_CATALOG_ELEMENT
| const TYPE_CATALOG_ELEMENT = 'element' |
Entity type catalog element.
См. определение в файле utils.php строка 20
◆ TYPE_CATALOG_SECTION
| const TYPE_CATALOG_SECTION = 'section' |
Entity type section.
См. определение в файле utils.php строка 25
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/landing/lib/publicaction/utils.php