Documentation ¶
Overview ¶
*
- Copyright 2015 @ z3q.net.
- name : content
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : pag
- author : jarryliu
- date : -- :
- description :
- history :
Index ¶
- func NewContent(partnerId int, rep content.IContentRep) content.IContent
- func NewPage(partnerId int, rep content.IContentRep, v *content.ValuePage) content.IPage
- type Content
- func (this *Content) CreateArticle(*content.ValuePage) content.IArticle
- func (this *Content) CreatePage(v *content.ValuePage) content.IPage
- func (this *Content) DeleteArticle(id int) error
- func (this *Content) DeletePage(id int) error
- func (this *Content) GetAggregateRootId() int
- func (this *Content) GetArticle(id int) content.IArticle
- func (this *Content) GetArticleList(categoryId int, start, over int) []content.IArticle
- func (this *Content) GetPage(id int) content.IPage
- func (this *Content) GetPageByStringIndent(indent string) content.IPage
- type Page
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContent ¶
func NewContent(partnerId int, rep content.IContentRep) content.IContent
Types ¶
type Content ¶
type Content struct {
// contains filtered or unexported fields
}
func (*Content) CreateArticle ¶
创建文章
func (*Content) CreatePage ¶
创建页面
func (*Content) GetArticleList ¶
获取文章列表
Click to show internal directories.
Click to hide internal directories.