phpDocumentor db
[ class tree: db ] [ index: db ] [ all elements ]

Element index for package db

Package indexes

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ m ] [ p ] [ q ] [ r ] [ s ] [ u ] [ w ] [ _ ]

_

_

$_attributes
in file WindConnection.php, variable WindConnection::$_attributes
    属性值
$_charset
in file WindConnection.php, variable WindConnection::$_charset
    数据连接编码方式
$_dbHandle
in file WindConnection.php, variable WindConnection::$_dbHandle
    数据连接句柄
$_driverName
in file WindConnection.php, variable WindConnection::$_driverName
    驱动名
$_dsn
in file WindConnection.php, variable WindConnection::$_dsn
    链接字符串,携带数据驱动类型,主机信息,库名等
$_pwd
in file WindConnection.php, variable WindConnection::$_pwd
    数据密码
$_tablePrefix
in file WindConnection.php, variable WindConnection::$_tablePrefix
    数据表前缀
$_user
in file WindConnection.php, variable WindConnection::$_user
    用户名
_getPdoDataType
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::_getPdoDataType()
    获得绑定参数的类型
_initConfig
in file WindConnectionManager.php, method WindConnectionManager::_initConfig()
_initConfig
in file WindConnection.php, method WindConnection::_initConfig()
    根据配置信息,初始化当前连接对象
__construct
in file WindSqlStatement.php, method WindSqlStatement::__construct()
__construct
in file WindConnection.php, method WindConnection::__construct()
__construct
in file WindResultSet.php, method WindResultSet::__construct()
a

a

AbstractWindPdoAdapter
in file AbstractWindPdoAdapter.php, class AbstractWindPdoAdapter
    db连接适配器抽象类定义
AbstractWindPdoAdapter.php
procedural page AbstractWindPdoAdapter.php
b

b

bindColumn
in file WindSqlStatement.php, method WindSqlStatement::bindColumn()
    绑定输出结果集的列到PHP变量
bindColumns
in file WindSqlStatement.php, method WindSqlStatement::bindColumns()
    批量绑定输出结果集的列到PHP变量
bindParam
in file WindSqlStatement.php, method WindSqlStatement::bindParam()
    参数绑定
bindParams
in file WindSqlStatement.php, method WindSqlStatement::bindParams()
    批量绑定变量
bindValue
in file WindSqlStatement.php, method WindSqlStatement::bindValue()
    参数绑定
bindValues
in file WindSqlStatement.php, method WindSqlStatement::bindValues()
    调用bindValue的批量绑定参数
c

c

close
in file WindConnection.php, method WindConnection::close()
    关闭数据库连接
columnCount
in file WindResultSet.php, method WindResultSet::columnCount()
    返回结果集中的列数
createStatement
in file WindConnectionManager.php, method WindConnectionManager::createStatement()
createStatement
in file WindConnection.php, method WindConnection::createStatement()
    接受一条sql语句,并返回sqlStatement对象
createTable
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::createTable()
    添加数据表
createTable
in file WindConnection.php, method WindConnection::createTable()
    创建表,返回是否创建成功
createTable
in file WindMysqlPdoAdapter.php, method WindMysqlPdoAdapter::createTable()
    创建数据表
d

d

DB_ADAPTER_EXIST
in file WindDbException.php, class constant WindDbException::DB_ADAPTER_EXIST
DB_ADAPTER_NOT_EXIST
in file WindDbException.php, class constant WindDbException::DB_ADAPTER_NOT_EXIST
DB_BUILDER_EXIST
in file WindDbException.php, class constant WindDbException::DB_BUILDER_EXIST
DB_BUILDER_NOT_EXIST
in file WindDbException.php, class constant WindDbException::DB_BUILDER_NOT_EXIST
DB_CONNECT_NOT_EXIST
in file WindDbException.php, class constant WindDbException::DB_CONNECT_NOT_EXIST
DB_CONN_EMPTY
in file WindDbException.php, class constant WindDbException::DB_CONN_EMPTY
    连接相关的异常
DB_CONN_EXIST
in file WindDbException.php, class constant WindDbException::DB_CONN_EXIST
DB_CONN_FORMAT
in file WindDbException.php, class constant WindDbException::DB_CONN_FORMAT
DB_CONN_NOT_EXIST
in file WindDbException.php, class constant WindDbException::DB_CONN_NOT_EXIST
DB_DRIVER_BUILDER_NOT_MATCH
in file WindDbException.php, class constant WindDbException::DB_DRIVER_BUILDER_NOT_MATCH
DB_DRIVER_EXIST
in file WindDbException.php, class constant WindDbException::DB_DRIVER_EXIST
DB_DRIVER_NOT_EXIST
in file WindDbException.php, class constant WindDbException::DB_DRIVER_NOT_EXIST
DB_EMPTY
in file WindDbException.php, class constant WindDbException::DB_EMPTY
DB_QUERY_COMPARESS_ERROR
in file WindDbException.php, class constant WindDbException::DB_QUERY_COMPARESS_ERROR
DB_QUERY_COMPARESS_EXIST
in file WindDbException.php, class constant WindDbException::DB_QUERY_COMPARESS_EXIST
DB_QUERY_CONDTTION_FORMAT
in file WindDbException.php, class constant WindDbException::DB_QUERY_CONDTTION_FORMAT
DB_QUERY_EMPTY
in file WindDbException.php, class constant WindDbException::DB_QUERY_EMPTY
    查讯 相关的异常
