|
| __construct ($id, $data=[], array $params=[]) |
| exist () |
| getId () |
| getLandingId () |
| getSiteId () |
| getCode () |
| getLocalAnchor () |
| getContent () |
| getBlockClass () |
| setAllowedByTariff (bool $mark) |
| resetContent () |
| isActive () |
| isPublic () |
| isDesigned () |
| getAccess () |
| setAccess ($letter) |
| setActive ($active) |
| getRepoId () |
| getSite () |
| getPreview () |
| getError () |
| getManifest (bool $extended=false, bool $missCache=false, array $params=array()) |
| getAsset ($type=null) |
| getCSS () |
| getJS () |
| getExt () |
| getClass () |
| view ($edit=false, \Bitrix\Landing\Landing $landing=null, array $params=array()) |
| saveAssets (array $assets) |
| getAssets () |
| saveContent (string $content, $designed=false) |
| save (array $additionalFields=[]) |
| changeLanding ($lid) |
| changeFavoriteMeta (array $meta) |
| unlink () |
| markDeleted ($mark) |
| setSort ($sort) |
| setAnchor ($anchor) |
| saveSort ($sort) |
| getSort () |
| getDynamicParams ($id=null) |
| saveDynamicParams (array $sourceParams=[], array $params=[]) |
| clearDynamic () |
| getRuntimeRequiredUserAction () |
| setRuntimeRequiredUserAction (array $action) |
| getDom ($clear=false) |
| getMeta () |
| adjustCards ($selector, $count, &$changed=false) |
| cloneCard ($selector, $position, $content='') |
| setCardContent ($selector, $position, $content) |
| getCardContent ($selector, $position) |
| getCardCount ($selector) |
| removeCard ($selector, $position) |
| changeNodeName ($data) |
| updateNodes ($data, $additional=array()) |
| updateCards (array $data=array()) |
| setClasses ($data) |
| setAttributes ($data) |
|
static | fillLanding (Landing $landing, $limit=0, array $params=array()) |
static | cloneForEdit (\Bitrix\Landing\Landing $landing) |
static | publicationBlocks (\Bitrix\Landing\Landing $landing) |
static | getLandingIdByBlockId ($id) |
static | getLandingRowByBlockId ($id, array $select=array('ID')) |
static | getRowByBlockId ($id, array $select=array('ID')) |
static | getContentFromRepository (string $code, string $namespace=null) |
static | createFromRepository (Landing $landing, string $code, array $data=array()) |
static | clearRepositoryCache () |
static | getRepository () |
static | getLastUsed (int $count=15) |
static | markAsUsed (string $blockCode) |
static | removeAsUsed (string $blockCode) |
static | getStyle () |
static | getSemantic () |
static | getAttrs () |
static | getBlockContent ($id, $editMode=false, array $params=array()) |
static | getAnchor ($id) |
static | getManifestFile ($code) |
static | deleteByCode ($code) |
static | deleteAll ($lid) |
static | search ($query, array $filter=[], array $select=['LID'], array $group=['LID']) |
static | add ($fields) |
static | update ($id, $fields=array()) |
static | delete ($id) |
static | getFavorites (?string $tplCode) |
static | getList ($fields=array()) |
static | isContains (int $entityId, string $needed, bool $isLanding=false) |
static | checkComponentExists (string $componentName) |
Открытые статические члены унаследованные от BaseTable |
static | callback ($code, $callback) |
См. определение в файле block.php строка 24
◆ __construct()
__construct |
( |
| $id, |
|
|
| $data = [], |
|
|
array | $params = [] ) |
Constructor.
- Аргументы
-
int | $id | Block id. |
array | $data | Data row from BlockTable (by default get from DB). |
array | $params | Some additional params. |
См. определение в файле block.php строка 259
◆ add()
Add block row.
- Аргументы
-
- Возвращает
- \Bitrix\Main\Result
См. определение в файле block.php строка 5143
◆ adjustCards()
adjustCards |
( |
| $selector, |
|
|
| $count, |
|
|
& | $changed = false ) |
Adjust cards count by selector.
- Аргументы
-
string | $selector | Selector. |
int | $count | Needed cards count. |
bool | &$changed | Changed. |
- Возвращает
- boolean Success or failure.
См. определение в файле block.php строка 3571
◆ changeFavoriteMeta()
changeFavoriteMeta |
( |
array | $meta | ) |
|
Set meta information for favorite block.
- Аргументы
-
array | $meta | Meta information. |
- Возвращает
- bool
См. определение в файле block.php строка 2768
◆ changeLanding()
Change landing of current block.
- Аргументы
-
- Возвращает
- boolean
См. определение в файле block.php строка 2744
◆ changeNodeName()
Set new names for nodes of block.
- Аргументы
-
array | $data | Nodes data array. |
- Возвращает
- boolean
См. определение в файле block.php строка 3878
◆ checkComponentExists()
checkComponentExists |
( |
string | $componentName | ) |
|
|
static |
Temporary function for check components, when includeModule check is not enough
- Возвращает
- bool
См. определение в файле block.php строка 5352
◆ checkDesignedManifest()
checkDesignedManifest |
( |
array | $manifest | ) |
|
|
protected |
Checks that current block are designed and adds new manifest parts.
- Аргументы
-
array | $manifest | Current manifest. |
- Возвращает
- array
См. определение в файле block.php строка 1636
◆ clearDynamic()
Make block not dynamic.
- Возвращает
- void
См. определение в файле block.php строка 3502
◆ clearRepositoryCache()
Clear cache repository.
- Возвращает
- void
См. определение в файле block.php строка 961
◆ cloneCard()
cloneCard |
( |
| $selector, |
|
|
| $position, |
|
|
| $content = '' ) |
Clone one card in block by selector.
- Аргументы
-
string | $selector | Selector. |
int | $position | Card position. |
string | $content | New content for cloned card. |
- Возвращает
- boolean Success or failure.
См. определение в файле block.php строка 3628
◆ cloneForEdit()
Create copy of blocks for draft version.
- Аргументы
-
\Bitrix\Landing\Landing | $landing | Landing instance. |
- Возвращает
- void
См. определение в файле block.php строка 454
◆ collectAllowedAttrs()
collectAllowedAttrs |
( |
array | $mixed, |
|
|
array & | $allowed, |
|
|
| $selector = null ) |
|
staticprotected |
Collects and returns allowed attributes ([selector] => [data-test, data-test2]).
- Аргументы
-
string | $selector | Selector, if attr have't own selector. |
array | &$allowed | Array for collecting. |
- Возвращает
- void
См. определение в файле block.php строка 4511
◆ createFromRepository()
Create instance by string code.
- Аргументы
-
Landing | $landing | Landing - owner for new block. |
string | $code | Code of block from repository. |
array | $data | Additional data array. |
- Возвращает
- Block|false
См. определение в файле block.php строка 692
◆ delete()
Delete block row.
- Аргументы
-
- Возвращает
- \Bitrix\Main\Result
См. определение в файле block.php строка 5188
◆ deleteAll()
Delete all blocks for the landing.
- Аргументы
-
- Возвращает
- void
См. определение в файле block.php строка 4794
◆ deleteByCode()
Delete all blocks from db by codes.
- Аргументы
-
array | $code | Array of codes to delete. |
- Возвращает
- void
См. определение в файле block.php строка 4759
◆ exist()
Exist or not block in current instance.
- Возвращает
- boolean
См. определение в файле block.php строка 1367
◆ fillLanding()
Fill landing with blocks.
- Аргументы
-
Landing | $landing | Landing instance. |
int | $limit | Limit count for blocks. |
array | $params | Additional params. |
- Возвращает
- boolean
См. определение в файле block.php строка 359
◆ getAccess()
Get current access.
- Возвращает
- string
См. определение в файле block.php строка 1503
◆ getAjaxInitiatedAssets()
getAjaxInitiatedAssets |
( |
| ) |
|
|
staticprotected |
In ajax hit may be initiated some assets (JS extensions), but will not be added on page. We need get them all and add to output.
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentNullException
- Исключения
-
Bitrix\Main\ArgumentOutOfRangeException
См. определение в файле block.php строка 5253
◆ getAnchor()
Get block anchor.
- Аргументы
-
- Возвращает
- string
См. определение в файле block.php строка 1282
◆ getAsset()
Get some assets of block.
- Аргументы
-
string | $type | What return: css, js, ext, class. |
- Возвращает
- array
См. определение в файле block.php строка 2048
◆ getAssets()
Returns the block assets.
- Возвращает
- array
См. определение в файле block.php строка 2665
◆ getAttrs()
Returns blocks attrs manifests from repository.
- Возвращает
- array
См. определение в файле block.php строка 1080
◆ getBlockClass()
Get class of block.
- Возвращает
- LandingBlock
См. определение в файле block.php строка 1430
◆ getBlockContent()
Get block content array.
- Аргументы
-
int | $id | Block id. |
boolean | $editMode | Edit mode if true. |
array | $params | Some params. |
- Возвращает
- array
См. определение в файле block.php строка 1136
◆ getBlockNamespace()
getBlockNamespace |
( |
| $code | ) |
|
|
staticprotected |
Get namespace for block.
- Аргументы
-
string | $code | Code of block. |
- Возвращает
- string
См. определение в файле block.php строка 1292
◆ getBlockPath()
getBlockPath |
( |
| $code, |
|
|
| $namespace = null ) |
|
staticprotected |
Get local path for block.
- Аргументы
-
string | $code | Code of block. |
string | $namespace | Namespace (optional). |
- Возвращает
- string
См. определение в файле block.php строка 1337
◆ getCardContent()
getCardContent |
( |
| $selector, |
|
|
| $position ) |
Gets card content from block by selector.
- Аргументы
-
string | $selector | Selector. |
int | $position | Card position. |
- Возвращает
- string
См. определение в файле block.php строка 3779
◆ getCardCount()
getCardCount |
( |
| $selector | ) |
|
Gets count of cards from block by selector.
- Аргументы
-
- Возвращает
- int
См. определение в файле block.php строка 3802
◆ getClass()
Get executable classes.
- Возвращает
- array
См. определение в файле block.php строка 2169
◆ getCode()
Get code of the block.
- Возвращает
- string
См. определение в файле block.php строка 1403
◆ getContent()
Get content of the block.
- Возвращает
- string
См. определение в файле block.php строка 1421
◆ getContentFromRepository()
getContentFromRepository |
( |
string | $code, |
|
|
string | $namespace = null ) |
|
static |
Get content from repository by code.
- Аргументы
-
string | $code | Block code. |
string | null | $namespace | Namespace (optional). |
- Возвращает
- string|null
См. определение в файле block.php строка 634
◆ getCSS()
Get css file path, if exists.
- Возвращает
- array
См. определение в файле block.php строка 2142
◆ getDom()
Load current content in DOM html structure.
- Аргументы
-
bool | $clear | CLear static cache. |
- Возвращает
- DOM\Document
См. определение в файле block.php строка 3530
◆ getDynamicParams()
getDynamicParams |
( |
| $id = null | ) |
|
Gets dynamic source params.
- Аргументы
-
int | $id | Not current block id. |
- Возвращает
- array
См. определение в файле block.php строка 2902
◆ getError()
Get error collection
- Возвращает
- \Bitrix\Landing\Error
См. определение в файле block.php строка 1590
◆ getExt()
Get extensions.
- Возвращает
- array
См. определение в файле block.php строка 2160
◆ getFavorites()
getFavorites |
( |
?string | $tplCode | ) |
|
|
static |
Returns all favorites blocks.
- Аргументы
-
string | null | $tplCode | Page template code. |
- Возвращает
- array
См. определение в файле block.php строка 5210
◆ getId()
Get id of the block.
- Возвращает
- int
См. определение в файле block.php строка 1376
◆ getJS()
Get js file path, if exists.
- Возвращает
- array
См. определение в файле block.php строка 2151
◆ getLandingId()
Gets landing id.
- Возвращает
- int
См. определение в файле block.php строка 1385
◆ getLandingIdByBlockId()
getLandingIdByBlockId |
( |
| $id | ) |
|
|
static |
Recognize landing id by block id.
- Аргументы
-
int | array | $id | Block id (id array). |
- Возвращает
- int|array|false
См. определение в файле block.php строка 516
◆ getLandingRowByBlockId()
getLandingRowByBlockId |
( |
| $id, |
|
|
array | $select = array('ID') ) |
|
static |
Gets row by block id.
- Аргументы
-
int | array | $id | Block id (id array). |
array | $select | Select row. |
- Возвращает
- int|array|false
См. определение в файле block.php строка 551
◆ getLastUsed()
getLastUsed |
( |
int | $count = 15 | ) |
|
|
static |
Returns last used blocks by current user.
- Аргументы
-
int | $count | Count of blocks. |
- Возвращает
- array
См. определение в файле block.php строка 981
◆ getList()
getList |
( |
| $fields = array() | ) |
|
|
static |
Gets block's rows.
- Аргументы
-
array | $fields | Block orm data. |
- Возвращает
- \Bitrix\Main\DB\Result
См. определение в файле block.php строка 5229
◆ getLocalAnchor()
Get anchor of the block.
- Возвращает
- string
См. определение в файле block.php строка 1412
◆ getManifest()
Get manifest array from block.
- Аргументы
-
bool | $extended | Get extended manifest. |
bool | $missCache | Don't save in static cache. |
array | $params | Additional params. |
- Возвращает
- array
См. определение в файле block.php строка 1682
◆ getManifestFile()
Get manifest array as is from block.
- Аргументы
-
string | $code | Code name, format "namespace:code" or just "code". |
- Возвращает
- array
См. определение в файле block.php строка 2006
◆ getMenuHtml()
getMenuHtml |
( |
| $data, |
|
|
| $manifestNode, |
|
|
| $level = 'root' ) |
|
protected |
Returns menu html with child submenu.
- Аргументы
-
array | $data | Data array. |
array | $manifestNode | Manifest node for current selector. |
string | $level | Level (root or children). |
- Возвращает
- string
См. определение в файле block.php строка 4121
◆ getMessageBlock()
getMessageBlock |
( |
| $params, |
|
|
| $template = '' ) |
|
staticprotected |
Gets message string.
- Аргументы
-
array | $params | Component's params. |
string | $template | Template name. |
- Возвращает
- string
См. определение в файле block.php строка 2225
◆ getMeta()
Get metadata of current block.
- Возвращает
- array
См. определение в файле block.php строка 3559
◆ getNormalizedBlock()
getNormalizedBlock |
( |
string | $code | ) |
|
|
staticprotected |
Returns normalized block data.
- Аргументы
-
- Возвращает
- array|null
См. определение в файле block.php строка 593
◆ getPreview()
Get preview picture of the block.
- Возвращает
- string
См. определение в файле block.php строка 1576
◆ getRepoId()
Get repo id, if block from repo.
- Возвращает
- int
См. определение в файле block.php строка 1544
◆ getRepository()
- Возвращает
- array
См. определение в файле block.php строка 971
◆ getRowByBlockId()
getRowByBlockId |
( |
| $id, |
|
|
array | $select = array('ID') ) |
|
static |
Gets landing row by block id.
- Аргументы
-
int | array | $id | Block id (id array). |
array | $select | Select row. |
- Возвращает
- int|array|false
См. определение в файле block.php строка 562
◆ getRuntimeRequiredUserAction()
getRuntimeRequiredUserAction |
( |
| ) |
|
Gets only runtime required actions.
- Возвращает
- array
См. определение в файле block.php строка 3511
◆ getSemantic()
Returns blocks semantic manifests from repository.
- Возвращает
- array
См. определение в файле block.php строка 1071
◆ getSite()
Gets site row.
- Возвращает
- array
См. определение в файле block.php строка 1553
◆ getSiteId()
Gets site id (of landing).
- Возвращает
- int
См. определение в файле block.php строка 1394
◆ getSort()
Get sort of current block.
- Возвращает
- int
См. определение в файле block.php строка 2892
◆ getSpecialManifest()
getSpecialManifest |
( |
string | $type | ) |
|
|
staticprotected |
Returns blocks style manifest from repository.
- Аргументы
-
- Возвращает
- array
См. определение в файле block.php строка 1090
◆ getStyle()
Returns blocks style manifests from repository.
- Возвращает
- array
См. определение в файле block.php строка 1062
◆ getTypeClass()
Get class handler for type of node.
- См. также
- Node\Type::getClassName
- Аргументы
-
- Возвращает
- string
См. определение в файле block.php строка 1604
◆ includeBlockClass()
includeBlockClass |
( |
| $path | ) |
|
|
protected |
Include class of block.
- Аргументы
-
string | $path | Path of block class. |
- Возвращает
- \Bitrix\Landing\LandingBlock
См. определение в файле block.php строка 2179
◆ isActive()
Active or not the block.
- Возвращает
- boolean
См. определение в файле block.php строка 1476
◆ isContains()
isContains |
( |
int | $entityId, |
|
|
string | $needed, |
|
|
bool | $isLanding = false ) |
|
static |
Returns true if block's content contains needed string.
- Аргументы
-
int | $entityId | Block or landing id. |
string | $needed | String for search. |
bool | $isLanding | Set to true, if entity id is landing id. |
- Возвращает
- bool
См. определение в файле block.php строка 5302
◆ isDesigned()
Returns true if block was designed by user.
- Возвращает
- bool
См. определение в файле block.php строка 1494
◆ isNewBlock()
New or not the block.
- Аргументы
-
- Возвращает
- boolean
См. определение в файле block.php строка 922
◆ isPublic()
Public or not the block.
- Возвращает
- boolean
См. определение в файле block.php строка 1485
◆ localizationManifest()
localizationManifest |
( |
array & | $manifest, |
|
|
array | $lang ) |
|
protected |
Localize manifest.
- Аргументы
-
array | $manifest | Manifest array. |
array | $lang | Lang array. |
- Возвращает
- void
См. определение в файле block.php строка 1983
◆ markAsUsed()
markAsUsed |
( |
string | $blockCode | ) |
|
|
static |
Stores block by code as last used.
- Аргументы
-
string | $blockCode | Block code. |
- Возвращает
- void
См. определение в файле block.php строка 1009
◆ markDeleted()
Mark delete or not current block.
- Аргументы
-
- Возвращает
- void
См. определение в файле block.php строка 2807
◆ parseManifest()
Returns additional manifest nodes from content.
- Возвращает
- array
См. определение в файле block.php строка 1613
◆ prepareBlockContentFromRepository()
prepareBlockContentFromRepository |
( |
| $block | ) |
|
|
staticprotected |
◆ publicationBlocks()
Publication blocks for landing.
- Аргументы
-
\Bitrix\Landing\Landing | $landing | Landing instance. |
- Возвращает
- void
См. определение в файле block.php строка 506
◆ removeAsUsed()
removeAsUsed |
( |
string | $blockCode | ) |
|
|
static |
Removes block by code from last used.
- Аргументы
-
string | $blockCode | Block code. |
- Возвращает
- void
См. определение в файле block.php строка 1042
◆ removeCard()
removeCard |
( |
| $selector, |
|
|
| $position ) |
Remove one card from block by selector.
- Аргументы
-
string | $selector | Selector. |
int | $position | Card position. |
- Возвращает
- boolean Success or failure.
См. определение в файле block.php строка 3820
◆ removeStyle()
Recursive styles remove in Node.
- Аргументы
-
\Bitrix\Main\Web\DOM\Node | $node | Node for clear. |
array | $styleToRemove | Array of styles to remove. |
- Возвращает
- \Bitrix\Main\Web\DOM\Node
См. определение в файле block.php строка 4324
◆ replaceMetaMarkers()
replaceMetaMarkers |
( |
| $content | ) |
|
|
staticprotected |
Replace title and breadcrumb marker in the block.
- Аргументы
-
string | $content | Some content. |
- Возвращает
- string
См. определение в файле block.php строка 4701
◆ resetContent()
Reset content of current block.
- Возвращает
- void
См. определение в файле block.php строка 1456
◆ save()
save |
( |
array | $additionalFields = [] | ) |
|
Save current block in DB.
- Аргументы
-
array | $additionalFields | Additional fields for saving. |
- Возвращает
- boolean
См. определение в файле block.php строка 2704
◆ saveAssets()
saveAssets |
( |
array | $assets | ) |
|
Save assets to the block.
- Аргументы
-
array | $assets | New assets array. |
- Возвращает
- void
См. определение в файле block.php строка 2635
◆ saveContent()
saveContent |
( |
string | $content, |
|
|
| $designed = false ) |
Set new content.
- Аргументы
-
string | $content | New content. |
bool | $designed | Content was designed. |
- Возвращает
- void
См. определение в файле block.php строка 2676
◆ saveDynamicParams()
saveDynamicParams |
( |
array | $sourceParams = [], |
|
|
array | $params = [] ) |
Save dynamic params for the block.
- Аргументы
-
array | $sourceParams | Source params. |
array | $params | Additional params. |
- Возвращает
- void
См. определение в файле block.php строка 2964
◆ saveSort()
Save new sort to current block to DB.
- Аргументы
-
- Возвращает
- void
См. определение в файле block.php строка 2871
◆ search()
search |
( |
| $query, |
|
|
array | $filter = [], |
|
|
array | $select = ['LID'], |
|
|
array | $group = ['LID'] ) |
|
static |
Search in blocks.
- Аргументы
-
string | $query | Query string. |
array | $filter | Filter array. |
array | $select | Select fields. |
array | $group | Group fields. |
- Возвращает
- array
См. определение в файле block.php строка 5117
◆ setAccess()
Set new access to the block.
- Аргументы
-
string | $letter | Access letter. |
- Возвращает
- void
См. определение в файле block.php строка 1513
◆ setActive()
Set active to the block.
- Аргументы
-
boolean | $active | Bool: true or false. |
- Возвращает
- boolean
См. определение в файле block.php строка 1526
◆ setAllowedByTariff()
setAllowedByTariff |
( |
bool | $mark | ) |
|
Marks block as allowed or not by tariff.
- Аргументы
-
- Возвращает
- void
См. определение в файле block.php строка 1447
◆ setAnchor()
Set new anchor to current block.
- Аргументы
-
- Возвращает
- boolean
См. определение в файле block.php строка 2835
◆ setAttributes()
Set attributes to nodes of block.
- Аргументы
-
array | $data | Attrs data array. |
- Возвращает
- void
См. определение в файле block.php строка 4593
◆ setCardContent()
setCardContent |
( |
| $selector, |
|
|
| $position, |
|
|
| $content ) |
Set card content from block by selector.
- Аргументы
-
string | $selector | Selector. |
int | $position | Card position. |
string | $content | New content. |
- Возвращает
- boolean Success or failure.
См. определение в файле block.php строка 3738
◆ setClasses()
Set new classes to nodes of block.
- Аргументы
-
array | $data | Classes data array. |
- Возвращает
- boolean
См. определение в файле block.php строка 4355
◆ setDynamic()
Build dynamic content for the block.
- Аргументы
-
- Возвращает
- void
См. определение в файле block.php строка 3013
◆ setRuntimeRequiredUserAction()
setRuntimeRequiredUserAction |
( |
array | $action | ) |
|
Set only runtime required actions.
- Аргументы
-
См. определение в файле block.php строка 3520
◆ setSort()
Set new sort to current block.
- Аргументы
-
- Возвращает
- void
См. определение в файле block.php строка 2825
◆ unlink()
Delete current block.
- Возвращает
- boolean
См. определение в файле block.php строка 2782
◆ update()
update |
( |
| $id, |
|
|
| $fields = array() ) |
|
static |
Update block row.
- Аргументы
-
int | $id | Primary key. |
array | $fields | Block data. |
- Возвращает
- \Bitrix\Main\Result
См. определение в файле block.php строка 5166
◆ updateCards()
Change cards multiple.
- Аргументы
-
array | $data | Array with cards. |
- Возвращает
- boolean
См. определение в файле block.php строка 4205
◆ updateNodes()
updateNodes |
( |
| $data, |
|
|
| $additional = array() ) |
Set new content to nodes of block.
- Аргументы
-
array | $data | Nodes data array. |
array | $additional | Additional prams for save. |
- Возвращает
- boolean
См. определение в файле block.php строка 3935
◆ view()
Out the block.
- Аргументы
-
boolean | $edit | Out block in edit mode. |
Landing | null | $landing | Landing of this block. |
array | $params | Some params. |
- Возвращает
- void
См. определение в файле block.php строка 2247
◆ $access
◆ $active
◆ $allowedByTariff
◆ $allowedExtensions
Инициализатор= [
'landing_form',
'landing_carousel',
'landing_google_maps_new',
'landing_map',
'landing_countdown',
'landing_gallery_cards',
'landing_chat',
]
См. определение в файле block.php строка 235
◆ $allowedRepoExtensions
array $allowedRepoExtensions |
|
protected |
Инициализатор= [
'landing.widgetvue',
]
См. определение в файле block.php строка 249
◆ $anchor
◆ $assets
◆ $code
◆ $content
◆ $deleted
◆ $designed
◆ $docRoot
◆ $dynamicParams
◆ $error
◆ $id
◆ $internalClass
◆ $landingActive
◆ $lid
◆ $metaData
◆ $parentId
◆ $public
◆ $repoId
◆ $repoInfo
◆ $runtimeRequiredUserAction
$runtimeRequiredUserAction = [] |
|
protected |
◆ $siteId
◆ $sort
◆ ACCESS_A
Access level: any access denied to all blocks.
См. определение в файле block.php строка 49
◆ ACCESS_D
Access level: access denied.
См. определение в файле block.php строка 54
◆ ACCESS_V
Access level: edit only design.
См. определение в файле block.php строка 59
◆ ACCESS_W
Access level: edit content and design (not delete).
См. определение в файле block.php строка 64
◆ ACCESS_X
Access level: full access.
См. определение в файле block.php строка 69
◆ CARD_SYM_CODE
const CARD_SYM_CODE = 'card' |
Symbolic code of card.
См. определение в файле block.php строка 74
◆ CSS_FILE_NAME
const CSS_FILE_NAME = 'style.css' |
Local css filename.
См. определение в файле block.php строка 34
◆ DEFAULT_WRAPPER_STYLE
const DEFAULT_WRAPPER_STYLE = ['block-default'] |
Default setting for block wrapper style, if not set manifest[styles][block] section
См. определение в файле block.php строка 84
◆ JS_FILE_NAME
const JS_FILE_NAME = 'script.js' |
Local js filename.
См. определение в файле block.php строка 39
◆ PRESET_SYM_CODE
const PRESET_SYM_CODE = 'preset' |
Symbolic code of preset.
См. определение в файле block.php строка 79
◆ PREVIEW_FILE_NAME
const PREVIEW_FILE_NAME = 'preview.jpg' |
Block preview filename.
См. определение в файле block.php строка 29
◆ REPO_MASK
const REPO_MASK = '/^repo_([\d]+)$/' |
Pattern for repo code.
См. определение в файле block.php строка 44
Объявления и описания членов класса находятся в файле: