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

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第8行: 第8行:
'''函数参数'''
'''函数参数'''


{|  border="1" cellpadding="0" cellspacing="0"
! 参数
| 含义
|-
! <i>int</i> siteID
| 站点ID
|-
! <i>int</i> channelID
| 栏目ID


|}


*本接口函数通过站点ID和栏目ID生成指定栏目下的所有内容页。
*本接口函数通过站点ID和栏目ID生成指定栏目下的所有内容页。
第16行: 第26行:


'''函数参数'''
'''函数参数'''
{| border="1" cellpadding="0" cellspacing="0"
! 参数
| 含义
|-
! <i>int</i> siteID
| 站点ID
|-
! <i>string</i> channelIndex
| 栏目索引
|}




第25行: 第46行:
'''函数参数'''
'''函数参数'''


{| border="1" cellpadding="0" cellspacing="0"
! 参数
| 含义
|-
! <i>int</i> siteID
| 站点ID
|-
! <i>int</i> channelID
| 栏目ID
|-
! <i>int</i> contentID
| 内容ID
|}





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

导航: 上一页

生成内容页

  • void CreateContents(int siteID , int channelID)

函数参数

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


  • void CreateContents(int siteID , string channelIndex)

函数参数

参数 含义
int siteID 站点ID
string channelIndex 栏目索引


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


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

函数参数

参数 含义
int siteID 站点ID
int channelID 栏目ID
int contentID 内容ID


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


生成内容页示例

int siteID = SiteManager.GetCurrentSiteID();

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


参考资料[ ]