Beispiel #1
0
 //在栏目页中对“翻页项容器”(stl:pageItems)元素进行解析,此元素在生成页面时单独解析,不包含在ParseStlElement方法中。
 public static string ParseStlPageInChannelPage(string stlElement, PageInfo pageInfo, int channelId, int currentPageIndex, int pageCount, int totalNum)
 {
     return(StlPageItems.Parse(stlElement, pageInfo, channelId, 0, currentPageIndex, pageCount, totalNum, EContextType.Channel));
 }
Beispiel #2
0
 //在内容页中对“翻页项容器”(stl:pageItems)元素进行解析,此元素在生成页面时单独解析,不包含在ParseStlElement方法中。
 public static string ParseStlPageInContentPage(string stlElement, PageInfo pageInfo, int channelId, int contentId, int currentPageIndex, int pageCount)
 {
     return(StlPageItems.Parse(stlElement, pageInfo, channelId, contentId, currentPageIndex, pageCount, pageCount, EContextType.Content));
 }