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

$dateTypes

$dateTypes : 

Type

$floatTypes

$floatTypes : 

Type

$intTypes

$intTypes : 

Type

$charTypes

$charTypes : 

Type

$textTypes

$textTypes : 

Type

$binTypes

$binTypes : 

Type

$emTypes

$emTypes : 

Type

$tableName

$tableName : 

Type

$templateDir

$templateDir : 

Type

$lurdTempdir

$lurdTempdir : 

Type

$tplName

$tplName : 

Type

$appName

$appName : 

Type

$primaryKey

$primaryKey : 

Type

$autoField

$autoField : 

Type

$orderQuery

$orderQuery : 

Type

$fields

$fields : 

Type

$isDebug

$isDebug : 

Type

$stringSafe

$stringSafe : 

Type

$linkTables

$linkTables : 

Type

$addFields

$addFields : 

Type

$searchParameters

$searchParameters : 

Type

$singleManage

$singleManage : 

Type

Methods

__construct()

__construct(  $tablename,   $templatedir = '',   $lurdtempdir = '') : string

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

Parameters

$tablename
$templatedir
$lurdtempdir

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

ListenAll()

ListenAll(  $listfield = '',   $wherequery = '',   $orderquery = '') 

Parameters

$listfield
$wherequery
$orderquery

AddPriKey()

AddPriKey(  $fieldname) 

Parameters

$fieldname

AddAppName()

AddAppName(  $appname) 

Parameters

$appname

SetOrderQuery()

SetOrderQuery(  $query) 

Parameters

$query

BindType()

BindType(  $fieldname,   $ftype,   $format = '') 

Parameters

$fieldname
$ftype
$format

BindTemplate()

BindTemplate(  $fieldname,   $tmptype = 'list',   $temp = '') 

Parameters

$fieldname
$tmptype
$temp

ListData()

ListData(  $listfield = '*',   $wherequery = '',   $orderquery = '',   $Suff = '_list.htm') 

Parameters

$listfield
$wherequery
$orderquery
$Suff

SaveCurUrl()

SaveCurUrl() 

GetCurFullUrl()

GetCurFullUrl() 

MakeAllTemplate()

MakeAllTemplate(  $listfield = '') 

Parameters

$listfield

MakeListTemplate()

MakeListTemplate(  $listfield = '') 

Parameters

$listfield

MakeAddEditTemplate()

MakeAddEditTemplate(  $getTemplets = 'add') 

Parameters

$getTemplets

EditData()

EditData() 

AddData()

AddData() 

SaveAddData()

SaveAddData(  $isturn = TRUE) 

Parameters

$isturn

SaveEditData()

SaveEditData(  $isturn = TRUE) 

Parameters

$isturn

DelData()

DelData(  $isturn = TRUE) 

Parameters

$isturn

AddLinkTable()

AddLinkTable(  $tablelurd,   $mylinkid,   $linkid,   $linkfields = '*') 

Parameters

$tablelurd
$mylinkid
$linkid
$linkfields

AnalyseTable()

AnalyseTable() 

AddSearchParameter()

AddSearchParameter(  $fieldname,   $fieldvalue,   $condition,   $linkmode = 'AND') 

增加搜索条件

Parameters

$fieldname
$fieldvalue
$condition
$linkmode

GetSearchQuery()

GetSearchQuery() 

GetData()

GetData(  $fname) 

Parameters

$fname

StringSafe()

StringSafe(  $str,   $safestep = -1) 

Parameters

$str
$safestep

GetBinData()

GetBinData(  $fname) 

Parameters

$fname

FormatFloat()

FormatFloat(  $fvalue,   $ftype = '') 

Parameters

$fvalue
$ftype

GetDateTimeDf()

GetDateTimeDf(  $ftype) 

Parameters

$ftype

FormatDate()

FormatDate(  $fvalue,   $ftype,   $fformat = '') 

Parameters

$fvalue
$ftype
$fformat