|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
This class handles all operations of archive files for the course object. More...
Inheritance diagram for ilFileDataCourse:
Collaboration diagram for ilFileDataCourse:Public Member Functions | |
| __construct ($a_course_id) | |
| Constructor call base constructors checks if directory is writable and sets the optional obj_id. More... | |
| getArchiveFile ($a_rel_name) | |
| getMemberExportFiles () | |
| Get all member export files. More... | |
| deleteMemberExportFile ($a_name) | |
| getMemberExportFile ($a_name) | |
| deleteArchive ($a_rel_name) | |
| deleteZipFile ($a_abs_name) | |
| deleteDirectory ($a_abs_name) | |
| deletePdf ($a_abs_name) | |
| copy ($a_from, $a_to) | |
| rCopy ($a_from, $a_to) | |
| addDirectory ($a_rel_name) | |
| writeToFile ($a_data, $a_rel_name) | |
| zipFile ($a_rel_name, $a_zip_name) | |
| getCoursePath () | |
| get exercise path @access public More... | |
| createOnlineVersion ($a_rel_name) | |
| getOnlineLink ($a_rel_name) | |
| createImportFile ($a_tmp_name, $a_name) | |
| unpackImportFile () | |
| validateImportFile () | |
| getImportFile () | |
| __checkPath () | |
| __checkImportPath () | |
| __checkReadWrite () | |
| check if directory is writable overwritten method from base class @access private More... | |
| __initDirectory () | |
| init directory overwritten method @access public More... | |
Public Member Functions inherited from ilFileData | |
| __construct () | |
| Constructor class bas constructor and read path of directory from ilias.ini setup an mail object @access public. More... | |
| checkPath ($a_path) | |
| check if path exists and is writable More... | |
| getPath () | |
| get Path @access public More... | |
Public Member Functions inherited from ilFile | |
| __construct () | |
| Constructor get ilias object @access public. More... | |
| deleteTrailingSlash ($a_path) | |
| delete trailing slash of path variables More... | |
Data Fields | |
| $course_path | |
Data Fields inherited from ilFile | |
| $path | |
| $ilias | |
Private Attributes | |
| $course_id | |
This class handles all operations of archive files for the course object.
Definition at line 34 of file class.ilFileDataCourse.php.
| ilFileDataCourse::__construct | ( | $a_course_id | ) |
Constructor call base constructors checks if directory is writable and sets the optional obj_id.
| int | obj_id @access public |
Definition at line 52 of file class.ilFileDataCourse.php.
References __checkImportPath(), __checkPath(), and __initDirectory().
Here is the call graph for this function:| ilFileDataCourse::__checkImportPath | ( | ) |
Definition at line 288 of file class.ilFileDataCourse.php.
References getCoursePath(), and ilUtil\makeDir().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataCourse::__checkPath | ( | ) |
Definition at line 273 of file class.ilFileDataCourse.php.
References __checkReadWrite(), getCoursePath(), and ilUtil\makeDir().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataCourse::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class @access private
Definition at line 305 of file class.ilFileDataCourse.php.
Referenced by __checkPath().
Here is the caller graph for this function:| ilFileDataCourse::__initDirectory | ( | ) |
init directory overwritten method @access public
Definition at line 319 of file class.ilFileDataCourse.php.
References ilFileData\getPath(), and ilUtil\makeDir().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataCourse::addDirectory | ( | $a_rel_name | ) |
Definition at line 181 of file class.ilFileDataCourse.php.
References getCoursePath(), and ilUtil\makeDir().
Here is the call graph for this function:| ilFileDataCourse::copy | ( | $a_from, | |
| $a_to | |||
| ) |
Definition at line 163 of file class.ilFileDataCourse.php.
References copy(), and getCoursePath().
Referenced by copy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataCourse::createImportFile | ( | $a_tmp_name, | |
| $a_name | |||
| ) |
Definition at line 232 of file class.ilFileDataCourse.php.
References getCoursePath(), and ilUtil\makeDir().
Here is the call graph for this function:| ilFileDataCourse::createOnlineVersion | ( | $a_rel_name | ) |
Definition at line 217 of file class.ilFileDataCourse.php.
References getCoursePath(), ilUtil\makeDir(), and ilUtil\rCopy().
Here is the call graph for this function:| ilFileDataCourse::deleteArchive | ( | $a_rel_name | ) |
Definition at line 126 of file class.ilFileDataCourse.php.
References deleteDirectory(), deletePdf(), and deleteZipFile().
Here is the call graph for this function:| ilFileDataCourse::deleteDirectory | ( | $a_abs_name | ) |
Definition at line 144 of file class.ilFileDataCourse.php.
References ilUtil\delDir().
Referenced by deleteArchive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataCourse::deleteMemberExportFile | ( | $a_name | ) |
Definition at line 109 of file class.ilFileDataCourse.php.
| ilFileDataCourse::deletePdf | ( | $a_abs_name | ) |
Definition at line 153 of file class.ilFileDataCourse.php.
Referenced by deleteArchive().
Here is the caller graph for this function:| ilFileDataCourse::deleteZipFile | ( | $a_abs_name | ) |
Definition at line 135 of file class.ilFileDataCourse.php.
Referenced by deleteArchive().
Here is the caller graph for this function:| ilFileDataCourse::getArchiveFile | ( | $a_rel_name | ) |
Definition at line 67 of file class.ilFileDataCourse.php.
| ilFileDataCourse::getCoursePath | ( | ) |
get exercise path @access public
Definition at line 212 of file class.ilFileDataCourse.php.
References $course_path.
Referenced by __checkImportPath(), __checkPath(), addDirectory(), copy(), createImportFile(), createOnlineVersion(), getImportFile(), rCopy(), unpackImportFile(), validateImportFile(), writeToFile(), and zipFile().
Here is the caller graph for this function:| ilFileDataCourse::getImportFile | ( | ) |
Definition at line 262 of file class.ilFileDataCourse.php.
References getCoursePath().
Here is the call graph for this function:| ilFileDataCourse::getMemberExportFile | ( | $a_name | ) |
Definition at line 117 of file class.ilFileDataCourse.php.
| ilFileDataCourse::getMemberExportFiles | ( | ) |
Get all member export files.
@access public
Definition at line 84 of file class.ilFileDataCourse.php.
| ilFileDataCourse::getOnlineLink | ( | $a_rel_name | ) |
Definition at line 225 of file class.ilFileDataCourse.php.
References ilUtil\getWebspaceDir().
Here is the call graph for this function:| ilFileDataCourse::rCopy | ( | $a_from, | |
| $a_to | |||
| ) |
Definition at line 173 of file class.ilFileDataCourse.php.
References getCoursePath(), and ilUtil\rCopy().
Here is the call graph for this function:| ilFileDataCourse::unpackImportFile | ( | ) |
Definition at line 244 of file class.ilFileDataCourse.php.
References getCoursePath(), and ilUtil\unzip().
Here is the call graph for this function:| ilFileDataCourse::validateImportFile | ( | ) |
Definition at line 249 of file class.ilFileDataCourse.php.
References getCoursePath().
Here is the call graph for this function:| ilFileDataCourse::writeToFile | ( | $a_data, | |
| $a_rel_name | |||
| ) |
Definition at line 188 of file class.ilFileDataCourse.php.
References getCoursePath().
Here is the call graph for this function:| ilFileDataCourse::zipFile | ( | $a_rel_name, | |
| $a_zip_name | |||
| ) |
Definition at line 198 of file class.ilFileDataCourse.php.
References getCoursePath(), and ilUtil\zip().
Here is the call graph for this function:
|
private |
Definition at line 43 of file class.ilFileDataCourse.php.
| ilFileDataCourse::$course_path |
Definition at line 41 of file class.ilFileDataCourse.php.
Referenced by getCoursePath().