ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilObjAICCCourseInterchangeFiles () | |
findFiles ($dir) | |
readFiles () | |
getDescriptor ($system_id) | |
validate () | |
checkRequiredKeys () | |
checkCourseFile ($fileSuffix, $data, $requiredKeys, $group=0) | |
checkColumnCount ($fileSuffix, $data) | |
checkStructure () | |
readCRS ($filename) | |
readCSVFile ($filename) | |
getAllFiles ($dir, $arr=array()) | |
arraykeys_tolower ($arr) | |
writeToDatabase ($alm_id) |
Data Fields | |
$coursefiles | |
$data | |
$errorText | |
$requiredFiles = array("crs", "au", "cst", "des") | |
$optionalFiles = array("cmp", "ort", "pre") |
Definition at line 27 of file class.ilObjAICCCourseInterchangeFiles.php.
ilObjAICCCourseInterchangeFiles::arraykeys_tolower | ( | $arr | ) |
Definition at line 230 of file class.ilObjAICCCourseInterchangeFiles.php.
Referenced by readFiles().
ilObjAICCCourseInterchangeFiles::checkColumnCount | ( | $fileSuffix, | |
$data | |||
) |
Definition at line 137 of file class.ilObjAICCCourseInterchangeFiles.php.
References $data.
Referenced by checkRequiredKeys().
ilObjAICCCourseInterchangeFiles::checkCourseFile | ( | $fileSuffix, | |
$data, | |||
$requiredKeys, | |||
$group = 0 |
|||
) |
Definition at line 117 of file class.ilObjAICCCourseInterchangeFiles.php.
References $data.
Referenced by checkRequiredKeys().
ilObjAICCCourseInterchangeFiles::checkRequiredKeys | ( | ) |
Definition at line 88 of file class.ilObjAICCCourseInterchangeFiles.php.
References $errorText, checkColumnCount(), and checkCourseFile().
Referenced by validate().
ilObjAICCCourseInterchangeFiles::checkStructure | ( | ) |
Definition at line 149 of file class.ilObjAICCCourseInterchangeFiles.php.
References $row.
Referenced by validate().
ilObjAICCCourseInterchangeFiles::findFiles | ( | $dir | ) |
Definition at line 44 of file class.ilObjAICCCourseInterchangeFiles.php.
References $dir, $file, $files, and getAllFiles().
ilObjAICCCourseInterchangeFiles::getAllFiles | ( | $dir, | |
$arr = array() |
|||
) |
Definition at line 213 of file class.ilObjAICCCourseInterchangeFiles.php.
Referenced by findFiles().
ilObjAICCCourseInterchangeFiles::getDescriptor | ( | $system_id | ) |
Definition at line 76 of file class.ilObjAICCCourseInterchangeFiles.php.
References $row.
Referenced by writeToDatabase().
ilObjAICCCourseInterchangeFiles::ilObjAICCCourseInterchangeFiles | ( | ) |
Definition at line 35 of file class.ilObjAICCCourseInterchangeFiles.php.
ilObjAICCCourseInterchangeFiles::readCRS | ( | $filename | ) |
Definition at line 168 of file class.ilObjAICCCourseInterchangeFiles.php.
References $data, and $filename.
Referenced by readFiles().
ilObjAICCCourseInterchangeFiles::readCSVFile | ( | $filename | ) |
Definition at line 188 of file class.ilObjAICCCourseInterchangeFiles.php.
References $data, $filename, and $row.
Referenced by readFiles().
ilObjAICCCourseInterchangeFiles::readFiles | ( | ) |
Definition at line 62 of file class.ilObjAICCCourseInterchangeFiles.php.
References $filename, arraykeys_tolower(), readCRS(), and readCSVFile().
ilObjAICCCourseInterchangeFiles::validate | ( | ) |
Definition at line 83 of file class.ilObjAICCCourseInterchangeFiles.php.
References checkRequiredKeys(), and checkStructure().
ilObjAICCCourseInterchangeFiles::writeToDatabase | ( | $alm_id | ) |
Definition at line 239 of file class.ilObjAICCCourseInterchangeFiles.php.
References $row, and getDescriptor().
ilObjAICCCourseInterchangeFiles::$coursefiles |
Definition at line 29 of file class.ilObjAICCCourseInterchangeFiles.php.
ilObjAICCCourseInterchangeFiles::$data |
Definition at line 30 of file class.ilObjAICCCourseInterchangeFiles.php.
Referenced by checkColumnCount(), checkCourseFile(), readCRS(), and readCSVFile().
ilObjAICCCourseInterchangeFiles::$errorText |
Definition at line 31 of file class.ilObjAICCCourseInterchangeFiles.php.
Referenced by checkRequiredKeys().
ilObjAICCCourseInterchangeFiles::$optionalFiles = array("cmp", "ort", "pre") |
Definition at line 33 of file class.ilObjAICCCourseInterchangeFiles.php.
ilObjAICCCourseInterchangeFiles::$requiredFiles = array("crs", "au", "cst", "des") |
Definition at line 32 of file class.ilObjAICCCourseInterchangeFiles.php.