ILIAS
Release_4_0_x_branch Revision 61816
|
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 35 of file class.ilCourseArchives.php.
ilCourseArchives::__addCourseHTML | ( | ) |
Definition at line 398 of file class.ilCourseArchives.php.
References $ilias, $lng, $tpl, __buildStructure(), getLanguage(), and getName().
Referenced by addHTML().
ilCourseArchives::__addHTMLFiles | ( | $a_parent_id | ) |
Definition at line 371 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 313 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 507 of file class.ilCourseArchives.php.
References $key, and ilObjectFactory\getInstanceByRefId().
Referenced by __addCourseHTML().
ilCourseArchives::__read | ( | ) |
Definition at line 566 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 239 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, and __read().
Referenced by addHTML(), and addXML().
ilCourseArchives::addHTML | ( | ) |
Definition at line 209 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 170 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 260 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, __read(), and initCourseFilesObject().
ilCourseArchives::deleteAll | ( | ) |
Definition at line 278 of file class.ilCourseArchives.php.
References getArchives().
ilCourseArchives::getArchive | ( | $a_id | ) |
Definition at line 81 of file class.ilCourseArchives.php.
Referenced by getArchiveFile().
ilCourseArchives::getArchiveFile | ( | $a_id | ) |
Definition at line 149 of file class.ilCourseArchives.php.
References getArchive(), and initCourseFilesObject().
ilCourseArchives::getArchives | ( | ) |
Definition at line 76 of file class.ilCourseArchives.php.
Referenced by deleteAll().
ilCourseArchives::getDate | ( | ) |
Definition at line 118 of file class.ilCourseArchives.php.
Referenced by addHTML().
ilCourseArchives::getLanguage | ( | ) |
Definition at line 143 of file class.ilCourseArchives.php.
References $archive_lang.
Referenced by __addCourseHTML().
ilCourseArchives::getName | ( | ) |
Definition at line 135 of file class.ilCourseArchives.php.
References $archive_name.
Referenced by __addCourseHTML(), __addHTMLFiles(), __addZipFiles(), addHTML(), and addXML().
ilCourseArchives::getPublicArchives | ( | ) |
Definition at line 86 of file class.ilCourseArchives.php.
ilCourseArchives::getSize | ( | ) |
Definition at line 127 of file class.ilCourseArchives.php.
References $archive_size.
ilCourseArchives::getType | ( | ) |
Definition at line 109 of file class.ilCourseArchives.php.
ilCourseArchives::ilCourseArchives | ( | & | $course_obj | ) |
Definition at line 56 of file class.ilCourseArchives.php.
References $course_obj, $ilDB, $ilErr, $ilias, $lng, $tree, and __read().
ilCourseArchives::initCourseFilesObject | ( | ) |
Definition at line 286 of file class.ilCourseArchives.php.
Referenced by addHTML(), addXML(), delete(), and getArchiveFile().
ilCourseArchives::initCourseXMLWriter | ( | ) |
Definition at line 296 of file class.ilCourseArchives.php.
Referenced by addXML().
ilCourseArchives::setDate | ( | $a_date | ) |
Definition at line 114 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setLanguage | ( | $a_lang_code | ) |
Definition at line 139 of file class.ilCourseArchives.php.
ilCourseArchives::setName | ( | $a_name | ) |
Definition at line 131 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setSize | ( | $a_size | ) |
Definition at line 123 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setType | ( | $a_type | ) |
Definition at line 105 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::$archive_date |
Definition at line 45 of file class.ilCourseArchives.php.
ilCourseArchives::$archive_lang |
Definition at line 48 of file class.ilCourseArchives.php.
Referenced by getLanguage().
ilCourseArchives::$archive_name |
Definition at line 47 of file class.ilCourseArchives.php.
Referenced by getName().
ilCourseArchives::$archive_size |
Definition at line 46 of file class.ilCourseArchives.php.
Referenced by getSize().
ilCourseArchives::$archive_type |
Definition at line 44 of file class.ilCourseArchives.php.
ilCourseArchives::$course_files_obj |
Definition at line 50 of file class.ilCourseArchives.php.
ilCourseArchives::$course_obj |
Definition at line 37 of file class.ilCourseArchives.php.
Referenced by ilCourseArchives().
ilCourseArchives::$course_xml_writer |
Definition at line 51 of file class.ilCourseArchives.php.
|
private |
Definition at line 53 of file class.ilCourseArchives.php.
ilCourseArchives::$ilDB |
Definition at line 40 of file class.ilCourseArchives.php.
Referenced by __read(), add(), delete(), and ilCourseArchives().
ilCourseArchives::$ilErr |
Definition at line 39 of file class.ilCourseArchives.php.
Referenced by ilCourseArchives().
ilCourseArchives::$ilias |
Definition at line 38 of file class.ilCourseArchives.php.
Referenced by __addCourseHTML(), and ilCourseArchives().
ilCourseArchives::$lng |
Definition at line 42 of file class.ilCourseArchives.php.
Referenced by __addCourseHTML(), and ilCourseArchives().
ilCourseArchives::$tree |
Definition at line 41 of file class.ilCourseArchives.php.
Referenced by ilCourseArchives().