|
1C-Bitrix 25.700.0
|
Открытые члены | |
| setMetaData (array $metaData) | |
| getPreview (?int $id=null, bool $skipCloud=false, ?string $publicUrl=null) | |
| getPublicUrl ($id=false, $absolute=true, $createPubPath=false, &$fullUrl=[]) | |
| view (array $params=array()) | |
| getAreas () | |
| getTplId () | |
| exist () | |
| isActive () | |
| getId () | |
| getXmlId () | |
| getTitle () | |
| getCode () | |
| getMeta () | |
| canEdit () | |
| canPublication () | |
| canDelete () | |
| getFolderId () | |
| getSiteId () | |
| getSiteTitle () | |
| getDomainId () | |
| getSpecialType () | |
| getSmnSiteId () | |
| getBlocks () | |
| getBlockById ($id) | |
| addBlockToCollection (\Bitrix\Landing\Block $block) | |
| getError () | |
| getErrorMain () | |
| touch () | |
| updateVersion () | |
| publication ($blockId=null, ?Metrika\FieldsDto $metrikaFields=null) | |
| fakePublication () | |
| unpublic () | |
| addBlock (string $code, array $data=array(), bool $saveInLastUsed=false) | |
| deleteBlock ($id) | |
| markDeletedBlock ($id, $mark) | |
| resortBlocks () | |
| upBlock (int $id) | |
| downBlock (int $id) | |
| showBlock ($id) | |
| hideBlock ($id) | |
| favoriteBlock (int $id, array $meta=[]) | |
| unFavoriteBlock (int $blockId) | |
| copyBlock (int $id, int $afterId) | |
| copyAllBlocks ($lid, $replaceLinks=true, array &$references=[]) | |
| clearFolderIndex () | |
| move (?int $toSiteId=null, ?int $toFolderId=null) | |
| copy (?int $toSiteId=null, ?int $toFolderId=null, bool $withoutBlocks=false, bool $skipSystem=false) | |
| moveBlock (int $id, int $afterId) | |
Открытые статические члены | |
| static | ping ($id, $deleted=false) |
| static | setEditMode ($mode=true) |
| static | getEditMode () |
| static | setPreviewMode ($mode=true) |
| static | getPreviewMode () |
| static | checkDeleted () |
| static | disableCheckDeleted () |
| static | enableCheckDeleted () |
| static | disableUpdate () |
| static | enableUpdate () |
| static | isCheckUniqueAddress () |
| static | disableCheckUniqueAddress () |
| static | enableCheckUniqueAddress () |
| static | createInstance ($id, array $params=array()) |
| static | markDelete (int $id) |
| static | markUnDelete ($id) |
| static | delete ($id, bool $forceDeleted=false) |
| static | getHooks ($id) |
| static | getAdditionalFields ($id) |
| static | getAdditionalFieldsAsArray (int $landingId, bool $skipEmpty=true) |
| static | saveAdditionalFields ($id, array $data) |
| static | setVariables (array $vars) |
| static | getVariables () |
| static | setDynamicParams ($filterId, $elementId) |
| static | getDynamicFilter () |
| static | getDynamicElementId () |
| static | isDynamicDetailPage () |
| static | resolveIdByPublicUrl (string $landingUrl, int $siteId) |
| static | getSiteType () |
| static | update ($id, $fields=array()) |
| Открытые статические члены унаследованные от BaseTable | |
| static | callback ($code, $callback) |
Статические открытые данные | |
| static | $internalClass = 'LandingTable' |
| Статические открытые данные унаследованные от BaseTable | |
| static | $internalClass = null |
Защищенные члены | |
| __construct ($id, $params=array()) | |
| applyTemplate ($content=null) | |
| parseLocalUrl (string $content) | |
| execHooks () | |
| prepareHook ($hook) | |
| parametrizeMetrikaByBlock (Metrika\Metrika $metrika, Block $block) | |
| transferBlock ($id, $lid) | |
| sortBlock (int $id, string $action) | |
| activateBlock ($id, $action) | |
| changeParentOfBlock (int $block, array $params) | |
Защищенные данные | |
| const | META_KEYS |
| const | META_KEYS_MODIFIABLE |
| $mainInstance = true | |
| $metaData = array() | |
| $blocks = array() | |
| $id = 0 | |
| $title = '' | |
| $code = '' | |
| $xmlId = '' | |
| $siteRow = [] | |
| $siteId = 0 | |
| $siteTitle = '' | |
| $domainId = 0 | |
| $folderId = 0 | |
| int | $tplId = 0 |
| $tplType = 'landing' | |
| $active = false | |
| Error | $error |
| $rights = [] | |
| $checkPermissions = true | |
| $version = 1 | |
| $disableLinkPreview = false | |
Статические защищенные данные | |
| static | $enabledUpdate = true |
| static | $checkUniqueAddress = true |
| static | $checkDelete = true |
| static | $editMode = false |
| static | $previewMode = false |
| static | $variables = array() |
| static | $dynamicFilterId = 0 |
| static | $dynamicElementId = 0 |
| static string | $siteType = '' |
См. определение в файле landing.php строка 21
|
protected |
Constructor.
| int | $id | Landing id. |
| array | $params | Some params. |
См. определение в файле landing.php строка 225
|
protected |
Show/hide the block on the landing.
| int | $id | Block id. |
| string | $action | Code: up or down. |
См. определение в файле landing.php строка 2707
Add new block to the landing.
| string | $code | Code of block. |
| array | $data | Data array of block. |
| bool | $saveInLastUsed | Save this block as last used for current user. |
См. определение в файле landing.php строка 2282
| addBlockToCollection | ( | \Bitrix\Landing\Block | $block | ) |
Add new Block to the current landing.
| \Bitrix\Landing\Block | $block | New block instance. |
См. определение в файле landing.php строка 2022
|
protected |
Apply template for this landing.
| string | $content | Landing content. |
См. определение в файле landing.php строка 1358
| canDelete | ( | ) |
Can current user delete this landing.
См. определение в файле landing.php строка 1900
| canEdit | ( | ) |
| canPublication | ( | ) |
Can current user publication this landing.
См. определение в файле landing.php строка 1886
|
protected |
Copy/move other block to this landing.
| int | $block | Block id. |
| array | $params | Params array. |
См. определение в файле landing.php строка 2837
|
static |
| clearFolderIndex | ( | ) |
If current landing is index page of folder, clear folder's index.
См. определение в файле landing.php строка 3049
| copy | ( | ?int | $toSiteId = null, |
| ?int | $toFolderId = null, | ||
| bool | $withoutBlocks = false, | ||
| bool | $skipSystem = false ) |
Copy current landing.
| 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 | $withoutBlocks | Copy only pages, without blocks. |
| bool | $skipSystem | If true, don't copy system flag. |
См. определение в файле landing.php строка 3211
Copy all blocks from another landing to this.
| int | $lid | Landing id. |
| boolean | $replaceLinks | Replace links to the old blocks. |
| array | &$references | Array that will contain references between old and new IDs. |
См. определение в файле landing.php строка 2985
| copyBlock | ( | int | $id, |
| int | $afterId ) |
Copy other block to this landing.
| int | $id | Block id (from another landing). |
| int | $afterId | Put after this block id (in this landing). |
См. определение в файле landing.php строка 2961
Create current instance.
| int | $id | Landing id. |
| array | $params | Additional params. |
См. определение в файле landing.php строка 538
|
static |
Delete landing by id and its blocks.
| int | $id | Landing id. |
| bool | $forceDeleted | Force delete throw an errors. |
См. определение в файле landing.php строка 646
| deleteBlock | ( | $id | ) |
Delete one block from current landing.
| int | $id | Block id. |
См. определение в файле landing.php строка 2354
|
static |
|
static |
|
static |
| downBlock | ( | int | $id | ) |
Sort down the block on the landing.
| int | $id | Block id. |
См. определение в файле landing.php строка 2681
|
static |
|
static |
|
static |
|
protected |
Exec hooks for landing (site and landing).
См. определение в файле landing.php строка 1762
| exist | ( | ) |
Exist or not landing in current instance.
См. определение в файле landing.php строка 1809
| fakePublication | ( | ) |
Fake current landing (for testing potential publication and resolves the errors).
См. определение в файле landing.php строка 2226
| favoriteBlock | ( | int | $id, |
| array | $meta = [] ) |
Saves the block in favorites.
| int | $id | Block id. |
| array | $meta | Meta info. |
См. определение в файле landing.php строка 2760
|
static |
Get additional fields of Landing.
| int | $id | Landing id. |
См. определение в файле landing.php строка 737
|
static |
Returns additional fields of Landing as array.
| int | $landingId | Landing id. |
| bool | $skipEmpty | Skip emty values. |
См. определение в файле landing.php строка 756
| getAreas | ( | ) |
| getBlockById | ( | $id | ) |
Get the block by id of current landing.
| int | $id | Block id. |
См. определение в файле landing.php строка 2007
| getBlocks | ( | ) |
Get all blocks of current landing.
См. определение в файле landing.php строка 1997
| getCode | ( | ) |
| getDomainId | ( | ) |
|
static |
|
static |
|
static |
| getError | ( | ) |
Get error collection
См. определение в файле landing.php строка 2034
| getErrorMain | ( | ) |
Returns Error instance as Main\Error instance.
См. определение в файле landing.php строка 2043
| getFolderId | ( | ) |
|
static |
Get hooks of Landing.
| int | $id | Landing id. |
См. определение в файле landing.php строка 722
| getId | ( | ) |
| getMeta | ( | ) |
| getPreview | ( | ?int | $id = null, |
| bool | $skipCloud = false, | ||
| ?string | $publicUrl = null ) |
Get preview picture of the landing.
| int | null | $id | Landing id (if null, gets for $this->id). |
| bool | $skipCloud | Skip getting picture from cloud. |
| string | null | $publicUrl | Full public url of site (you may set this param for optimisation). |
См. определение в файле landing.php строка 872
|
static |
Get full pubic URL for this landing.
| int | array | $id | Landing id (id array), optional. |
| boolean | $absolute | Full url. |
| bool | $createPubPath | Create pub path (checking and create). |
| array | &$fullUrl | Returns full url of landings. |
См. определение в файле landing.php строка 922
| getSiteId | ( | ) |
| getSiteTitle | ( | ) |
|
static |
| getSmnSiteId | ( | ) |
Get site id of main, if exist.
См. определение в файле landing.php строка 1972
| getSpecialType | ( | ) |
См. определение в файле landing.php строка 1955
| getTitle | ( | ) |
| getTplId | ( | ) |
|
static |
| getXmlId | ( | ) |
| hideBlock | ( | $id | ) |
Dectivate the block on the landing.
| int | $id | Block id. |
См. определение в файле landing.php строка 2749
| isActive | ( | ) |
|
static |
|
static |
Return true, if current page is dynamic detail page.
См. определение в файле landing.php строка 860
|
static |
Mark landing as deleted.
| int | $id | Landing id. |
См. определение в файле landing.php строка 548
| markDeletedBlock | ( | $id, | |
| $mark ) |
Mark delete or not the block.
| int | $id | Block id. |
| boolean | $mark | Mark. |
См. определение в файле landing.php строка 2388
|
static |
Mark entity as restored.
| int | $id | Entity id. |
См. определение в файле landing.php строка 609
| move | ( | ?int | $toSiteId = null, |
| ?int | $toFolderId = null ) |
Move current page to site/folder.
| int | null | $toSiteId | Destination site id (if you want copy in another site). |
| int | null | $toFolderId | Destination folder id. |
См. определение в файле landing.php строка 3148
| moveBlock | ( | int | $id, |
| int | $afterId ) |
Move other block to this landing.
| int | $id | Block id (from another landing). |
| int | $afterId | Put after this block id (in this landing). |
См. определение в файле landing.php строка 3320
|
protected |
См. определение в файле landing.php строка 2498
|
protected |
Parse between-landings url in landing content.
| string | $content | Landing content. |
См. определение в файле landing.php строка 1455
|
static |
Return true if landing exists and available.
| int | $id | Landing id. |
| bool | $deleted | And from recycle bin. |
См. определение в файле landing.php строка 390
|
protected |
См. определение в файле landing.php строка 1795
| publication | ( | $blockId = null, | |
| ?Metrika\FieldsDto | $metrikaFields = null ) |
Publication current landing.
| null | $blockId | Publication only this block(s). |
| Metrika\FieldsDto | null | $metrikaFields | - params for analytic. If not set anything - analytic not sent |
См. определение в файле landing.php строка 2178
|
static |
Returns landing id resolves by landing public url.
| string | $landingUrl | Landing public url. |
| int | $siteId | Landing's site id. |
См. определение в файле landing.php строка 1107
| resortBlocks | ( | ) |
|
static |
Save additional fields for Landing.
| int | $id | Landing id. |
| array | $data | Data array. |
См. определение в файле landing.php строка 790
|
static |
Set dynamic params (filter id and dynamic element id).
| int | $filterId | Id of filter. |
| int | $elementId | Id of dynamic element id. |
См. определение в файле landing.php строка 824
|
static |
Set work mode to edit.
| boolean | $mode | Edit mode. |
См. определение в файле landing.php строка 427
| setMetaData | ( | array | $metaData | ) |
Can refresh value of modifiable meta data
| array | $metaData |
См. определение в файле landing.php строка 373
|
static |
Set work mode to preview.
| boolean | $mode | Preview mode. |
См. определение в файле landing.php строка 446
|
static |
Set external variables of Landing.
| array | $vars | Additional vars. |
См. определение в файле landing.php строка 801
| showBlock | ( | $id | ) |
Activate the block on the landing.
| int | $id | Block id. |
См. определение в файле landing.php строка 2739
|
protected |
Sort the block on the landing.
| int | $id | Block id. |
| string | $action | Code: up or down. |
См. определение в файле landing.php строка 2596
| touch | ( | ) |
Change modified user and date for current landing.
См. определение в файле landing.php строка 2062
|
protected |
Transfer one block to another landing.
| int | $id | Block id. |
| int | $lid | Landing id. |
См. определение в файле landing.php строка 2542
| unFavoriteBlock | ( | int | $blockId | ) |
Removes the block from favorites.
| int | $blockId | Block id. |
См. определение в файле landing.php строка 2793
| unpublic | ( | ) |
| upBlock | ( | int | $id | ) |
Sort up the block on the landing.
| int | $id | Block id. |
См. определение в файле landing.php строка 2656
|
static |
Update the landing.
| int | $id | Landing id. |
| array | $fields | Fields. |
См. определение в файле landing.php строка 3343
| updateVersion | ( | ) |
If current version is not actual, making update.
См. определение в файле landing.php строка 2083
View landing in public or edit mode.
| array | $params | Some additional params. |
См. определение в файле landing.php строка 1137
|
protected |
См. определение в файле landing.php строка 188
|
protected |
См. определение в файле landing.php строка 116
|
staticprotected |
См. определение в файле landing.php строка 62
|
protected |
См. определение в файле landing.php строка 206
|
staticprotected |
См. определение в файле landing.php строка 56
|
protected |
См. определение в файле landing.php строка 134
|
protected |
См. определение в файле landing.php строка 218
|
protected |
См. определение в файле landing.php строка 164
|
staticprotected |
См. определение в файле landing.php строка 92
|
staticprotected |
См. определение в файле landing.php строка 86
|
staticprotected |
См. определение в файле landing.php строка 68
|
staticprotected |
См. определение в файле landing.php строка 50
|
protected |
См. определение в файле landing.php строка 194
|
protected |
См. определение в файле landing.php строка 170
|
protected |
См. определение в файле landing.php строка 122
|
static |
См. определение в файле landing.php строка 44
|
protected |
См. определение в файле landing.php строка 104
|
protected |
См. определение в файле landing.php строка 110
|
staticprotected |
См. определение в файле landing.php строка 74
|
protected |
См. определение в файле landing.php строка 200
|
protected |
См. определение в файле landing.php строка 152
|
protected |
См. определение в файле landing.php строка 146
|
protected |
См. определение в файле landing.php строка 158
|
staticprotected |
См. определение в файле landing.php строка 98
|
protected |
См. определение в файле landing.php строка 128
|
protected |
См. определение в файле landing.php строка 176
|
protected |
См. определение в файле landing.php строка 182
|
staticprotected |
См. определение в файле landing.php строка 80
|
protected |
См. определение в файле landing.php строка 212
|
protected |
См. определение в файле landing.php строка 140
|
protected |
Keys for get meta data from landing data
См. определение в файле landing.php строка 26
|
protected |
Meta keys, than can be changed
См. определение в файле landing.php строка 36