1C-Bitrix 25.700.0
|
Открытые статические члены | |
static | Remove ($id) |
static | GetByID ($id) |
static | Create ($arInFields) |
static | Update ($id, $arInFields) |
Поля данных | |
const | SQL_NONE = 0 |
const | SQL_SELECT = 1 |
const | SQL_INSERT = 2 |
const | SQL_UPDATE = 4 |
Защищенные статические члены | |
static | _InsertOrUpdate ($arInFields, $mode, $id=false) |
static | _PrepareDataForQuery ($arFieldsMap, $arFields, $lessonId) |
static | _UploadFile ($fieldNameInDB, $arData) |
static | _CheckAndCanonizeFields ($arFieldsMap, $arFields, $access_level, $forUpdate=false) |
static | _GetFieldsMap () |
static | _GetReversedFieldsMap () |
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 строка 94
|
staticprotected |
LearnException | with errcode LearnException\EXC_ERR_GN_CHECK_PARAMS |
См. определение в файле ilearngraphnode.php строка 386
|
staticprotected |
См. определение в файле ilearngraphnode.php строка 574
|
staticprotected |
См. определение в файле ilearngraphnode.php строка 632
|
staticprotected |
См. определение в файле ilearngraphnode.php строка 200
|
staticprotected |
Prepares array of fields with values for query to DB. Also, uploads/removes files, if there are.
LearnException | on error. Errcodes are: LearnException\EXC_ERR_GN_CHECK_PARAMS, LearnException\EXC_ERR_GN_FILE_UPLOAD |
См. определение в файле ilearngraphnode.php строка 268
|
staticprotected |
См. определение в файле ilearngraphnode.php строка 333
|
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 )
array | of 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 |
LearnException | with errcodes:
|
Замещает ILearnGraphNode.
См. определение в файле ilearngraphnode.php строка 190
|
static |
integer | id of node to be getted |
LearnException | with errcode LearnException\EXC_ERR_GN_GETBYID. Messages can be: 'EA_PARAMS', 'EA_ACCESS_DENIED', 'EA_SQLERROR', 'EA_NOT_EXISTS'. |
Замещает ILearnGraphNode.
См. определение в файле ilearngraphnode.php строка 138
|
static |
integer | id of node to be removed |
LearnException | with errcode LearnException\EXC_ERR_GN_REMOVE, also errmsg === 'EA_NOT_EXISTS' if there is wasn't node with this id. |
Замещает ILearnGraphNode.
См. определение в файле ilearngraphnode.php строка 102
|
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 )
integer | id of node to be updated |
array | of pairs field => value for new GraphNode |
LearnException | with errcodes:
|
Замещает ILearnGraphNode.
См. определение в файле ilearngraphnode.php строка 195
const SQL_INSERT = 2 |
См. определение в файле ilearngraphnode.php строка 99
const SQL_NONE = 0 |
См. определение в файле ilearngraphnode.php строка 97
const SQL_SELECT = 1 |
См. определение в файле ilearngraphnode.php строка 98
const SQL_UPDATE = 4 |
См. определение в файле ilearngraphnode.php строка 100