ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

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

170  {
171  if ($providerId) {
172  $this->setId($providerId);
173  $this->load();
174  }
175  }
if(empty($clientId)) $providerId
Definition: ltitoken.php:79
+ 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.

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().

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  }
setGradeSynchronization(bool $grade_synchronization)
setInitiateLogin(string $initiate_login)
setPublicKeyset(string $public_keyset)
setIsExternalProvider(bool $is_external_provider)
setMasteryScore(float $mastery_score)
setLaunchMethod(string $launch_method)
setContentItemUrl(string $content_item_url)
setContentItem(bool $content_item)
setProviderIcon(ilLTIConsumeProviderIcon $providerIcon)
setTimeToDelete(int $time_to_delete)
setXapiLaunchSecret(string $xapi_launch_secret)
setInstructorSendEmail(bool $instructor_send_email)
setXapiLaunchUrl(string $xapi_launch_url)
setIncludeUserPicture(bool $include_user_picture)
setRedirectionUris(string $redirection_uris)
setUseProviderId(bool $use_provider_id)
setPrivacyIdent(int $privacy_ident)
setCustomParams(string $custom_params)
setProviderKey(string $provider_key)
setAlwaysLearner(bool $always_learner)
setXapiActivityId(string $xapi_activity_id)
setProviderKeyCustomizable(bool $provider_key_customizable)
setInstructorSendName(bool $instructor_send_name)
setXapiLaunchKey(string $xapi_launch_key)
setLtiVersion(string $lti_version)
setProviderIconFilename(string $provider_icon_filename)
setProviderXml(string $provider_xml)
setEnabledCapability(string $enabled_capability)
setProviderSecret(string $provider_secret)
setDescription(string $description)
setProviderUrl(string $provider_url)
setPrivacyCommentDefault(string $privacy_comment_default)
+ 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.

References $DIC, and getId().

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:22
+ Here is the call graph for this function:

◆ getAcceptedBy()

ilLTIConsumeProvider::getAcceptedBy ( )

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

References $accepted_by.

Referenced by getInsertUpdateFields().

644  : int
645  {
646  return $this->accepted_by;
647  }
+ Here is the caller graph for this function:

◆ getAlwaysLearner()

ilLTIConsumeProvider::getAlwaysLearner ( )

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

References $always_learner.

Referenced by getInsertUpdateFields().

530  : bool
531  {
532  return $this->always_learner;
533  }
+ Here is the caller graph for this function:

◆ getAvailability()

ilLTIConsumeProvider::getAvailability ( )

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

References $availability.

Referenced by getInsertUpdateFields().

216  : int
217  {
218  return $this->availability;
219  }
+ 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.

References $category, and $DIC.

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

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) {
365  case self::CATEGORY_ORGANISATION:
366 
367  $translation = $DIC->language()->txt('rep_add_new_def_grp_organisation');
368  break;
369  case self::CATEGORY_COMMUNICATION:
370 
371  $translation = $DIC->language()->txt('rep_add_new_def_grp_communication');
372  break;
373  case self::CATEGORY_CONTENT:
374 
375  $translation = $DIC->language()->txt('rep_add_new_def_grp_content');
376  break;
377  case self::CATEGORY_ASSESSMENT:
378 
379  $translation = $DIC->language()->txt('rep_add_new_def_grp_assessment');
380  break;
381  case self::CATEGORY_FEEDBACK:
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  }
global $DIC
Definition: shib_login.php:22
+ Here is the caller graph for this function:

◆ getCategory()

ilLTIConsumeProvider::getCategory ( )

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

References $category.

Referenced by getInsertUpdateFields().

409  : string
410  {
411  return $this->category;
412  }
+ Here is the caller graph for this function:

◆ getClientId()

ilLTIConsumeProvider::getClientId ( )

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

References $client_id, and ilObjLTIConsumer\getNewClientId().

Referenced by ilObjLTIConsumer\buildContentSelectionParameters(), getInsertUpdateFields(), ilLTIConsumerSettingsGUI\isUserDynamicRegistrationTransaction(), sendAccessToken(), and validateServiceToken().

