Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Base.php
1<?php
2
4
5abstract class Base
6{
11 protected const ENTITY = 'ba';
12
14 protected const SEPARATOR = '|';
15
16 protected const CHUNK_LENGTH = 1000;
17
22 abstract public static function getDefaultSettings(): array;
23
31 abstract public static function getUserSettings(int $userId): array;
32
40 abstract public static function getGroupSettings(int $groupId): array;
41
48 abstract public static function setSettings(int $groupId, array $settings): void;
49
56 abstract public static function updateGroupSettings(int $groupId, array $settings): void;
57
66 abstract protected static function encodeSettings(array $settings): array;
67
75 abstract public static function decodeSettings(array $rowSettings): array;
76
77}
static updateGroupSettings(int $groupId, array $settings)
static getGroupSettings(int $groupId)
static getUserSettings(int $userId)
static encodeSettings(array $settings)
static decodeSettings(array $rowSettings)
static setSettings(int $groupId, array $settings)