ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilLTIConsumeProvider Class Reference
+ Collaboration diagram for ilLTIConsumeProvider:

Public Member Functions

 __construct (?int $providerId=null)
 ilLTIConsumeProvider constructor. More...
 
 getId ()
 
 setId (int $id)
 
 getTitle ()
 
 setTitle (string $title)
 
 getDescription ()
 
 setDescription (string $description)
 
 getAvailability ()
 
 setAvailability (int $availability)
 
 getRemarks ()
 
 setRemarks (string $remarks)
 
 getTimeToDelete ()
 
 setTimeToDelete (int $time_to_delete)
 
 getLogLevel ()
 
 setLogLevel (int $log_level)
 
 getProviderUrl ()
 
 setProviderUrl (string $provider_url)
 
 getProviderKey ()
 
 setProviderKey (string $provider_key)
 
 getProviderSecret ()
 
 setProviderSecret (string $provider_secret)
 
 isProviderKeyCustomizable ()
 
 setProviderKeyCustomizable (bool $provider_key_customizable)
 
 getProviderIconFilename ()
 
 setProviderIconFilename (string $provider_icon_filename)
 
 getProviderIcon ()
 
 hasProviderIcon ()
 
 setProviderIcon (ilLTIConsumeProviderIcon $providerIcon)
 
 hasProviderIconUploadInput ()
 
 getProviderIconUploadInput ()
 
 setProviderIconUploadInput (ilFormPropertyGUI $providerIconUploadInput)
 
 getProviderIconUploadFileData ()
 
 setProviderIconUploadFileData (array $providerIconUploadFileData)
 
 isValidCategory (string $category)
 
 getCategory ()
 
 setCategory (string $category)
 
 getProviderXml ()
 
 setProviderXml (string $provider_xml)
 
 isExternalProvider ()
 
 setIsExternalProvider (bool $is_external_provider)
 
 getLaunchMethod ()
 
 setLaunchMethod (string $launch_method)
 
 getHasOutcome ()
 
 setHasOutcome (bool $has_outcome)
 
 getMasteryScore ()
 
 setMasteryScore (float $mastery_score)
 
 getMasteryScorePercent ()
 
 setMasteryScorePercent (float $mastery_score_percent)
 
 isKeepLp ()
 
 setKeepLp (bool $keep_lp)
 
 getPrivacyIdent ()
 
 setPrivacyIdent (int $privacy_ident)
 
 getPrivacyName ()
 
 setPrivacyName (int $privacy_name)
 
 getIncludeUserPicture ()
 
 setIncludeUserPicture (bool $include_user_picture)
 
 getPrivacyCommentDefault ()
 
 setPrivacyCommentDefault (string $privacy_comment_default)
 
 getAlwaysLearner ()
 
 setAlwaysLearner (bool $always_learner)
 
 getUseProviderId ()
 
 setUseProviderId (bool $use_provider_id)
 
 getUseXapi ()
 
 setUseXapi (bool $use_xapi)
 
 getXapiLaunchUrl ()
 
 setXapiLaunchUrl (string $xapi_launch_url)
 
 getXapiLaunchKey ()
 
 setXapiLaunchKey (string $xapi_launch_key)
 
 getXapiLaunchSecret ()
 
 setXapiLaunchSecret (string $xapi_launch_secret)
 
 getXapiActivityId ()
 
 setXapiActivityId (string $xapi_activity_id)
 
 getCustomParams ()
 
 setCustomParams (string $custom_params)
 
 getKeywordsArray ()
 
 getKeywords ()
 
 setKeywords (string $keywords)
 
 getCreator ()
 
 setCreator (int $creator)
 
 getAcceptedBy ()
 
 setAcceptedBy (int $accepted_by)
 
 isGlobal ()
 
 setIsGlobal (bool $is_global)
 
 isInstructorSendName ()
 
 setInstructorSendName (bool $instructor_send_name)
 
 isInstructorSendEmail ()
 
 setInstructorSendEmail (bool $instructor_send_email)
 
 getClientId ()
 
 setClientId (string $client_id)
 
 getEnabledCapability ()
 
 setEnabledCapability (string $enabled_capability)
 
 getKeyType ()
 
 setKeyType (string $key_type)
 
 getPublicKey ()
 
 setPublicKey (string $public_key)
 
 getPublicKeyset ()
 
 setPublicKeyset (string $public_keyset)
 
 getInitiateLogin ()
 
 setInitiateLogin (string $initiate_login)
 
 getRedirectionUris ()
 
 setRedirectionUris (string $redirection_uris)
 
 isContentItem ()
 
 setContentItem (bool $content_item)
 
 getContentItemUrl ()
 
 setContentItemUrl (string $content_item_url)
 
 isGradeSynchronization ()
 
 setGradeSynchronization (bool $grade_synchronization)
 
 getLtiVersion ()
 
 setLtiVersion (string $lti_version)
 
 assignFromDbRow (array $dbRow)
 
 load ()
 
 save ()
 
 update ()
 
 insert ()
 
 delete ()
 
 isAcceptableAsGlobal ()
 
 isResetableToUserDefined ()
 

Static Public Member Functions

static getInstance (?int $providerId=null)
 Inits class static. More...
 
static getCategoriesSelectOptions ()
 
static getValidCategories ()
 
static getProviderIdFromClientId (string $clientId)
 

Data Fields

const AVAILABILITY_NONE = 0
 
const AVAILABILITY_EXISTING = 1
 
const AVAILABILITY_CREATE = 2
 
const CATEGORY_ASSESSMENT = 'assessment'
 
const CATEGORY_FEEDBACK = 'feedback'
 
const CATEGORY_CONTENT = 'content'
 
const CATEGORY_COMMUNICATION = 'communication'
 
const CATEGORY_ORGANISATION = 'organisation'
 
const LAUNCH_METHOD_OWN = 'ownWin'
 
const LAUNCH_METHOD_NEW = 'newWin'
 
const PRIVACY_IDENT_IL_UUID_USER_ID = 0
 
const PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT = 1
 
const PRIVACY_IDENT_IL_UUID_LOGIN = 2
 
const PRIVACY_IDENT_REAL_EMAIL = 3
 
const PRIVACY_IDENT_IL_UUID_SHA256 = 5
 
const PRIVACY_IDENT_IL_UUID_SHA256URL = 6
 
const PRIVACY_NAME_NONE = 0
 
const PRIVACY_NAME_FIRSTNAME = 1
 
const PRIVACY_NAME_LASTNAME = 2
 
const PRIVACY_NAME_FULLNAME = 3
 

Protected Member Functions

 getInsertUpdateFields ()
 

Protected Attributes

int $id = 0
 
string $title = ''
 
string $description = ''
 
int $availability = self::AVAILABILITY_NONE
 
string $remarks = ''
 
int $time_to_delete = 0
 
int $log_level = 0
 
string $provider_url = ''
 
string $provider_key = ''
 
string $provider_secret = ''
 
bool $provider_key_customizable = true
 
string $provider_icon_filename = ''
 
ilLTIConsumeProviderIcon $providerIcon = null
 
ilImageFileInputGUI $providerIconUploadInput = null
 
array $providerIconUploadFileData = null
 
string $category = self::CATEGORY_CONTENT
 
string $provider_xml = ''
 
bool $is_external_provider = false
 
string $launch_method = self::LAUNCH_METHOD_NEW
 
bool $has_outcome = false
 
float $mastery_score = 0.8
 
bool $keep_lp = false
 
int $privacy_ident = self::PRIVACY_IDENT_IL_UUID_USER_ID
 
int $privacy_name = self::PRIVACY_NAME_NONE
 
bool $include_user_picture = false
 
string $privacy_comment_default = ''
 
bool $always_learner = false
 
bool $use_provider_id = false
 
bool $use_xapi = false
 
string $xapi_launch_url = ''
 
string $xapi_launch_key = ''
 
string $xapi_launch_secret = ''
 
string $xapi_activity_id = ''
 
string $custom_params = ''
 
string $keywords = ''
 
int $creator = 0
 
int $accepted_by = 0
 
bool $is_global = false
 
bool $instructor_send_name = false
 
bool $instructor_send_email = false
 
string $client_id = ''
 
string $enabled_capability = ''
 
string $key_type = ''
 
string $public_key = ''
 
string $public_keyset = ''
 
string $initiate_login = ''
 
string $redirection_uris = ''
 
bool $content_item = false
 
string $content_item_url = ''
 
bool $grade_synchronization = false
 
string $lti_version = 'LTI-1p0'
 

Detailed Description

Definition at line 31 of file class.ilLTIConsumeProvider.php.

Constructor & Destructor Documentation

◆ __construct()

ilLTIConsumeProvider::__construct ( ?int  $providerId = null)

ilLTIConsumeProvider constructor.

Exceptions
IOException

Definition at line 169 of file class.ilLTIConsumeProvider.php.

