Пример #1
0
 function fullListLink()
 {
     require_once ROOT_DIR . '/services/API/ListAPI.php';
     $listAPI = new ListAPI();
     $cacheInfo = $listAPI->getCacheInfoForListId($this->source);
     $link = $cacheInfo['fullListLink'];
     //Get the widget for the list
     $widget = new ListWidget();
     $widget->id = $this->listWidgetId;
     if ($widget->find(true)) {
         if ($widget->viewMoreLinkMode == 'covers') {
             $cacheInfo['fullListLink'] .= '&view=covers';
         }
     }
     return $cacheInfo['fullListLink'];
 }