Tango

框架核心

package

Tango

author

Zheng Kai zhengkai@gmail.com

Methods

页面结束(有错误抛异常,或者继续走 tpl)

_end() : void
static
static
access

public

加载 www

_start() : void
static
static
access

protected

生成脚本标识

getScriptID() 
static

要么错误严重返回错误信息,要么返回 false 表示可以继续执行

getStopError() : boolean|array
static
static
access

public

Response

boolean|array

用于计算 www 的执行时间

getTimeController() : integer
static
static
access

public

Response

integer

初始化

init(boolean $bForce = FALSE) : void
static
static
access

public

Arguments

$bForce

boolean

为 ture 时即使在 cli 下也执行

是否在 debug 模式

isDebug() : boolean
static
static
access

public

Response

boolean

是否已初始化

isInit() : boolean
static
static
access

public

Response

boolean

是否判断错误级别是否需要中断脚本

isStopError(integer $iError) : boolean
static
static
access

public

Arguments

$iError

integer

Response

boolean

结束标志(第一次结束的时候会被 register_shutdown_function 函数激活、继续执行之后的 tpl)

shutdown() : void
static
static
access

public

Properties

www 传给 tpl 的变量,经过 HTML 过滤

T : 
static

Type(s)

www 传给 tpl 的变量,没有 HTML 过滤

D : 
static

Type(s)

经过 \Tango\Core\Filter 过滤的输入参数(原 $_GET/$_POST)

IN : 
static

Type(s)

页面扩展名(给 Page 用)

_sExt : 
static

Type(s)

确保只初始化一次

_bInit : 
static

Type(s)

用于计算 www 的执行时间

_fTimeController : 
static

Type(s)

结束标志(第一次结束的时候会被 register_shutdown_function 函数激活、继续执行之后的 tpl)

_bShutdown : 
static

Type(s)

output buffering

_bOB : 
static

Type(s)

debug 模式

_bDebug : 
static

Type(s)

脚本标识

_sScriptID : 
static

Type(s)

www 遇到哪些报错时不再继续解析 tpl

_lErrorStopCode : 
static

Type(s)