PHP Class Cml\Vendor\Html

Show file Open project: linhecheng/cmlphp

Public Methods

Method Description
end ( string $key ) : boolean 静态页面-生成静态页面,$key值是生成页面的唯一标识符
get ( string $key ) : boolean 静态页面-获取静态页面
start ( ) : boolean 静态页面-开启ob_start(),打开缓冲区

Private Methods

Method Description
getFilename ( string $key ) : string 静态页面-静态页面文件
html ( ) : boolean 静态页面-生成静态页面

Method Details

end() public method

静态页面-生成静态页面,$key值是生成页面的唯一标识符
public end ( string $key ) : boolean
$key string 静态页面标识符,可以用id代替
return boolean

get() public method

静态页面-获取静态页面
public get ( string $key ) : boolean
$key string 静态页面标识符,可以用id代替
return boolean

start() public method

静态页面-开启ob_start(),打开缓冲区
public start ( ) : boolean
return boolean