ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilScormLP Class Reference
+ Inheritance diagram for ilScormLP:
+ Collaboration diagram for ilScormLP:

Public Member Functions

 getDefaultMode ()
 getValidModes ()
 getCurrentMode ()
- Public Member Functions inherited from ilObjectLP
 resetCaches ()
 isAnonymized ()
 isActive ()
 getModeText ($a_mode)
 getModeInfoText ($a_mode)
 getCollectionInstance ()
 getMembers ($a_search=true)
 resetLPDataForCompleteObject ($a_recursive=true)
 resetLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 handleToTrash ()
 handleDelete ()

Protected Member Functions

 checkSCORMPreconditions ()
- Protected Member Functions inherited from ilObjectLP
 __construct ($a_obj_id)
 resetCustomLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 gatherLPUsers ()
 updateParentCollections ()

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectLP
static getInstance ($a_obj_id)
static handleMove ($a_source_ref_id)
- Protected Attributes inherited from ilObjectLP
 $obj_id
 $collection_instance
 $mode

Detailed Description

Definition at line 14 of file class.ilScormLP.php.

Member Function Documentation

ilScormLP::checkSCORMPreconditions ( )
protected

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

References ilConditionHandler\_getConditionsOfTrigger().

Referenced by getCurrentMode(), and getValidModes().

{
include_once('./Services/AccessControl/classes/class.ilConditionHandler.php');
if(count(ilConditionHandler::_getConditionsOfTrigger('sahs', $this->obj_id)))
{
return true;
}
return false;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilScormLP::getCurrentMode ( )

Reimplemented from ilObjectLP.

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

References checkSCORMPreconditions(), and ilLPObjSettings\LP_MODE_SCORM.

+ Here is the call graph for this function:

ilScormLP::getDefaultMode ( )

Reimplemented from ilObjectLP.

Definition at line 16 of file class.ilScormLP.php.

References ilLPObjSettings\LP_MODE_DEACTIVATED.

ilScormLP::getValidModes ( )

Reimplemented from ilObjectLP.

Definition at line 21 of file class.ilScormLP.php.

References ilObjSAHSLearningModule\_lookupSubType(), checkSCORMPreconditions(), ilLPObjSettings\LP_MODE_DEACTIVATED, ilLPObjSettings\LP_MODE_SCORM, and ilLPObjSettings\LP_MODE_SCORM_PACKAGE.

{
include_once "./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
$subtype = ilObjSAHSLearningModule::_lookupSubType($this->obj_id);
if($subtype != "scorm2004")
{
{
}
include_once "Services/Tracking/classes/collection/class.ilLPCollectionOfSCOs.php";
$collection = new ilLPCollectionOfSCOs($this->obj_id, ilLPObjSettings::LP_MODE_SCORM);
if(sizeof($collection->getPossibleItems()))
{
}
}
else
{
{
}
include_once "Services/Tracking/classes/collection/class.ilLPCollectionOfSCOs.php";
$collection = new ilLPCollectionOfSCOs($this->obj_id, ilLPObjSettings::LP_MODE_SCORM);
if(sizeof($collection->getPossibleItems()))
{
}
}
}

+ Here is the call graph for this function:


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