684  : string
685  {
686  if ($this->client_id == '') {
687  //ohne Sonderzeichen
688  $this->client_id = ilObjLTIConsumer::getNewClientId();
689  }
690  return $this->client_id;
691  }
+ 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.

References $content_item_url.

Referenced by getInsertUpdateFields().

768  : string
769  {
771  }
+ Here is the caller graph for this function:

◆ getCreator()

ilLTIConsumeProvider::getCreator ( )

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

References $creator.

Referenced by getInsertUpdateFields(), isAcceptableAsGlobal(), isResetableToUserDefined(), and ilLTIConsumerSettingsGUI\isUserDynamicRegistrationTransaction().

634  : int
635  {
636  return $this->creator;
637  }
+ Here is the caller graph for this function:

◆ getCustomParams()

ilLTIConsumeProvider::getCustomParams ( )

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

References $custom_params.

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

600  : string
601  {
602  return $this->custom_params;
603  }
+ Here is the caller graph for this function:

◆ getDescription()

ilLTIConsumeProvider::getDescription ( )

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

References $description.

Referenced by getInsertUpdateFields().

206  : string
207  {
208  return $this->description;
209  }
+ Here is the caller graph for this function:

◆ getEnabledCapability()

ilLTIConsumeProvider::getEnabledCapability ( )

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

References $enabled_capability.

Referenced by getInsertUpdateFields().

698  : string
699  {
701  }
+ Here is the caller graph for this function:

◆ getHasOutcome()

ilLTIConsumeProvider::getHasOutcome ( )

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

References $has_outcome.

Referenced by getInsertUpdateFields().

449  : bool
450  {
451  return $this->has_outcome;
452  }
+ Here is the caller graph for this function:

◆ getId()

ilLTIConsumeProvider::getId ( )

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

References $id.

Referenced by assignFromDbRow(), ilObjLTIConsumer\buildContentSelectionParameters(), delete(), getInsertUpdateFields(), load(), ilObjLTIConsumer\registerClient(), save(), and update().

186  : int
187  {
188  return $this->id;
189  }
+ Here is the caller graph for this function:

◆ getIncludeUserPicture()

ilLTIConsumeProvider::getIncludeUserPicture ( )

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

References $include_user_picture.

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

510  : bool
511  {
513  }
+ Here is the caller graph for this function:

◆ getInitiateLogin()

ilLTIConsumeProvider::getInitiateLogin ( )

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

References $initiate_login.

Referenced by getInsertUpdateFields().

738  : string
739  {
740  return $this->initiate_login;
741  }
+ 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.

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().

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  }
+ 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.

References $providerId.

182  {
183  return new self($providerId);
184  }
if(empty($clientId)) $providerId
Definition: ltitoken.php:79

◆ getKeyType()

ilLTIConsumeProvider::getKeyType ( )

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

References $key_type.

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

708  : string
709  {
710  return $this->key_type;
711  }
+ Here is the caller graph for this function:

◆ getKeywords()

ilLTIConsumeProvider::getKeywords ( )

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

References $keywords.

Referenced by getInsertUpdateFields(), and getKeywordsArray().

624  : string
625  {
626  return $this->keywords;
627  }
+ Here is the caller graph for this function:

◆ getKeywordsArray()

ilLTIConsumeProvider::getKeywordsArray ( )
Returns
string[]

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

References $keywords, and getKeywords().

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

◆ getLaunchMethod()

ilLTIConsumeProvider::getLaunchMethod ( )

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

References $launch_method.

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

439  : string
440  {
441  return $this->launch_method;
442  }
+ Here is the caller graph for this function:

◆ getLogLevel()

ilLTIConsumeProvider::getLogLevel ( )

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

References $log_level.

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

◆ getLtiVersion()

ilLTIConsumeProvider::getLtiVersion ( )

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

References $lti_version.

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

788  : string
789  {
790  return $this->lti_version;
791  }
+ Here is the caller graph for this function:

◆ getMasteryScore()

ilLTIConsumeProvider::getMasteryScore ( )

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

References $mastery_score.

Referenced by getInsertUpdateFields().

459  : float
460  {
461  return $this->mastery_score;
462  }
+ 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.

References $privacy_comment_default.

Referenced by getInsertUpdateFields().

