| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilLTIAppEventListener:
 Collaboration diagram for ilLTIAppEventListener:Static Public Member Functions | ||||||||||
| static | handleEvent (string $a_component, string $a_event, array $a_parameter) | |||||||||
Handle an event in a listener.
  | ||||||||||
| static | handleCronUpdate (ilDateTime $since) | |||||||||
| static | handleOutcomeWithoutLP (int $a_obj_id, int $a_usr_id, ?float $a_percentage) | |||||||||
Protected Member Functions | |
| __construct () | |
| ilLTIAppEventListener constructor.  More... | |
| handleUpdateStatus (int $a_obj_id, int $a_usr_id, int $a_status, int $a_percentage) | |
| Handle update status.  More... | |
| doCronUpdate (ilDateTime $since) | |
| isLTIAuthMode (string $auth_mode) | |
| tryOutcomeService (int $resource, string $ext_account, int $a_status, int $a_percentage) | |
| try outcome service  More... | |
Static Protected Member Functions | |
| static | getInstance () | 
Private Attributes | |
| ilLogger | $logger = null | 
| ilLTIDataConnector | $connector = null | 
Static Private Attributes | |
| static ilLTIAppEventListener | $instance = null | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilLTIAppEventListener
Definition at line 24 of file class.ilLTIAppEventListener.php.
      
  | 
  protected | 
ilLTIAppEventListener constructor.
Definition at line 36 of file class.ilLTIAppEventListener.php.
References $DIC, ilLoggerFactory\getLogger(), and ILIAS\Repository\logger().
 Here is the call graph for this function:
      
  | 
  protected | 
| ilDateTime | $since | 
| ilDateTimeException | 
Definition at line 91 of file class.ilLTIAppEventListener.php.
References $resources, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilObject\_lookupObjId(), ilLPStatus\_lookupPercentage(), ilLPStatus\_lookupStatus(), ILIAS\Repository\logger(), and tryOutcomeService().
 Here is the call graph for this function:
      
  | 
  staticprotected | 
Definition at line 44 of file class.ilLTIAppEventListener.php.
      
  | 
  static | 
| ilDateTime | $since | 
| ilDateTimeException | 
Definition at line 193 of file class.ilLTIAppEventListener.php.
Referenced by ilLTICronOutcomeService\run().
 Here is the caller graph for this function:
      
  | 
  static | 
Handle an event in a listener.
| string | $a_component | component, e.g. "Modules/Forum" or "Services/User" | 
| string | $a_event | event e.g. "createUser", "updateUser", "deleteUser", ... | 
| array<string,mixed> | $a_parameter parameter array (assoc), array("name" => ..., "phone_office" => ...) | 
Implements ilAppEventListener.
Definition at line 170 of file class.ilLTIAppEventListener.php.
References ilLoggerFactory\getLogger().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 201 of file class.ilLTIAppEventListener.php.
References $DIC, $ref_id, $resources, ilObject\_getAllReferences(), ilObjUser\_lookupAuthMode(), ilObjUser\_lookupExternalAccount(), ILIAS\LTI\ToolProvider\ResourceLink\fromRecordId(), ILIAS\LTI\ToolProvider\UserResult\fromResourceLink(), ilObjectLP\getInstance(), ilLoggerFactory\getLogger(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
Referenced by ilSCORM2004StoreData\persistCMIData(), and ilObjSCORMTracking\storeJsApiCmi().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Handle update status.
Definition at line 56 of file class.ilLTIAppEventListener.php.
References $ref_id, $resources, ilObject\_getAllReferences(), ilObjUser\_lookupAuthMode(), ilObjUser\_lookupExternalAccount(), ilLogLevel\DEBUG, isLTIAuthMode(), ILIAS\Repository\logger(), and tryOutcomeService().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 123 of file class.ilLTIAppEventListener.php.
Referenced by handleUpdateStatus().
 Here is the caller graph for this function:
      
  | 
  protected | 
try outcome service
Definition at line 132 of file class.ilLTIAppEventListener.php.
References ILIAS\LTI\ToolProvider\ResourceLink\fromRecordId(), ILIAS\LTI\ToolProvider\UserResult\fromResourceLink(), ILIAS\Repository\int(), ILIAS\Repository\logger(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by doCronUpdate(), and handleUpdateStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 30 of file class.ilLTIAppEventListener.php.
      
  | 
  staticprivate | 
Definition at line 26 of file class.ilLTIAppEventListener.php.
      
  | 
  private | 
Definition at line 28 of file class.ilLTIAppEventListener.php.