| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Inheritance diagram for ilCourseFile:
 Inheritance diagram for ilCourseFile: Collaboration diagram for ilCourseFile:
 Collaboration diagram for ilCourseFile:| Public Member Functions | |
| ilCourseFile ($a_file_id=null) | |
| 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 () | |
| _deleteByCourse ($a_course_id) | |
| & | _readFilesByCourse ($a_course_id) | 
| __read () | |
| Static Public Member Functions | |
| static | _cloneFiles ($a_source_id, $a_target_id) | 
| Clone course files. | |
| 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::__read | ( | ) | 
Definition at line 263 of file class.ilCourseFile.php.
References $ilDB, $query, $res, $row, getCourseId(), setCourseId(), setFileName(), setFileSize(), and setFileType().
Referenced by ilCourseFile().
 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:| 
 | static | 
Clone course files.
public
| int | source id | 
| int | target_id | 
Definition at line 68 of file class.ilCourseFile.php.
References _readFilesByCourse(), and ilCourseFile().
Referenced by ilObjCourse\cloneObject().
 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:| ilCourseFile::_deleteByCourse | ( | $a_course_id | ) | 
Definition at line 236 of file class.ilCourseFile.php.
References $ilDB, $query, and $res.
Referenced by ilObjCourse\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| & ilCourseFile::_readFilesByCourse | ( | $a_course_id | ) | 
Definition at line 248 of file class.ilCourseFile.php.
References $files, $ilDB, $query, $res, $row, and ilCourseFile().
Referenced by _cloneFiles(), ilObjCourseGUI\editInfoObject(), and ilObjCourseGUI\infoScreen().
 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:| ilCourseFile::create | ( | $a_upload = true | ) | 
Definition at line 186 of file class.ilCourseFile.php.
References $ilDB, $query, $res, getCourseId(), getErrorCode(), getFileId(), getFileName(), getFileSize(), getFileType(), getTemporaryName(), ilUtil\moveUploadedFile(), and setFileId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseFile::delete | ( | ) | 
Definition at line 221 of file class.ilCourseFile.php.
References $ilDB, $query, $res, getAbsolutePath(), and getFileId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCourseFile::getAbsolutePath | ( | ) | 
Definition at line 146 of file class.ilCourseFile.php.
References getFileId().
Referenced by delete().
 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:| ilCourseFile::getCourseId | ( | ) | 
Definition at line 96 of file class.ilCourseFile.php.
References $course_id.
Referenced by __read(), and create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::getErrorCode | ( | ) | 
Definition at line 141 of file class.ilCourseFile.php.
Referenced by create(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::getFileId | ( | ) | 
Definition at line 91 of file class.ilCourseFile.php.
References $file_id.
Referenced by create(), delete(), and getAbsolutePath().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::getFileName | ( | ) | 
Definition at line 109 of file class.ilCourseFile.php.
References $file_name.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::getFileSize | ( | ) | 
Definition at line 125 of file class.ilCourseFile.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::getFileType | ( | ) | 
Definition at line 117 of file class.ilCourseFile.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::getTemporaryName | ( | ) | 
Definition at line 133 of file class.ilCourseFile.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::ilCourseFile | ( | $a_file_id = null | ) | 
Definition at line 47 of file class.ilCourseFile.php.
References $ilDB, $ilErr, $lng, and __read().
Referenced by _cloneFiles(), and _readFilesByCourse().
 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:| ilCourseFile::setCourseId | ( | $a_course_id | ) | 
Definition at line 100 of file class.ilCourseFile.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::setErrorCode | ( | $a_code | ) | 
Definition at line 137 of file class.ilCourseFile.php.
| ilCourseFile::setFileId | ( | $a_id | ) | 
Definition at line 87 of file class.ilCourseFile.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::setFileName | ( | $a_name | ) | 
Definition at line 105 of file class.ilCourseFile.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::setFileSize | ( | $a_size | ) | 
Definition at line 121 of file class.ilCourseFile.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::setFileType | ( | $a_type | ) | 
Definition at line 113 of file class.ilCourseFile.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCourseFile::setTemporaryName | ( | $a_name | ) | 
Definition at line 129 of file class.ilCourseFile.php.
| ilCourseFile::validate | ( | ) | 
Definition at line 155 of file class.ilCourseFile.php.
References getErrorCode().
 Here is the call graph for this function:
 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 45 of file class.ilCourseFile.php.
| ilCourseFile::$ilDB | 
Definition at line 38 of file class.ilCourseFile.php.
Referenced by __read(), _deleteByCourse(), _readFilesByCourse(), create(), delete(), and ilCourseFile().
| ilCourseFile::$ilErr | 
Definition at line 37 of file class.ilCourseFile.php.
Referenced by ilCourseFile().
| ilCourseFile::$lng | 
Definition at line 40 of file class.ilCourseFile.php.
Referenced by ilCourseFile().
| ilCourseFile::$tree | 
Definition at line 39 of file class.ilCourseFile.php.