protected function breadcrumbsIndex($route, $parsedRoute) {
        $urlContext = [];
        if (isset($parsedRoute['params'])) {
            if (isset($parsedRoute['params']['session'])) {
                $session = $parsedRoute['params']['session'];
                $urlContext['session'] = is_array($session) ? implode(',', $session) : $session;
            }
            if (isset($parsedRoute['params']['delivery'])) {
                $urlContext['delivery'] = $parsedRoute['params']['delivery'];
            }
            if (isset($parsedRoute['params']['context'])) {
                $urlContext['context'] = $parsedRoute['params']['context'];
            }
        }

        $breadcrumbs = array(
            'id' => 'history',
            'url' => _url('sessionHistory', 'Reporting', 'taoProctoring', $urlContext),
            'label' => __('Session history')
        );

        return $breadcrumbs;
    }
protected function breadcrumbsIndex($route, $parsedRoute) {
        $urlContext = [];
        if (isset($parsedRoute['params'])) {
            if (isset($parsedRoute['params']['session'])) {
                $session = $parsedRoute['params']['session'];
                $urlContext['session'] = is_array($session) ? implode(',', $session) : $session;
            }
            if (isset($parsedRoute['params']['delivery'])) {
                $urlContext['delivery'] = $parsedRoute['params']['delivery'];
            }
            if (isset($parsedRoute['params']['context'])) {
                $urlContext['context'] = $parsedRoute['params']['context'];
            }
        }

        $breadcrumbs = array(
            'id' => 'history',
            'url' => _url('sessionHistory', 'Reporting', 'taoProctoring', $urlContext),
            'label' => __('Session history')
        );

        return $breadcrumbs;
    }
protected function breadcrumbsIndex ( $ route , $ parsedRoute ) { $ urlContext = [ ] ; if ( isset ( $ parsedRoute [ 'params' ] ) ) { if ( isset ( $ parsedRoute [ 'params' ] [ 'session' ] ) ) { $ session = $ parsedRoute [ 'params' ] [ 'session' ] ; $ urlContext [ 'session' ] = is_array ( $ session ) ? implode ( ',' , $ session ) : $ session ; } if ( isset ( $ parsedRoute [ 'params' ] [ 'delivery' ] ) ) { $ urlContext [ 'delivery' ] = $ parsedRoute [ 'params' ] [ 'delivery' ] ; } if ( isset ( $ parsedRoute [ 'params' ] [ 'context' ] ) ) { $ urlContext [ 'context' ] = $ parsedRoute [ 'params' ] [ 'context' ] ; } } $ breadcrumbs = array ( 'id' => 'history' , 'url' => _url ( 'sessionHistory' , 'Reporting' , 'taoProctoring' , $ urlContext ) , 'label' => __ ( 'Session history' ) ) ; return $ breadcrumbs ; }
Gets the breadcrumbs for the sessionHistory page
@param string $route
@param array $parsedRoute
@return array
Gets the breadcrumbs for the sessionHistory page