520  : string
521  {
523  }
+ Here is the caller graph for this function:

◆ getPrivacyIdent()

ilLTIConsumeProvider::getPrivacyIdent ( )

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

References $privacy_ident.

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

490  : int
491  {
492  return $this->privacy_ident;
493  }
+ Here is the caller graph for this function:

◆ getPrivacyName()

ilLTIConsumeProvider::getPrivacyName ( )

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

References $privacy_name.

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

500  : int
501  {
502  return $this->privacy_name;
503  }
+ Here is the caller graph for this function:

◆ getProviderIcon()

ilLTIConsumeProvider::getProviderIcon ( )

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

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.

References $provider_icon_filename.

Referenced by assignFromDbRow(), and getInsertUpdateFields().

296  : string
297  {
299  }
+ Here is the caller graph for this function:

◆ getProviderIconUploadFileData()

ilLTIConsumeProvider::getProviderIconUploadFileData ( )

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

References $providerIconUploadFileData.

Referenced by save().

343  : array
344  {
346  }
+ Here is the caller graph for this function:

◆ getProviderIconUploadInput()

ilLTIConsumeProvider::getProviderIconUploadInput ( )

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

References $providerIconUploadInput.

Referenced by save().

331  {
333  }
ilImageFileInputGUI $providerIconUploadInput
This class represents an image file property in a property form.
+ 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.

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

Referenced by ilObjLTIConsumerGUI\cancelDynReg().

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  }
$res
Definition: ltiservices.php:66
$clientId
Definition: ltiregend.php:25
global $DIC
Definition: shib_login.php:22
+ 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.

References $provider_key.

Referenced by getInsertUpdateFields().

266  : string
267  {
268  return $this->provider_key;
269  }
+ Here is the caller graph for this function:

◆ getProviderSecret()

ilLTIConsumeProvider::getProviderSecret ( )

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

References $provider_secret.

Referenced by getInsertUpdateFields().

276  : string
277  {
278  return $this->provider_secret;
279  }
+ Here is the caller graph for this function:

◆ getProviderUrl()

ilLTIConsumeProvider::getProviderUrl ( )

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

References $provider_url.

Referenced by getInsertUpdateFields().

256  : string
257  {
258  return $this->provider_url;
259  }
+ Here is the caller graph for this function:

◆ getProviderXml()

ilLTIConsumeProvider::getProviderXml ( )

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

References $provider_xml.

Referenced by getInsertUpdateFields().

419  : string
420  {
421  return $this->provider_xml;
422  }
+ Here is the caller graph for this function:

◆ getPublicKey()

ilLTIConsumeProvider::getPublicKey ( )

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

References $public_key.

Referenced by getInsertUpdateFields(), and ilObjLTIConsumerGUI\saveContentSelection().

718  : string
719  {
720  return $this->public_key;
721  }
+ Here is the caller graph for this function:

◆ getPublicKeyset()

ilLTIConsumeProvider::getPublicKeyset ( )

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

References $public_keyset.

Referenced by getInsertUpdateFields(), ilObjLTIConsumerGUI\saveContentSelection(), and validateServiceToken().

728  : string
729  {
730  return $this->public_keyset;
731  }
+ Here is the caller graph for this function:

◆ getRedirectionUris()

ilLTIConsumeProvider::getRedirectionUris ( )

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

References $redirection_uris.

Referenced by getInsertUpdateFields().

748  : string
749  {
751  }
+ Here is the caller graph for this function:

◆ getRemarks()

ilLTIConsumeProvider::getRemarks ( )

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

References $remarks.

Referenced by getInsertUpdateFields().

226  : string
227  {
228  return $this->remarks;
229  }
+ Here is the caller graph for this function:

◆ getTimeToDelete()

ilLTIConsumeProvider::getTimeToDelete ( )

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

References $time_to_delete.

Referenced by getInsertUpdateFields().

236  : int
237  {
238  return $this->time_to_delete;
239  }
+ Here is the caller graph for this function:

◆ getTitle()

ilLTIConsumeProvider::getTitle ( )

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

References $title.

Referenced by getInsertUpdateFields().

196  : string
197  {
198  return $this->title;
199  }
+ Here is the caller graph for this function:

