Bitrix API

Texts

Class Texts

Table of Contents

Constants

IMAGE_DIR  = '/images/sender/preset/template_v2/'

Methods

getByCode()  : array<string|int, mixed>|null
Get texts by code.
getCodes()  : array<string|int, mixed>|null
Get codes.
getListByType()  : array<string|int, mixed>
Get texts list by type.
replace()  : string
Get replace.

Constants

IMAGE_DIR

public mixed IMAGE_DIR = '/images/sender/preset/template_v2/'

Methods

getByCode()

Get texts by code.

public static getByCode(string $code) : array<string|int, mixed>|null
Parameters
$code : string

Code.

Return values
array<string|int, mixed>|null

getCodes()

Get codes.

public static getCodes() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getListByType()

Get texts list by type.

public static getListByType(string $type) : array<string|int, mixed>
Parameters
$type : string

Type.

Return values
array<string|int, mixed>

replace()

Get replace.

public static replace([string $text = '' ]) : string
Parameters
$text : string = ''

Text.

Return values
string

        
On this page

Search results