170 {
171 if ($providerId) {
172 $this->setId($providerId);
173 $this->load();
174 }
175 }
if(empty($clientId)) $providerId
Definition: ltitoken.php:79

References $providerId, load(), and setId().

+ Here is the call graph for this function:

Member Function Documentation

◆ assignFromDbRow()

ilLTIConsumeProvider::assignFromDbRow ( array  $dbRow)
Exceptions
IOException

Definition at line 804 of file class.ilLTIConsumeProvider.php.

804 : void
805 {
806 foreach ($dbRow as $field => $value) {
807 switch ($field) {
808 case 'id': $this->setId((int) $value);
809 break;
810 case 'title': $this->setTitle($value);
811 break;
812 case 'description': $this->setDescription($value);
813 break;
814 case 'availability': $this->setAvailability((int) $value);
815 break;
816 case 'remarks': $this->setRemarks($value);
817 break;
818 case 'time_to_delete': $this->setTimeToDelete((int) $value);
819 break;
820 case 'log_level': $this->setLogLevel((int) $value);
821 break;
822 case 'provider_url': $this->setProviderUrl($value);
823 break;
824 case 'provider_key': $this->setProviderKey($value);
825 break;
826 case 'provider_secret': $this->setProviderSecret($value);
827 break;
828 case 'provider_key_customizable': $this->setProviderKeyCustomizable((bool) $value);
829 break;
830 case 'provider_icon': $this->setProviderIconFilename($value);
831 break;
832 case 'category': $this->setCategory($value);
833 break;
834 case 'provider_xml': $this->setProviderXml($value);
835 break;
836 case 'external_provider': $this->setIsExternalProvider((bool) $value);
837 break;
838 case 'launch_method': $this->setLaunchMethod($value);
839 break;
840 case 'has_outcome': $this->setHasOutcome((bool) $value);
841 break;
842 case 'mastery_score': $this->setMasteryScore((float) $value);
843 break;
844 case 'keep_lp': $this->setKeepLp((bool) $value);
845 break;
846 case 'privacy_ident': $this->setPrivacyIdent((int) $value);
847 break;
848 case 'privacy_name': $this->setPrivacyName((int) $value);
849 break;
850 case 'inc_usr_pic': $this->setIncludeUserPicture((bool) $value);
851 break;
852 case 'privacy_comment_default': $this->setPrivacyCommentDefault($value);
853 break;
854 case 'always_learner': $this->setAlwaysLearner((bool) $value);
855 break;
856 case 'use_provider_id': $this->setUseProviderId((bool) $value);
857 break;
858 case 'use_xapi': $this->setUseXapi((bool) $value);
859 break;
860 case 'xapi_launch_url': $this->setXapiLaunchUrl((string) $value);
861 break;
862 case 'xapi_launch_key': $this->setXapiLaunchKey((string) $value);
863 break;
864 case 'xapi_launch_secret': $this->setXapiLaunchSecret((string) $value);
865 break;
866 case 'xapi_activity_id': $this->setXapiActivityId((string) $value);
867 break;
868 case 'custom_params': $this->setCustomParams((string) $value);
869 break;
870 case 'keywords': $this->setKeywords((string) $value);
871 break;
872 case 'creator': $this->setCreator((int) $value);
873 break;
874 case 'accepted_by': $this->setAcceptedBy((int) $value);
875 break;
876 case 'global': $this->setIsGlobal((bool) $value);
877 break;
878 case 'instructor_send_name': $this->setInstructorSendName((bool) $value);
879 break;
880 case 'instructor_send_email': $this->setInstructorSendEmail((bool) $value);
881 break;
882 case 'client_id': $this->setClientId((string) $value);
883 break;
884 case 'enabled_capability': $this->setEnabledCapability((string) $value);
885 break;
886 case 'key_type': $this->setKeyType((string) $value);
887 break;
888 case 'public_key': $this->setPublicKey((string) $value);
889 break;
890 case 'public_keyset': $this->setPublicKeyset((string) $value);
891 break;
892 case 'initiate_login': $this->setInitiateLogin((string) $value);
893 break;
894 case 'redirection_uris': $this->setRedirectionUris((string) $value);
895 break;
896 case 'content_item': $this->setContentItem((bool) $value);
897 break;
898 case 'content_item_url': $this->setContentItemUrl((string) $value);
899 break;
900 case 'grade_synchronization': $this->setGradeSynchronization((bool) $value);
901 break;
902 case 'lti_version': $this->setLtiVersion((string) $value);
903 break;
904 }
905 }
906
907 $this->setProviderIcon(new ilLTIConsumeProviderIcon($this->getId()));
908 $this->getProviderIcon()->setFilename($this->getProviderIconFilename());
909 }
setProviderUrl(string $provider_url)
setPrivacyCommentDefault(string $privacy_comment_default)
setPrivacyIdent(int $privacy_ident)
setUseProviderId(bool $use_provider_id)
setCustomParams(string $custom_params)
setTimeToDelete(int $time_to_delete)
setPublicKeyset(string $public_keyset)
setDescription(string $description)
setInstructorSendEmail(bool $instructor_send_email)
setXapiLaunchSecret(string $xapi_launch_secret)
setInstructorSendName(bool $instructor_send_name)
setProviderIconFilename(string $provider_icon_filename)
setProviderKey(string $provider_key)
setLtiVersion(string $lti_version)
setMasteryScore(float $mastery_score)
setIncludeUserPicture(bool $include_user_picture)
setIsExternalProvider(bool $is_external_provider)
setXapiLaunchUrl(string $xapi_launch_url)
setContentItemUrl(string $content_item_url)
setAlwaysLearner(bool $always_learner)
setRedirectionUris(string $redirection_uris)
setProviderKeyCustomizable(bool $provider_key_customizable)
setProviderIcon(ilLTIConsumeProviderIcon $providerIcon)
setXapiActivityId(string $xapi_activity_id)
setContentItem(bool $content_item)
setInitiateLogin(string $initiate_login)
setGradeSynchronization(bool $grade_synchronization)
setXapiLaunchKey(string $xapi_launch_key)
setLaunchMethod(string $launch_method)
setProviderSecret(string $provider_secret)
setProviderXml(string $provider_xml)
setEnabledCapability(string $enabled_capability)

References getId(), getProviderIcon(), getProviderIconFilename(), setAcceptedBy(), setAlwaysLearner(), setAvailability(), setCategory(), setClientId(), setContentItem(), setContentItemUrl(), setCreator(), setCustomParams(), setDescription(), setEnabledCapability(), setGradeSynchronization(), setHasOutcome(), setId(), setIncludeUserPicture(), setInitiateLogin(), setInstructorSendEmail(), setInstructorSendName(), setIsExternalProvider(), setIsGlobal(), setKeepLp(), setKeyType(), setKeywords(), setLaunchMethod(), setLogLevel(), setLtiVersion(), setMasteryScore(), setPrivacyCommentDefault(), setPrivacyIdent(), setPrivacyName(), setProviderIcon(), setProviderIconFilename(), setProviderKey(), setProviderKeyCustomizable(), setProviderSecret(), setProviderUrl(), setProviderXml(), setPublicKey(), setPublicKeyset(), setRedirectionUris(), setRemarks(), setTimeToDelete(), setTitle(), setUseProviderId(), setUseXapi(), setXapiActivityId(), setXapiLaunchKey(), setXapiLaunchSecret(), and setXapiLaunchUrl().

Referenced by load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete()

ilLTIConsumeProvider::delete ( )

Definition at line 1044 of file class.ilLTIConsumeProvider.php.

1044 : void
1045 {
1046 global $DIC; /* @var \ILIAS\DI\Container $DIC */
1047
1048 $DIC->database()->manipulateF(
1049 "DELETE FROM lti_ext_provider WHERE id = %s",
1050 ['integer'],
1051 [$this->getId()]
1052 );
1053 }
global $DIC
Definition: shib_login.php:26

References $DIC, and getId().

+ Here is the call graph for this function:

◆ getAcceptedBy()

ilLTIConsumeProvider::getAcceptedBy ( )

Definition at line 644 of file class.ilLTIConsumeProvider.php.

644 : int
645 {
646 return $this->accepted_by;
647 }

References $accepted_by.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getAlwaysLearner()

ilLTIConsumeProvider::getAlwaysLearner ( )

Definition at line 530 of file class.ilLTIConsumeProvider.php.

530 : bool
531 {
533 }

References $always_learner.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getAvailability()

ilLTIConsumeProvider::getAvailability ( )

Definition at line 216 of file class.ilLTIConsumeProvider.php.

216 : int
217 {
218 return $this->availability;
219 }

References $availability.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getCategoriesSelectOptions()

static ilLTIConsumeProvider::getCategoriesSelectOptions ( )
static
Returns
array<int|string, mixed>

Definition at line 356 of file class.ilLTIConsumeProvider.php.