◆ getUseProviderId()

ilLTIConsumeProvider::getUseProviderId ( )

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

References $use_provider_id.

Referenced by getInsertUpdateFields().

540  : bool
541  {
542  return $this->use_provider_id;
543  }
+ Here is the caller graph for this function:

◆ getUseXapi()

ilLTIConsumeProvider::getUseXapi ( )

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

References $use_xapi.

Referenced by getInsertUpdateFields().

550  : bool
551  {
552  return $this->use_xapi;
553  }
+ Here is the caller graph for this function:

◆ getValidCategories()

static ilLTIConsumeProvider::getValidCategories ( )
static

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

393  : array
394  {
395  return [
396  self::CATEGORY_ORGANISATION,
397  self::CATEGORY_COMMUNICATION,
398  self::CATEGORY_CONTENT,
399  self::CATEGORY_ASSESSMENT,
400  self::CATEGORY_FEEDBACK
401  ];
402  }

◆ getXapiActivityId()

ilLTIConsumeProvider::getXapiActivityId ( )

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

References $xapi_activity_id.

Referenced by getInsertUpdateFields().

590  : string
591  {
593  }
+ Here is the caller graph for this function:

◆ getXapiLaunchKey()

ilLTIConsumeProvider::getXapiLaunchKey ( )

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

References $xapi_launch_key.

Referenced by getInsertUpdateFields().

570  : string
571  {
572  return $this->xapi_launch_key;
573  }
+ Here is the caller graph for this function:

◆ getXapiLaunchSecret()

ilLTIConsumeProvider::getXapiLaunchSecret ( )

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

References $xapi_launch_secret.

Referenced by getInsertUpdateFields().

580  : string
581  {
583  }
+ Here is the caller graph for this function:

◆ getXapiLaunchUrl()

ilLTIConsumeProvider::getXapiLaunchUrl ( )

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

References $xapi_launch_url.

Referenced by getInsertUpdateFields().

560  : string
561  {
562  return $this->xapi_launch_url;
563  }
+ 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.

Referenced by save().

325  : bool
326  {
327  return $this->providerIconUploadInput instanceof ilImageFileInputGUI;
328  }
This class represents an image file property in a property form.
+ Here is the caller graph for this function:

◆ insert()

ilLTIConsumeProvider::insert ( )

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

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

Referenced by ilObjLTIConsumer\registerClient(), and save().

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  }
global $DIC
Definition: shib_login.php:22
+ 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.

References getCreator(), and isGlobal().

1055  : bool
1056  {
1057  return !$this->isGlobal() && (bool) $this->getCreator();
1058  }
+ Here is the call graph for this function:

◆ isContentItem()

ilLTIConsumeProvider::isContentItem ( )

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

References $content_item.

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

758  : bool
759  {
760  return $this->content_item;
761  }
+ Here is the caller graph for this function:

◆ isExternalProvider()

ilLTIConsumeProvider::isExternalProvider ( )

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

References $is_external_provider.

Referenced by getInsertUpdateFields().

429  : bool
430  {
432  }
+ Here is the caller graph for this function:

◆ isGlobal()

ilLTIConsumeProvider::isGlobal ( )

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

References $is_global.

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

654  : bool
655  {
656  return $this->is_global;
657  }
+ Here is the caller graph for this function:

◆ isGradeSynchronization()

ilLTIConsumeProvider::isGradeSynchronization ( )

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

References $grade_synchronization.

Referenced by getInsertUpdateFields().

778  : bool
779  {
781  }
+ Here is the caller graph for this function:

◆ isInstructorSendEmail()

ilLTIConsumeProvider::isInstructorSendEmail ( )

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

References $instructor_send_email.

Referenced by getInsertUpdateFields().

674  : bool
675  {
677  }
+ Here is the caller graph for this function:

◆ isInstructorSendName()

ilLTIConsumeProvider::isInstructorSendName ( )

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

References $instructor_send_name.

Referenced by getInsertUpdateFields().

664  : bool
665  {
667  }
+ Here is the caller graph for this function:

◆ isKeepLp()

ilLTIConsumeProvider::isKeepLp ( )

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

References $keep_lp.

