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

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

static Create ($arFields)
static Update ($id, $arFields)
static GetByID ($id)
static Remove ($id)

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

WARNING: nobody shouldn't rely on this code, because it's FOR INTERNAL USE ONLY. Any declared function can be removed or changed in future versions. This code can be changed without any notifications. DON'T USE it nowhere.

@access private

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

Методы

◆ Create()

Create ( $arFields)
static

WARNING: this method terminates (by die()/exit()) current execution flow when SQL server error occured. It's due to bug in CDatabase::Insert() in main module (version info: define("SM_VERSION","11.0.12"); define("SM_VERSION_DATE","2012-02-21 17:00:00"); // YYYY-MM-DD HH:MI:SS )

Аргументы
arrayof pairs field => value for new GraphNode. Allowed fields are: ACTIVE, true by default, available values are: true/false NAME, mustn't be omitted CODE, NULL by default PREVIEW_PICTURE, NULL by default, available value is array ('name' => ..., 'size' => ..., 'tmp_name' => ..., 'type' => ..., 'del' => ...) PREVIEW_TEXT, NULL by default PREVIEW_TEXT_TYPE, 'text' by default, available values are: 'text', 'html' DETAIL_PICTURE, NULL by default, available value is array ('name' => ..., 'size' => ..., 'tmp_name' => ..., 'type' => ..., 'del' => ...) DETAIL_TEXT, NULL by default DETAIL_TEXT_TYPE, 'text' by default, available values are: 'text', 'html', 'file' (filename in LAUNCH) LAUNCH, NULL by default
Исключения
LearnExceptionwith errcodes:
Возвращает
integer id of created graph node

Замещается в CLearnGraphNode.

◆ GetByID()

GetByID ( $id)
static
Аргументы
integerid of node to be getted
Исключения
LearnExceptionwith errcode LearnException\EXC_ERR_GN_GETBYID. Messages can be: 'EA_PARAMS', 'EA_ACCESS_DENIED', 'EA_SQLERROR', 'EA_NOT_EXISTS'.
Возвращает
array of properties for node with $id

Замещается в CLearnGraphNode.

◆ Remove()

Remove ( $id)
static
Аргументы
integerid of node to be removed
Исключения
LearnExceptionwith errcode LearnException\EXC_ERR_GN_REMOVE, also errmsg === 'EA_NOT_EXISTS' if there is wasn't node with this id.

Замещается в CLearnGraphNode.

◆ Update()

Update ( $id,
$arFields )
static

WARNING: this method terminates (by die()/exit()) current execution flow when SQL server error occured. It's due to bug in CDatabase::Update() in main module (version info: define("SM_VERSION","11.0.12"); define("SM_VERSION_DATE","2012-02-21 17:00:00"); // YYYY-MM-DD HH:MI:SS )

Аргументы
integerid of node to be updated
arrayof pairs field => value for new GraphNode
Исключения
LearnExceptionwith errcodes:

Замещается в CLearnGraphNode.


Объявления и описания членов интерфейса находятся в файле: