ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
class ilCourseArchives More...
Public Member Functions | |
__construct ($course_obj) | |
Constructor. More... | |
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. More... | |
addHTML () | |
add () | |
delete ($a_id) | |
deleteAll () | |
initCourseFilesObject () | |
initCourseXMLWriter () | |
__addZipFiles ($a_parent_id, $a_selection="") | |
Add zip files to folder. More... | |
__addHTMLFiles ($a_parent_id) | |
__addCourseHTML () | |
__buildStructure (&$tmp_tpl, $a_parent_id) | |
cloneArchives () | |
Clone archives. More... | |
__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 | |
ilCourseArchives::__construct | ( | $course_obj | ) |
Constructor.
ilObject | $course_obj |
Definition at line 61 of file class.ilCourseArchives.php.
References $course_obj, $ilDB, $ilErr, $ilias, $lng, $tree, and __read().
ilCourseArchives::__addCourseHTML | ( | ) |
Definition at line 380 of file class.ilCourseArchives.php.
References $ilias, $lng, $tpl, __buildStructure(), getLanguage(), and getName().
Referenced by addHTML().
ilCourseArchives::__addHTMLFiles | ( | $a_parent_id | ) |
Definition at line 356 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 308 of file class.ilCourseArchives.php.
References $action, $info, ilExport\_getExportDirectory(), ilExport\_getLastExportFileInformation(), array, ilObjectFactory\getInstanceByRefId(), and getName().
Referenced by addXML().
ilCourseArchives::__buildStructure | ( | & | $tmp_tpl, |
$a_parent_id | |||
) |
Definition at line 476 of file class.ilCourseArchives.php.
References $key, and ilObjectFactory\getInstanceByRefId().
Referenced by __addCourseHTML().
ilCourseArchives::__read | ( | ) |
Definition at line 527 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, and ilDB\query().
Referenced by __construct(), add(), and delete().
ilCourseArchives::add | ( | ) |
Definition at line 237 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, and __read().
Referenced by addHTML(), and addXML().
ilCourseArchives::addHTML | ( | ) |
Definition at line 207 of file class.ilCourseArchives.php.
References __addCourseHTML(), __addHTMLFiles(), add(), getDate(), getName(), initCourseFilesObject(), setDate(), setName(), setSize(), setType(), and time.
ilCourseArchives::addXML | ( | $a_selection = "" | ) |
Add XML archive.
array | selection array: key is ref_id, value is "last_file", "omit" or "create" |
Definition at line 168 of file class.ilCourseArchives.php.
References __addZipFiles(), ilExport\_generateIndexFile(), add(), array, getName(), initCourseFilesObject(), initCourseXMLWriter(), setDate(), setName(), setSize(), setType(), and time.
ilCourseArchives::cloneArchives | ( | ) |
ilCourseArchives::delete | ( | $a_id | ) |
Definition at line 258 of file class.ilCourseArchives.php.
References $ilDB, $query, $res, __read(), and initCourseFilesObject().
ilCourseArchives::deleteAll | ( | ) |
Definition at line 276 of file class.ilCourseArchives.php.
References $id, and getArchives().
ilCourseArchives::getArchive | ( | $a_id | ) |
Definition at line 86 of file class.ilCourseArchives.php.
Referenced by getArchiveFile().
ilCourseArchives::getArchiveFile | ( | $a_id | ) |
Definition at line 151 of file class.ilCourseArchives.php.
References getArchive(), and initCourseFilesObject().
ilCourseArchives::getArchives | ( | ) |
Definition at line 81 of file class.ilCourseArchives.php.
Referenced by deleteAll().
ilCourseArchives::getDate | ( | ) |
Definition at line 120 of file class.ilCourseArchives.php.
References time.
Referenced by addHTML().
ilCourseArchives::getLanguage | ( | ) |
Definition at line 145 of file class.ilCourseArchives.php.
References $archive_lang.
Referenced by __addCourseHTML().
ilCourseArchives::getName | ( | ) |
Definition at line 137 of file class.ilCourseArchives.php.
References $archive_name.
Referenced by __addCourseHTML(), __addHTMLFiles(), __addZipFiles(), addHTML(), and addXML().
ilCourseArchives::getPublicArchives | ( | ) |
Definition at line 91 of file class.ilCourseArchives.php.
ilCourseArchives::getSize | ( | ) |
ilCourseArchives::getType | ( | ) |
Definition at line 111 of file class.ilCourseArchives.php.
ilCourseArchives::initCourseFilesObject | ( | ) |
Definition at line 283 of file class.ilCourseArchives.php.
Referenced by addHTML(), addXML(), delete(), and getArchiveFile().
ilCourseArchives::initCourseXMLWriter | ( | ) |
Definition at line 292 of file class.ilCourseArchives.php.
Referenced by addXML().
ilCourseArchives::setDate | ( | $a_date | ) |
Definition at line 116 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setLanguage | ( | $a_lang_code | ) |
Definition at line 141 of file class.ilCourseArchives.php.
ilCourseArchives::setName | ( | $a_name | ) |
Definition at line 133 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setSize | ( | $a_size | ) |
Definition at line 125 of file class.ilCourseArchives.php.
Referenced by addHTML(), and addXML().
ilCourseArchives::setType | ( | $a_type | ) |
Definition at line 107 of file class.ilCourseArchives.php.
References $a_type.
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 __construct().
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 __construct(), __read(), add(), and delete().
ilCourseArchives::$ilErr |
Definition at line 40 of file class.ilCourseArchives.php.
Referenced by __construct().
ilCourseArchives::$ilias |
Definition at line 39 of file class.ilCourseArchives.php.
Referenced by __addCourseHTML(), and __construct().
ilCourseArchives::$lng |
Definition at line 43 of file class.ilCourseArchives.php.
Referenced by __addCourseHTML(), and __construct().
ilCourseArchives::$tree |
Definition at line 42 of file class.ilCourseArchives.php.
Referenced by __construct().