ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($a_file_id=null) | |
Constructor. More... | |
setFileId ($a_id) | |
getFileId () | |
getCourseId () | |
setCourseId ($a_course_id) | |
setFileName ($a_name) | |
getFileName () | |
setFileType ($a_type) | |
getFileType () | |
setFileSize ($a_size) | |
getFileSize () | |
setTemporaryName ($a_name) | |
getTemporaryName () | |
setErrorCode ($a_code) | |
getErrorCode () | |
getAbsolutePath () | |
validate () | |
create ($a_upload=true) | |
delete () | |
__read () | |
Static Public Member Functions | |
static | _cloneFiles ($a_source_id, $a_target_id) |
Clone course files. More... | |
static | _deleteByCourse ($a_course_id) |
static | _readFilesByCourse ($a_course_id) |
Data Fields | |
$ilErr | |
$ilDB | |
$tree | |
$lng | |
$course_id = null | |
$file_id = null | |
Private Attributes | |
$fss_storage = null | |
Definition at line 35 of file class.ilCourseFile.php.
ilCourseFile::__construct | ( | $a_file_id = null | ) |
ilCourseFile::__read | ( | ) |
Definition at line 275 of file class.ilCourseFile.php.
References $ilDB, $query, $res, $row, getCourseId(), setCourseId(), setFileName(), setFileSize(), and setFileType().
Referenced by __construct().
|
static |
Clone course files.
public
int | source id |
int | target_id |
Definition at line 72 of file class.ilCourseFile.php.
References $target, and _readFilesByCourse().
Referenced by ilObjCourse\cloneObject().
|
static |
Definition at line 243 of file class.ilCourseFile.php.
References $ilDB, $query, and $res.
Referenced by ilObjCourse\delete().
|
static |
int | $a_course_id | obj_id of course |
Definition at line 260 of file class.ilCourseFile.php.
References $files, $ilDB, $query, $res, $row, and array.
Referenced by _cloneFiles(), ilObjCourseGUI\editInfoObject(), and ilObjCourseGUI\infoScreen().
ilCourseFile::create | ( | $a_upload = true | ) |
Definition at line 190 of file class.ilCourseFile.php.
References $ilDB, $query, $res, getCourseId(), getErrorCode(), getFileId(), getFileName(), getFileSize(), getFileType(), getTemporaryName(), ilUtil\moveUploadedFile(), and setFileId().
ilCourseFile::delete | ( | ) |
Definition at line 225 of file class.ilCourseFile.php.
References $ilDB, $query, $res, getAbsolutePath(), and getFileId().
ilCourseFile::getAbsolutePath | ( | ) |
Definition at line 150 of file class.ilCourseFile.php.
References getFileId().
Referenced by delete().
ilCourseFile::getCourseId | ( | ) |
Definition at line 100 of file class.ilCourseFile.php.
References $course_id.
Referenced by __read(), and create().
ilCourseFile::getErrorCode | ( | ) |
Definition at line 145 of file class.ilCourseFile.php.
Referenced by create(), and validate().
ilCourseFile::getFileId | ( | ) |
Definition at line 95 of file class.ilCourseFile.php.
References $file_id.
Referenced by create(), delete(), and getAbsolutePath().
ilCourseFile::getFileName | ( | ) |
Definition at line 113 of file class.ilCourseFile.php.
Referenced by create().
ilCourseFile::getFileSize | ( | ) |
Definition at line 129 of file class.ilCourseFile.php.
Referenced by create().
ilCourseFile::getFileType | ( | ) |
Definition at line 121 of file class.ilCourseFile.php.
Referenced by create().
ilCourseFile::getTemporaryName | ( | ) |
Definition at line 137 of file class.ilCourseFile.php.
Referenced by create().
ilCourseFile::setCourseId | ( | $a_course_id | ) |
Definition at line 104 of file class.ilCourseFile.php.
Referenced by __read().
ilCourseFile::setErrorCode | ( | $a_code | ) |
Definition at line 141 of file class.ilCourseFile.php.
ilCourseFile::setFileId | ( | $a_id | ) |
Definition at line 91 of file class.ilCourseFile.php.
Referenced by create().
ilCourseFile::setFileName | ( | $a_name | ) |
Definition at line 109 of file class.ilCourseFile.php.
Referenced by __read().
ilCourseFile::setFileSize | ( | $a_size | ) |
Definition at line 125 of file class.ilCourseFile.php.
Referenced by __read().
ilCourseFile::setFileType | ( | $a_type | ) |
Definition at line 117 of file class.ilCourseFile.php.
References $a_type.
Referenced by __read().
ilCourseFile::setTemporaryName | ( | $a_name | ) |
Definition at line 133 of file class.ilCourseFile.php.
ilCourseFile::validate | ( | ) |
Definition at line 159 of file class.ilCourseFile.php.
References getErrorCode().
ilCourseFile::$course_id = null |
Definition at line 42 of file class.ilCourseFile.php.
Referenced by getCourseId().
ilCourseFile::$file_id = null |
Definition at line 43 of file class.ilCourseFile.php.
Referenced by getFileId().
|
private |
Definition at line 45 of file class.ilCourseFile.php.
ilCourseFile::$ilDB |
Definition at line 38 of file class.ilCourseFile.php.
Referenced by __construct(), __read(), _deleteByCourse(), _readFilesByCourse(), create(), and delete().
ilCourseFile::$ilErr |
Definition at line 37 of file class.ilCourseFile.php.
Referenced by __construct().
ilCourseFile::$lng |
Definition at line 40 of file class.ilCourseFile.php.
Referenced by __construct().
ilCourseFile::$tree |
Definition at line 39 of file class.ilCourseFile.php.