PHP Class Gitblog, gitblog

Inheritance: extends CI_Controller
Mostra file Open project: jockchou/gitblog

Public Methods

Method Description
__construct ( )
archive ( $yearMonthId, $pageNo = 1 ) 按月归档下的博客列表
blog ( $blogId = null ) 博客详情页
category ( $categoryId, $pageNo = 1 ) 分类下的博客列表
exportSite ( ) 导出网站
feed ( ) feed.xml
go404 ( )
index ( ) 首页
page ( $pageNo = 1 ) 首页,博客列表
search ( )
tags ( $tagId, $pageNo = 1 ) 标签下的博客列表

Private Methods

Method Description
getCacheKey ( ) 计算缓存Key
init ( )
loadOutCache ( ) 加载缓存文件
render ( $tpl ) 渲染页面
setData ( $key, $dataObj ) 设置渲染数据

Method Details

__construct() public method

public __construct ( )

archive() public method

按月归档下的博客列表
public archive ( $yearMonthId, $pageNo = 1 )

blog() public method

博客详情页
public blog ( $blogId = null )

category() public method

分类下的博客列表
public category ( $categoryId, $pageNo = 1 )

exportSite() public method

导出网站
public exportSite ( )

feed() public method

feed.xml
public feed ( )

go404() public method

public go404 ( )

index() public method

首页
public index ( )

page() public method

首页,博客列表
public page ( $pageNo = 1 )

tags() public method

标签下的博客列表
public tags ( $tagId, $pageNo = 1 )