\_PDO

Class _PDO (C) Andrea Giammarchi Please read PDO class comments to know more

Summary

Methods
Properties
Constants
_PDO()
beginTransaction()
close()
commit()
exec()
errorCode()
errorInfo()
getAttribute()
lastInsertId()
prepare()
query()
quote()
rollBack()
setAttribute()
__getDNS()
$__driver
FETCH_ASSOC
FETCH_NUM
FETCH_BOTH
FETCH_OBJ
FETCH_LAZY
FETCH_BOUND
ATTR_SERVER_VERSION
ATTR_CLIENT_VERSION
ATTR_SERVER_INFO
ATTR_PERSISTENT
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

FETCH_ASSOC

FETCH_ASSOC = \PDO::FETCH_ASSOC

FETCH_NUM

FETCH_NUM = \PDO::FETCH_NUM

FETCH_BOTH

FETCH_BOTH = \PDO::FETCH_BOTH

FETCH_OBJ

FETCH_OBJ = \PDO::FETCH_OBJ

FETCH_LAZY

FETCH_LAZY = \PDO::FETCH_LAZY

FETCH_BOUND

FETCH_BOUND = \PDO::FETCH_BOUND

ATTR_SERVER_VERSION

ATTR_SERVER_VERSION = \PDO::ATTR_SERVER_VERSION

ATTR_CLIENT_VERSION

ATTR_CLIENT_VERSION = \PDO::ATTR_CLIENT_VERSION

ATTR_SERVER_INFO

ATTR_SERVER_INFO = \PDO::ATTR_SERVER_INFO

ATTR_PERSISTENT

ATTR_PERSISTENT = \PDO::ATTR_PERSISTENT

Properties

$__driver

$__driver : 

Type

Methods

_PDO()

_PDO(  $string_dsn,   $string_username = '',   $string_password = '',   $array_driver_options = null) 

Parameters

$string_dsn
$string_username
$string_password
$array_driver_options

beginTransaction()

beginTransaction() 

close()

close() 

commit()

commit() 

exec()

exec(  $query) 

Parameters

$query

errorCode()

errorCode() 

errorInfo()

errorInfo() 

getAttribute()

getAttribute(  $attribute) 

Parameters

$attribute

lastInsertId()

lastInsertId() 

prepare()

prepare(  $query,   $array = array()) 

Parameters

$query
$array

query()

query(  $query) 

Parameters

$query

quote()

quote(  $string) 

Parameters

$string

rollBack()

rollBack() 

setAttribute()

setAttribute(  $attribute,   $mixed) 

Parameters

$attribute
$mixed

__getDNS()

__getDNS(  $string) 

Parameters

$string