|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
@classDescription Stores information of creation date and versions of export files More...
Collaboration diagram for ilExportFileInfo:Public Member Functions | |
| __construct ($a_obj_id, $a_export_type='', $a_filename='') | |
| ilExportFileInfo constructor. More... | |
| setExportType ($a_type) | |
| set export type More... | |
| getExportType () | |
| get export type More... | |
| setFilename ($a_name) | |
| set filename More... | |
| getFilename () | |
| get filename More... | |
| getBasename ($a_ext='.zip') | |
| setObjId ($a_id) | |
| Set obj id. More... | |
| getObjId () | |
| Get obj id. More... | |
| setVersion ($a_version) | |
| set version More... | |
| getVersion () | |
| get version More... | |
| getCreationDate () | |
| get creation date More... | |
| setCreationDate (ilDateTime $dt=null) | |
| set creation date More... | |
| create () | |
| Create new export entry. More... | |
| delete () | |
| Delete one export entry. More... | |
Static Public Member Functions | |
| static | lookupLastExport ($a_obj_id, $a_type, $a_version='') |
| Lookup last export. More... | |
| static | deleteByObjId ($a_obj_id) |
| Delete all export entries by obj_id. More... | |
Data Fields | |
| const | CURRENT_VERSION = "4.1.0" |
Protected Member Functions | |
| read () | |
| Read. More... | |
Private Attributes | |
| $obj_id = 0 | |
| $version = self::CURRENT_VERSION | |
| $export_type = '' | |
| $file_name = '' | |
| $create_date = null | |
@classDescription Stores information of creation date and versions of export files
Definition at line 13 of file class.ilExportFileInfo.php.
| ilExportFileInfo::__construct | ( | $a_obj_id, | |
$a_export_type = '', |
|||
$a_filename = '' |
|||
| ) |
ilExportFileInfo constructor.
| int | $a_obj_id | |
| string | $a_export_type | |
| string | $a_filename |
Definition at line 30 of file class.ilExportFileInfo.php.
References getExportType(), getFilename(), getObjId(), and read().
Here is the call graph for this function:| ilExportFileInfo::create | ( | ) |
Create new export entry.
Definition at line 186 of file class.ilExportFileInfo.php.
References $DIC, $query, getCreationDate(), getExportType(), getFilename(), getObjId(), getVersion(), IL_CAL_DATETIME, and ilTimeZone\UTC.
Here is the call graph for this function:| ilExportFileInfo::delete | ( | ) |
Delete one export entry.
Definition at line 215 of file class.ilExportFileInfo.php.
References $DIC, $ilDB, and getFilename().
Here is the call graph for this function:
|
static |
Delete all export entries by obj_id.
| object | $a_obj_id |
Definition at line 72 of file class.ilExportFileInfo.php.
| ilExportFileInfo::getBasename | ( | $a_ext = '.zip' | ) |
Definition at line 122 of file class.ilExportFileInfo.php.
References getFilename().
Here is the call graph for this function:| ilExportFileInfo::getCreationDate | ( | ) |
get creation date
Definition at line 168 of file class.ilExportFileInfo.php.
References IL_CAL_UNIX.
Referenced by create().
Here is the caller graph for this function:| ilExportFileInfo::getExportType | ( | ) |
get export type
Definition at line 98 of file class.ilExportFileInfo.php.
References $export_type.
Referenced by __construct(), create(), and read().
Here is the caller graph for this function:| ilExportFileInfo::getFilename | ( | ) |
get filename
Definition at line 117 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 | ( | ) |
Get obj id.
Definition at line 141 of file class.ilExportFileInfo.php.
References $obj_id.
Referenced by __construct(), create(), and read().
Here is the caller graph for this function:| ilExportFileInfo::getVersion | ( | ) |
get version
Definition at line 159 of file class.ilExportFileInfo.php.
References $version.
Referenced by create().
Here is the caller graph for this function:
|
static |
Lookup last export.
| object | $a_obj_id | |
| string | type xml | html | scorm2004... | |
| string | version |
Definition at line 47 of file class.ilExportFileInfo.php.
References $a_type, $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilExportContainer\addSubitems(), and ilExportSelectionTableGUI\parseContainer().
Here is the caller graph for this function:
|
protected |
Read.
Definition at line 233 of file class.ilExportFileInfo.php.
References $DIC, $ilDB, $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 | ) |
set creation date
| ilDateTime | $dt | [optional] |
Definition at line 178 of file class.ilExportFileInfo.php.
Referenced by read().
Here is the caller graph for this function:| ilExportFileInfo::setExportType | ( | $a_type | ) |
set export type
| string | $a_type | xml | html ... |
Definition at line 89 of file class.ilExportFileInfo.php.
References $a_type.
| ilExportFileInfo::setFilename | ( | $a_name | ) |
set filename
| string | $a_name |
Definition at line 108 of file class.ilExportFileInfo.php.
| ilExportFileInfo::setObjId | ( | $a_id | ) |
Set obj id.
| object | $a_id |
Definition at line 132 of file class.ilExportFileInfo.php.
| ilExportFileInfo::setVersion | ( | $a_version | ) |
set version
Definition at line 150 of file class.ilExportFileInfo.php.
Referenced by read().
Here is the caller graph for this function:
|
private |
Definition at line 22 of file class.ilExportFileInfo.php.
|
private |
Definition at line 20 of file class.ilExportFileInfo.php.
Referenced by getExportType().
|
private |
Definition at line 21 of file class.ilExportFileInfo.php.
Referenced by getFilename().
|
private |
Definition at line 18 of file class.ilExportFileInfo.php.
Referenced by getObjId().
|
private |
Definition at line 19 of file class.ilExportFileInfo.php.
Referenced by getVersion().
| const ilExportFileInfo::CURRENT_VERSION = "4.1.0" |
Definition at line 15 of file class.ilExportFileInfo.php.