1C-Bitrix 25.700.0
|
Открытые статические члены | |
static | getSiteJsonString (Site $siteData, string $requestCode) |
static | getBlockJsonString (array $blocks) |
static | initSiteBlocks (Site $siteData, array $json) |
static | initSiteContent (Site $siteData, array $json) |
static | initSiteBlock (Site $siteData, array $json) |
static | saveImgNodesDataFromResponse (Site $siteData, array $result) |
static | compressJsonString (string $json) |
static | expandJsonString (string $json) |
static | getSkeletonForSiteDataResponse () |
static | getSkeletonForBlocksContentResponse (string $jsonDataForRequest) |
static | getSkeletonForBlockContentResponse (string $jsonDataForRequest) |
Защищенные статические члены | |
static | prepareNode (Node $node) |
static | filterNodesByEmptyPromptTexts (array $blocksWithImgNodes) |
Provide data transfer between json arrays and data objects
|
static |
|
static |
|
staticprotected |
Filters blocks by removing nodes with non-empty 'promptTexts' and clears 'promptTexts' from filtered nodes.
array | $blocksWithImgNodes | An array of blocks, each containing a 'nodes' key with an array of nodes. |
|
static |
|
static |
|
static |
|
static |
Generates a JSON skeleton string for block content responses with placeholder values.
string | $jsonDataForRequest | The JSON string encoding block data to be used for skeleton creation. |
|
static |
|
staticprotected |