controllers

package
v0.0.0-...-769f433 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2014 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	*revel.Controller
}

func (Category) Add

func (c Category) Add(category *models.Category) revel.Result

添加栏目

func (Category) Delete

func (c Category) Delete(category *models.Category) revel.Result

删除栏目

func (Category) Edit

func (c Category) Edit(category *models.Category) revel.Result

编辑栏目

func (Category) Index

func (c Category) Index(category *models.Category) revel.Result

type Content

type Content struct {
	*revel.Controller
}

func (Content) Add

func (c Content) Add(article *models.Article) revel.Result

添加内容

func (Content) AddContent

func (c Content) AddContent(article *models.Article) revel.Result

单页面 添加内容

func (Content) CateNameSearch

func (c Content) CateNameSearch(category *models.Category) revel.Result

快速进入 搜索

func (Content) Comment

func (c Content) Comment(article *models.Article) revel.Result

评论管理

func (Content) Delete

func (c Content) Delete(article *models.Article) revel.Result

删除

func (Content) Edit

func (c Content) Edit(article *models.Article) revel.Result

编辑内容

func (Content) Index

func (c Content) Index(article *models.Article) revel.Result

func (Content) Keywords

func (c Content) Keywords(article *models.Article) revel.Result

获取关键词

func (Content) Left

func (c Content) Left(article *models.Article) revel.Result

左侧菜单

func (Content) List

func (c Content) List(article *models.Article) revel.Result

内容管理列表

func (Content) Push

func (c Content) Push(article *models.Article) revel.Result

推送

func (Content) Relationlist

func (c Content) Relationlist(article *models.Article) revel.Result

添加相关文章

func (Content) Remove

func (c Content) Remove(article *models.Article) revel.Result

批量移动

type Focus

type Focus struct {
	*revel.Controller
}

func (Focus) Add

func (c Focus) Add(focus *models.Focus) revel.Result

添加焦点图

func (Focus) Edit

func (c Focus) Edit(focus *models.Focus) revel.Result

编辑焦点图

func (Focus) Index

func (c Focus) Index(focus *models.Focus) revel.Result

type FocusCate

type FocusCate struct {
	*revel.Controller
}

func (FocusCate) Add

func (c FocusCate) Add(focusCate *models.FocusCate) revel.Result

添加分类

func (FocusCate) Delete

func (c FocusCate) Delete(focusCate *models.FocusCate) revel.Result

删除分类

func (FocusCate) Edit

func (c FocusCate) Edit(focusCate *models.FocusCate) revel.Result

编辑分类

func (FocusCate) Index

func (c FocusCate) Index(focusCate *models.FocusCate) revel.Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL