\DataListCP

DataListCP

Summary

Methods
Properties
Constants
__construct()
DataListCP()
SetSource()
SetTemplate()
SetTemplet()
PreLoad()
SetParameter()
SetVar()
GetVar()
XSSClean()
RemoveXss()
GetArcList()
GetPageList()
GetCurUrl()
Close()
Display()
SaveTo()
$dsql
$tpl
$pageNO
$totalPage
$totalResult
$pageSize
$getValues
$sourceSql
$isQuery
$queryTime
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$dsql

$dsql : 

Type

$tpl

$tpl : 

Type

$pageNO

$pageNO : 

Type

$totalPage

$totalPage : 

Type

$totalResult

$totalResult : 

Type

$pageSize

$pageSize : 

Type

$getValues

$getValues : 

Type

$sourceSql

$sourceSql : 

Type

$isQuery

$isQuery : 

Type

$queryTime

$queryTime : 

Type

Methods

__construct()

__construct(string  $tplfile = '') : string

用指定的文档ID进行初始化

Parameters

string $tplfile

模板文件

Returns

string

DataListCP()

DataListCP(string  $tplfile = '') : void

兼容PHP4版本

Parameters

string $tplfile

模板文件

SetSource()

SetSource(  $sql) 

Parameters

$sql

SetTemplate()

SetTemplate(  $tplfile) 

Parameters

$tplfile

SetTemplet()

SetTemplet(  $tplfile) 

Parameters

$tplfile

PreLoad()

PreLoad() : void

对config参数及get参数等进行预处理

SetParameter()

SetParameter(  $key,   $value) 

Parameters

$key
$value

SetVar()

SetVar(  $k,   $v) 

Parameters

$k
$v

GetVar()

GetVar(  $k) 

Parameters

$k

XSSClean()

XSSClean(  $val) 

Parameters

$val

RemoveXss()

RemoveXss(  $val) 

Parameters

$val

GetArcList()

GetArcList(  $atts,   $refObj = '',   $fields = array()) 

Parameters

$atts
$refObj
$fields

GetPageList()

GetPageList(  $atts,   $refObj = '',   $fields = array()) 

Parameters

$atts
$refObj
$fields

GetCurUrl()

GetCurUrl() 

Close()

Close() 

Display()

Display() 

SaveTo()

SaveTo(  $filename) 

Parameters

$filename