public function actionView()
 {
     $set = CActiveRecordProvider::getWithCondition(TABLE_EXAMINATION_TICKETS, "session_id = " . CRequest::getInt("id"));
     $tickets = new CArrayList();
     foreach ($set->getPaginated()->getItems() as $item) {
         $ticket = CExamManager::getTicket($item->getId());
         $tickets->add($ticket->getId(), $ticket);
     }
     $paginator = $set->getPaginator();
     $this->setData("tickets", $tickets);
     $this->setData("paginator", $paginator);
     $this->addJSInclude("_core/jquery-ui-1.8.20.custom.min.js");
     $this->addCSSInclude("_core/jUI/jquery-ui-1.8.2.custom.css");
     $this->renderView("_examination/view.tpl");
 }