ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_obj_id, string $a_export_type='', string $a_filename='') | |
setExportType (string $a_type) | |
getExportType () | |
setFilename (string $a_name) | |
getFilename () | |
getBasename (string $a_ext='.zip') | |
setObjId (int $a_id) | |
getObjId () | |
setVersion (string $a_version) | |
getVersion () | |
getCreationDate () | |
setCreationDate (?ilDateTime $dt=null) | |
create () | |
delete () | |
Static Public Member Functions | |
static | lookupLastExport (int $a_obj_id, string $a_type, string $a_version='') |
Lookup last export. More... | |
static | deleteByObjId ($a_obj_id) |
Protected Member Functions | |
read () | |
Protected Attributes | |
const | CURRENT_VERSION = "4.1.0" |
ilDBInterface | $db |
Private Attributes | |
int | $obj_id = 0 |
string | $version = self::CURRENT_VERSION |
string | $export_type = '' |
string | $file_name = '' |
ilDateTime | $create_date = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Stores information of creation date and versions of export files
Definition at line 25 of file class.ilExportFileInfo.php.
ilExportFileInfo::__construct | ( | int | $a_obj_id, |
string | $a_export_type = '' , |
||
string | $a_filename = '' |
||
) |
Definition at line 37 of file class.ilExportFileInfo.php.
References $DIC, getExportType(), getFilename(), getObjId(), and read().
ilExportFileInfo::create | ( | ) |
Definition at line 139 of file class.ilExportFileInfo.php.
References $query, getCreationDate(), getExportType(), getFilename(), getObjId(), getVersion(), IL_CAL_DATETIME, and ilTimeZone\UTC.
ilExportFileInfo::delete | ( | ) |
Definition at line 163 of file class.ilExportFileInfo.php.
Referenced by ilExportGUI\delete().
|
static |
Definition at line 72 of file class.ilExportFileInfo.php.
References $DIC, $ilDB, and ilDBConstants\T_INTEGER.
ilExportFileInfo::getBasename | ( | string | $a_ext = '.zip' | ) |
Definition at line 104 of file class.ilExportFileInfo.php.
References getFilename().
ilExportFileInfo::getCreationDate | ( | ) |
Definition at line 129 of file class.ilExportFileInfo.php.
References IL_CAL_UNIX.
Referenced by create().
ilExportFileInfo::getExportType | ( | ) |
Definition at line 89 of file class.ilExportFileInfo.php.
References $export_type.
Referenced by __construct(), create(), and read().
ilExportFileInfo::getFilename | ( | ) |
Definition at line 99 of file class.ilExportFileInfo.php.
References $file_name.
Referenced by __construct(), create(), getBasename(), and read().
ilExportFileInfo::getObjId | ( | ) |
Definition at line 114 of file class.ilExportFileInfo.php.
References $obj_id.
Referenced by __construct(), create(), and read().
ilExportFileInfo::getVersion | ( | ) |
Definition at line 124 of file class.ilExportFileInfo.php.
References $version.
Referenced by create().
|
static |
Lookup last export.
Definition at line 53 of file class.ilExportFileInfo.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilExportContainer\addSubitems(), and ilExportSelectionTableGUI\parseContainer().
|
protected |
Definition at line 172 of file class.ilExportFileInfo.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getExportType(), getFilename(), getObjId(), IL_CAL_DATETIME, setCreationDate(), setVersion(), and ilTimeZone\UTC.
Referenced by __construct().
ilExportFileInfo::setCreationDate | ( | ?ilDateTime | $dt = null | ) |
Definition at line 134 of file class.ilExportFileInfo.php.
Referenced by read().
ilExportFileInfo::setExportType | ( | string | $a_type | ) |
Definition at line 84 of file class.ilExportFileInfo.php.
ilExportFileInfo::setFilename | ( | string | $a_name | ) |
Definition at line 94 of file class.ilExportFileInfo.php.
ilExportFileInfo::setObjId | ( | int | $a_id | ) |
Definition at line 109 of file class.ilExportFileInfo.php.
ilExportFileInfo::setVersion | ( | string | $a_version | ) |
Definition at line 119 of file class.ilExportFileInfo.php.
Referenced by read().
|
private |
Definition at line 33 of file class.ilExportFileInfo.php.
|
protected |
Definition at line 35 of file class.ilExportFileInfo.php.
|
private |
Definition at line 31 of file class.ilExportFileInfo.php.
Referenced by getExportType().
|
private |
Definition at line 32 of file class.ilExportFileInfo.php.
Referenced by getFilename().
|
private |
Definition at line 29 of file class.ilExportFileInfo.php.
Referenced by getObjId().
|
private |
Definition at line 30 of file class.ilExportFileInfo.php.
Referenced by getVersion().
|
protected |
Definition at line 27 of file class.ilExportFileInfo.php.