public/main/cron/document/index_all_docs.php
Variable "specific_fields" is not in valid camel caps format Open
Open
$specific_fields = get_specific_field_list();
- Exclude checks
Variable "doc_path" is not in valid camel caps format Open
Open
$extensions = preg_split("/[\/\\.]/", $doc_path);
- Exclude checks
Variable "specific_fields_values" is not in valid camel caps format Open
Open
$specific_fields_values = [];
- Exclude checks
Variable "allowed_extensions" is not in valid camel caps format Open
Open
if (in_array($doc_ext, $allowed_extensions) && !is_dir($doc_path)) {
- Exclude checks
Variable "specific_fields_values" is not in valid camel caps format Open
Open
$specific_fields_values[$sf['code']] = '';
- Exclude checks
Variable "specific_fields" is not in valid camel caps format Open
Open
foreach ($specific_fields as $sf) {
- Exclude checks
Variable "doc_path" is not in valid camel caps format Open
Open
$doc_mime = mime_content_type($doc_path);
- Exclude checks
Variable "allowed_mime_types" is not in valid camel caps format Open
Open
$allowed_mime_types = DocumentManager::file_get_mime_type(true);
- Exclude checks
Variable "doc_mime" is not in valid camel caps format Open
Open
$doc_mime = mime_content_type($doc_path);
- Exclude checks
Variable "doc_path" is not in valid camel caps format Open
Open
$doc_path = api_get_path(SYS_COURSE_PATH).$course_dir.$row['path'];
- Exclude checks
Variable "doc_ext" is not in valid camel caps format Open
Open
$doc_ext = strtolower($extensions[count($extensions) - 1]);
- Exclude checks
Variable "doc_path" is not in valid camel caps format Open
Open
if (in_array($doc_ext, $allowed_extensions) && !is_dir($doc_path)) {
- Exclude checks
Variable "courses_list" is not in valid camel caps format Open
Open
$courses_list = CourseManager::get_courses_list();
- Exclude checks
Variable "course_dir" is not in valid camel caps format Open
Open
$doc_path = api_get_path(SYS_COURSE_PATH).$course_dir.$row['path'];
- Exclude checks
Variable "specific_fields_values" is not in valid camel caps format Open
Open
$residx = DocumentManager::index_document($row['id'], $course['code'], $row['session_id'], $course['course_language'], $specific_fields_values);
- Exclude checks
Variable "allowed_extensions" is not in valid camel caps format Open
Open
$allowed_extensions = [
- Exclude checks
Variable "courses_list" is not in valid camel caps format Open
Open
foreach ($courses_list as $course) {
- Exclude checks
Variable "course_dir" is not in valid camel caps format Open
Open
$course_dir = $course['directory'].'/document';
- Exclude checks
Variable "doc_ext" is not in valid camel caps format Open
Open
if (in_array($doc_ext, $allowed_extensions) && !is_dir($doc_path)) {
- Exclude checks