ILIAS
Release_4_1_x_branch Revision 61804
|
class ilCourseArchives More...
Public Member Functions | |
ilCourseArchives (&$course_obj) | |
getArchives () | |
getArchive ($a_id) | |
getPublicArchives () | |
setType ($a_type) | |
getType () | |
setDate ($a_date) | |
getDate () | |
setSize ($a_size) | |
getSize () | |
setName ($a_name) | |
getName () | |
setLanguage ($a_lang_code) | |
getLanguage () | |
getArchiveFile ($a_id) | |
addXML ($a_selection="") | |
Add XML archive. | |
addHTML () | |
add () | |
delete ($a_id) | |
deleteAll () | |
initCourseFilesObject () | |
initCourseXMLWriter () | |
__addZipFiles ($a_parent_id, $a_selection="") | |
Add zip files to folder. | |
__addHTMLFiles ($a_parent_id) | |
__addCourseHTML () | |
__buildStructure (&$tmp_tpl, $a_parent_id) | |
cloneArchives () | |
Clone archives. | |
__read () |
Data Fields | |
$course_obj | |
$ilias | |
$ilErr | |
$ilDB | |
$tree | |
$lng | |
$archive_type | |
$archive_date | |
$archive_size | |
$archive_name | |
$archive_lang | |
$course_files_obj | |
$course_xml_writer |
Private Attributes | |
$fss_storage |
class ilCourseArchives
Definition at line 36 of file class.ilCourseArchives.php.
ilCourseArchives::__addCourseHTML | ( | ) |
Definition at line 399 of file class.ilCourseArchives.php.
References $ilias, $lng, $tpl, __buildStructure(), getLanguage(), and getName().
Referenced by addHTML().
ilCourseArchives::__addHTMLFiles | ( | $a_parent_id | ) |
Definition at line 372 of file class.ilCourseArchives.php.
References ilObjectFactory\getInstanceByRefId(), and getName().
Referenced by addHTML().
ilCourseArchives::__addZipFiles | ( | $a_parent_id, | |
$a_selection = "" |
|||
) |
Add zip files to folder.
array | selection array: key is ref_id, value is "last_file", "omit" or "create" |
Definition at line 314 of file class.ilCourseArchives.php.
References ilExport\_getExportDirectory(), ilExport\_getLastExportFileInformation(), ilObjectFactory\getInstanceByRefId(), and getName().
Referenced by addXML().
ilCourseArchives::__buildStructure | ( | & | $tmp_tpl, |
$a_parent_id | |||
) |
Definition at line 508 of file class.ilCourseArchives.php.
References ilObjectFactory\getInstanceByRefId().
Referenced by __addCourseHTML().
ilCourseArchives::__read | ( | ) |
Definition at line 567 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilDB\query().
Referenced by add(), delete(), and ilCourseArchives().
ilCourseArchives::add | ( | ) |
Definition at line 240 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, and __read().
Referenced by addHTML(), and addXML().
ilCourseArchives::addHTML | ( | ) |
Definition at line 210 of file class.ilCourseArchives.php.
References __addCourseHTML(), __addHTMLFiles(), add(), getDate(), getName(), initCourseFilesObject(), setDate(), setName(), setSize(), and setType().
ilCourseArchives::addXML | ( | $a_selection = "" | ) |
Add XML archive.
array | selection array: key is ref_id, value is "last_file", "omit" or "create" |
Definition at line 171 of file class.ilCourseArchives.php.
References __addZipFiles(), ilExport\_generateIndexFile(), add(), getName(), initCourseFilesObject(), initCourseXMLWriter(), setDate(), setName(), setSize(), and setType().
ilCourseArchives::cloneArchives | ( | ) |
ilCourseArchives::delete | ( | $a_id | ) |
Definition at line 261 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, __read(), and initCourseFilesObject().
ilCourseArchives::deleteAll | ( | ) |
Definition at line 279 of file class.ilCourseArchives.php.
References getArchives().
ilCourseArchives::getArchive | ( | $a_id | ) |
Definition at line 82 of file class.ilCourseArchives.php.
Referenced by getArchiveFile().
ilCourseArchives::getArchiveFile | ( | $a_id | ) |
Definition at line 150 of file class.ilCourseArchives.php.
References getArchive(), and initCourseFilesObject().
ilCourseArchives::getArchives | ( | ) |
Definition at line 77 of file class.ilCourseArchives.php.
Referenced by deleteAll().
ilCourseArchives::getDate | ( | ) |
Definition at line 119 of file class.ilCourseArchives.php.
Referenced by addHTML().
ilCourseArchives::getLanguage | ( | ) |
Definition at line 144 of file class.ilCourseArchives.php.
References $archive_lang.
Referenced by __addCourseHTML().
ilCourseArchives::getName | ( | ) |
Definition at line 136 of file class.ilCourseArchives.php.
References $archive_name.
Referenced by __addCourseHTML(), __addHTMLFiles(), __addZipFiles(), addHTML(), and addXML().
ilCourseArchives::getPublicArchives | ( | ) |
Definition at line 87 of file class.ilCourseArchives.php.
ilCourseArchives::getSize | ( | ) |
Definition at line 128 of file class.ilCourseArchives.php.
References $archive_size.
ilCourseArchives::getType | ( | ) |
Definition at line 110 of file class.ilCourseArchives.php.
ilCourseArchives::ilCourseArchives | ( | & | $course_obj | ) |
Definition at line 57 of file class.ilCourseArchives.php.
References $course_obj, $ilDB, $ilErr, $ilias, $lng, $tree, and __read().
ilCourseArchives::initCourseFilesObject | ( | ) |
Definition at line 287 of file class.ilCourseArchives.php.
Referenced by addHTML(), addXML(), delete(), and getArchiveFile().
ilCourseArchives::initCourseXMLWriter | ( | ) |
Definition at line 297 of file class.ilCourseArchives.php.
Referenced by addXML().
ilCourseArchives::setDate | ( | $a_date | ) |
Definition at line 115 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setLanguage | ( | $a_lang_code | ) |
Definition at line 140 of file class.ilCourseArchives.php.
ilCourseArchives::setName | ( | $a_name | ) |
Definition at line 132 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setSize | ( | $a_size | ) |
Definition at line 124 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setType | ( | $a_type | ) |
Definition at line 106 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::$archive_date |
Definition at line 46 of file class.ilCourseArchives.php.
ilCourseArchives::$archive_lang |
Definition at line 49 of file class.ilCourseArchives.php.
Referenced by getLanguage().
ilCourseArchives::$archive_name |
Definition at line 48 of file class.ilCourseArchives.php.
Referenced by getName().
ilCourseArchives::$archive_size |
Definition at line 47 of file class.ilCourseArchives.php.
Referenced by getSize().
ilCourseArchives::$archive_type |
Definition at line 45 of file class.ilCourseArchives.php.
ilCourseArchives::$course_files_obj |
Definition at line 51 of file class.ilCourseArchives.php.
ilCourseArchives::$course_obj |
Definition at line 38 of file class.ilCourseArchives.php.
Referenced by ilCourseArchives().
ilCourseArchives::$course_xml_writer |
Definition at line 52 of file class.ilCourseArchives.php.
|
private |
Definition at line 54 of file class.ilCourseArchives.php.
ilCourseArchives::$ilDB |
Definition at line 41 of file class.ilCourseArchives.php.
Referenced by __read(), add(), delete(), and ilCourseArchives().
ilCourseArchives::$ilErr |
Definition at line 40 of file class.ilCourseArchives.php.
Referenced by ilCourseArchives().
ilCourseArchives::$ilias |
Definition at line 39 of file class.ilCourseArchives.php.
Referenced by __addCourseHTML(), and ilCourseArchives().
ilCourseArchives::$lng |
Definition at line 43 of file class.ilCourseArchives.php.
Referenced by __addCourseHTML(), and ilCourseArchives().
ilCourseArchives::$tree |
Definition at line 42 of file class.ilCourseArchives.php.
Referenced by ilCourseArchives().