SqlsrvConnectorImplements interfaces:
IConnector implementation for Microsoft SQL Server 2005 Driver for PHP.
Located in /SqlsrvConnector.php (line 43)
BaseConnector | --SqlsrvConnector
int
delete
(string $query, [array $param = array()], [array $map = array()], [array $options = array()])
int
insert
(string $query, [array $param = array()], [array $map = array()], [array $options = array()])
array
select
(string $query, [array $param = array()], [array $map = array()], [array $options = array()])
int
update
(string $query, [array $param = array()], [array $map = array()], [array $options = array()])
static array
$unicode
= array("UCS-2LE", "UTF-16LE") (line 50)
Inherited from BaseConnector
BaseConnector::$cache
BaseConnector::$conn
BaseConnector::$options
Open a connection to a MSSQL Server 2005 or higher and set global options.
Add a TOP x statement to a SQL SELECT query when the IConnector::RESULT_LENGTH is set.
MSSQL unicode strings are converted to the special sqlsrv format.
Commits the current transaction on the current connection.
The current transaction includes all statements on the connection that were executed after the call to transaction() and before any calls to rollback() or commit().
Send a SQL DELETE query to the database and get the number of rows deleted by the query.
Fetch multiple rows of a query result.
If the IConnector::RESULT_LENGTH or IConnector::RESULT_OFFSET options are set, some rows are omitted from the beginning and/or the end of the query result. If the IConnector::RESULT_KEY_FIELD option is set, the resulting table is an associated array of rows.
Fetch multiple rows of a query result with double byte string encoding.
If the IConnector::RESULT_LENGTH or IConnector::RESULT_OFFSET options are set, some rows are omitted from the beginning and/or the end of the query result. If the IConnector::RESULT_KEY_FIELD option is set, the resulting table is an associated array of rows.
WARNING: To override the default PHP types, binary strings are fetched with the sqlsrv_fetch/sqlsrv_get_field functions. This combination is REALLY slow. sqlsrv_fetch_array is about 100 times faster.
Fetch multiple rows of a query result with single byte string encoding.
If the IConnector::RESULT_LENGTH or IConnector::RESULT_OFFSET options are set, some rows are omitted from the beginning and/or the end of the query result. If the IConnector::RESULT_KEY_FIELD option is set, the resulting table is an associated array of rows.
Send a SQL INSERT query to the database and get the IDENTITY ID generated from the last INSERT operation (if any).
Open a database connection.
Rolls back the current transaction on the current connection.
The current transaction includes all statements on the connection that were executed after the call to transaction() and before any calls to rollback() or commit().
Send a SQL SELECT query to the database and get the query result.
Begins a transaction on the current connection.
The current transaction includes all statements on the connection that were executed after the call to transaction() and before any calls to rollback() or commit().
Send a SQL UPDATE query to the database and get the number of rows updates by the query.
Inherited From BaseConnector
BaseConnector::BaseConnector()
BaseConnector::bind()
BaseConnector::cast()
BaseConnector::castArray()
BaseConnector::castBool()
BaseConnector::castDate()
BaseConnector::castFloat()
BaseConnector::castInt()
BaseConnector::castNull()
BaseConnector::castNumeric()
BaseConnector::castObject()
BaseConnector::castString()
BaseConnector::commit()
BaseConnector::getCache()
BaseConnector::getHash()
BaseConnector::getLink()
BaseConnector::getOptions()
BaseConnector::lookup()
BaseConnector::push()
BaseConnector::rollback()
BaseConnector::setCache()
BaseConnector::setOptions()
BaseConnector::strDecode()
BaseConnector::strEncode()
BaseConnector::strEscape()
BaseConnector::strQuote()
BaseConnector::strStrip()
BaseConnector::transaction()
Documentation generated on Wed, 03 Jun 2009 12:41:56 +0200 by phpDocumentor 1.4.1