Referenced by getInsertUpdateFields().

479  : bool
480  {
481  return $this->keep_lp;
482  }
+ Here is the caller graph for this function:

◆ isProviderKeyCustomizable()

ilLTIConsumeProvider::isProviderKeyCustomizable ( )

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

References $provider_key_customizable.

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

286  : bool
287  {
289  }
+ Here is the caller graph for this function:

◆ isResetableToUserDefined()

ilLTIConsumeProvider::isResetableToUserDefined ( )

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

References getCreator(), and isGlobal().

1060  : bool
1061  {
1062  return $this->isGlobal() && (bool) $this->getCreator();
1063  }
+ Here is the call graph for this function:

◆ isValidCategory()

ilLTIConsumeProvider::isValidCategory ( string  $category)

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

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

404  : bool
405  {
406  return in_array($category, self::getValidCategories());
407  }
+ Here is the caller graph for this function:

◆ load()

ilLTIConsumeProvider::load ( )
Exceptions
IOException

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

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

Referenced by __construct().

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  }
$res
Definition: ltiservices.php:66
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilLTIConsumeProvider::save ( )
Exceptions

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

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

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  }
setProviderIcon(ilLTIConsumeProviderIcon $providerIcon)
setProviderIconFilename(string $provider_icon_filename)
+ Here is the call graph for this function:

◆ setAcceptedBy()

ilLTIConsumeProvider::setAcceptedBy ( int  $accepted_by)

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

References $accepted_by.

Referenced by assignFromDbRow().

649  : void
650  {
651  $this->accepted_by = $accepted_by;
652  }
+ Here is the caller graph for this function:

◆ setAlwaysLearner()

ilLTIConsumeProvider::setAlwaysLearner ( bool  $always_learner)

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

References $always_learner.

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

535  : void
536  {
537  $this->always_learner = $always_learner;
538  }
+ Here is the caller graph for this function:

◆ setAvailability()

ilLTIConsumeProvider::setAvailability ( int  $availability)

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

References $availability.

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

221  : void
222  {
223  $this->availability = $availability;
224  }
+ Here is the caller graph for this function:

◆ setCategory()

ilLTIConsumeProvider::setCategory ( string  $category)

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

References $category.

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

414  : void
415  {
416  $this->category = $category;
417  }
+ Here is the caller graph for this function:

◆ setClientId()

ilLTIConsumeProvider::setClientId ( string  $client_id)

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

References $client_id.

Referenced by assignFromDbRow(), and ilObjLTIConsumer\registerClient().

693  : void
694  {
695  $this->client_id = $client_id;
696  }
+ Here is the caller graph for this function:

◆ setContentItem()

ilLTIConsumeProvider::setContentItem ( bool  $content_item)

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

References $content_item.

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

763  : void
764  {
765  $this->content_item = $content_item;
766  }
+ Here is the caller graph for this function:

◆ setContentItemUrl()

ilLTIConsumeProvider::setContentItemUrl ( string  $content_item_url)

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

References $content_item_url.

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

773  : void
774  {
775  $this->content_item_url = $content_item_url;
776  }
+ Here is the caller graph for this function:

◆ setCreator()

ilLTIConsumeProvider::setCreator ( int  $creator)

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

References $creator.

Referenced by assignFromDbRow(), and ilObjLTIConsumer\registerClient().

639  : void
640  {
641  $this->creator = $creator;
642  }
+ Here is the caller graph for this function:

◆ setCustomParams()

ilLTIConsumeProvider::setCustomParams ( string  $custom_params)

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

References $custom_params.

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

605  : void
606  {
607  $this->custom_params = $custom_params;
608  }
+ Here is the caller graph for this function:

◆ setDescription()

ilLTIConsumeProvider::setDescription ( string  $description)

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

References $description.

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

211  : void
212  {
213  $this->description = $description;
214  }
+ Here is the caller graph for this function:

◆ setEnabledCapability()

ilLTIConsumeProvider::setEnabledCapability ( string  $enabled_capability)

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

References $enabled_capability.

Referenced by assignFromDbRow().

703  : void
704  {
705  $this->enabled_capability = $enabled_capability;
706  }
+ Here is the caller graph for this function:

