ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (int $a_id=0, bool $a_reference=true) | |
ilObjLTIConsumer constructor. More... | |
isActivationLimited () | |
setActivationLimited ($activationLimited) | |
getActivationStartingTime () | |
setActivationStartingTime ($activationStartingTime) | |
getActivationEndingTime () | |
setActivationEndingTime ($activationEndingTime) | |
getActivationVisibility () | |
setActivationVisibility ($activationVisibility) | |
getMasteryScore () | |
setMasteryScore (float $mastery_score) | |
getMasteryScorePercent () | |
setMasteryScorePercent (float $mastery_score_percent) | |
getProviderId () | |
setProviderId (int $providerId) | |
initProvider () | |
getProvider () | |
setProvider (ilLTIConsumeProvider $provider) | |
isLaunchMethodOwnWin () | |
isLaunchMethodEmbedded () | |
getLaunchMethod () | |
setLaunchMethod (string $launchMethod) | |
getCustomLaunchKey () | |
setCustomLaunchKey (string $customLaunchKey) | |
getCustomLaunchSecret () | |
setCustomLaunchSecret (string $customLaunchSecret) | |
getLaunchKey () | |
getLaunchSecret () | |
getUseXapi () | |
setUseXapi (bool $use_xapi) | |
getCustomActivityId () | |
setCustomActivityId (string $custom_activity_id) | |
getActivityId () | |
isStatementsReportEnabled () | |
setStatementsReportEnabled ($statementsReportEnabled) | |
doRead () | |
load () | |
doUpdate () | |
save () | |
setHighscoreEnabled ($a_enabled) | |
Sets if the highscore feature should be enabled. More... | |
getHighscoreEnabled () | |
Gets the setting which determines if the highscore feature is enabled. More... | |
setHighscoreAchievedTS ($a_achieved_ts) | |
Sets if the date and time of the scores achievement should be displayed. More... | |
getHighscoreAchievedTS () | |
Returns if date and time of the scores achievement should be displayed. More... | |
setHighscorePercentage ($a_percentage) | |
Sets if the percentages of the scores pass should be shown. More... | |
getHighscorePercentage () | |
Gets if the percentage column should be shown. More... | |
setHighscoreWTime ($a_wtime) | |
Sets if the workingtime of the scores should be shown. More... | |
getHighscoreWTime () | |
Gets if the column with the workingtime should be shown. More... | |
setHighscoreOwnTable ($a_own_table) | |
Sets if the table with the own ranking should be shown. More... | |
getHighscoreOwnTable () | |
Gets if the own rankings table should be shown. More... | |
setHighscoreTopTable ($a_top_table) | |
Sets if the top-rankings table should be shown. More... | |
getHighscoreTopTable () | |
Gets, if the top-rankings table should be shown. More... | |
setHighscoreTopNum ($a_top_num) | |
Sets the number of entries which are to be shown in the top-rankings table. More... | |
getHighscoreTopNum ($a_retval=10) | |
Gets the number of entries which are to be shown in the top-rankings table. More... | |
getHighscoreMode () | |
setHighscoreMode ($mode) | |
buildLaunchParameters (ilCmiXapiUser $cmixUser, $token, $contextType, $contextId, $contextTitle, $returnUrl='') | |
![]() | |
__construct ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
read () | |
Read data from db. More... | |
setRefId ($a_id) | |
getRefId () | |
getType () | |
setType ($a_type) | |
getPresentationTitle () | |
getTitle () | |
getUntranslatedTitle () | |
setTitle ($a_title) | |
getDescription () | |
setDescription ($a_desc) | |
getLongDescription () | |
getImportId () | |
setImportId ($a_import_id) | |
getOwner () | |
getOwnerName () | |
setOwner ($a_owner) | |
getCreateDate () | |
getLastUpdateDate () | |
create ($a_clone_mode=false) | |
update () | |
MDUpdateListener ($a_element) | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
putInTree ($a_parent_ref) | |
setPermissions ($a_parent_ref) | |
createReference () | |
countReferences () | |
delete () | |
initDefaultRoles () | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
cloneMetaData ($target_obj) | |
cloneObject ($a_target_id, $a_copy_id=null, $a_omit_tree=false) | |
cloneDependencies ($a_target_id, $a_copy_id) | |
![]() | |
__construct ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) More... | |
read () | |
read object data from db into object More... | |
getId () | |
get object id public More... | |
setId ($a_id) | |
set object id public More... | |
setRefId ($a_id) | |
set reference id public More... | |
getRefId () | |
get reference id public More... | |
getType () | |
get object type public More... | |
setType ($a_type) | |
set object type public More... | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
get object title public More... | |
getUntranslatedTitle () | |
get untranslated object title public More... | |
setTitle ($a_title) | |
set object title More... | |
getDescription () | |
get object description More... | |
setDescription ($a_desc) | |
set object description More... | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
get import id More... | |
setImportId ($a_import_id) | |
set import id More... | |
setOfflineStatus ($a_status) | |
Set offline status. More... | |
getOfflineStatus () | |
Get offline status. More... | |
supportsOfflineHandling () | |
Check whether object supports offline handling. More... | |
getOwner () | |
get object owner More... | |
getOwnerName () | |
setOwner ($a_owner) | |
set object owner More... | |
getCreateDate () | |
get create date public More... | |
getLastUpdateDate () | |
get last update date public More... | |
getDiskUsage () | |
Gets the disk usage of the object in bytes. More... | |
create () | |
create More... | |
update () | |
update object in db More... | |
MDUpdateListener ($a_element) | |
Meta data update listener. More... | |
createMetaData () | |
create meta data entry More... | |
updateMetaData () | |
update meta data entry More... | |
deleteMetaData () | |
delete meta data entry More... | |
updateOwner () | |
update owner of object in db More... | |
putInTree ($a_parent_ref) | |
maybe this method should be in tree object!? More... | |
setPermissions ($a_parent_ref) | |
set permissions of object More... | |
setParentRolePermissions ($a_parent_ref) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
count references of object More... | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public More... | |
applyDidacticTemplate ($a_tpl_id) | |
Apply template. More... | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies ($a_target_id, $a_copy_id) | |
Clone object dependencies. More... | |
cloneMetaData ($target_obj) | |
Copy meta data. More... | |
getPossibleSubObjects ($a_filter=true) | |
get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Data Fields | |
const | DB_TABLE_NAME = 'lti_consumer_settings' |
const | LAUNCH_METHOD_OWN_WIN = 'ownWin' |
const | LAUNCH_METHOD_NEW_WIN = 'newWin' |
const | LAUNCH_METHOD_EMBEDDED = 'embedded' |
const | HIGHSCORE_SHOW_ALL_TABLES = 1 |
const | HIGHSCORE_SHOW_TOP_TABLE = 2 |
const | HIGHSCORE_SHOW_OWN_TABLE = 3 |
![]() | |
const | TITLE_LENGTH = 255 |
max length of object title More... | |
const | DESC_LENGTH = 128 |
$lng | |
$id | |
$ref_id | |
$type | |
$title | |
$untranslatedTitle | |
$desc | |
$long_desc | |
$owner | |
$create_date | |
$last_update | |
$import_id | |
$register = false | |
$referenced | |
$objectList | |
$max_title | |
$max_desc | |
$add_dots | |
Protected Member Functions | |
initType () | |
loadRepositoryActivationSettings () | |
saveRepositoryActivationSettings () | |
dbTableName () | |
![]() | |
initType () | |
doRead () | |
doCreate () | |
beforeCreate () | |
If overwritten this method should return true, there is currently no "abort" handling for cases where "false" is returned. More... | |
doUpdate () | |
beforeUpdate () | |
doMDUpdateListener ($a_element) | |
beforeMDUpdateListener ($a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDelete () | |
beforeDelete () | |
doCloneObject ($new_obj, $a_target_id, $a_copy_id=null) | |
beforeCloneObject () | |
Protected Attributes | |
$activationLimited = false | |
repository object activation settings (handled by ilObject) More... | |
$activationStartingTime | |
$activationEndingTime | |
$activationVisibility | |
$providerId = 0 | |
$provider = null | |
$use_xapi = false | |
$custom_activity_id = '' | |
$statementsReportEnabled = false | |
$mastery_score = 0.5 | |
$launchMethod = self::LAUNCH_METHOD_NEW_WIN | |
$customLaunchKey = '' | |
$customLaunchSecret = '' | |
$_highscore_enabled = 0 | |
$anonymity = 0 | |
$_highscore_achieved_ts = 1 | |
$_highscore_percentage = 1 | |
$_highscore_wtime = 1 | |
$_highscore_own_table = 1 | |
$_highscore_top_table = 1 | |
$_highscore_top_num = 10 | |
![]() | |
$objDefinition | |
$db | |
$log | |
$error | |
$tree | |
$app_event_handler | |
$rbacadmin | |
$rbacreview | |
Private Member Functions | |
getCustomParams () | |
Additional Inherited Members | |
![]() | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _lookupOwnerName ($a_owner_id) |
static | _getIdForImportId ($a_import_id) |
static | _getAllReferences ($a_id) |
static | _lookupTitle ($a_id) |
static | _lookupOwner ($a_id) |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
static | _lookupLastUpdate ($a_id, $a_as_string=false) |
static | _getLastUpdateOfObjects ($a_objs) |
static | _lookupObjId ($a_id) |
static | _setDeletedDate ($a_ref_id, $a_deleted_by) |
static | _resetDeletedDate ($a_ref_id) |
static | _lookupDeletedDate ($a_ref_id) |
static | _writeTitle ($a_obj_id, $a_title) |
static | _writeDescription ($a_obj_id, $a_desc) |
static | _writeImportId ($a_obj_id, $a_import_id) |
static | _lookupType ($a_id, $a_reference=false) |
static | _isInTrash ($a_ref_id) |
static | _hasUntrashedReference ($a_obj_id) |
static | _lookupObjectId ($a_ref_id) |
static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $a_show_path=true) |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
![]() | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _lookupImportId ($a_obj_id) |
static | _lookupOwnerName ($a_owner_id) |
lookup owner name for owner id More... | |
static | _getIdForImportId ($a_import_id) |
get current object id for import id (static) More... | |
static | _getAllReferences ($a_id) |
get all reference ids of object More... | |
static | _lookupTitle ($a_id) |
lookup object title More... | |
static | lookupOfflineStatus ($a_obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner ($a_id) |
lookup object owner More... | |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
lookup object description More... | |
static | _lookupLastUpdate ($a_id, $a_as_string=false) |
lookup last update More... | |
static | _getLastUpdateOfObjects ($a_objs) |
Get last update for a set of media objects. More... | |
static | _lookupObjId ($a_id) |
static | _setDeletedDate ($a_ref_id, $a_deleted_by) |
static | setDeletedDates ($a_ref_ids, $a_user_id) |
Set deleted date. More... | |
static | _resetDeletedDate ($a_ref_id) |
only called in ilObjectGUI::insertSavedNodes More... | |
static | _lookupDeletedDate ($a_ref_id) |
only called in ilObjectGUI::insertSavedNodes More... | |
static | _writeTitle ($a_obj_id, $a_title) |
write title to db (static) More... | |
static | _writeDescription ($a_obj_id, $a_desc) |
write description to db (static) More... | |
static | _writeImportId ($a_obj_id, $a_import_id) |
write import id to db (static) More... | |
static | _lookupType ($a_id, $a_reference=false) |
lookup object type More... | |
static | _isInTrash ($a_ref_id) |
checks wether object is in trash More... | |
static | _hasUntrashedReference ($a_obj_id) |
checks wether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId ($a_ref_id) |
lookup object id More... | |
static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
get all objects of a certain type More... | |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
Get objects by type. More... | |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
Prepare copy wizard object selection. More... | |
static | _getIcon ( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies ($a_obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $a_obj_ids) |
Get long description data. More... | |
static | getAllOwnedRepositoryObjects ($a_user_id) |
Get all ids of objects user owns. More... | |
static | fixMissingTitles ($a_type, array &$a_obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate ($a_id) |
Lookup creation date. More... | |
static | hasAutoRating ($a_type, $a_ref_id) |
Check if auto rating is active for parent group/course. More... | |
Definition at line 14 of file class.ilObjLTIConsumer.php.
ilObjLTIConsumer::__construct | ( | int | $a_id = 0 , |
bool | $a_reference = true |
||
) |
ilObjLTIConsumer constructor.
int | $a_id | |
bool | $a_reference |
Definition at line 65 of file class.ilObjLTIConsumer.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilObjLTIConsumer::buildLaunchParameters | ( | ilCmiXapiUser | $cmixUser, |
$token, | |||
$contextType, | |||
$contextId, | |||
$contextTitle, | |||
$returnUrl = '' |
|||
) |
Definition at line 742 of file class.ilObjLTIConsumer.php.
References $DIC, $token, ilLink\_getLink(), CLIENT_ID, ilLTIConsumerResult\getByKeys(), getCustomParams(), ilObject2\getDescription(), ilObject\getId(), ilCmiXapiUser\getIdentAsId(), getLaunchKey(), getLaunchMethod(), getLaunchSecret(), getProvider(), ilObject2\getRefId(), ilObject2\getTitle(), ilCmiXapiUser\getUsrIdent(), ilLTIConsumeProvider\PRIVACY_NAME_FIRSTNAME, ilLTIConsumeProvider\PRIVACY_NAME_FULLNAME, ilLTIConsumeProvider\PRIVACY_NAME_LASTNAME, ROOT_FOLDER_ID, and ilLTIConsumerLaunch\signOAuth().
|
protected |
Definition at line 492 of file class.ilObjLTIConsumer.php.
Referenced by save().
ilObjLTIConsumer::doRead | ( | ) |
Definition at line 380 of file class.ilObjLTIConsumer.php.
References load().
ilObjLTIConsumer::doUpdate | ( | ) |
Definition at line 420 of file class.ilObjLTIConsumer.php.
References save().
ilObjLTIConsumer::getActivationEndingTime | ( | ) |
Definition at line 110 of file class.ilObjLTIConsumer.php.
References $activationEndingTime.
Referenced by saveRepositoryActivationSettings().
ilObjLTIConsumer::getActivationStartingTime | ( | ) |
Definition at line 94 of file class.ilObjLTIConsumer.php.
References $activationStartingTime.
Referenced by saveRepositoryActivationSettings().
ilObjLTIConsumer::getActivationVisibility | ( | ) |
Definition at line 126 of file class.ilObjLTIConsumer.php.
References $activationVisibility.
Referenced by saveRepositoryActivationSettings().
ilObjLTIConsumer::getActivityId | ( | ) |
Definition at line 331 of file class.ilObjLTIConsumer.php.
References $custom_activity_id, and getProvider().
ilObjLTIConsumer::getCustomActivityId | ( | ) |
Definition at line 315 of file class.ilObjLTIConsumer.php.
References $custom_activity_id.
Referenced by save().
ilObjLTIConsumer::getCustomLaunchKey | ( | ) |
Definition at line 243 of file class.ilObjLTIConsumer.php.
References $customLaunchKey.
Referenced by getLaunchKey(), and save().
ilObjLTIConsumer::getCustomLaunchSecret | ( | ) |
Definition at line 259 of file class.ilObjLTIConsumer.php.
References $customLaunchSecret.
Referenced by getLaunchSecret(), and save().
|
private |
Definition at line 359 of file class.ilObjLTIConsumer.php.
References $param, and getProvider().
Referenced by buildLaunchParameters().
ilObjLTIConsumer::getHighscoreAchievedTS | ( | ) |
Returns if date and time of the scores achievement should be displayed.
Definition at line 582 of file class.ilObjLTIConsumer.php.
References $_highscore_achieved_ts.
Referenced by save().
ilObjLTIConsumer::getHighscoreEnabled | ( | ) |
Gets the setting which determines if the highscore feature is enabled.
Definition at line 561 of file class.ilObjLTIConsumer.php.
References $_highscore_enabled.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and save().
ilObjLTIConsumer::getHighscoreMode | ( | ) |
Definition at line 699 of file class.ilObjLTIConsumer.php.
References getHighscoreOwnTable(), and getHighscoreTopTable().
ilObjLTIConsumer::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 642 of file class.ilObjLTIConsumer.php.
References $_highscore_own_table.
Referenced by getHighscoreMode(), and save().
ilObjLTIConsumer::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 602 of file class.ilObjLTIConsumer.php.
References $_highscore_percentage.
Referenced by save().
ilObjLTIConsumer::getHighscoreTopNum | ( | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Default: 10 entries
integer | $a_retval | Optional return value if nothing is set, defaults to 10. |
Definition at line 686 of file class.ilObjLTIConsumer.php.
References $_highscore_top_num.
Referenced by save().
ilObjLTIConsumer::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 662 of file class.ilObjLTIConsumer.php.
References $_highscore_top_table.
Referenced by getHighscoreMode(), and save().
ilObjLTIConsumer::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 622 of file class.ilObjLTIConsumer.php.
References $_highscore_wtime.
Referenced by save().
ilObjLTIConsumer::getLaunchKey | ( | ) |
Definition at line 275 of file class.ilObjLTIConsumer.php.
References getCustomLaunchKey(), and getProvider().
Referenced by buildLaunchParameters().
ilObjLTIConsumer::getLaunchMethod | ( | ) |
Definition at line 227 of file class.ilObjLTIConsumer.php.
References $launchMethod.
Referenced by buildLaunchParameters(), and save().
ilObjLTIConsumer::getLaunchSecret | ( | ) |
Definition at line 287 of file class.ilObjLTIConsumer.php.
References getCustomLaunchSecret(), and getProvider().
Referenced by buildLaunchParameters().
ilObjLTIConsumer::getMasteryScore | ( | ) |
Definition at line 142 of file class.ilObjLTIConsumer.php.
References $mastery_score.
Referenced by save().
ilObjLTIConsumer::getMasteryScorePercent | ( | ) |
Definition at line 158 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerPlaceholderValues\getMasteryScore().
ilObjLTIConsumer::getProvider | ( | ) |
Definition at line 195 of file class.ilObjLTIConsumer.php.
References $provider.
Referenced by buildLaunchParameters(), getActivityId(), getCustomParams(), getLaunchKey(), getLaunchSecret(), ilObjLTIConsumerGUI\initMetadata(), and ilLTIConsumerSettingsFormGUI\initObject().
ilObjLTIConsumer::getProviderId | ( | ) |
Definition at line 174 of file class.ilObjLTIConsumer.php.
References $providerId.
Referenced by initProvider(), and save().
ilObjLTIConsumer::getUseXapi | ( | ) |
Definition at line 299 of file class.ilObjLTIConsumer.php.
References $use_xapi.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and save().
ilObjLTIConsumer::initProvider | ( | ) |
Definition at line 187 of file class.ilObjLTIConsumer.php.
References getProviderId().
|
protected |
Definition at line 70 of file class.ilObjLTIConsumer.php.
ilObjLTIConsumer::isActivationLimited | ( | ) |
Definition at line 78 of file class.ilObjLTIConsumer.php.
References $activationLimited.
Referenced by saveRepositoryActivationSettings().
ilObjLTIConsumer::isLaunchMethodEmbedded | ( | ) |
Definition at line 219 of file class.ilObjLTIConsumer.php.
ilObjLTIConsumer::isLaunchMethodOwnWin | ( | ) |
Definition at line 211 of file class.ilObjLTIConsumer.php.
ilObjLTIConsumer::isStatementsReportEnabled | ( | ) |
Definition at line 343 of file class.ilObjLTIConsumer.php.
References $statementsReportEnabled.
Referenced by save().
ilObjLTIConsumer::load | ( | ) |
Definition at line 385 of file class.ilObjLTIConsumer.php.
References $DIC, $query, $res, ilObject\getId(), loadRepositoryActivationSettings(), setCustomActivityId(), setCustomLaunchKey(), setCustomLaunchSecret(), setHighscoreAchievedTS(), setHighscoreEnabled(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setLaunchMethod(), setMasteryScore(), setProvider(), setProviderId(), setStatementsReportEnabled(), and setUseXapi().
Referenced by doRead().
|
protected |
Definition at line 452 of file class.ilObjLTIConsumer.php.
References ilObjectActivation\getItem(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by load().
ilObjLTIConsumer::save | ( | ) |
Definition at line 425 of file class.ilObjLTIConsumer.php.
References $DIC, dbTableName(), getCustomActivityId(), getCustomLaunchKey(), getCustomLaunchSecret(), getHighscoreAchievedTS(), getHighscoreEnabled(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), ilObject\getId(), getLaunchMethod(), getMasteryScore(), getProviderId(), getUseXapi(), isStatementsReportEnabled(), and saveRepositoryActivationSettings().
Referenced by doUpdate().
|
protected |
Definition at line 472 of file class.ilObjLTIConsumer.php.
References getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ilObjectActivation\getItem(), isActivationLimited(), ilObjectActivation\setTimingType(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by save().
ilObjLTIConsumer::setActivationEndingTime | ( | $activationEndingTime | ) |
int | $activationEndingTime |
Definition at line 118 of file class.ilObjLTIConsumer.php.
References $activationEndingTime.
Referenced by loadRepositoryActivationSettings().
ilObjLTIConsumer::setActivationLimited | ( | $activationLimited | ) |
bool | $activationLimited |
Definition at line 86 of file class.ilObjLTIConsumer.php.
References $activationLimited.
Referenced by loadRepositoryActivationSettings().
ilObjLTIConsumer::setActivationStartingTime | ( | $activationStartingTime | ) |
int | $activationStartingTime |
Definition at line 102 of file class.ilObjLTIConsumer.php.
References $activationStartingTime.
Referenced by loadRepositoryActivationSettings().
ilObjLTIConsumer::setActivationVisibility | ( | $activationVisibility | ) |
bool | $activationVisibility |
Definition at line 134 of file class.ilObjLTIConsumer.php.
References $activationVisibility.
Referenced by loadRepositoryActivationSettings().
ilObjLTIConsumer::setCustomActivityId | ( | string | $custom_activity_id | ) |
string | $custom_activity_id |
Definition at line 323 of file class.ilObjLTIConsumer.php.
References $custom_activity_id.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setCustomLaunchKey | ( | string | $customLaunchKey | ) |
string | $customLaunchKey |
Definition at line 251 of file class.ilObjLTIConsumer.php.
References $customLaunchKey.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setCustomLaunchSecret | ( | string | $customLaunchSecret | ) |
string | $customLaunchSecret |
Definition at line 267 of file class.ilObjLTIConsumer.php.
References $customLaunchSecret.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setHighscoreAchievedTS | ( | $a_achieved_ts | ) |
Sets if the date and time of the scores achievement should be displayed.
bool | $a_achieved_ts |
Definition at line 572 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setHighscoreEnabled | ( | $a_enabled | ) |
Sets if the highscore feature should be enabled.
bool | $a_enabled |
Definition at line 551 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setHighscoreMode | ( | $mode | ) |
$mode | int |
Definition at line 720 of file class.ilObjLTIConsumer.php.
References setHighscoreOwnTable(), and setHighscoreTopTable().
Referenced by ilLTIConsumerSettingsFormGUI\initObject().
ilObjLTIConsumer::setHighscoreOwnTable | ( | $a_own_table | ) |
Sets if the table with the own ranking should be shown.
bool | $a_own_table | True, if table with own ranking should be shown. |
Definition at line 632 of file class.ilObjLTIConsumer.php.
Referenced by load(), and setHighscoreMode().
ilObjLTIConsumer::setHighscorePercentage | ( | $a_percentage | ) |
Sets if the percentages of the scores pass should be shown.
bool | $a_percentage |
Definition at line 592 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setHighscoreTopNum | ( | $a_top_num | ) |
Sets the number of entries which are to be shown in the top-rankings table.
integer | $a_top_num | Number of entries in the top-rankings table. |
Definition at line 673 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setHighscoreTopTable | ( | $a_top_table | ) |
Sets if the top-rankings table should be shown.
bool | $a_top_table |
Definition at line 652 of file class.ilObjLTIConsumer.php.
Referenced by load(), and setHighscoreMode().
ilObjLTIConsumer::setHighscoreWTime | ( | $a_wtime | ) |
Sets if the workingtime of the scores should be shown.
bool | $a_wtime |
Definition at line 612 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setLaunchMethod | ( | string | $launchMethod | ) |
string | $launchMethod |
Definition at line 235 of file class.ilObjLTIConsumer.php.
References $launchMethod.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setMasteryScore | ( | float | $mastery_score | ) |
float | $mastery_score |
Definition at line 150 of file class.ilObjLTIConsumer.php.
References $mastery_score.
Referenced by load().
ilObjLTIConsumer::setMasteryScorePercent | ( | float | $mastery_score_percent | ) |
float | $mastery_score_percent |
Definition at line 166 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject().
ilObjLTIConsumer::setProvider | ( | ilLTIConsumeProvider | $provider | ) |
ilLTIConsumeProvider | $provider |
Definition at line 203 of file class.ilObjLTIConsumer.php.
References $provider.
Referenced by load().
ilObjLTIConsumer::setProviderId | ( | int | $providerId | ) |
int | $providerId |
Definition at line 182 of file class.ilObjLTIConsumer.php.
References $providerId.
Referenced by load().
ilObjLTIConsumer::setStatementsReportEnabled | ( | $statementsReportEnabled | ) |
bool | $statementsReportEnabled |
Definition at line 351 of file class.ilObjLTIConsumer.php.
References $statementsReportEnabled.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
ilObjLTIConsumer::setUseXapi | ( | bool | $use_xapi | ) |
bool | $use_xapi |
Definition at line 307 of file class.ilObjLTIConsumer.php.
References $use_xapi.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
|
protected |
Definition at line 513 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreAchievedTS().
|
protected |
Definition at line 503 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreEnabled().
|
protected |
Definition at line 528 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreOwnTable().
|
protected |
Definition at line 518 of file class.ilObjLTIConsumer.php.
Referenced by getHighscorePercentage().
|
protected |
Definition at line 538 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreTopNum().
|
protected |
Definition at line 533 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreTopTable().
|
protected |
Definition at line 523 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreWTime().
|
protected |
Definition at line 23 of file class.ilObjLTIConsumer.php.
Referenced by getActivationEndingTime(), and setActivationEndingTime().
|
protected |
repository object activation settings (handled by ilObject)
Definition at line 21 of file class.ilObjLTIConsumer.php.
Referenced by isActivationLimited(), and setActivationLimited().
|
protected |
Definition at line 22 of file class.ilObjLTIConsumer.php.
Referenced by getActivationStartingTime(), and setActivationStartingTime().
|
protected |
Definition at line 24 of file class.ilObjLTIConsumer.php.
Referenced by getActivationVisibility(), and setActivationVisibility().
|
protected |
Definition at line 508 of file class.ilObjLTIConsumer.php.
|
protected |
Definition at line 41 of file class.ilObjLTIConsumer.php.
Referenced by getActivityId(), getCustomActivityId(), and setCustomActivityId().
|
protected |
Definition at line 54 of file class.ilObjLTIConsumer.php.
Referenced by getCustomLaunchKey(), and setCustomLaunchKey().
|
protected |
Definition at line 58 of file class.ilObjLTIConsumer.php.
Referenced by getCustomLaunchSecret(), and setCustomLaunchSecret().
|
protected |
Definition at line 49 of file class.ilObjLTIConsumer.php.
Referenced by getLaunchMethod(), and setLaunchMethod().
|
protected |
Definition at line 44 of file class.ilObjLTIConsumer.php.
Referenced by getMasteryScore(), and setMasteryScore().
|
protected |
Definition at line 34 of file class.ilObjLTIConsumer.php.
Referenced by getProvider(), and setProvider().
|
protected |
Definition at line 29 of file class.ilObjLTIConsumer.php.
Referenced by getProviderId(), and setProviderId().
|
protected |
Definition at line 42 of file class.ilObjLTIConsumer.php.
Referenced by isStatementsReportEnabled(), and setStatementsReportEnabled().
|
protected |
Definition at line 40 of file class.ilObjLTIConsumer.php.
Referenced by getUseXapi(), and setUseXapi().
const ilObjLTIConsumer::DB_TABLE_NAME = 'lti_consumer_settings' |
Definition at line 16 of file class.ilObjLTIConsumer.php.
const ilObjLTIConsumer::HIGHSCORE_SHOW_ALL_TABLES = 1 |
Definition at line 540 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
const ilObjLTIConsumer::HIGHSCORE_SHOW_OWN_TABLE = 3 |
Definition at line 542 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
const ilObjLTIConsumer::HIGHSCORE_SHOW_TOP_TABLE = 2 |
Definition at line 541 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
const ilObjLTIConsumer::LAUNCH_METHOD_EMBEDDED = 'embedded' |
Definition at line 38 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
const ilObjLTIConsumer::LAUNCH_METHOD_NEW_WIN = 'newWin' |
Definition at line 37 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
const ilObjLTIConsumer::LAUNCH_METHOD_OWN_WIN = 'ownWin' |
Definition at line 36 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().