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

Открытые члены

 __construct ($rootLessonId, $arOrder=null, $arFilter=array(), $publishProhibitionMode=true, $arSelectFields=array())
 GetTree ()
 GetTreeAsList ()
 GetTreeAsListOldMode ()
 GetLessonsIdListInTree ()

Защищенные члены

 BuildTreeRecursive ($rootLessonId, $arOrder, $arFilter, $depth=0, $parentChapterId=NULL, $arSelectFields, $arRootPath)
 EnsureStrictlyCastableToInt ($i)

Защищенные данные

 $arTree = NULL
 $arLessonsInTree = array()
 $arLessonsAsList = array()
 $arLessonsAsListOldMode = array()
 $arPublishProhibitedLessons = array()

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

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

Конструктор(ы)

◆ __construct()

__construct ( $rootLessonId,
$arOrder = null,
$arFilter = array(),
$publishProhibitionMode = true,
$arSelectFields = array() )

Build tree of lessons with the given root.

WARNING: tree build algorithm skips duplicated lessons, so if there is some duplicates lessons, only one of them will be in resulted tree.

Аргументы
integerid of root lesson
arrayorder
arrayfilter
boolskip publish prohibited lessons in context of $rootLessonId

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

Методы

◆ BuildTreeRecursive()

BuildTreeRecursive ( $rootLessonId,
$arOrder,
$arFilter,
$depth = 0,
$parentChapterId = NULL,
$arSelectFields,
$arRootPath )
protected

WARNING: tree build algorithm skips duplicated lessons, so if there is some duplicates lessons, only one of them will be in resulted tree.

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

◆ EnsureStrictlyCastableToInt()

EnsureStrictlyCastableToInt ( $i)
protected

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

◆ GetLessonsIdListInTree()

GetLessonsIdListInTree ( )

WARNING: tree build algorithm skips duplicated lessons, so if there is some duplicates lessons, only one of them will be in resulted tree.

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

◆ GetTree()

GetTree ( )

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

◆ GetTreeAsList()

GetTreeAsList ( )

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

◆ GetTreeAsListOldMode()

GetTreeAsListOldMode ( )

WARNING: tree build algorithm skips duplicated lessons, so if there is some duplicates lessons, only one of them will be in resulted tree.

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

Поля

◆ $arLessonsAsList

$arLessonsAsList = array()
protected

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

◆ $arLessonsAsListOldMode

$arLessonsAsListOldMode = array()
protected

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

◆ $arLessonsInTree

$arLessonsInTree = array()
protected

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

◆ $arPublishProhibitedLessons

$arPublishProhibitedLessons = array()
protected

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

◆ $arTree

$arTree = NULL
protected

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


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