public function assessmentActivity()
    {
        $service = $this->getServiceLocator()->get(ActivityMonitoringService::SERVICE_ID);

        // Reason categories
        $this->setData('reason_categories', DeliveryHelper::getAllReasonsCategories());

        // Config
        $config = [ActivityMonitoringService::OPTION_USER_ACTIVITY_WIDGETS =>
            $service->getOption(ActivityMonitoringService::OPTION_USER_ACTIVITY_WIDGETS),
            ActivityMonitoringService::OPTION_ASSESSMENT_ACTIVITY_AUTO_REFRESH =>
                $service->getOption(ActivityMonitoringService::OPTION_ASSESSMENT_ACTIVITY_AUTO_REFRESH),
            ActivityMonitoringService::OPTION_COMPLETED_ASSESSMENTS_AUTO_REFRESH =>
                $service->getOption(ActivityMonitoringService::OPTION_COMPLETED_ASSESSMENTS_AUTO_REFRESH),
        ];
        $this->setData('config', $config);

        $this->setView('Tools/assessment_activity.tpl');
    }
public function assessmentActivity()
    {
        $service = $this->getServiceLocator()->get(ActivityMonitoringService::SERVICE_ID);

        // Reason categories
        $this->setData('reason_categories', DeliveryHelper::getAllReasonsCategories());

        // Config
        $config = [ActivityMonitoringService::OPTION_USER_ACTIVITY_WIDGETS =>
            $service->getOption(ActivityMonitoringService::OPTION_USER_ACTIVITY_WIDGETS),
            ActivityMonitoringService::OPTION_ASSESSMENT_ACTIVITY_AUTO_REFRESH =>
                $service->getOption(ActivityMonitoringService::OPTION_ASSESSMENT_ACTIVITY_AUTO_REFRESH),
            ActivityMonitoringService::OPTION_COMPLETED_ASSESSMENTS_AUTO_REFRESH =>
                $service->getOption(ActivityMonitoringService::OPTION_COMPLETED_ASSESSMENTS_AUTO_REFRESH),
        ];
        $this->setData('config', $config);

        $this->setView('Tools/assessment_activity.tpl');
    }
public function assessmentActivity ( ) { $ service = $ this -> getServiceLocator ( ) -> get ( ActivityMonitoringService :: SERVICE_ID ) ; // Reason categories $ this -> setData ( 'reason_categories' , DeliveryHelper :: getAllReasonsCategories ( ) ) ; // Config $ config = [ ActivityMonitoringService :: OPTION_USER_ACTIVITY_WIDGETS => $ service -> getOption ( ActivityMonitoringService :: OPTION_USER_ACTIVITY_WIDGETS ) , ActivityMonitoringService :: OPTION_ASSESSMENT_ACTIVITY_AUTO_REFRESH => $ service -> getOption ( ActivityMonitoringService :: OPTION_ASSESSMENT_ACTIVITY_AUTO_REFRESH ) , ActivityMonitoringService :: OPTION_COMPLETED_ASSESSMENTS_AUTO_REFRESH => $ service -> getOption ( ActivityMonitoringService :: OPTION_COMPLETED_ASSESSMENTS_AUTO_REFRESH ) , ] ; $ this -> setData ( 'config' , $ config ) ; $ this -> setView ( 'Tools/assessment_activity.tpl' ) ; }
Show assessment activity dashboard
Show assessment activity dashboard