public function index()
    {
        $feedBackMessage = '';
        //checks the constraint for the results handling, depends on taoResultServer, taoLtiBasicOutcome
        $selectedDelivery = new core_kernel_classes_Resource(
            tao_helpers_Uri::decode($this->getRequestParameter('uri'))
        );

        $this->setData(
            'launchUrl',
            LTIDeliveryTool::singleton()->getLaunchUrl(array('delivery' => $selectedDelivery->getUri()))
        );

        if (!empty($feedBackMessage)) {
            $this->setData('warning', $feedBackMessage);
        }
        $class = new core_kernel_classes_Class(ConsumerService::CLASS_URI);
        $this->setData('consumers', $class->getInstances());
        $this->setData('deliveryLabel', $selectedDelivery->getLabel());
        $this->setView('linkManagement.tpl', 'ltiDeliveryProvider');
    }
public function index()
    {
        $feedBackMessage = '';
        //checks the constraint for the results handling, depends on taoResultServer, taoLtiBasicOutcome
        $selectedDelivery = new core_kernel_classes_Resource(
            tao_helpers_Uri::decode($this->getRequestParameter('uri'))
        );

        $this->setData(
            'launchUrl',
            LTIDeliveryTool::singleton()->getLaunchUrl(array('delivery' => $selectedDelivery->getUri()))
        );

        if (!empty($feedBackMessage)) {
            $this->setData('warning', $feedBackMessage);
        }
        $class = new core_kernel_classes_Class(ConsumerService::CLASS_URI);
        $this->setData('consumers', $class->getInstances());
        $this->setData('deliveryLabel', $selectedDelivery->getLabel());
        $this->setView('linkManagement.tpl', 'ltiDeliveryProvider');
    }
public function index ( ) { $ feedBackMessage = '' ; //checks the constraint for the results handling, depends on taoResultServer, taoLtiBasicOutcome $ selectedDelivery = new core_kernel_classes_Resource ( tao_helpers_Uri :: decode ( $ this -> getRequestParameter ( 'uri' ) ) ) ; $ this -> setData ( 'launchUrl' , LTIDeliveryTool :: singleton ( ) -> getLaunchUrl ( array ( 'delivery' => $ selectedDelivery -> getUri ( ) ) ) ) ; if ( ! empty ( $ feedBackMessage ) ) { $ this -> setData ( 'warning' , $ feedBackMessage ) ; } $ class = new core_kernel_classes_Class ( ConsumerService :: CLASS_URI ) ; $ this -> setData ( 'consumers' , $ class -> getInstances ( ) ) ; $ this -> setData ( 'deliveryLabel' , $ selectedDelivery -> getLabel ( ) ) ; $ this -> setView ( 'linkManagement.tpl' , 'ltiDeliveryProvider' ) ; }
Displays the LTI link for the consumer with respect to the currently selected delviery
at tdelviery level, checks if the delviery is related to a resultserver cofnigured with the correct outcome service impelmentation
@author patrick <patrick@taotesting.com>
Displays the LTI link for the consumer with respect to the currently selected delviery at tdelviery level checks if the delviery is related to a resultserver cofnigured with the correct outcome service impelmentation