Siteserver-生成页面-生成内容页:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: <span style="text-align:center; border:1px solid #000; float:right; padding:6px;"><strong>导航:</strong> 上一页</span> <div style="clear:both;"></div...)
 
无编辑摘要
第2行: 第2行:
<div style="clear:both;"></div>
<div style="clear:both;"></div>


'''生成内容页'''


* void CreateContents(int siteID , int channelID)


'''函数参数'''




*本接口函数通过站点ID和栏目ID生成指定栏目下的所有内容页。
* void CreateContents(int siteID , string channelIndex)
'''函数参数'''
*本接口函数通过站点ID和栏目索引生成指定栏目下的所有内容页。
* void CreateContent(int siteID , int channelID , int contentID)
'''函数参数'''
*本接口函数生成指定的内容页
'''生成内容页示例'''
<pre>
int siteID = SiteManager.GetCurrentSiteID();
CreateManager.CreateContents(siteID, "新闻中心");
</pre>





2010年6月16日 (三) 09:06的版本

导航: 上一页

生成内容页

  • void CreateContents(int siteID , int channelID)

函数参数


  • 本接口函数通过站点ID和栏目ID生成指定栏目下的所有内容页。


  • void CreateContents(int siteID , string channelIndex)

函数参数


  • 本接口函数通过站点ID和栏目索引生成指定栏目下的所有内容页。


  • void CreateContent(int siteID , int channelID , int contentID)

函数参数


  • 本接口函数生成指定的内容页


生成内容页示例

int siteID = SiteManager.GetCurrentSiteID();

CreateManager.CreateContents(siteID, "新闻中心");


参考资料