1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Repo
Граф наследования:Repo:
BaseTable

Открытые статические члены

static add ($fields)
static update ($id, $fields=array())
static delete ($id)
static getRepository ()
static getBlock ($id)
static getById ($id)
static deleteByAppCode ($code)
static getAppInfo (array|int $id)
static getAppByCode ($code)
Открытые статические члены унаследованные от BaseTable
static callback ($code, $callback)

Статические открытые данные

static $internalClass = 'RepoTable'
Статические открытые данные унаследованные от BaseTable
static $internalClass = null

Подробное описание

См. определение в файле repo.php строка 8

Методы

◆ add()

add ( $fields)
static

Create new record and return it new id.

Аргументы
array$fieldsFields array.
Возвращает
\Bitrix\Main\Result

См. определение в файле repo.php строка 21

◆ delete()

delete ( $id)
static

Delete the record.

Аргументы
int$idRecord id.
Возвращает
\Bitrix\Main\Result

См. определение в файле repo.php строка 56

◆ deleteByAppCode()

deleteByAppCode ( $code)
static

Delete all app blocks from repo.

Аргументы
string$codeApp code.
Возвращает
void

См. определение в файле repo.php строка 216

◆ getAppByCode()

getAppByCode ( $code)
static

Get info about app by code(s) from Repo.

Аргументы
string | array$codeApp code(s).
Возвращает
array

См. определение в файле repo.php строка 302

◆ getAppInfo()

getAppInfo ( array|int $id)
static

Return info about installed app(s).

Аргументы
array | int$idRepo block id(s).
Возвращает
array

См. определение в файле repo.php строка 245

◆ getBlock()

getBlock ( $id)
static

Return full info from rest block.

Аргументы
int$idBlock id.
Возвращает
array

См. определение в файле repo.php строка 150

◆ getById()

getById ( $id)
static

Get row by Id.

Аргументы
int$idId.
Возвращает
\Bitrix\Main\DB\Result

См. определение в файле repo.php строка 202

◆ getRepository()

getRepository ( )
static

Get repository.

Возвращает
array

См. определение в файле repo.php строка 72

◆ update()

update ( $id,
$fields = array() )
static

Update the record.

Аргументы
int$idRecord id.
array$fieldsNew fields record.
Возвращает
\Bitrix\Main\Result

См. определение в файле repo.php строка 39

Поля

◆ $internalClass

$internalClass = 'RepoTable'
static

См. определение в файле repo.php строка 14


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/landing/lib/repo.php