|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for ilCourseFile:
Collaboration diagram for ilCourseFile: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 () | |
| getInfoDirectory () | |
| 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 | ) |
Constructor.
| int | $a_file_id |
Definition at line 54 of file class.ilCourseFile.php.
References $DIC, $ilDB, $ilErr, $lng, and __read().
Here is the call graph for this function:| ilCourseFile::__read | ( | ) |
Definition at line 303 of file class.ilCourseFile.php.
References $DIC, $ilDB, $query, $res, $row, getCourseId(), setCourseId(), setFileName(), setFileSize(), and setFileType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Clone course files.
@access public
| int | source id |
| int | target_id |
Definition at line 79 of file class.ilCourseFile.php.
References $source, $target, and _readFilesByCourse().
Referenced by ilObjCourse\cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 268 of file class.ilCourseFile.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjCourse\delete().
Here is the caller graph for this function:
|
static |
| int | $a_course_id | obj_id of course |
Definition at line 287 of file class.ilCourseFile.php.
References $DIC, $files, $ilDB, $query, $res, and $row.
Referenced by _cloneFiles(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilObjCourseGUI\editInfoObject(), ilAppointmentCourseFileHandler\getFiles(), and ilObjCourseGUI\infoScreen().
Here is the caller graph for this function:| ilCourseFile::create | ( | $a_upload = true | ) |
Definition at line 213 of file class.ilCourseFile.php.
References $DIC, $ilDB, $query, $res, getCourseId(), getErrorCode(), getFileName(), getFileSize(), getFileType(), getTemporaryName(), and setFileId().
Here is the call graph for this function:| ilCourseFile::delete | ( | ) |
Definition at line 249 of file class.ilCourseFile.php.
References $DIC, $ilDB, $query, $res, getAbsolutePath(), and getFileId().
Here is the call graph for this function:| ilCourseFile::getAbsolutePath | ( | ) |
Definition at line 159 of file class.ilCourseFile.php.
References getFileId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseFile::getCourseId | ( | ) |
Definition at line 106 of file class.ilCourseFile.php.
References $course_id.
Referenced by __read(), and create().
Here is the caller graph for this function:| ilCourseFile::getErrorCode | ( | ) |
Definition at line 151 of file class.ilCourseFile.php.
Referenced by create(), and validate().
Here is the caller graph for this function:| ilCourseFile::getFileId | ( | ) |
Definition at line 101 of file class.ilCourseFile.php.
References $file_id.
Referenced by delete(), and getAbsolutePath().
Here is the caller graph for this function:| ilCourseFile::getFileName | ( | ) |
Definition at line 119 of file class.ilCourseFile.php.
Referenced by create().
Here is the caller graph for this function:| ilCourseFile::getFileSize | ( | ) |
Definition at line 135 of file class.ilCourseFile.php.
Referenced by create().
Here is the caller graph for this function:| ilCourseFile::getFileType | ( | ) |
Definition at line 127 of file class.ilCourseFile.php.
Referenced by create().
Here is the caller graph for this function:| ilCourseFile::getInfoDirectory | ( | ) |
Definition at line 176 of file class.ilCourseFile.php.
| ilCourseFile::getTemporaryName | ( | ) |
Definition at line 143 of file class.ilCourseFile.php.
Referenced by create().
Here is the caller graph for this function:| ilCourseFile::setCourseId | ( | $a_course_id | ) |
Definition at line 110 of file class.ilCourseFile.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseFile::setErrorCode | ( | $a_code | ) |
Definition at line 147 of file class.ilCourseFile.php.
| ilCourseFile::setFileId | ( | $a_id | ) |
Definition at line 97 of file class.ilCourseFile.php.
Referenced by create().
Here is the caller graph for this function:| ilCourseFile::setFileName | ( | $a_name | ) |
Definition at line 115 of file class.ilCourseFile.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseFile::setFileSize | ( | $a_size | ) |
Definition at line 131 of file class.ilCourseFile.php.
Referenced by __read().
Here is the caller graph for this function:| ilCourseFile::setFileType | ( | $a_type | ) |
Definition at line 123 of file class.ilCourseFile.php.
References $a_type.
Referenced by __read().
Here is the caller graph for this function:| ilCourseFile::setTemporaryName | ( | $a_name | ) |
Definition at line 139 of file class.ilCourseFile.php.
| ilCourseFile::validate | ( | ) |
Definition at line 183 of file class.ilCourseFile.php.
References getErrorCode().
Here is the call graph for this function:| 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 48 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.