private function getChronicleView(ChronicleListAdapter $chronicleListAdapter, $chronicles, $title, $typeCSS, $link, $textLink)
 {
     // Getting list of view model
     $chronicleListAdapter->setChronicles($chronicles);
     $anyGroupTypeChronicesAsViewModel = $chronicleListAdapter->getAsChronicleViewModelLightList();
     // Get chronicles view
     $chroniclesView = new PushedChronicles($anyGroupTypeChronicesAsViewModel, $link, $title, $typeCSS, $textLink);
     return $chroniclesView->get();
 }
 private function getChronicleView($chronicles)
 {
     $chronicleListAdapter = new ChronicleListAdapter();
     // Getting list of view model
     $chronicleListAdapter->setChronicles($chronicles);
     $chroniclesAsViewModel = $chronicleListAdapter->getAsChronicleViewModelLightList();
     // Get chronicles view
     $link = $this->view->url(array(), 'chroniclesLastAnyType');
     $chroniclesView = new PushedChronicles($chroniclesAsViewModel, $link);
     return $chroniclesView->get();
 }