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

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

 __construct ($PACKAGE_DIR, $arSITE_ID)
 ImportPackage ()

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

static ImageTypeToMimeType ($type)

Поля данных

 $package_dir
 $LAST_ERROR = ""
 $arManifest = Array()
 $arSITE_ID = Array()
 $COURSE_ID = 0
 $objXML
 $arDraftFields = Array("detail_text", "preview_text", "description")
 $arUnsetFields
 $arPicture = Array("detail_picture", "preview_picture", "file_id")
 $arDate = Array("active_from", "active_to")
 $arWarnings = Array()

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

 CreateCourse ()
 CreateContent ($arItems=Array(), $PARENT_ID=0)
 _MakeItems ($TITLE, $TYPE, $RES_ID, $PARENT_ID)
 _MakeFields (&$arFields, $itemType=null)

Защищенные статические члены

static ImageTypeToMimeTypeByFileName ($file)

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

 $arPreventUnsetFieldsForTest = array('description', 'description_type')
 $arLessonWritableFields

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

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

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

◆ __construct()

__construct ( $PACKAGE_DIR,
$arSITE_ID )

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

Методы

◆ _MakeFields()

_MakeFields ( & $arFields,
$itemType = null )
protected

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

◆ _MakeItems()

_MakeItems ( $TITLE,
$TYPE,
$RES_ID,
$PARENT_ID )
protected

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

◆ CreateContent()

CreateContent ( $arItems = Array(),
$PARENT_ID = 0 )
protected

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

◆ CreateCourse()

CreateCourse ( )
protected

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

◆ ImageTypeToMimeType()

ImageTypeToMimeType ( $type)
static

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

◆ ImageTypeToMimeTypeByFileName()

ImageTypeToMimeTypeByFileName ( $file)
staticprotected

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

◆ ImportPackage()

ImportPackage ( )

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

Поля

◆ $arDate

$arDate = Array("active_from", "active_to")

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

◆ $arDraftFields

$arDraftFields = Array("detail_text", "preview_text", "description")

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

◆ $arLessonWritableFields

$arLessonWritableFields
protected
Инициализатор
= array('NAME', 'ACTIVE', 'CODE',
'PREVIEW_PICTURE', 'PREVIEW_TEXT', 'PREVIEW_TEXT_TYPE',
'DETAIL_PICTURE', 'DETAIL_TEXT', 'DETAIL_TEXT_TYPE',
'LAUNCH', 'KEYWORDS')
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

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

◆ $arManifest

$arManifest = Array()

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

◆ $arPicture

$arPicture = Array("detail_picture", "preview_picture", "file_id")

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

◆ $arPreventUnsetFieldsForTest

$arPreventUnsetFieldsForTest = array('description', 'description_type')
protected

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

◆ $arSITE_ID

$arSITE_ID = Array()

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

◆ $arUnsetFields

$arUnsetFields
Инициализатор
= Array("id", "site_id", "timestamp_x", 'date_create',
"chapter_id", "course_id", "lesson_id", "question_id",
"created_by", 'created_user_name', 'linked_lesson_id',
'childs_cnt', 'is_childs', 'description', 'description_type',
'was_chapter_id')

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

◆ $arWarnings

$arWarnings = Array()

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

◆ $COURSE_ID

$COURSE_ID = 0

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

◆ $LAST_ERROR

$LAST_ERROR = ""

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

◆ $objXML

$objXML

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

◆ $package_dir

$package_dir

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


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