DB_QUERY_ERROR
in file WindDbException.php, class constant WindDbException::DB_QUERY_ERROR
DB_QUERY_FETCH_ERROR
in file WindDbException.php, class constant WindDbException::DB_QUERY_FETCH_ERROR
DB_QUERY_FIELD_EMPTY
in file WindDbException.php, class constant WindDbException::DB_QUERY_FIELD_EMPTY
DB_QUERY_FIELD_EXIST
in file WindDbException.php, class constant WindDbException::DB_QUERY_FIELD_EXIST
DB_QUERY_FIELD_FORMAT
in file WindDbException.php, class constant WindDbException::DB_QUERY_FIELD_FORMAT
DB_QUERY_GROUP_MATCH
in file WindDbException.php, class constant WindDbException::DB_QUERY_GROUP_MATCH
DB_QUERY_INSERT_DATA
in file WindDbException.php, class constant WindDbException::DB_QUERY_INSERT_DATA
DB_QUERY_JOIN_TYPE_ERROR
in file WindDbException.php, class constant WindDbException::DB_QUERY_JOIN_TYPE_ERROR
DB_QUERY_LINK_EMPTY
in file WindDbException.php, class constant WindDbException::DB_QUERY_LINK_EMPTY
DB_QUERY_LOGIC_MATCH
in file WindDbException.php, class constant WindDbException::DB_QUERY_LOGIC_MATCH
DB_QUERY_TRAN_BEGIN
in file WindDbException.php, class constant WindDbException::DB_QUERY_TRAN_BEGIN
DB_QUERY_UPDATE_DATA
in file WindDbException.php, class constant WindDbException::DB_QUERY_UPDATE_DATA
DB_QUERY_WHERE_ERROR
in file WindDbException.php, class constant WindDbException::DB_QUERY_WHERE_ERROR
DB_TABLE_EMPTY
in file WindDbException.php, class constant WindDbException::DB_TABLE_EMPTY
    字段异常
e

e

execute
in file WindSqlStatement.php, method WindSqlStatement::execute()
    绑定参数,执行SQL语句,并返回影响行数
execute
in file WindConnection.php, method WindConnection::execute()
    执行一条sql语句 同时返回影响行数
f

f

fetch
in file WindResultSet.php, method WindResultSet::fetch()
    获得结果集的下一行
fetchAll
in file WindResultSet.php, method WindResultSet::fetchAll()
    返回所有的查询结果
fetchColumn
in file WindResultSet.php, method WindResultSet::fetchColumn()
    从下一行记录中获得下标是$index的值,如果获取失败则返回false
fetchObject
in file WindResultSet.php, method WindResultSet::fetchObject()
    获得结果集中的下一行,同时根据设置的类返回如果没有设置则返回的使StdClass对象
fieldMeta
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::fieldMeta()
    过滤SQL元数据,数据库对象(如表名字,字段等)
fieldMeta
in file WindMysqlPdoAdapter.php, method WindMysqlPdoAdapter::fieldMeta()
g

g

getAttribute
in file WindConnection.php, method WindConnection::getAttribute()
    获得链接相关属性设置
getColumns
in file WindSqlStatement.php, method WindSqlStatement::getColumns()
    获得需要绑定的结果输出的列值
getConnection
in file WindSqlStatement.php, method WindSqlStatement::getConnection()
    获得PDO链接对象
getDbHandle
in file WindConnectionManager.php, method WindConnectionManager::getDbHandle()
getDbHandle
in file WindConnection.php, method WindConnection::getDbHandle()
    返回数据库链接对象
getDriverName
in file WindConnection.php, method WindConnection::getDriverName()
    返回DB驱动类型
getOne
in file WindSqlStatement.php, method WindSqlStatement::getOne()
    绑定参数,执行SQL语句,并返回一行查询结果
getQueryString
in file WindSqlStatement.php, method WindSqlStatement::getQueryString()
    获得查询的预定义语句
getStatement
in file WindSqlStatement.php, method WindSqlStatement::getStatement()
    获得PDOStatement对象
getTablePrefix
in file WindConnection.php, method WindConnection::getTablePrefix()
    获得表前缀
getValue
in file WindSqlStatement.php, method WindSqlStatement::getValue()
    绑定参数,执行SQL语句,并返回查询到的结果集中某一个列的值
i

i

init
in file WindSqlStatement.php, method WindSqlStatement::init()
    初始化数据库链接信息