◆ setGradeSynchronization()

ilLTIConsumeProvider::setGradeSynchronization ( bool  $grade_synchronization)

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

References $grade_synchronization.

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

783  : void
784  {
785  $this->grade_synchronization = $grade_synchronization;
786  }
+ Here is the caller graph for this function:

◆ setHasOutcome()

ilLTIConsumeProvider::setHasOutcome ( bool  $has_outcome)

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

References $has_outcome.

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

454  : void
455  {
456  $this->has_outcome = $has_outcome;
457  }
+ Here is the caller graph for this function:

◆ setId()

ilLTIConsumeProvider::setId ( int  $id)

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

References $id.

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

191  : void
192  {
193  $this->id = $id;
194  }
+ Here is the caller graph for this function:

◆ setIncludeUserPicture()

ilLTIConsumeProvider::setIncludeUserPicture ( bool  $include_user_picture)

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

References $include_user_picture.

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

515  : void
516  {
517  $this->include_user_picture = $include_user_picture;
518  }
+ Here is the caller graph for this function:

◆ setInitiateLogin()

ilLTIConsumeProvider::setInitiateLogin ( string  $initiate_login)

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

References $initiate_login.

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

743  : void
744  {
745  $this->initiate_login = $initiate_login;
746  }
+ Here is the caller graph for this function:

◆ setInstructorSendEmail()

ilLTIConsumeProvider::setInstructorSendEmail ( bool  $instructor_send_email)

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

References $instructor_send_email.

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

679  : void
680  {
681  $this->instructor_send_email = $instructor_send_email;
682  }
+ Here is the caller graph for this function:

◆ setInstructorSendName()

ilLTIConsumeProvider::setInstructorSendName ( bool  $instructor_send_name)

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

References $instructor_send_name.

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

669  : void
670  {
671  $this->instructor_send_name = $instructor_send_name;
672  }
+ Here is the caller graph for this function:

◆ setIsExternalProvider()

ilLTIConsumeProvider::setIsExternalProvider ( bool  $is_external_provider)

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

References $is_external_provider.

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

434  : void
435  {
436  $this->is_external_provider = $is_external_provider;
437  }
+ Here is the caller graph for this function:

◆ setIsGlobal()

ilLTIConsumeProvider::setIsGlobal ( bool  $is_global)

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

References $is_global.

Referenced by assignFromDbRow(), and ilObjLTIConsumer\registerClient().

659  : void
660  {
661  $this->is_global = $is_global;
662  }
+ Here is the caller graph for this function:

◆ setKeepLp()

ilLTIConsumeProvider::setKeepLp ( bool  $keep_lp)

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

References $keep_lp.

Referenced by assignFromDbRow().

484  : void
485  {
486  $this->keep_lp = $keep_lp;
487  }
+ Here is the caller graph for this function:

◆ setKeyType()

ilLTIConsumeProvider::setKeyType ( string  $key_type)

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

References $key_type.

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

713  : void
714  {
715  $this->key_type = $key_type;
716  }
+ Here is the caller graph for this function:

◆ setKeywords()

ilLTIConsumeProvider::setKeywords ( string  $keywords)

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

References $keywords.

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

629  : void
630  {
631  $this->keywords = $keywords;
632  }
+ Here is the caller graph for this function:

◆ setLaunchMethod()

ilLTIConsumeProvider::setLaunchMethod ( string  $launch_method)

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

References $launch_method.

Referenced by assignFromDbRow().

444  : void
445  {
446  $this->launch_method = $launch_method;
447  }
+ Here is the caller graph for this function:

◆ setLogLevel()

ilLTIConsumeProvider::setLogLevel ( int  $log_level)

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

References $log_level.

Referenced by assignFromDbRow().

251  : void
252  {
253  $this->log_level = $log_level;
254  }
+ Here is the caller graph for this function:

◆ setLtiVersion()

ilLTIConsumeProvider::setLtiVersion ( string  $lti_version)

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

References $lti_version.

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

793  : void
794  {
795  $this->lti_version = $lti_version;
796  }
+ Here is the caller graph for this function:

◆ setMasteryScore()

ilLTIConsumeProvider::setMasteryScore ( float  $mastery_score)

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

