ILIAS
Release_5_0_x_branch Revision 61816
|
Mapping utils. More...
Static Public Member Functions | |
static | lookupMappingStatus ($a_server_id, $a_mid, $a_tree_id) |
Lookup mapping status. | |
static | mappingStatusToString ($a_status) |
Get mapping status as string. | |
static | getCourseMappingFieldInfo () |
static | getCourseMappingFieldSelectOptions () |
static | getCourseValueByMappingAttribute ($course, $a_field) |
Get course value by mapping. | |
static | getRoleMappingInfo ($a_role_type_info=0) |
Get role mapping info. |
Data Fields | |
const | MAPPED_WHOLE_TREE = 1 |
const | MAPPED_MANUAL = 2 |
const | MAPPED_UNMAPPED = 3 |
const | PARALLEL_UNDEFINED = 0 |
const | PARALLEL_ONE_COURSE = 1 |
const | PARALLEL_GROUPS_IN_COURSE = 2 |
const | PARALLEL_ALL_COURSES = 3 |
const | PARALLEL_COURSES_FOR_LECTURERS = 4 |
Mapping utils.
Definition at line 10 of file class.ilECSMappingUtils.php.
|
static |
Definition at line 55 of file class.ilECSMappingUtils.php.
References $lng.
|
static |
Definition at line 80 of file class.ilECSMappingUtils.php.
References $lng, and $options.
Referenced by ilECSMappingSettingsGUI\initFormCSettings().
|
static |
Get course value by mapping.
type | $course | |
type | $a_field |
Definition at line 97 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseMappingRule\doMapping(), and ilECSCourseMappingRule\matches().
|
static |
Get role mapping info.
Definition at line 154 of file class.ilECSMappingUtils.php.
References IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, and IL_GRP_MEMBER.
Referenced by ilECSMappingSettingsGUI\cUpdateSettings(), ilECSMappingSettingsGUI\initFormCSettings(), and ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus().
|
static |
Lookup mapping status.
int | $a_server_id | |
int | $a_tree_id |
Definition at line 28 of file class.ilECSMappingUtils.php.
References ilECSNodeMappingAssignments\hasAssignments(), ilECSNodeMappingAssignments\isWholeTreeMapped(), MAPPED_MANUAL, MAPPED_UNMAPPED, and MAPPED_WHOLE_TREE.
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings(), and ilECSNodeMappingTreeTableGUI\parse().
|
static |
Get mapping status as string.
int | $a_status |
Definition at line 47 of file class.ilECSMappingUtils.php.
References $lng.
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings(), and ilECSNodeMappingTreeTableGUI\fillRow().
const ilECSMappingUtils::MAPPED_MANUAL = 2 |
Definition at line 13 of file class.ilECSMappingUtils.php.
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings(), and lookupMappingStatus().
const ilECSMappingUtils::MAPPED_UNMAPPED = 3 |
Definition at line 14 of file class.ilECSMappingUtils.php.
Referenced by ilECSNodeMappingTreeTableGUI\fillRow(), and lookupMappingStatus().
const ilECSMappingUtils::MAPPED_WHOLE_TREE = 1 |
Definition at line 12 of file class.ilECSMappingUtils.php.
Referenced by lookupMappingStatus().
const ilECSMappingUtils::PARALLEL_ALL_COURSES = 3 |
Definition at line 19 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync(), and ilECSCmsCourseMemberCommandQueueHandler\readAssignments().
const ilECSMappingUtils::PARALLEL_COURSES_FOR_LECTURERS = 4 |
Definition at line 20 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync().
const ilECSMappingUtils::PARALLEL_GROUPS_IN_COURSE = 2 |
Definition at line 18 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync(), and ilECSCmsCourseMemberCommandQueueHandler\readAssignments().
const ilECSMappingUtils::PARALLEL_ONE_COURSE = 1 |
Definition at line 17 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync(), and ilECSCmsCourseMemberCommandQueueHandler\readAssignments().
const ilECSMappingUtils::PARALLEL_UNDEFINED = 0 |
Definition at line 16 of file class.ilECSMappingUtils.php.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\readAssignments().