_getListItem(); if (empty($item['list'])) { return null; } $item['blockId'] = Qs_SiteMap::classToId($this) . 'block'; $item['calendarUrl'] = EventView::getPageUrlByType(ConfigForm::TYPE_CALENDAR); $item['detailsUrl'] = EventView::getPageUrlByType(ConfigForm::TYPE_DETAILS); $item['stylesheet'][] = ['css/thirdpart/royalslider-default.css']; $item['stylesheet'][] = ['css/thirdpart/royalslider.css']; $item['script'][] = ['js/royalslider/jquery.royalslider.js']; $item['script'][] = ['js/royalslider/jquery.rs.auto-height.js']; $item['script'][] = ['js/royalslider/jquery.rs.autoplay.js']; $options = [ 'blockId' => $item['blockId'], ]; $item['script'][] = ['js/app/event/sideBlock.js']; $item['initObject'][] = ['app.event.SideBlock', [$options]]; return $item; } }