ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Mapping utils. More...
Static Public Member Functions | |
static | lookupMappingStatus ($a_server_id, $a_mid, $a_tree_id) |
Lookup mapping status. More... | |
static | mappingStatusToString ($a_status) |
Get mapping status as string. More... | |
static | getCourseMappingFieldInfo () |
static | getCourseMappingFieldSelectOptions () |
static | getCourseValueByMappingAttribute ($course, $a_field) |
Get course value by mapping. More... | |
static | getRoleMappingInfo ($a_role_type_info=0) |
Get role mapping info. More... | |
static | getAuthModeSelection () |
Get auth mode selection. More... | |
Data Fields | |
const | MAPPED_WHOLE_TREE = 1 |
const | MAPPED_MANUAL = 2 |
const | MAPPED_UNMAPPED = 3 |
const | PARALLEL_ONE_COURSE = 0 |
const | PARALLEL_GROUPS_IN_COURSE = 1 |
const | PARALLEL_ALL_COURSES = 2 |
const | PARALLEL_COURSES_FOR_LECTURERS = 3 |
Mapping utils.
Definition at line 10 of file class.ilECSMappingUtils.php.
|
static |
Get auth mode selection.
Definition at line 200 of file class.ilECSMappingUtils.php.
References $DIC, $GLOBALS, $ilSetting, $lng, $options, $server, ilAuthUtils\_getAuthModeName(), AUTH_SHIBBOLETH, ilLDAPServer\getInstanceByServerId(), and ilLDAPServer\getServerIds().
Referenced by ilECSMappingSettingsGUI\initFormCSettings().
|
static |
|
static |
Definition at line 77 of file class.ilECSMappingUtils.php.
References $info, $lng, and $options.
Referenced by ilECSMappingSettingsGUI\initFormCSettings().
|
static |
Get course value by mapping.
type | $course | |
type | $a_field |
Definition at line 94 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseMappingRule\doMapping(), and ilECSCourseMappingRule\matches().
|
static |
Get role mapping info.
Definition at line 155 of file class.ilECSMappingUtils.php.
References array, 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 27 of file class.ilECSMappingUtils.php.
References ilECSNodeMappingAssignments\hasAssignments(), and ilECSNodeMappingAssignments\isWholeTreeMapped().
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings(), and ilECSNodeMappingTreeTableGUI\parse().
|
static |
Get mapping status as string.
int | $a_status |
Definition at line 44 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().
const ilECSMappingUtils::MAPPED_UNMAPPED = 3 |
Definition at line 14 of file class.ilECSMappingUtils.php.
Referenced by ilECSNodeMappingTreeTableGUI\fillRow().
const ilECSMappingUtils::MAPPED_WHOLE_TREE = 1 |
Definition at line 12 of file class.ilECSMappingUtils.php.
const ilECSMappingUtils::PARALLEL_ALL_COURSES = 2 |
Definition at line 18 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync(), and ilECSCmsCourseMemberCommandQueueHandler\readAssignments().
const ilECSMappingUtils::PARALLEL_COURSES_FOR_LECTURERS = 3 |
Definition at line 19 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync().
const ilECSMappingUtils::PARALLEL_GROUPS_IN_COURSE = 1 |
Definition at line 17 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync(), and ilECSCmsCourseMemberCommandQueueHandler\readAssignments().
const ilECSMappingUtils::PARALLEL_ONE_COURSE = 0 |
Definition at line 16 of file class.ilECSMappingUtils.php.
Referenced by ilECSCourseCreationHandler\doSync(), and ilECSCmsCourseMemberCommandQueueHandler\readAssignments().