src/Core/LTIX.php
public static function getLaunchData()
    {
        global $CFG, $CONTEXT, $USER, $CONTEXT, $LINK;
        $ltiProps = self::getCoreLaunchData();
        $ltiProps[LTIConstants::LTI_MESSAGE_TYPE] = LTIConstants::LTI_MESSAGE_TYPE_BASICLTILAUNCHREQUEST;
        $ltiProps[LTIConstants::RESOURCE_LINK_ID] = $LINK->id;

        $ltiProps['tool_consumer_instance_guid'] = $CFG->product_instance_guid;
        $ltiProps['tool_consumer_instance_description'] = $CFG->servicename;

        return $ltiProps;
    }
public static function getLaunchData()
    {
        global $CFG, $CONTEXT, $USER, $CONTEXT, $LINK;
        $ltiProps = self::getCoreLaunchData();
        $ltiProps[LTIConstants::LTI_MESSAGE_TYPE] = LTIConstants::LTI_MESSAGE_TYPE_BASICLTILAUNCHREQUEST;
        $ltiProps[LTIConstants::RESOURCE_LINK_ID] = $LINK->id;

        $ltiProps['tool_consumer_instance_guid'] = $CFG->product_instance_guid;
        $ltiProps['tool_consumer_instance_description'] = $CFG->servicename;

        return $ltiProps;
    }
public static function getLaunchData ( ) { global $ CFG , $ CONTEXT , $ USER , $ CONTEXT , $ LINK ; $ ltiProps = self :: getCoreLaunchData ( ) ; $ ltiProps [ LTIConstants :: LTI_MESSAGE_TYPE ] = LTIConstants :: LTI_MESSAGE_TYPE_BASICLTILAUNCHREQUEST ; $ ltiProps [ LTIConstants :: RESOURCE_LINK_ID ] = $ LINK -> id ; $ ltiProps [ 'tool_consumer_instance_guid' ] = $ CFG -> product_instance_guid ; $ ltiProps [ 'tool_consumer_instance_description' ] = $ CFG -> servicename ; return $ ltiProps ; }
getLaunchData - Get the launch data for a normal LTI 1.x launch
getLaunchData - Get the launch data for a normal LTI 1 . x launch