| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Stores information of creation date and versions of export files More...
 Collaboration diagram for ilExportFileInfo:
 Collaboration diagram for ilExportFileInfo:| Public Member Functions | |
| __construct ($a_obj_id, $a_export_type= '', $a_filename= '') | |
| Constructor. | |
| setExportType ($a_type) | |
| set export type | |
| getExportType () | |
| get export type | |
| setFilename ($a_name) | |
| set filename | |
| getFilename () | |
| get filename | |
| getBasename ($a_ext= '.zip') | |
| setObjId ($a_id) | |
| Set obj id. | |
| getObjId () | |
| Get obj id. | |
| setVersion ($a_version) | |
| set version | |
| getVersion () | |
| get version | |
| getCreationDate () | |
| get creation date | |
| setCreationDate (ilDateTime $dt=null) | |
| set creation date | |
| create () | |
| Create new export entry. | |
| delete () | |
| Delete one export entry. | |
| Static Public Member Functions | |
| static | lookupLastExport ($a_obj_id, $a_type, $a_version= '') | 
| Lookup last export. | |
| static | deleteByObjId ($a_obj_id) | 
| Delete all export entries by obj_id. | |
| Data Fields | |
| const | CURRENT_VERSION = "4.1.0" | 
| Protected Member Functions | |
| read () | |
| Read. | |
| Private Attributes | |
| $obj_id = 0 | |
| $version = self::CURRENT_VERSION | |
| $export_type = '' | |
| $file_name = '' | |
| $create_date = null | |
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 = '' | |||
| ) | 
Constructor.
Definition at line 27 of file class.ilExportFileInfo.php.
References getExportType(), getFilename(), getObjId(), and read().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilExportFileInfo::create | ( | ) | 
Create new export entry.
Definition at line 183 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:
 Here is the call graph for this function:| ilExportFileInfo::delete | ( | ) | 
Delete one export entry.
Definition at line 202 of file class.ilExportFileInfo.php.
Referenced by ilExportGUI\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete all export entries by obj_id.
| object | $a_obj_id | 
Definition at line 70 of file class.ilExportFileInfo.php.
| ilExportFileInfo::getBasename | ( | $a_ext = '.zip' | ) | 
Definition at line 118 of file class.ilExportFileInfo.php.
References getFilename().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilExportFileInfo::getCreationDate | ( | ) | 
get creation date
Definition at line 164 of file class.ilExportFileInfo.php.
References IL_CAL_UNIX.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExportFileInfo::getExportType | ( | ) | 
get export type
Definition at line 94 of file class.ilExportFileInfo.php.
References $export_type.
Referenced by __construct(), create(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExportFileInfo::getFilename | ( | ) | 
get filename
Definition at line 113 of file class.ilExportFileInfo.php.
References $file_name.
Referenced by __construct(), create(), getBasename(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExportFileInfo::getObjId | ( | ) | 
Get obj id.
Definition at line 137 of file class.ilExportFileInfo.php.
References $obj_id.
Referenced by __construct(), create(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExportFileInfo::getVersion | ( | ) | 
get version
Definition at line 155 of file class.ilExportFileInfo.php.
References $version.
Referenced by create().
 Here is the caller graph for this function:
 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 45 of file class.ilExportFileInfo.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilExportContainer\addSubitems(), and ilExportSelectionTableGUI\parseContainer().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Read.
Definition at line 217 of file class.ilExportFileInfo.php.
References $query, $res, $row, DB_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 call graph for this function: Here is the caller 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 174 of file class.ilExportFileInfo.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilExportFileInfo::setExportType | ( | $a_type | ) | 
set export type
| string | $a_type | xml | html ... | 
Definition at line 85 of file class.ilExportFileInfo.php.
| ilExportFileInfo::setFilename | ( | $a_name | ) | 
set filename
| string | $a_name | 
Definition at line 104 of file class.ilExportFileInfo.php.
| ilExportFileInfo::setObjId | ( | $a_id | ) | 
Set obj id.
| object | $a_id | 
Definition at line 128 of file class.ilExportFileInfo.php.
| ilExportFileInfo::setVersion | ( | $a_version | ) | 
set version
Definition at line 146 of file class.ilExportFileInfo.php.
Referenced by read().
 Here is the caller graph for this function:
 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.