References $mastery_score.

Referenced by assignFromDbRow().

464  : void
465  {
466  $this->mastery_score = $mastery_score;
467  }
+ Here is the caller graph for this function:

◆ setMasteryScorePercent()

ilLTIConsumeProvider::setMasteryScorePercent ( float  $mastery_score_percent)

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

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

474  : void
475  {
476  $this->mastery_score = $mastery_score_percent / 100;
477  }
+ Here is the caller graph for this function:

◆ setPrivacyCommentDefault()

ilLTIConsumeProvider::setPrivacyCommentDefault ( string  $privacy_comment_default)

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

References $privacy_comment_default.

Referenced by assignFromDbRow().

525  : void
526  {
527  $this->privacy_comment_default = $privacy_comment_default;
528  }
+ Here is the caller graph for this function:

◆ setPrivacyIdent()

ilLTIConsumeProvider::setPrivacyIdent ( int  $privacy_ident)

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

References $privacy_ident.

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

495  : void
496  {
497  $this->privacy_ident = $privacy_ident;
498  }
+ Here is the caller graph for this function:

◆ setPrivacyName()

ilLTIConsumeProvider::setPrivacyName ( int  $privacy_name)

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

References $privacy_name.

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

505  : void
506  {
507  $this->privacy_name = $privacy_name;
508  }
+ Here is the caller graph for this function:

◆ setProviderIcon()

ilLTIConsumeProvider::setProviderIcon ( ilLTIConsumeProviderIcon  $providerIcon)

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

References $providerIcon.

Referenced by assignFromDbRow(), and save().

320  : void
321  {
322  $this->providerIcon = $providerIcon;
323  }
ilLTIConsumeProviderIcon $providerIcon
+ Here is the caller graph for this function:

◆ setProviderIconFilename()

ilLTIConsumeProvider::setProviderIconFilename ( string  $provider_icon_filename)

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

References $provider_icon_filename.

Referenced by assignFromDbRow(), and save().

301  : void
302  {
303  $this->provider_icon_filename = $provider_icon_filename;
304  }
+ Here is the caller graph for this function:

◆ setProviderIconUploadFileData()

ilLTIConsumeProvider::setProviderIconUploadFileData ( array  $providerIconUploadFileData)

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

References $providerIconUploadFileData.

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

348  : void
349  {
350  $this->providerIconUploadFileData = $providerIconUploadFileData;
351  }
+ 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.

References $providerIconUploadInput.

Referenced by ilLTIConsumeProviderFormGUI\initProvider().

338  : void
339  {
340  $this->providerIconUploadInput = $providerIconUploadInput;
341  }
ilImageFileInputGUI $providerIconUploadInput
+ Here is the caller graph for this function:

◆ setProviderKey()

ilLTIConsumeProvider::setProviderKey ( string  $provider_key)

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

References $provider_key.

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

271  : void
272  {
273  $this->provider_key = $provider_key;
274  }
+ Here is the caller graph for this function:

◆ setProviderKeyCustomizable()

ilLTIConsumeProvider::setProviderKeyCustomizable ( bool  $provider_key_customizable)

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

References $provider_key_customizable.

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

291  : void
292  {
293  $this->provider_key_customizable = $provider_key_customizable;
294  }
+ Here is the caller graph for this function:

◆ setProviderSecret()

ilLTIConsumeProvider::setProviderSecret ( string  $provider_secret)

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

References $provider_secret.

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

281  : void
282  {
283  $this->provider_secret = $provider_secret;
284  }
+ Here is the caller graph for this function:

◆ setProviderUrl()

ilLTIConsumeProvider::setProviderUrl ( string  $provider_url)

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

References $provider_url.

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

261  : void
262  {
263  $this->provider_url = $provider_url;
264  }
+ Here is the caller graph for this function:

◆ setProviderXml()

ilLTIConsumeProvider::setProviderXml ( string  $provider_xml)

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

References $provider_xml.

Referenced by assignFromDbRow().

424  : void
425  {
426  $this->provider_xml = $provider_xml;
427  }
+ Here is the caller graph for this function:

◆ setPublicKey()

ilLTIConsumeProvider::setPublicKey ( string  $public_key)

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

