Property | Type | Description | |
---|---|---|---|
$if_filter | boolean | 是否对GET/POST/REQUEST/COOKIE参数进行转意 | |
$is_ajax |
Property | Type | Description | |
---|---|---|---|
$config | |||
$model | |||
$template_dir | |||
$tpl_var | |||
$traceInfo |
Method | Description | |
---|---|---|
__construct ( Swoole $swoole ) | ||
__destruct ( ) | ||
assign ( $key, $value ) | ||
display ( string $tpl_file = '' ) | render template file, then display it. | |
fetch ( $tpl_file = '' ) | ||
json ( string $data = '', integer $code, string $message = '' ) : string | 输出JSON字串 | |
message ( $code, $msg = 'success' ) | ||
showTrace ( ) : string | 显示跟踪信息 | |
value ( $array, $key, $default = '', $intval = false ) |
Method | Description | |
---|---|---|
showTime ( ) : string | 显示运行时间和内存占用 | |
trace ( $title, $value = '' ) | 跟踪信息 |
public bool $if_filter | ||
return | boolean |