356 : array
357 {
358 global $DIC; /* @var \ILIAS\DI\Container $DIC */
359
360 $categories = [];
361 $translation = '';
362
363 foreach (self::getValidCategories() as $category) {
364 switch ($category) {
366
367 $translation = $DIC->language()->txt('rep_add_new_def_grp_organisation');
368 break;
370
371 $translation = $DIC->language()->txt('rep_add_new_def_grp_communication');
372 break;
374
375 $translation = $DIC->language()->txt('rep_add_new_def_grp_content');
376 break;
378
379 $translation = $DIC->language()->txt('rep_add_new_def_grp_assessment');
380 break;
382
383 $translation = $DIC->language()->txt('rep_add_new_def_grp_feedback');
384 break;
385 }
386
387 $categories[$category] = $translation;
388 }
389
390 return $categories;
391 }

References $category, $DIC, CATEGORY_ASSESSMENT, CATEGORY_COMMUNICATION, CATEGORY_CONTENT, CATEGORY_FEEDBACK, and CATEGORY_ORGANISATION.

Referenced by ilLTIConsumerProviderTableGUI\getCategoryTranslation(), ilLTIConsumerProviderTableGUI\getFilter(), ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().

+ Here is the caller graph for this function:

◆ getCategory()

ilLTIConsumeProvider::getCategory ( )

Definition at line 409 of file class.ilLTIConsumeProvider.php.

409 : string
410 {
411 return $this->category;
412 }

References $category.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getClientId()

ilLTIConsumeProvider::getClientId ( )

Definition at line 684 of file class.ilLTIConsumeProvider.php.

684 : string
685 {
686 if ($this->client_id == '') {
687 //ohne Sonderzeichen
688 $this->client_id = ilObjLTIConsumer::getNewClientId();
689 }
690 return $this->client_id;
691 }

References $client_id, and ilObjLTIConsumer\getNewClientId().

Referenced by getInsertUpdateFields().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getContentItemUrl()

ilLTIConsumeProvider::getContentItemUrl ( )

Definition at line 768 of file class.ilLTIConsumeProvider.php.

768 : string
769 {
771 }

References $content_item_url.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getCreator()

ilLTIConsumeProvider::getCreator ( )

Definition at line 634 of file class.ilLTIConsumeProvider.php.

634 : int
635 {
636 return $this->creator;
637 }

References $creator.

Referenced by getInsertUpdateFields(), isAcceptableAsGlobal(), and isResetableToUserDefined().

+ Here is the caller graph for this function:

◆ getCustomParams()

ilLTIConsumeProvider::getCustomParams ( )

Definition at line 600 of file class.ilLTIConsumeProvider.php.

600 : string
601 {
603 }

References $custom_params.

Referenced by getInsertUpdateFields(), and ilObjLTIConsumer\getProviderCustomParamsArray().

+ Here is the caller graph for this function:

◆ getDescription()

ilLTIConsumeProvider::getDescription ( )

Definition at line 206 of file class.ilLTIConsumeProvider.php.

206 : string
207 {
208 return $this->description;
209 }

References $description.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getEnabledCapability()

ilLTIConsumeProvider::getEnabledCapability ( )

Definition at line 698 of file class.ilLTIConsumeProvider.php.

698 : string
699 {
701 }

References $enabled_capability.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getHasOutcome()

ilLTIConsumeProvider::getHasOutcome ( )

Definition at line 449 of file class.ilLTIConsumeProvider.php.

449 : bool
450 {
451 return $this->has_outcome;
452 }

References $has_outcome.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getId()

ilLTIConsumeProvider::getId ( )

Definition at line 186 of file class.ilLTIConsumeProvider.php.

186 : int
187 {
188 return $this->id;
189 }

References $id.

Referenced by assignFromDbRow(), delete(), getInsertUpdateFields(), load(), save(), and update().

+ Here is the caller graph for this function:

◆ getIncludeUserPicture()

ilLTIConsumeProvider::getIncludeUserPicture ( )

Definition at line 510 of file class.ilLTIConsumeProvider.php.

510 : bool
511 {
513 }

References $include_user_picture.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getInitiateLogin()

ilLTIConsumeProvider::getInitiateLogin ( )

Definition at line 738 of file class.ilLTIConsumeProvider.php.

738 : string
739 {
741 }

References $initiate_login.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getInsertUpdateFields()

ilLTIConsumeProvider::getInsertUpdateFields ( )
protected
Returns
array<string, array<bool|float|int|string>>

Definition at line 991 of file class.ilLTIConsumeProvider.php.

991 : array
992 {
993 return array(
994 'id' => array('integer', $this->getId()),
995 'title' => array('text', $this->getTitle()),
996 'description' => array('text', $this->getDescription()),
997 'availability' => array('integer', $this->getAvailability()),
998 'remarks' => array('text', $this->getRemarks()),
999 'time_to_delete' => array('integer', $this->getTimeToDelete()),
1000 'provider_url' => array('text', $this->getProviderUrl()),
1001 'provider_key' => array('text', $this->getProviderKey()),
1002 'provider_secret' => array('text', $this->getProviderSecret()),
1003 'provider_key_customizable' => array('integer', $this->isProviderKeyCustomizable()),
1004 'provider_icon' => array('text', $this->getProviderIconFilename()),
1005 'category' => array('text', $this->getCategory()),
1006 'provider_xml' => array('text', $this->getProviderXml()),
1007 'external_provider' => array('integer', $this->isExternalProvider()),
1008 'launch_method' => array('text', $this->getLaunchMethod()),
1009 'has_outcome' => array('integer', $this->getHasOutcome()),
1010 'mastery_score' => array('float', $this->getMasteryScore()),
1011 'keep_lp' => array('integer', $this->isKeepLp()),
1012 'privacy_ident' => array('integer', $this->getPrivacyIdent()),
1013 'privacy_name' => array('integer', $this->getPrivacyName()),
1014 'inc_usr_pic' => array('integer', $this->getIncludeUserPicture()),
1015 'privacy_comment_default' => array('text', $this->getPrivacyCommentDefault()),
1016 'always_learner' => array('integer', $this->getAlwaysLearner()),
1017 'use_provider_id' => array('integer', $this->getUseProviderId()),
1018 'use_xapi' => array('integer', $this->getUseXapi()),
1019 'xapi_launch_url' => array('text', $this->getXapiLaunchUrl()),
1020 'xapi_launch_key' => array('text', $this->getXapiLaunchKey()),
1021 'xapi_launch_secret' => array('text', $this->getXapiLaunchSecret()),
1022 'xapi_activity_id' => array('text', $this->getXapiActivityId()),
1023 'custom_params' => array('text', $this->getCustomParams()),
1024 'keywords' => array('text', $this->getKeywords()),
1025 'creator' => array('integer', $this->getCreator()),
1026 'accepted_by' => array('integer', $this->getAcceptedBy()),
1027 'global' => array('integer', (int) $this->isGlobal()),
1028 'instructor_send_name' => array('integer', (int) $this->isInstructorSendName()),
1029 'instructor_send_email' => array('integer', (int) $this->isInstructorSendEmail()),
1030 'client_id' => array('text', $this->getClientId()),
1031 'enabled_capability' => array('text', $this->getEnabledCapability()),
1032 'key_type' => array('text', $this->getKeyType()),
1033 'public_key' => array('text', $this->getPublicKey()),
1034 'public_keyset' => array('text', $this->getPublicKeyset()),
1035 'initiate_login' => array('text', $this->getInitiateLogin()),
1036 'redirection_uris' => array('text', $this->getRedirectionUris()),
1037 'content_item' => array('integer', (int) $this->isContentItem()),
1038 'content_item_url' => array('text', $this->getContentItemUrl()),
1039 'grade_synchronization' => array('integer', (int) $this->isGradeSynchronization()),
1040 'lti_version' => array('text', $this->getLtiVersion())
1041 );
1042 }

References getAcceptedBy(), getAlwaysLearner(), getAvailability(), getCategory(), getClientId(), getContentItemUrl(), getCreator(), getCustomParams(), getDescription(), getEnabledCapability(), getHasOutcome(), getId(), getIncludeUserPicture(), getInitiateLogin(), getKeyType(), getKeywords(), getLaunchMethod(), getLtiVersion(), getMasteryScore(), getPrivacyCommentDefault(), getPrivacyIdent(), getPrivacyName(), getProviderIconFilename(), getProviderKey(), getProviderSecret(), getProviderUrl(), getProviderXml(), getPublicKey(), getPublicKeyset(), getRedirectionUris(), getRemarks(), getTimeToDelete(), getTitle(), getUseProviderId(), getUseXapi(), getXapiActivityId(), getXapiLaunchKey(), getXapiLaunchSecret(), getXapiLaunchUrl(), isContentItem(), isExternalProvider(), isGlobal(), isGradeSynchronization(), isInstructorSendEmail(), isInstructorSendName(), isKeepLp(), and isProviderKeyCustomizable().

