Bitrix API

StyleImg extends Node

Fake node for images, then add in design. Not using in edit panel!

Table of Contents

Constants

STYLES_WITH_IMAGE  = ['background', 'block-default', 'block-border']

Methods

getHandlerJS()  : string
Get class - frontend handler.
getNode()  : array<string|int, mixed>
Get data for this node.
getSearchableNode()  : array<string|int, mixed>
This node may participate in searching.
saveNode()  : void
Save data for this node.

Constants

STYLES_WITH_IMAGE

public mixed STYLES_WITH_IMAGE = ['background', 'block-default', 'block-border']

Methods

getHandlerJS()

Get class - frontend handler.

public static getHandlerJS() : string
Return values
string

getNode()

Get data for this node.

public static getNode(Block $block, string $selector) : array<string|int, mixed>
Parameters
$block : Block

Block instance.

$selector : string

Selector.

Return values
array<string|int, mixed>

getSearchableNode()

This node may participate in searching.

public static getSearchableNode(Block $block, string $selector) : array<string|int, mixed>
Parameters
$block : Block

Block instance.

$selector : string

Selector.

Return values
array<string|int, mixed>

saveNode()

Save data for this node.

public static saveNode(Block $block, string $selector, array<string|int, mixed> $data) : void
Parameters
$block : Block

Block instance.

$selector : string

Selector.

$data : array<string|int, mixed>

Data array.


        
On this page

Search results