PHP Class ModuleBuilder

Datei anzeigen Open project: zblogcn/zblogphp Class Usage Examples

Public Properties

Property Type Description
$List

Public Methods

Method Description
Add ( string $modfilename, null $parameters = null ) 添加模块
Archives ( ) : string 导出文章归档模块数据
Authors ( integer $level = 4 ) : string 导出用户列表模块数据
Build ( ) 'filename';
Calendar ( string $date = '' ) : string 导出日历模块数据
Catalog ( ) : string 导出网站分类模块数据
Comments ( ) : string 导出最新留言模块数据
Del ( string $modfilename ) 删除模块
LatestArticles ( ) : string 导出最近发表文章模块数据
Navbar ( ) : string 导出导航模块数据
Reg ( string $modfilename, string $userfunc ) 重建模块
Statistics ( array $array = [] ) : string 导出网站统计模块数据
TagList ( ) : string 导出tags模块数据

Method Details

Add() public static method

添加模块
public static Add ( string $modfilename, null $parameters = null )
$modfilename string 模块名
$parameters null 模块参数

Archives() public static method

导出文章归档模块数据
public static Archives ( ) : string
return string 模块内容

Authors() public static method

导出用户列表模块数据
public static Authors ( integer $level = 4 ) : string
$level integer 要导出的用户最低等级,默认为4(即协作者)
return string 模块内容

Build() public static method

'filename';
public static Build ( )

Calendar() public static method

导出日历模块数据
public static Calendar ( string $date = '' ) : string
$date string 日期
return string 模块内容

Catalog() public static method

导出网站分类模块数据
public static Catalog ( ) : string
return string 模块内容

Comments() public static method

导出最新留言模块数据
public static Comments ( ) : string
return string 模块内容

Del() public static method

删除模块
public static Del ( string $modfilename )
$modfilename string 模块名

LatestArticles() public static method

导出最近发表文章模块数据
public static LatestArticles ( ) : string
return string 模块内容

Navbar() public static method

导出导航模块数据
public static Navbar ( ) : string
return string 模块内容

Reg() public static method

重建模块
public static Reg ( string $modfilename, string $userfunc )
$modfilename string 模块名
$userfunc string 用户函数

Statistics() public static method

导出网站统计模块数据
public static Statistics ( array $array = [] ) : string
$array array
return string 模块内容

TagList() public static method

导出tags模块数据
public static TagList ( ) : string
return string 模块内容

Property Details

$List public_oe static_oe property

public static $List