Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PageMgr *_PageMgr
View Source
var SectionMgr *_SectionMgr
Functions ¶
func PageAddInsertCallback ¶
func PageAddInsertCallback(cb func(obj EzOrmObj))
func PageAddUpdateCallback ¶
func PageAddUpdateCallback(cb func(obj EzOrmObj))
func PageInsertCallback ¶
func PageInsertCallback(o *Page)
func PageUpdateCallback ¶
func PageUpdateCallback(o *Page)
Types ¶
type Page ¶
type Page struct {
ID bson.ObjectId `json:"id" bson:"_id,omitempty"`
Title string `bson:"Title" json:"Title"`
Hits int32 `bson:"Hits" json:"Hits"`
Slug string `bson:"Slug" json:"Slug"`
Sections []Section `bson:"Sections" json:"Sections"`
Meta map[string][]map[string]int `bson:"Meta" json:"Meta"`
// contains filtered or unexported fields
}
func (*Page) GetClassName ¶
func (*Page) GetNameSpace ¶
func (*Page) InsertUnique ¶
func (*Page) IsSearchEnabled ¶
Click to show internal directories.
Click to hide internal directories.