PHP 클래스 ModuleBuilder

파일 보기 프로젝트 열기: zblogcn/zblogphp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$List

공개 메소드들

메소드 설명
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模块数据

메소드 상세

Add() 공개 정적인 메소드

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

Archives() 공개 정적인 메소드

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

Authors() 공개 정적인 메소드

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

Build() 공개 정적인 메소드

'filename';
public static Build ( )

Calendar() 공개 정적인 메소드

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

Catalog() 공개 정적인 메소드

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

Comments() 공개 정적인 메소드

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

Del() 공개 정적인 메소드

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

LatestArticles() 공개 정적인 메소드

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

Navbar() 공개 정적인 메소드

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

Reg() 공개 정적인 메소드

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

Statistics() 공개 정적인 메소드

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

TagList() 공개 정적인 메소드

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

프로퍼티 상세

$List 공개적으로 정적으로 프로퍼티

public static $List