public function showDelivery() {
	    $delivery = new core_kernel_classes_Resource($this->getRequestParameter('uri'));
	    $this->setData('delivery', $delivery);
	    
	    $ltiSession = LtiService::singleton()->getLtiSession();
		if ($ltiSession->getLaunchData()->hasVariable(LtiLaunchData::RESOURCE_LINK_TITLE)) {
		    $this->setData('linkTitle', $ltiSession->getLaunchData()->getVariable(LtiLaunchData::RESOURCE_LINK_TITLE));
		}
		
		if (ServiceProxy::singleton()->implementsMonitoring()) {
		    $executions = ServiceProxy::singleton()->getExecutionsByDelivery($delivery);
		    $this->setData('executionCount', count($executions));
		}
		
	    $this->setView('instructor/viewDelivery.tpl');
	}
public function showDelivery() {
	    $delivery = new core_kernel_classes_Resource($this->getRequestParameter('uri'));
	    $this->setData('delivery', $delivery);
	    
	    $ltiSession = LtiService::singleton()->getLtiSession();
		if ($ltiSession->getLaunchData()->hasVariable(LtiLaunchData::RESOURCE_LINK_TITLE)) {
		    $this->setData('linkTitle', $ltiSession->getLaunchData()->getVariable(LtiLaunchData::RESOURCE_LINK_TITLE));
		}
		
		if (ServiceProxy::singleton()->implementsMonitoring()) {
		    $executions = ServiceProxy::singleton()->getExecutionsByDelivery($delivery);
		    $this->setData('executionCount', count($executions));
		}
		
	    $this->setView('instructor/viewDelivery.tpl');
	}
public function showDelivery ( ) { $ delivery = new core_kernel_classes_Resource ( $ this -> getRequestParameter ( 'uri' ) ) ; $ this -> setData ( 'delivery' , $ delivery ) ; $ ltiSession = LtiService :: singleton ( ) -> getLtiSession ( ) ; if ( $ ltiSession -> getLaunchData ( ) -> hasVariable ( LtiLaunchData :: RESOURCE_LINK_TITLE ) ) { $ this -> setData ( 'linkTitle' , $ ltiSession -> getLaunchData ( ) -> getVariable ( LtiLaunchData :: RESOURCE_LINK_TITLE ) ) ; } if ( ServiceProxy :: singleton ( ) -> implementsMonitoring ( ) ) { $ executions = ServiceProxy :: singleton ( ) -> getExecutionsByDelivery ( $ delivery ) ; $ this -> setData ( 'executionCount' , count ( $ executions ) ) ; } $ this -> setView ( 'instructor/viewDelivery.tpl' ) ; }
Displays the currently associated delivery

Only accessible to LTI instructors
@throws \common_exception_Error
@throws \common_exception_NoImplementation
@throws \oat\taoLti\models\classes\LtiException
@throws \oat\taoLti\models\classes\LtiVariableMissingException
Displays the currently associated delivery