1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CLearnHelper

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

static PatchLessonContentLinks ($strContent, $contextCourseId=false)
static FireEvent ($eventName, $eventParams)
static SQLClauseForAllSubLessons ($parentLessonId)
static MkOperationFilter ($key)
static FilterCreate ($fname, $vals, $type, &$bFullJoin, $cOperationType=false, $bSkipEmpty=true)
static isUpdatedToGraph ()
static setUpdatedToGraphStatus ($status)
static getUpdatedToGraphStatus ()
static IsBaseFilenameSafe ($filename)
static CopyDirFiles ($path_from, $path_to, $ReWrite=True, $Recursive=False)

Поля данных

const GRAPH_STATUS_NOT_SET = '1'
const GRAPH_STATUS_LEGACY = '2'
const GRAPH_STATUS_UPDATED_TO_GRAPH = '3'
const GRAPH_STATUS_UNDEFINED = '4'
const MODULE_ID = 'learning'
const OPTION_ID = '~CLearnHelper::isUpdatedToGraph();'
const DEFAULT_VALUE = self::GRAPH_STATUS_NOT_SET
const SITE_ID = ''
const ACCESS_READ = 0x001
const ACCESS_MODIFY = 0x003

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

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

Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

Методы

◆ CopyDirFiles()

CopyDirFiles ( $path_from,
$path_to,
$ReWrite = True,
$Recursive = False )
static
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ FilterCreate()

FilterCreate ( $fname,
$vals,
$type,
& $bFullJoin,
$cOperationType = false,
$bSkipEmpty = true )
static

This code writed not by me, but I rely on it in good state

Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php и C:/bitrix/modules/learning/classes/general/clearnlesson.php.

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

◆ FireEvent()

FireEvent ( $eventName,
$eventParams )
static
Возвращает
void
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ getUpdatedToGraphStatus()

getUpdatedToGraphStatus ( )
static
Возвращает
string $status one of this values: self::GRAPH_STATUS_LEGACY - if not updated to graph (it means, we must work in legacy mode) self::GRAPH_STATUS_UPDATED_TO_GRAPH - if update to graph, self::GRAPH_STATUS_UNDEFINED - if status is undefined (update in progress or interrupted)
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ IsBaseFilenameSafe()

IsBaseFilenameSafe ( $filename)
static
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ isUpdatedToGraph()

isUpdatedToGraph ( )
static
Возвращает
boolean true, if data tables updated to graph (new native mode) otherwise returns false (it means, we must work in legacy mode)
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ MkOperationFilter()

MkOperationFilter ( $key)
static

Linked from CAllCourse::MkOperationFilter($key); This code writed not by me, but I rely on it in good state

Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php и C:/bitrix/modules/learning/classes/general/clearnlesson.php.

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

◆ PatchLessonContentLinks()

PatchLessonContentLinks ( $strContent,
$contextCourseId = false )
static

Don't relay on this function, it can be removed without any notifications.

Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ setUpdatedToGraphStatus()

setUpdatedToGraphStatus ( $status)
static
Аргументы
string$statusone of this values: self::GRAPH_STATUS_LEGACY - if not updated to grpah yet (legacy mode) self::GRAPH_STATUS_UPDATED_TO_GRAPH - if updated to graph, self::GRAPH_STATUS_UNDEFINED - if status is undefined (update in progress or interrupted)
Возвращает
boolean true if saved successfully, false otherwise.
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ SQLClauseForAllSubLessons()

SQLClauseForAllSubLessons ( $parentLessonId)
static
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

Поля

◆ ACCESS_MODIFY

const ACCESS_MODIFY = 0x003
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ ACCESS_READ

const ACCESS_READ = 0x001
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ DEFAULT_VALUE

const DEFAULT_VALUE = self::GRAPH_STATUS_NOT_SET
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ GRAPH_STATUS_LEGACY

const GRAPH_STATUS_LEGACY = '2'
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ GRAPH_STATUS_NOT_SET

const GRAPH_STATUS_NOT_SET = '1'
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ GRAPH_STATUS_UNDEFINED

const GRAPH_STATUS_UNDEFINED = '4'
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ GRAPH_STATUS_UPDATED_TO_GRAPH

const GRAPH_STATUS_UPDATED_TO_GRAPH = '3'
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ MODULE_ID

const MODULE_ID = 'learning'
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ OPTION_ID

const OPTION_ID = '~CLearnHelper::isUpdatedToGraph();'
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

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

◆ SITE_ID

const SITE_ID = ''

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


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