Referenced by insert(), and update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getInstance()

static ilLTIConsumeProvider::getInstance ( ?int  $providerId = null)
static

Inits class static.

Exceptions
IOException

Definition at line 181 of file class.ilLTIConsumeProvider.php.

182 {
183 return new self($providerId);
184 }

References $providerId.

◆ getKeyType()

ilLTIConsumeProvider::getKeyType ( )

Definition at line 708 of file class.ilLTIConsumeProvider.php.

708 : string
709 {
710 return $this->key_type;
711 }

References $key_type.

Referenced by getInsertUpdateFields(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ getKeywords()

ilLTIConsumeProvider::getKeywords ( )

Definition at line 624 of file class.ilLTIConsumeProvider.php.

624 : string
625 {
626 return $this->keywords;
627 }

References $keywords.

Referenced by getInsertUpdateFields(), and getKeywordsArray().

+ Here is the caller graph for this function:

◆ getKeywordsArray()

ilLTIConsumeProvider::getKeywordsArray ( )
Returns
string[]

Definition at line 613 of file class.ilLTIConsumeProvider.php.

613 : array
614 {
615 $keywords = [];
616
617 foreach (explode(';', $this->getKeywords()) as $keyword) {
618 $keywords[] = trim($keyword);
619 }
620
621 return $keywords;
622 }

References $keywords, and getKeywords().

+ Here is the call graph for this function:

◆ getLaunchMethod()

ilLTIConsumeProvider::getLaunchMethod ( )

Definition at line 439 of file class.ilLTIConsumeProvider.php.

439 : string
440 {
442 }

References $launch_method.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getLogLevel()

ilLTIConsumeProvider::getLogLevel ( )

Definition at line 246 of file class.ilLTIConsumeProvider.php.

246 : int
247 {
248 return $this->log_level;
249 }

References $log_level.

◆ getLtiVersion()

ilLTIConsumeProvider::getLtiVersion ( )

Definition at line 788 of file class.ilLTIConsumeProvider.php.

788 : string
789 {
790 return $this->lti_version;
791 }

References $lti_version.

Referenced by getInsertUpdateFields(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ getMasteryScore()

ilLTIConsumeProvider::getMasteryScore ( )

Definition at line 459 of file class.ilLTIConsumeProvider.php.

459 : float
460 {
462 }

References $mastery_score.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getMasteryScorePercent()

ilLTIConsumeProvider::getMasteryScorePercent ( )

Definition at line 469 of file class.ilLTIConsumeProvider.php.

469 : float
470 {
471 return $this->mastery_score * 100;
472 }

◆ getPrivacyCommentDefault()

ilLTIConsumeProvider::getPrivacyCommentDefault ( )

Definition at line 520 of file class.ilLTIConsumeProvider.php.

520 : string
521 {
523 }

References $privacy_comment_default.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getPrivacyIdent()

ilLTIConsumeProvider::getPrivacyIdent ( )

Definition at line 490 of file class.ilLTIConsumeProvider.php.

490 : int
491 {
493 }

References $privacy_ident.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getPrivacyName()

ilLTIConsumeProvider::getPrivacyName ( )

Definition at line 500 of file class.ilLTIConsumeProvider.php.

500 : int
501 {
502 return $this->privacy_name;
503 }

References $privacy_name.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getProviderIcon()

ilLTIConsumeProvider::getProviderIcon ( )

Definition at line 306 of file class.ilLTIConsumeProvider.php.

307 {
308 return $this->providerIcon;
309 }
ilLTIConsumeProviderIcon $providerIcon

References $providerIcon.

Referenced by assignFromDbRow(), and save().

+ Here is the caller graph for this function:

◆ getProviderIconFilename()

ilLTIConsumeProvider::getProviderIconFilename ( )

Definition at line 296 of file class.ilLTIConsumeProvider.php.

296 : string
297 {
299 }

References $provider_icon_filename.

Referenced by assignFromDbRow(), and getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getProviderIconUploadFileData()

ilLTIConsumeProvider::getProviderIconUploadFileData ( )

Definition at line 343 of file class.ilLTIConsumeProvider.php.

343 : array
344 {
346 }

References $providerIconUploadFileData.

Referenced by save().

+ Here is the caller graph for this function:

◆ getProviderIconUploadInput()

ilLTIConsumeProvider::getProviderIconUploadInput ( )

Definition at line 330 of file class.ilLTIConsumeProvider.php.

331 {
333 }
This class represents an image file property in a property form.
ilImageFileInputGUI $providerIconUploadInput

References $providerIconUploadInput.

Referenced by save().

+ Here is the caller graph for this function:

◆ getProviderIdFromClientId()

static ilLTIConsumeProvider::getProviderIdFromClientId ( string  $clientId)
static
Exceptions
IOException

Definition at line 929 of file class.ilLTIConsumeProvider.php.

929 : int
930 {
931 global $DIC; /* @var \ILIAS\DI\Container $DIC */
932
933 $query = "SELECT * FROM lti_ext_provider WHERE client_id = %s";
934 $res = $DIC->database()->queryF($query, array('text'), array($clientId));
935 $id = 0;
936 while ($row = $DIC->database()->fetchAssoc($res)) {
937 $id = (int) $row['id'];
938 }
939 return $id;
940 }
$clientId
Definition: ltiregend.php:26
$res
Definition: ltiservices.php:69

References $clientId, $DIC, $id, $res, and ILIAS\Repository\int().

Referenced by ilObjLTIConsumerGUI\cancelDynReg().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getProviderKey()

ilLTIConsumeProvider::getProviderKey ( )

Definition at line 266 of file class.ilLTIConsumeProvider.php.

266 : string
267 {
268 return $this->provider_key;
269 }

References $provider_key.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getProviderSecret()

ilLTIConsumeProvider::getProviderSecret ( )

Definition at line 276 of file class.ilLTIConsumeProvider.php.

276 : string
277 {
279 }

References $provider_secret.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getProviderUrl()

ilLTIConsumeProvider::getProviderUrl ( )

Definition at line 256 of file class.ilLTIConsumeProvider.php.

256 : string
257 {
258 return $this->provider_url;
259 }

References $provider_url.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getProviderXml()

ilLTIConsumeProvider::getProviderXml ( )

Definition at line 419 of file class.ilLTIConsumeProvider.php.

419 : string
420 {
421 return $this->provider_xml;
422 }

References $provider_xml.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getPublicKey()

ilLTIConsumeProvider::getPublicKey ( )

Definition at line 718 of file class.ilLTIConsumeProvider.php.

718 : string
719 {
720 return $this->public_key;
721 }

References $public_key.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getPublicKeyset()

ilLTIConsumeProvider::getPublicKeyset ( )

Definition at line 728 of file class.ilLTIConsumeProvider.php.

728 : string
729 {
731 }

References $public_keyset.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getRedirectionUris()

ilLTIConsumeProvider::getRedirectionUris ( )

Definition at line 748 of file class.ilLTIConsumeProvider.php.

748 : string
749 {
751 }

References $redirection_uris.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getRemarks()

ilLTIConsumeProvider::getRemarks ( )

Definition at line 226 of file class.ilLTIConsumeProvider.php.

226 : string
227 {
228 return $this->remarks;
229 }

References $remarks.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getTimeToDelete()

ilLTIConsumeProvider::getTimeToDelete ( )

Definition at line 236 of file class.ilLTIConsumeProvider.php.

236 : int
237 {
239 }

References $time_to_delete.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getTitle()

ilLTIConsumeProvider::getTitle ( )

Definition at line 196 of file class.ilLTIConsumeProvider.php.

196 : string
197 {
198 return $this->title;
199 }

References $title.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getUseProviderId()

ilLTIConsumeProvider::getUseProviderId ( )

Definition at line 540 of file class.ilLTIConsumeProvider.php.

540 : bool
541 {
543 }

References $use_provider_id.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getUseXapi()

ilLTIConsumeProvider::getUseXapi ( )

Definition at line 550 of file class.ilLTIConsumeProvider.php.

550 : bool
551 {
552 return $this->use_xapi;
553 }

References $use_xapi.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getValidCategories()

static ilLTIConsumeProvider::getValidCategories ( )
static

◆ getXapiActivityId()

ilLTIConsumeProvider::getXapiActivityId ( )

Definition at line 590 of file class.ilLTIConsumeProvider.php.

590 : string
591 {
593 }

References $xapi_activity_id.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getXapiLaunchKey()

ilLTIConsumeProvider::getXapiLaunchKey ( )

Definition at line 570 of file class.ilLTIConsumeProvider.php.

570 : string
571 {
573 }

References $xapi_launch_key.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getXapiLaunchSecret()

ilLTIConsumeProvider::getXapiLaunchSecret ( )

Definition at line 580 of file class.ilLTIConsumeProvider.php.

580 : string
581 {
583 }

References $xapi_launch_secret.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ getXapiLaunchUrl()

ilLTIConsumeProvider::getXapiLaunchUrl ( )

Definition at line 560 of file class.ilLTIConsumeProvider.php.

560 : string
561 {
563 }

References $xapi_launch_url.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ hasProviderIcon()

ilLTIConsumeProvider::hasProviderIcon ( )

Definition at line 311 of file class.ilLTIConsumeProvider.php.

311 : bool
312 {
313 if (!($this->providerIcon instanceof ilLTIConsumeProviderIcon)) {
314 return false;
315 }
316
317 return (bool) strlen($this->providerIcon->getFilename());
318 }

◆ hasProviderIconUploadInput()

ilLTIConsumeProvider::hasProviderIconUploadInput ( )

Definition at line 325 of file class.ilLTIConsumeProvider.php.

325 : bool
326 {
327 return $this->providerIconUploadInput instanceof ilImageFileInputGUI;
328 }

Referenced by save().

+ Here is the caller graph for this function:

◆ insert()

ilLTIConsumeProvider::insert ( )

Definition at line 979 of file class.ilLTIConsumeProvider.php.

979 : void
980 {
981 global $DIC; /* @var \ILIAS\DI\Container $DIC */
982
983 $this->setId($DIC->database()->nextId('lti_ext_provider'));
984
985 $DIC->database()->insert('lti_ext_provider', $this->getInsertUpdateFields());
986 }

References $DIC, getInsertUpdateFields(), and setId().

Referenced by save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isAcceptableAsGlobal()

ilLTIConsumeProvider::isAcceptableAsGlobal ( )

Definition at line 1055 of file class.ilLTIConsumeProvider.php.

1055 : bool
1056 {
1057 return !$this->isGlobal() && (bool) $this->getCreator();
1058 }

References getCreator(), and isGlobal().

+ Here is the call graph for this function:

◆ isContentItem()

ilLTIConsumeProvider::isContentItem ( )

Definition at line 758 of file class.ilLTIConsumeProvider.php.

758 : bool
759 {
760 return $this->content_item;
761 }

References $content_item.

Referenced by getInsertUpdateFields(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ isExternalProvider()

ilLTIConsumeProvider::isExternalProvider ( )

Definition at line 429 of file class.ilLTIConsumeProvider.php.

429 : bool
430 {
432 }

References $is_external_provider.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ isGlobal()

ilLTIConsumeProvider::isGlobal ( )

Definition at line 654 of file class.ilLTIConsumeProvider.php.

654 : bool
655 {
656 return $this->is_global;
657 }

References $is_global.

Referenced by getInsertUpdateFields(), isAcceptableAsGlobal(), and isResetableToUserDefined().

+ Here is the caller graph for this function:

◆ isGradeSynchronization()

ilLTIConsumeProvider::isGradeSynchronization ( )

Definition at line 778 of file class.ilLTIConsumeProvider.php.

778 : bool
779 {
781 }

References $grade_synchronization.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ isInstructorSendEmail()

ilLTIConsumeProvider::isInstructorSendEmail ( )

Definition at line 674 of file class.ilLTIConsumeProvider.php.

674 : bool
675 {
677 }

References $instructor_send_email.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ isInstructorSendName()

ilLTIConsumeProvider::isInstructorSendName ( )

Definition at line 664 of file class.ilLTIConsumeProvider.php.

664 : bool
665 {
667 }

References $instructor_send_name.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ isKeepLp()

ilLTIConsumeProvider::isKeepLp ( )

Definition at line 479 of file class.ilLTIConsumeProvider.php.

479 : bool
480 {
481 return $this->keep_lp;
482 }

References $keep_lp.

Referenced by getInsertUpdateFields().

+ Here is the caller graph for this function:

◆ isProviderKeyCustomizable()

ilLTIConsumeProvider::isProviderKeyCustomizable ( )

Definition at line 286 of file class.ilLTIConsumeProvider.php.

286 : bool
287 {
289 }

References $provider_key_customizable.

Referenced by getInsertUpdateFields(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ isResetableToUserDefined()

ilLTIConsumeProvider::isResetableToUserDefined ( )

Definition at line 1060 of file class.ilLTIConsumeProvider.php.

1060 : bool
1061 {
1062 return $this->isGlobal() && (bool) $this->getCreator();
1063 }

References getCreator(), and isGlobal().

+ Here is the call graph for this function:

◆ isValidCategory()

ilLTIConsumeProvider::isValidCategory ( string  $category)

Definition at line 404 of file class.ilLTIConsumeProvider.php.

404 : bool
405 {
406 return in_array($category, self::getValidCategories());
407 }

References $category.

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ load()

ilLTIConsumeProvider::load ( )
Exceptions
IOException

Definition at line 914 of file class.ilLTIConsumeProvider.php.

914 : void
915 {
916 global $DIC; /* @var \ILIAS\DI\Container $DIC */
917
918 $query = "SELECT * FROM lti_ext_provider WHERE id = %s";
919 $res = $DIC->database()->queryF($query, array('integer'), array($this->getId()));
920
921 while ($row = $DIC->database()->fetchAssoc($res)) {
922 $this->assignFromDbRow($row);
923 }
924 }

References $DIC, $res, assignFromDbRow(), and getId().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilLTIConsumeProvider::save ( )
Exceptions

ILIAS\FileUpload\Exception\IllegalStateException

Exceptions

ILIAS\Filesystem\Exception\FileNotFoundException

Exceptions
IOException

Definition at line 947 of file class.ilLTIConsumeProvider.php.

947 : void
948 {
949 if ($this->getId() !== 0) {
950 if ($this->hasProviderIconUploadInput()) {
951 $this->getProviderIcon()->handleUploadInputSubission($this->getProviderIconUploadInput(), $this->getProviderIconUploadFileData());
952 $this->setProviderIconFilename($this->getProviderIcon()->getFilename());
953 }
954
955 $this->update();
956 } else {
957 $this->insert();
958
959 if ($this->hasProviderIconUploadInput()) {
960 $this->setProviderIcon(new ilLTIConsumeProviderIcon($this->getId()));
961
962 $this->getProviderIcon()->handleUploadInputSubission($this->getProviderIconUploadInput(), $this->getProviderIconUploadFileData());
963 $this->setProviderIconFilename($this->getProviderIcon()->getFilename());
964
965 $this->update();
966 }
967 }
968 }

References getId(), getProviderIcon(), getProviderIconUploadFileData(), getProviderIconUploadInput(), hasProviderIconUploadInput(), insert(), setProviderIcon(), setProviderIconFilename(), and update().

+ Here is the call graph for this function:

◆ setAcceptedBy()

ilLTIConsumeProvider::setAcceptedBy ( int  $accepted_by)

Definition at line 649 of file class.ilLTIConsumeProvider.php.

649 : void
650 {
651 $this->accepted_by = $accepted_by;
652 }

References $accepted_by.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setAlwaysLearner()

ilLTIConsumeProvider::setAlwaysLearner ( bool  $always_learner)

Definition at line 535 of file class.ilLTIConsumeProvider.php.

535 : void
536 {
537 $this->always_learner = $always_learner;
538 }

References $always_learner.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setAvailability()

ilLTIConsumeProvider::setAvailability ( int  $availability)

Definition at line 221 of file class.ilLTIConsumeProvider.php.

221 : void
222 {
223 $this->availability = $availability;
224 }

References $availability.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setCategory()

ilLTIConsumeProvider::setCategory ( string  $category)

Definition at line 414 of file class.ilLTIConsumeProvider.php.

414 : void
415 {
416 $this->category = $category;
417 }

References $category.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setClientId()

ilLTIConsumeProvider::setClientId ( string  $client_id)

Definition at line 693 of file class.ilLTIConsumeProvider.php.

693 : void
694 {
695 $this->client_id = $client_id;
696 }

References $client_id.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setContentItem()

ilLTIConsumeProvider::setContentItem ( bool  $content_item)

Definition at line 763 of file class.ilLTIConsumeProvider.php.

763 : void
764 {
765 $this->content_item = $content_item;
766 }

References $content_item.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setContentItemUrl()

ilLTIConsumeProvider::setContentItemUrl ( string  $content_item_url)

Definition at line 773 of file class.ilLTIConsumeProvider.php.

773 : void
774 {
775 $this->content_item_url = $content_item_url;
776 }

References $content_item_url.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setCreator()

ilLTIConsumeProvider::setCreator ( int  $creator)

Definition at line 639 of file class.ilLTIConsumeProvider.php.

639 : void
640 {
641 $this->creator = $creator;
642 }

References $creator.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setCustomParams()

ilLTIConsumeProvider::setCustomParams ( string  $custom_params)

Definition at line 605 of file class.ilLTIConsumeProvider.php.

605 : void
606 {
607 $this->custom_params = $custom_params;
608 }

References $custom_params.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setDescription()

ilLTIConsumeProvider::setDescription ( string  $description)

Definition at line 211 of file class.ilLTIConsumeProvider.php.

211 : void
212 {
213 $this->description = $description;
214 }

References $description.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setEnabledCapability()

ilLTIConsumeProvider::setEnabledCapability ( string  $enabled_capability)

Definition at line 703 of file class.ilLTIConsumeProvider.php.

703 : void
704 {
705 $this->enabled_capability = $enabled_capability;
706 }

References $enabled_capability.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setGradeSynchronization()

ilLTIConsumeProvider::setGradeSynchronization ( bool  $grade_synchronization)

Definition at line 783 of file class.ilLTIConsumeProvider.php.

783 : void
784 {
785 $this->grade_synchronization = $grade_synchronization;
786 }

References $grade_synchronization.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setHasOutcome()

ilLTIConsumeProvider::setHasOutcome ( bool  $has_outcome)

Definition at line 454 of file class.ilLTIConsumeProvider.php.

454 : void
455 {
456 $this->has_outcome = $has_outcome;
457 }

References $has_outcome.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setId()

ilLTIConsumeProvider::setId ( int  $id)

Definition at line 191 of file class.ilLTIConsumeProvider.php.

191 : void
192 {
193 $this->id = $id;
194 }

References $id.

Referenced by __construct(), assignFromDbRow(), and insert().

+ Here is the caller graph for this function:

◆ setIncludeUserPicture()

ilLTIConsumeProvider::setIncludeUserPicture ( bool  $include_user_picture)

Definition at line 515 of file class.ilLTIConsumeProvider.php.

515 : void
516 {
517 $this->include_user_picture = $include_user_picture;
518 }

References $include_user_picture.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setInitiateLogin()

ilLTIConsumeProvider::setInitiateLogin ( string  $initiate_login)

Definition at line 743 of file class.ilLTIConsumeProvider.php.

743 : void
744 {
745 $this->initiate_login = $initiate_login;
746 }

References $initiate_login.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setInstructorSendEmail()

ilLTIConsumeProvider::setInstructorSendEmail ( bool  $instructor_send_email)

Definition at line 679 of file class.ilLTIConsumeProvider.php.

679 : void
680 {
681 $this->instructor_send_email = $instructor_send_email;
682 }

References $instructor_send_email.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setInstructorSendName()

ilLTIConsumeProvider::setInstructorSendName ( bool  $instructor_send_name)

Definition at line 669 of file class.ilLTIConsumeProvider.php.

669 : void
670 {
671 $this->instructor_send_name = $instructor_send_name;
672 }

References $instructor_send_name.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setIsExternalProvider()

ilLTIConsumeProvider::setIsExternalProvider ( bool  $is_external_provider)

Definition at line 434 of file class.ilLTIConsumeProvider.php.

434 : void
435 {
436 $this->is_external_provider = $is_external_provider;
437 }

References $is_external_provider.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setIsGlobal()

ilLTIConsumeProvider::setIsGlobal ( bool  $is_global)

Definition at line 659 of file class.ilLTIConsumeProvider.php.

659 : void
660 {
661 $this->is_global = $is_global;
662 }

References $is_global.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setKeepLp()

ilLTIConsumeProvider::setKeepLp ( bool  $keep_lp)

Definition at line 484 of file class.ilLTIConsumeProvider.php.

484 : void
485 {
486 $this->keep_lp = $keep_lp;
487 }

References $keep_lp.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setKeyType()

ilLTIConsumeProvider::setKeyType ( string  $key_type)

Definition at line 713 of file class.ilLTIConsumeProvider.php.

713 : void
714 {
715 $this->key_type = $key_type;
716 }

References $key_type.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setKeywords()

ilLTIConsumeProvider::setKeywords ( string  $keywords)

Definition at line 629 of file class.ilLTIConsumeProvider.php.

629 : void
630 {
631 $this->keywords = $keywords;
632 }

References $keywords.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setLaunchMethod()

ilLTIConsumeProvider::setLaunchMethod ( string  $launch_method)

Definition at line 444 of file class.ilLTIConsumeProvider.php.

444 : void
445 {
446 $this->launch_method = $launch_method;
447 }

References $launch_method.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setLogLevel()

ilLTIConsumeProvider::setLogLevel ( int  $log_level)

Definition at line 251 of file class.ilLTIConsumeProvider.php.

251 : void
252 {
253 $this->log_level = $log_level;
254 }

References $log_level.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setLtiVersion()

ilLTIConsumeProvider::setLtiVersion ( string  $lti_version)

Definition at line 793 of file class.ilLTIConsumeProvider.php.

793 : void
794 {
795 $this->lti_version = $lti_version;
796 }

References $lti_version.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setMasteryScore()

ilLTIConsumeProvider::setMasteryScore ( float  $mastery_score)

Definition at line 464 of file class.ilLTIConsumeProvider.php.

464 : void
465 {
466 $this->mastery_score = $mastery_score;
467 }

References $mastery_score.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setMasteryScorePercent()

ilLTIConsumeProvider::setMasteryScorePercent ( float  $mastery_score_percent)

Definition at line 474 of file class.ilLTIConsumeProvider.php.

474 : void
475 {
476 $this->mastery_score = $mastery_score_percent / 100;
477 }

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setPrivacyCommentDefault()

ilLTIConsumeProvider::setPrivacyCommentDefault ( string  $privacy_comment_default)

Definition at line 525 of file class.ilLTIConsumeProvider.php.

525 : void
526 {
527 $this->privacy_comment_default = $privacy_comment_default;
528 }

References $privacy_comment_default.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setPrivacyIdent()

ilLTIConsumeProvider::setPrivacyIdent ( int  $privacy_ident)

Definition at line 495 of file class.ilLTIConsumeProvider.php.

495 : void
496 {
497 $this->privacy_ident = $privacy_ident;
498 }

References $privacy_ident.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setPrivacyName()

ilLTIConsumeProvider::setPrivacyName ( int  $privacy_name)

Definition at line 505 of file class.ilLTIConsumeProvider.php.

505 : void
506 {
507 $this->privacy_name = $privacy_name;
508 }

References $privacy_name.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderIcon()

ilLTIConsumeProvider::setProviderIcon ( ilLTIConsumeProviderIcon  $providerIcon)

Definition at line 320 of file class.ilLTIConsumeProvider.php.

320 : void
321 {
322 $this->providerIcon = $providerIcon;
323 }

References $providerIcon.

Referenced by assignFromDbRow(), and save().

+ Here is the caller graph for this function:

◆ setProviderIconFilename()

ilLTIConsumeProvider::setProviderIconFilename ( string  $provider_icon_filename)

Definition at line 301 of file class.ilLTIConsumeProvider.php.

301 : void
302 {
303 $this->provider_icon_filename = $provider_icon_filename;
304 }

References $provider_icon_filename.

Referenced by assignFromDbRow(), and save().

+ Here is the caller graph for this function:

◆ setProviderIconUploadFileData()

ilLTIConsumeProvider::setProviderIconUploadFileData ( array  $providerIconUploadFileData)

Definition at line 348 of file class.ilLTIConsumeProvider.php.

348 : void
349 {
350 $this->providerIconUploadFileData = $providerIconUploadFileData;
351 }

References $providerIconUploadFileData.

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderIconUploadInput()

ilLTIConsumeProvider::setProviderIconUploadInput ( ilFormPropertyGUI  $providerIconUploadInput)
Parameters
ilImageFileInputGUI | ilFormPropertyGUI$providerIconUploadInput

Definition at line 338 of file class.ilLTIConsumeProvider.php.

338 : void
339 {
340 $this->providerIconUploadInput = $providerIconUploadInput;
341 }

References $providerIconUploadInput.

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderKey()

ilLTIConsumeProvider::setProviderKey ( string  $provider_key)

Definition at line 271 of file class.ilLTIConsumeProvider.php.

271 : void
272 {
273 $this->provider_key = $provider_key;
274 }

References $provider_key.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderKeyCustomizable()

ilLTIConsumeProvider::setProviderKeyCustomizable ( bool  $provider_key_customizable)

Definition at line 291 of file class.ilLTIConsumeProvider.php.

291 : void
292 {
293 $this->provider_key_customizable = $provider_key_customizable;
294 }

References $provider_key_customizable.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderSecret()

ilLTIConsumeProvider::setProviderSecret ( string  $provider_secret)

Definition at line 281 of file class.ilLTIConsumeProvider.php.

281 : void
282 {
283 $this->provider_secret = $provider_secret;
284 }

References $provider_secret.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderUrl()

ilLTIConsumeProvider::setProviderUrl ( string  $provider_url)

Definition at line 261 of file class.ilLTIConsumeProvider.php.

261 : void
262 {
263 $this->provider_url = $provider_url;
264 }

References $provider_url.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setProviderXml()

ilLTIConsumeProvider::setProviderXml ( string  $provider_xml)

Definition at line 424 of file class.ilLTIConsumeProvider.php.

424 : void
425 {
426 $this->provider_xml = $provider_xml;
427 }

References $provider_xml.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setPublicKey()

ilLTIConsumeProvider::setPublicKey ( string  $public_key)

Definition at line 723 of file class.ilLTIConsumeProvider.php.

723 : void
724 {
725 $this->public_key = $public_key;
726 }

References $public_key.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setPublicKeyset()

ilLTIConsumeProvider::setPublicKeyset ( string  $public_keyset)

Definition at line 733 of file class.ilLTIConsumeProvider.php.

733 : void
734 {
735 $this->public_keyset = $public_keyset;
736 }

References $public_keyset.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setRedirectionUris()

ilLTIConsumeProvider::setRedirectionUris ( string  $redirection_uris)

Definition at line 753 of file class.ilLTIConsumeProvider.php.

753 : void
754 {
755 $this->redirection_uris = $redirection_uris;
756 }

References $redirection_uris.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setRemarks()

ilLTIConsumeProvider::setRemarks ( string  $remarks)

Definition at line 231 of file class.ilLTIConsumeProvider.php.

231 : void
232 {
233 $this->remarks = $remarks;
234 }

References $remarks.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setTimeToDelete()

ilLTIConsumeProvider::setTimeToDelete ( int  $time_to_delete)

Definition at line 241 of file class.ilLTIConsumeProvider.php.

241 : void
242 {
243 $this->time_to_delete = $time_to_delete;
244 }

References $time_to_delete.

Referenced by assignFromDbRow().

+ Here is the caller graph for this function:

◆ setTitle()

ilLTIConsumeProvider::setTitle ( string  $title)

Definition at line 201 of file class.ilLTIConsumeProvider.php.

201 : void
202 {
203 $this->title = $title;
204 }

References $title.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setUseProviderId()

ilLTIConsumeProvider::setUseProviderId ( bool  $use_provider_id)

Definition at line 545 of file class.ilLTIConsumeProvider.php.

545 : void
546 {
547 $this->use_provider_id = $use_provider_id;
548 }

References $use_provider_id.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setUseXapi()

ilLTIConsumeProvider::setUseXapi ( bool  $use_xapi)

Definition at line 555 of file class.ilLTIConsumeProvider.php.

555 : void
556 {
557 $this->use_xapi = $use_xapi;
558 }

References $use_xapi.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setXapiActivityId()

ilLTIConsumeProvider::setXapiActivityId ( string  $xapi_activity_id)

Definition at line 595 of file class.ilLTIConsumeProvider.php.

595 : void
596 {
597 $this->xapi_activity_id = $xapi_activity_id;
598 }

References $xapi_activity_id.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setXapiLaunchKey()

ilLTIConsumeProvider::setXapiLaunchKey ( string  $xapi_launch_key)

Definition at line 575 of file class.ilLTIConsumeProvider.php.

575 : void
576 {
577 $this->xapi_launch_key = $xapi_launch_key;
578 }

References $xapi_launch_key.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setXapiLaunchSecret()

ilLTIConsumeProvider::setXapiLaunchSecret ( string  $xapi_launch_secret)

Definition at line 585 of file class.ilLTIConsumeProvider.php.

585 : void
586 {
587 $this->xapi_launch_secret = $xapi_launch_secret;
588 }

References $xapi_launch_secret.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ setXapiLaunchUrl()

ilLTIConsumeProvider::setXapiLaunchUrl ( string  $xapi_launch_url)

Definition at line 565 of file class.ilLTIConsumeProvider.php.

565 : void
566 {
567 $this->xapi_launch_url = $xapi_launch_url;
568 }

References $xapi_launch_url.

Referenced by assignFromDbRow(), and ilLTIConsumeProviderFormGUI\initProvider().

+ Here is the caller graph for this function:

◆ update()

ilLTIConsumeProvider::update ( )

Definition at line 970 of file class.ilLTIConsumeProvider.php.

970 : void
971 {
972 global $DIC; /* @var \ILIAS\DI\Container $DIC */
973
974 $DIC->database()->update('lti_ext_provider', $this->getInsertUpdateFields(), array(
975 'id' => array('integer', $this->getId()),
976 ));
977 }

References $DIC, getId(), and getInsertUpdateFields().

Referenced by save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $accepted_by

int ilLTIConsumeProvider::$accepted_by = 0
protected

Definition at line 134 of file class.ilLTIConsumeProvider.php.

Referenced by getAcceptedBy(), and setAcceptedBy().

◆ $always_learner

bool ilLTIConsumeProvider::$always_learner = false
protected

Definition at line 114 of file class.ilLTIConsumeProvider.php.

Referenced by getAlwaysLearner(), and setAlwaysLearner().

◆ $availability

int ilLTIConsumeProvider::$availability = self::AVAILABILITY_NONE
protected

Definition at line 39 of file class.ilLTIConsumeProvider.php.

Referenced by getAvailability(), and setAvailability().

◆ $category

string ilLTIConsumeProvider::$category = self::CATEGORY_CONTENT
protected

◆ $client_id

string ilLTIConsumeProvider::$client_id = ''
protected

Definition at line 142 of file class.ilLTIConsumeProvider.php.

Referenced by getClientId(), and setClientId().

◆ $content_item

bool ilLTIConsumeProvider::$content_item = false
protected

Definition at line 156 of file class.ilLTIConsumeProvider.php.

Referenced by isContentItem(), and setContentItem().

◆ $content_item_url

string ilLTIConsumeProvider::$content_item_url = ''
protected

Definition at line 158 of file class.ilLTIConsumeProvider.php.

Referenced by getContentItemUrl(), and setContentItemUrl().

◆ $creator

int ilLTIConsumeProvider::$creator = 0
protected

Definition at line 132 of file class.ilLTIConsumeProvider.php.

Referenced by getCreator(), and setCreator().

◆ $custom_params

string ilLTIConsumeProvider::$custom_params = ''
protected

Definition at line 128 of file class.ilLTIConsumeProvider.php.

Referenced by getCustomParams(), and setCustomParams().

◆ $description

string ilLTIConsumeProvider::$description = ''
protected

Definition at line 37 of file class.ilLTIConsumeProvider.php.

Referenced by getDescription(), and setDescription().

◆ $enabled_capability

string ilLTIConsumeProvider::$enabled_capability = ''
protected

Definition at line 144 of file class.ilLTIConsumeProvider.php.

Referenced by getEnabledCapability(), and setEnabledCapability().

◆ $grade_synchronization

bool ilLTIConsumeProvider::$grade_synchronization = false
protected

◆ $has_outcome

bool ilLTIConsumeProvider::$has_outcome = false
protected

Definition at line 90 of file class.ilLTIConsumeProvider.php.

Referenced by getHasOutcome(), and setHasOutcome().

◆ $id

int ilLTIConsumeProvider::$id = 0
protected

Definition at line 33 of file class.ilLTIConsumeProvider.php.

Referenced by getId(), getProviderIdFromClientId(), and setId().

◆ $include_user_picture

bool ilLTIConsumeProvider::$include_user_picture = false
protected

Definition at line 110 of file class.ilLTIConsumeProvider.php.

Referenced by getIncludeUserPicture(), and setIncludeUserPicture().

◆ $initiate_login

string ilLTIConsumeProvider::$initiate_login = ''
protected

Definition at line 152 of file class.ilLTIConsumeProvider.php.

Referenced by getInitiateLogin(), and setInitiateLogin().

◆ $instructor_send_email

bool ilLTIConsumeProvider::$instructor_send_email = false
protected

◆ $instructor_send_name

bool ilLTIConsumeProvider::$instructor_send_name = false
protected

Definition at line 138 of file class.ilLTIConsumeProvider.php.

Referenced by isInstructorSendName(), and setInstructorSendName().

◆ $is_external_provider

bool ilLTIConsumeProvider::$is_external_provider = false
protected

Definition at line 83 of file class.ilLTIConsumeProvider.php.

Referenced by isExternalProvider(), and setIsExternalProvider().

◆ $is_global

bool ilLTIConsumeProvider::$is_global = false
protected

Definition at line 136 of file class.ilLTIConsumeProvider.php.

Referenced by isGlobal(), and setIsGlobal().

◆ $keep_lp

bool ilLTIConsumeProvider::$keep_lp = false
protected

Definition at line 94 of file class.ilLTIConsumeProvider.php.

Referenced by isKeepLp(), and setKeepLp().

◆ $key_type

string ilLTIConsumeProvider::$key_type = ''
protected

Definition at line 146 of file class.ilLTIConsumeProvider.php.

Referenced by getKeyType(), and setKeyType().

◆ $keywords

string ilLTIConsumeProvider::$keywords = ''
protected

Definition at line 130 of file class.ilLTIConsumeProvider.php.

Referenced by getKeywords(), getKeywordsArray(), and setKeywords().

◆ $launch_method

string ilLTIConsumeProvider::$launch_method = self::LAUNCH_METHOD_NEW
protected

Definition at line 88 of file class.ilLTIConsumeProvider.php.

Referenced by getLaunchMethod(), and setLaunchMethod().

◆ $log_level

int ilLTIConsumeProvider::$log_level = 0
protected

Definition at line 48 of file class.ilLTIConsumeProvider.php.

Referenced by getLogLevel(), and setLogLevel().

◆ $lti_version

string ilLTIConsumeProvider::$lti_version = 'LTI-1p0'
protected

Definition at line 162 of file class.ilLTIConsumeProvider.php.

Referenced by getLtiVersion(), and setLtiVersion().

◆ $mastery_score

float ilLTIConsumeProvider::$mastery_score = 0.8
protected

Definition at line 92 of file class.ilLTIConsumeProvider.php.

Referenced by getMasteryScore(), and setMasteryScore().

◆ $privacy_comment_default

string ilLTIConsumeProvider::$privacy_comment_default = ''
protected

◆ $privacy_ident

int ilLTIConsumeProvider::$privacy_ident = self::PRIVACY_IDENT_IL_UUID_USER_ID
protected

Definition at line 102 of file class.ilLTIConsumeProvider.php.

Referenced by getPrivacyIdent(), and setPrivacyIdent().

◆ $privacy_name

int ilLTIConsumeProvider::$privacy_name = self::PRIVACY_NAME_NONE
protected

Definition at line 108 of file class.ilLTIConsumeProvider.php.

Referenced by getPrivacyName(), and setPrivacyName().

◆ $provider_icon_filename

string ilLTIConsumeProvider::$provider_icon_filename = ''
protected

◆ $provider_key

string ilLTIConsumeProvider::$provider_key = ''
protected

Definition at line 52 of file class.ilLTIConsumeProvider.php.

Referenced by getProviderKey(), and setProviderKey().

◆ $provider_key_customizable

bool ilLTIConsumeProvider::$provider_key_customizable = true
protected

◆ $provider_secret

string ilLTIConsumeProvider::$provider_secret = ''
protected

Definition at line 54 of file class.ilLTIConsumeProvider.php.

Referenced by getProviderSecret(), and setProviderSecret().

◆ $provider_url

string ilLTIConsumeProvider::$provider_url = ''
protected

Definition at line 50 of file class.ilLTIConsumeProvider.php.

Referenced by getProviderUrl(), and setProviderUrl().

◆ $provider_xml

string ilLTIConsumeProvider::$provider_xml = ''
protected

Definition at line 81 of file class.ilLTIConsumeProvider.php.

Referenced by getProviderXml(), and setProviderXml().

◆ $providerIcon

ilLTIConsumeProviderIcon ilLTIConsumeProvider::$providerIcon = null
protected

Definition at line 63 of file class.ilLTIConsumeProvider.php.

Referenced by getProviderIcon(), and setProviderIcon().

◆ $providerIconUploadFileData

array ilLTIConsumeProvider::$providerIconUploadFileData = null
protected

◆ $providerIconUploadInput

ilImageFileInputGUI ilLTIConsumeProvider::$providerIconUploadInput = null
protected

◆ $public_key

string ilLTIConsumeProvider::$public_key = ''
protected

Definition at line 148 of file class.ilLTIConsumeProvider.php.

Referenced by getPublicKey(), and setPublicKey().

◆ $public_keyset

string ilLTIConsumeProvider::$public_keyset = ''
protected

Definition at line 150 of file class.ilLTIConsumeProvider.php.

Referenced by getPublicKeyset(), and setPublicKeyset().

◆ $redirection_uris

string ilLTIConsumeProvider::$redirection_uris = ''
protected

Definition at line 154 of file class.ilLTIConsumeProvider.php.

Referenced by getRedirectionUris(), and setRedirectionUris().

◆ $remarks

string ilLTIConsumeProvider::$remarks = ''
protected

Definition at line 44 of file class.ilLTIConsumeProvider.php.

Referenced by getRemarks(), and setRemarks().

◆ $time_to_delete

int ilLTIConsumeProvider::$time_to_delete = 0
protected

Definition at line 46 of file class.ilLTIConsumeProvider.php.

Referenced by getTimeToDelete(), and setTimeToDelete().

◆ $title

string ilLTIConsumeProvider::$title = ''
protected

Definition at line 35 of file class.ilLTIConsumeProvider.php.

Referenced by getTitle(), and setTitle().

◆ $use_provider_id

bool ilLTIConsumeProvider::$use_provider_id = false
protected

Definition at line 116 of file class.ilLTIConsumeProvider.php.

Referenced by getUseProviderId(), and setUseProviderId().

◆ $use_xapi

bool ilLTIConsumeProvider::$use_xapi = false
protected

Definition at line 118 of file class.ilLTIConsumeProvider.php.

Referenced by getUseXapi(), and setUseXapi().

◆ $xapi_activity_id

string ilLTIConsumeProvider::$xapi_activity_id = ''
protected

Definition at line 126 of file class.ilLTIConsumeProvider.php.

Referenced by getXapiActivityId(), and setXapiActivityId().

◆ $xapi_launch_key

string ilLTIConsumeProvider::$xapi_launch_key = ''
protected

Definition at line 122 of file class.ilLTIConsumeProvider.php.

Referenced by getXapiLaunchKey(), and setXapiLaunchKey().

◆ $xapi_launch_secret

string ilLTIConsumeProvider::$xapi_launch_secret = ''
protected

Definition at line 124 of file class.ilLTIConsumeProvider.php.

Referenced by getXapiLaunchSecret(), and setXapiLaunchSecret().

◆ $xapi_launch_url

string ilLTIConsumeProvider::$xapi_launch_url = ''
protected

Definition at line 120 of file class.ilLTIConsumeProvider.php.

Referenced by getXapiLaunchUrl(), and setXapiLaunchUrl().

◆ AVAILABILITY_CREATE

◆ AVAILABILITY_EXISTING

◆ AVAILABILITY_NONE

◆ CATEGORY_ASSESSMENT

const ilLTIConsumeProvider::CATEGORY_ASSESSMENT = 'assessment'

◆ CATEGORY_COMMUNICATION

const ilLTIConsumeProvider::CATEGORY_COMMUNICATION = 'communication'

◆ CATEGORY_CONTENT

const ilLTIConsumeProvider::CATEGORY_CONTENT = 'content'

◆ CATEGORY_FEEDBACK

const ilLTIConsumeProvider::CATEGORY_FEEDBACK = 'feedback'

◆ CATEGORY_ORGANISATION

const ilLTIConsumeProvider::CATEGORY_ORGANISATION = 'organisation'

◆ LAUNCH_METHOD_NEW

const ilLTIConsumeProvider::LAUNCH_METHOD_NEW = 'newWin'

Definition at line 87 of file class.ilLTIConsumeProvider.php.

◆ LAUNCH_METHOD_OWN

const ilLTIConsumeProvider::LAUNCH_METHOD_OWN = 'ownWin'

Definition at line 86 of file class.ilLTIConsumeProvider.php.

◆ PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT

const ilLTIConsumeProvider::PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT = 1

◆ PRIVACY_IDENT_IL_UUID_LOGIN

const ilLTIConsumeProvider::PRIVACY_IDENT_IL_UUID_LOGIN = 2

◆ PRIVACY_IDENT_IL_UUID_SHA256

const ilLTIConsumeProvider::PRIVACY_IDENT_IL_UUID_SHA256 = 5

Definition at line 100 of file class.ilLTIConsumeProvider.php.

◆ PRIVACY_IDENT_IL_UUID_SHA256URL

const ilLTIConsumeProvider::PRIVACY_IDENT_IL_UUID_SHA256URL = 6

Definition at line 101 of file class.ilLTIConsumeProvider.php.

◆ PRIVACY_IDENT_IL_UUID_USER_ID

const ilLTIConsumeProvider::PRIVACY_IDENT_IL_UUID_USER_ID = 0

◆ PRIVACY_IDENT_REAL_EMAIL

const ilLTIConsumeProvider::PRIVACY_IDENT_REAL_EMAIL = 3

◆ PRIVACY_NAME_FIRSTNAME

const ilLTIConsumeProvider::PRIVACY_NAME_FIRSTNAME = 1

◆ PRIVACY_NAME_FULLNAME

const ilLTIConsumeProvider::PRIVACY_NAME_FULLNAME = 3

◆ PRIVACY_NAME_LASTNAME

const ilLTIConsumeProvider::PRIVACY_NAME_LASTNAME = 2

◆ PRIVACY_NAME_NONE

const ilLTIConsumeProvider::PRIVACY_NAME_NONE = 0

The documentation for this class was generated from the following file: