Пример #1
0
 public static function PublishRssForPageTypes($siteUniqId, $root = '../')
 {
     $site = Site::GetBySiteUniqId($siteUniqId);
     $list = PageType::GetPageTypes($site['SiteId']);
     foreach ($list as $row) {
         Publish::PublishRssForPageType($siteUniqId, $row['PageTypeId'], $root);
     }
 }
Пример #2
0
 public static function PublishRssForPageTypes($site)
 {
     $list = PageType::GetPageTypes($site['SiteId']);
     foreach ($list as $row) {
         Publish::PublishRssForPageType($site, $row['PageTypeId']);
     }
 }