References $public_key.

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

723  : void
724  {
725  $this->public_key = $public_key;
726  }
+ Here is the caller graph for this function:

◆ setPublicKeyset()

ilLTIConsumeProvider::setPublicKeyset ( string  $public_keyset)

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

References $public_keyset.

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

733  : void
734  {
735  $this->public_keyset = $public_keyset;
736  }
+ Here is the caller graph for this function:

◆ setRedirectionUris()

ilLTIConsumeProvider::setRedirectionUris ( string  $redirection_uris)

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

References $redirection_uris.

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

753  : void
754  {
755  $this->redirection_uris = $redirection_uris;
756  }
+ Here is the caller graph for this function:

◆ setRemarks()

ilLTIConsumeProvider::setRemarks ( string  $remarks)

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

References $remarks.

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

231  : void
232  {
233  $this->remarks = $remarks;
234  }
+ Here is the caller graph for this function:

◆ setTimeToDelete()

ilLTIConsumeProvider::setTimeToDelete ( int  $time_to_delete)

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

References $time_to_delete.

Referenced by assignFromDbRow().

241  : void
242  {
243  $this->time_to_delete = $time_to_delete;
244  }
+ Here is the caller graph for this function:

◆ setTitle()

ilLTIConsumeProvider::setTitle ( string  $title)

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

References $title.

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

201  : void
202  {
203  $this->title = $title;
204  }
+ Here is the caller graph for this function:

◆ setUseProviderId()

ilLTIConsumeProvider::setUseProviderId ( bool  $use_provider_id)

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

References $use_provider_id.

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

545  : void
546  {
547  $this->use_provider_id = $use_provider_id;
548  }
+ Here is the caller graph for this function:

◆ setUseXapi()

ilLTIConsumeProvider::setUseXapi ( bool  $use_xapi)

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

References $use_xapi.

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

555  : void
556  {
557  $this->use_xapi = $use_xapi;
558  }
+ Here is the caller graph for this function:

◆ setXapiActivityId()

ilLTIConsumeProvider::setXapiActivityId ( string  $xapi_activity_id)

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

References $xapi_activity_id.

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

595  : void
596  {
597  $this->xapi_activity_id = $xapi_activity_id;
598  }
+ Here is the caller graph for this function:

◆ setXapiLaunchKey()

ilLTIConsumeProvider::setXapiLaunchKey ( string  $xapi_launch_key)

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

References $xapi_launch_key.

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

575  : void
576  {
577  $this->xapi_launch_key = $xapi_launch_key;
578  }
+ Here is the caller graph for this function:

◆ setXapiLaunchSecret()

ilLTIConsumeProvider::setXapiLaunchSecret ( string  $xapi_launch_secret)

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

References $xapi_launch_secret.

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

585  : void
586  {
587  $this->xapi_launch_secret = $xapi_launch_secret;
588  }
+ Here is the caller graph for this function:

◆ setXapiLaunchUrl()

ilLTIConsumeProvider::setXapiLaunchUrl ( string  $xapi_launch_url)

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

References $xapi_launch_url.

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

565  : void
566  {
567  $this->xapi_launch_url = $xapi_launch_url;
568  }
+ Here is the caller graph for this function:

◆ update()

ilLTIConsumeProvider::update ( )

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

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

Referenced by save().

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  }
global $DIC
Definition: shib_login.php:22
+ 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'

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

◆ CATEGORY_COMMUNICATION

const ilLTIConsumeProvider::CATEGORY_COMMUNICATION = 'communication'

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

◆ CATEGORY_CONTENT

const ilLTIConsumeProvider::CATEGORY_CONTENT = 'content'

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

◆ CATEGORY_FEEDBACK

const ilLTIConsumeProvider::CATEGORY_FEEDBACK = 'feedback'

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

◆ CATEGORY_ORGANISATION

const ilLTIConsumeProvider::CATEGORY_ORGANISATION = 'organisation'

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

◆ 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

◆ PRIVACY_NAME_FULLNAME

◆ PRIVACY_NAME_LASTNAME

◆ PRIVACY_NAME_NONE

const ilLTIConsumeProvider::PRIVACY_NAME_NONE = 0

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