init
in file WindConnectionManager.php, method WindConnectionManager::init()
init
in file WindConnection.php, method WindConnection::init()
    初始化DB句柄
l

l

lastInsertId
in file WindSqlStatement.php, method WindSqlStatement::lastInsertId()
lastInsertId
in file WindConnection.php, method WindConnection::lastInsertId()
    返回最后一条插入的数据值,当传一个'name'给该方法,则返回'name'对应的列值
m

m

messageMapper
in file WindDbException.php, method WindDbException::messageMapper()
p

p

parseQueryString
in file WindConnectionManager.php, method WindConnectionManager::parseQueryString()
parseQueryString
in file WindConnection.php, method WindConnection::parseQueryString()
    解析当前查询语句,并返回解析后结果
q

q

query
in file WindConnection.php, method WindConnection::query()
    执行一条查询同时返回结果集
query
in file WindSqlStatement.php, method WindSqlStatement::query()
    绑定参数,执行SQL语句,并返回查询结果
queryAll
in file WindSqlStatement.php, method WindSqlStatement::queryAll()
    绑定参数,执行SQL语句,并返回查询结果
quote
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::quote()
quote
in file WindConnection.php, method WindConnection::quote()
    sql元数据安全过滤,并返回过滤后值
quoteArray
in file WindConnection.php, method WindConnection::quoteArray()
    过滤数组变量,将数组变量转换为字符串,并用逗号分隔每个数组元素支持多维数组
quoteArray
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::quoteArray()
    过滤数组并将数组变量转换为sql字符串
quoteMultiArray
in file WindConnection.php, method WindConnection::quoteMultiArray()
    过滤二维数组将数组变量转换为多组的sql字符串
quoteMultiArray
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::quoteMultiArray()
    过滤二维数组将数组变量转换为多组的sql字符串
quoteArray
in file WindMysqlPdoAdapter.php, method WindMysqlPdoAdapter::quoteArray()
    过滤数组并将数组变量转换为sql字符串
quoteMultiArray
in file WindMysqlPdoAdapter.php, method WindMysqlPdoAdapter::quoteMultiArray()
    过滤二维数组将数组变量转换为多组的sql字符串
r

r

rowCount
in file WindResultSet.php, method WindResultSet::rowCount()
    返回最后一条Sql语句的影响行数
s

s

setAttribute
in file WindConnection.php, method WindConnection::setAttribute()
    设置链接相关属性
setCharset
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::setCharset()
    设置连接数据库是所用的编码方式
setConfig
in file WindConnection.php, method WindConnection::setConfig()
    (non-PHPdoc)
setFetchMode
in file WindResultSet.php, method WindResultSet::setFetchMode()
    设置获取模式
setTablePrefix
in file WindConnection.php, method WindConnection::setTablePrefix()
    设置表前缀
sqlMetadata
in file WindConnection.php, method WindConnection::sqlMetadata()
    过滤SQL元数据,数据库对象(如表名字,字段等)
sqlSingle
in file AbstractWindPdoAdapter.php, method AbstractWindPdoAdapter::sqlSingle()
    过滤数组并组装单条 key=value 形式的SQL查询语句值(insert/update)
sqlSingle
in file WindConnection.php, method WindConnection::sqlSingle()
    过滤数组值并返回(insert/update)sql语句形式
setCharset
in file WindMysqlPdoAdapter.php, method WindMysqlPdoAdapter::setCharset()
sqlSingle
in file WindMysqlPdoAdapter.php, method WindMysqlPdoAdapter::sqlSingle()
    组装单条 key=value 形式的SQL查询语句值 insert/update
u

u

update
in file WindSqlStatement.php, method WindSqlStatement::update()
    绑定参数,执行SQL语句,并返回更新影响行数
w

w

WindConnection.php
procedural page WindConnection.php
WindConnectionManager.php
procedural page WindConnectionManager.php
WindResultSet.php
procedural page WindResultSet.php
WindSqlStatement.php
procedural page WindSqlStatement.php
WindConnection
in file WindConnection.php, class WindConnection
    数据库链接,提供了数据库连接服务,以及基本的数据操作方法.
WindConnectionManager
in file WindConnectionManager.php, class WindConnectionManager
    数据库链接管理
WindResultSet
in file WindResultSet.php, class WindResultSet
    sql查询结果集处理
WindSqlStatement
in file WindSqlStatement.php, class WindSqlStatement
    sql语句处理类,该类封装了基础的sql处理方法
WindDbException.php
procedural page WindDbException.php
WindDbException
in file WindDbException.php, class WindDbException
    db异常类
WindMysqlPdoAdapter.php
procedural page WindMysqlPdoAdapter.php
WindMysqlPdoAdapter
in file WindMysqlPdoAdapter.php, class WindMysqlPdoAdapter
    mysql类型数据库连接类

Documentation generated on Fri, 30 Mar 2012 11:43:24 +0800 by phpDocumentor 1.4.4