* @package oat\taoProctoring */ interface TestSessionHistoryService { const SERVICE_ID = 'taoProctoring/TestSessionHistoryService'; const PROCTOR_ROLES = 'proctorRoles'; /** * @param array $sessions List of session ids * @param array $options The following option is handled: * - periodStart: * - periodEnd: * - detailed: whether to retrieve detailed or brief report. Defaults to false (brief). * - sortBy: column name * - sortOrder: order direction (asc|desc) * @return array */ public function getSessionsHistory(array $sessions, $options); /** * Gets the url that leads to the page listing the history * @param $delivery * @return string */ public function getHistoryUrl($delivery = null); /** * Gets the back url that returns to the page listing the sessions * @param $delivery * @return string */ public function getBackUrl($delivery = null); }