Utils
Table of Contents
Methods
- extractEntityDescription() : array<string|int, mixed>
- getFileHash() : mixed
- jsonEncode() : mixed
Methods
extractEntityDescription()
public
static extractEntityDescription(mixed $entityIdentifier[, string $defaultNamespace = "bitrix" ]) : array<string|int, mixed>
Parameters
- $entityIdentifier : mixed
- $defaultNamespace : string = "bitrix"
Tags
Return values
array<string|int, mixed>getFileHash()
public
static getFileHash(File $file) : mixed
Parameters
- $file : File
jsonEncode()
public
static jsonEncode(mixed $string[, int $options = JSON_HEX_TAG | JSON_HEX_AMP | JSON_PRETTY_PRINT | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE ]) : mixed
Parameters
- $string : mixed
- $options : int = JSON_HEX_TAG | JSON_HEX_AMP | JSON_PRETTY_PRINT | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE