src/Core/Launch.php
public function isCoursera() {
        $product = $this->ltiRawParameter('tool_consumer_info_product_family_code', false);
        $tci_description = $this->ltiRawParameter('tool_consumer_instance_description', false);
        return ( $product == 'ims' && $tci_description == 'Coursera');
    }
public function isCoursera() {
        $product = $this->ltiRawParameter('tool_consumer_info_product_family_code', false);
        $tci_description = $this->ltiRawParameter('tool_consumer_instance_description', false);
        return ( $product == 'ims' && $tci_description == 'Coursera');
    }
public function isCoursera ( ) { $ product = $ this -> ltiRawParameter ( 'tool_consumer_info_product_family_code' , false ) ; $ tci_description = $ this -> ltiRawParameter ( 'tool_consumer_instance_description' , false ) ; return ( $ product == 'ims' && $ tci_description == 'Coursera' ) ; }
Indicate if this launch came from Coursera
Indicate if this launch came from Coursera