protected function selectDelivery() {
		
		$ltiSession = LtiService::singleton()->getLtiSession();
		if ($ltiSession->getLaunchData()->hasVariable(LtiLaunchData::RESOURCE_LINK_TITLE)) {
		    $this->setData('linkTitle', $ltiSession->getLaunchData()->getVariable(LtiLaunchData::RESOURCE_LINK_TITLE));
		}
		$this->setData('link', $ltiSession->getLtiLinkResource()->getUri());
		$this->setData('submitUrl', _url('setDelivery'));
		
		$deliveries = DeliveryAssemblyService::singleton()->getAllAssemblies();
		if (count($deliveries) > 0) {
            $this->setData('deliveries', $deliveries);
    		$this->setView('instructor/selectDelivery.tpl');
		} else {
		    $this->returnError(__('No deliveries available'));
		}
	}