|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilExportFileInfo: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 @classDescription 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().
Here is the call graph for this function:| ilExportFileInfo::create | ( | ) |
Definition at line 139 of file class.ilExportFileInfo.php.
References $query, getCreationDate(), getExportType(), getFilename(), getObjId(), getVersion(), IL_CAL_DATETIME, and ilTimeZone\UTC.
Here is the call graph for this function:| ilExportFileInfo::delete | ( | ) |
Definition at line 163 of file class.ilExportFileInfo.php.
References getFilename().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:| ilExportFileInfo::getCreationDate | ( | ) |
Definition at line 129 of file class.ilExportFileInfo.php.
References IL_CAL_UNIX.
Referenced by create().
Here is the caller graph for this function:| ilExportFileInfo::getExportType | ( | ) |
Definition at line 89 of file class.ilExportFileInfo.php.
References $export_type.
Referenced by __construct(), create(), and read().
Here is the caller graph for this function:| ilExportFileInfo::getFilename | ( | ) |
Definition at line 99 of file class.ilExportFileInfo.php.
References $file_name.
Referenced by __construct(), create(), delete(), getBasename(), and read().
Here is the caller graph for this function:| ilExportFileInfo::getObjId | ( | ) |
Definition at line 114 of file class.ilExportFileInfo.php.
References $obj_id.
Referenced by __construct(), create(), and read().
Here is the caller graph for this function:| ilExportFileInfo::getVersion | ( | ) |
Definition at line 124 of file class.ilExportFileInfo.php.
References $version.
Referenced by create().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExportFileInfo::setCreationDate | ( | ?ilDateTime | $dt = null | ) |
Definition at line 134 of file class.ilExportFileInfo.php.
Referenced by read().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:
|
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.