|
static | getPreview ($lid) |
static | getPublicUrl ($lid) |
static | resolveIdByPublicUrl (string $landingUrl, int $siteId) |
static | getAdditionalFields ($lid) |
static | publication ($lid) |
static | unpublic ($lid) |
static | addBlock ($lid, array $fields, bool $preventHistory=false) |
static | deleteBlock ($lid, $block) |
static | markDeletedBlock (int $lid, int $block, bool $mark=true, bool $preventHistory=false) |
static | markUnDeletedBlock (int $lid, int $block, bool $preventHistory=false) |
static | upBlock (int $lid, int $block, bool $preventHistory=false) |
static | downBlock (int $lid, int $block, bool $preventHistory=false) |
static | favoriteBlock (int $lid, int $block, array $meta=[]) |
static | unFavoriteBlock (int $blockId) |
static | showBlock ($lid, $block) |
static | hideBlock ($lid, $block) |
static | copyBlock ($lid, $block, array $params=array()) |
static | moveBlock ($lid, $block, array $params=array()) |
static | removeEntities ($lid, array $data) |
static | getList (array $params=[]) |
static | add (array $fields) |
static | addByTemplate ($siteId, $code, array $fields=[]) |
static | update ($lid, array $fields) |
static | delete ($lid) |
static | move (int $lid, ?int $toSiteId=null, ?int $toFolderId=null) |
static | copy (int $lid, ?int $toSiteId=null, ?int $toFolderId=null, bool $skipSystem=false) |
static | markDelete ($lid, $mark=true) |
static | markUnDelete ($lid) |
static | uploadFile ($lid, $picture, $ext=false, array $params=array()) |
static | updateHead ($lid, $content) |
См. определение в файле landing.php строка 20
◆ add()
Create new landing.
- Аргументы
-
array | $fields | Landing data. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 779
◆ addBlock()
addBlock |
( |
| $lid, |
|
|
array | $fields, |
|
|
bool | $preventHistory = false ) |
|
static |
Add new block to the landing.
- Аргументы
-
int | $lid | Id of landing. |
array | $fields | Data array of block. |
bool | $preventHistory | True if no need save history |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 195
◆ addByTemplate()
addByTemplate |
( |
| $siteId, |
|
|
| $code, |
|
|
array | $fields = [] ) |
|
static |
Create a page by template.
- Аргументы
-
int | $siteId | Site id. |
string | $code | Code of template. |
array | $fields | Landing fields. |
- Возвращает
- PublicActionResult
Creates new page in the site by template.
- Аргументы
-
int | $siteId | Site id. |
string | $code | Template code. |
array | $fields | Landing fields. |
- Возвращает
- \Bitrix\Main\Entity\AddResult
См. определение в файле landing.php строка 811
◆ checkAddingInMenu()
checkAddingInMenu |
( |
array | $fields, |
|
|
?bool & | $willAdded = null ) |
|
staticprotected |
Checks that page also adding in some menu.
- Аргументы
-
array | $fields | Landing data array. |
bool | $willAdded | Flag that menu item will be added. |
- Возвращает
- array
См. определение в файле landing.php строка 717
◆ clearDisallowFields()
clearDisallowFields |
( |
array | $fields | ) |
|
|
staticprotected |
Clear disallow keys from add/update fields.
- Аргументы
-
- Возвращает
- array
См. определение в файле landing.php строка 27
◆ copy()
copy |
( |
int | $lid, |
|
|
?int | $toSiteId = null, |
|
|
?int | $toFolderId = null, |
|
|
bool | $skipSystem = false ) |
|
static |
Copy landing.
- Аргументы
-
int | $lid | Landing id. |
int | null | $toSiteId | Site id (if you want copy in another site). |
int | null | $toFolderId | Folder id (if you want copy in some folder). |
bool | $skipSystem | If true, don't copy system flag. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 924
◆ copyBlock()
copyBlock |
( |
| $lid, |
|
|
| $block, |
|
|
array | $params = array() ) |
|
static |
Copy other block to this landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
array | $params | Params array. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 518
◆ delete()
Delete landing.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 880
◆ deleteBlock()
deleteBlock |
( |
| $lid, |
|
|
| $block ) |
|
static |
Delete the block from the landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 259
◆ downBlock()
downBlock |
( |
int | $lid, |
|
|
int | $block, |
|
|
bool | $preventHistory = false ) |
|
static |
Sort down the block on the landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
bool | $preventHistory | True if no need save history |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 365
◆ favoriteBlock()
favoriteBlock |
( |
int | $lid, |
|
|
int | $block, |
|
|
array | $meta = [] ) |
|
static |
Save the block in favorites.
- Аргументы
-
int | $lid | Landing id. |
int | $block | Block id. |
array | $meta | Meta info. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 380
◆ getAdditionalFields()
getAdditionalFields |
( |
| $lid | ) |
|
|
static |
Get additional fields of landing.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 107
◆ getList()
getList |
( |
array | $params = [] | ) |
|
|
static |
Get available landings.
- Аргументы
-
array | $params | Params ORM array. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 594
◆ getPreview()
Get preview picture of landing.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 50
◆ getPublicUrl()
Get public url of landing.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 71
◆ hideBlock()
hideBlock |
( |
| $lid, |
|
|
| $block ) |
|
static |
Dectivate the block on the landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 459
◆ markDelete()
markDelete |
( |
| $lid, |
|
|
| $mark = true ) |
|
static |
Mark entity as deleted.
- Аргументы
-
int | $lid | Entity id. |
boolean | $mark | Mark. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 943
◆ markDeletedBlock()
markDeletedBlock |
( |
int | $lid, |
|
|
int | $block, |
|
|
bool | $mark = true, |
|
|
bool | $preventHistory = false ) |
|
static |
Mark delete or not the block.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
boolean | $mark | Mark. |
bool | $preventHistory | True if no need save history |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 282
◆ markUnDelete()
Mark entity as undeleted.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 974
◆ markUnDeletedBlock()
markUnDeletedBlock |
( |
int | $lid, |
|
|
int | $block, |
|
|
bool | $preventHistory = false ) |
|
static |
Mark undelete the block.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
bool | $preventHistory | True if no need save history |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 307
◆ move()
move |
( |
int | $lid, |
|
|
?int | $toSiteId = null, |
|
|
?int | $toFolderId = null ) |
|
static |
Move the page to site/folder.
- Аргументы
-
int | $lid | Landing id. |
int | null | $toSiteId | Site id. |
int | null | $toFolderId | Folder id (optional). |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 907
◆ moveBlock()
moveBlock |
( |
| $lid, |
|
|
| $block, |
|
|
array | $params = array() ) |
|
static |
Move other block to this landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
array | $params | Params array. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 536
◆ publication()
Publication of landing.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 139
◆ removeEntities()
removeEntities |
( |
| $lid, |
|
|
array | $data ) |
|
static |
Remove entities of Landing - images / blocks.
- Аргументы
-
int | $lid | Landing id. |
array | $data | Data for remove. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 553
◆ resolveIdByPublicUrl()
resolveIdByPublicUrl |
( |
string | $landingUrl, |
|
|
int | $siteId ) |
|
static |
Returns landing id resolves by landing public url.
- Аргументы
-
string | $landingUrl | Landing public url. |
int | $siteId | Landing's site id. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 95
◆ showBlock()
showBlock |
( |
| $lid, |
|
|
| $block ) |
|
static |
Activate the block on the landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 447
◆ unFavoriteBlock()
unFavoriteBlock |
( |
int | $blockId | ) |
|
|
static |
Remove block from favorites. Only if block created by current user.
- Аргументы
-
int | $blockId | - id of deleted block |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 398
◆ unpublic()
Cancel publication of landing.
- Аргументы
-
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 169
◆ upBlock()
upBlock |
( |
int | $lid, |
|
|
int | $block, |
|
|
bool | $preventHistory = false ) |
|
static |
Sort up the block on the landing.
- Аргументы
-
int | $lid | Id of landing. |
int | $block | Block id. |
bool | $preventHistory | True if no need save history |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 350
◆ update()
update |
( |
| $lid, |
|
|
array | $fields ) |
|
static |
Update landing.
- Аргументы
-
int | $lid | Landing id. |
array | $fields | Landing new data. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 853
◆ updateHead()
updateHead |
( |
| $lid, |
|
|
| $content ) |
|
static |
Set some content to the Head section.
- Аргументы
-
int | $lid | Landing id. |
string | $content | Some content. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 1032
◆ uploadFile()
Upload file by url or from FILE.
- Аргументы
-
int | $lid | Landing id. |
string | $picture | File url / file array. |
string | $ext | File extension. |
array | $params | Some file params. |
- Возвращает
- PublicActionResult
См. определение в файле landing.php строка 987
Объявления и описания членов классов находятся в файлах: