## Zend_Db_Adapter_Mysqli

Description

Located in /Db/Adapter/Mysqli.php (line 53)

    Zend_Db_Adapter_Abstract
       |
       --Zend_Db_Adapter_Mysqli

Method Summary
int delete (string $table, string $where)
array describeTable ( $table, [ $schemaName = null])
void fetchAll ( $sql)
void fetchRow ( $sql, [ $bind = null])
string getQuoteIdentifierSymbol ()
int insert (string $table, array $bind)
integer lastInsertId ([string $tableName = null], [string $primaryKey = null])
string limit ( $sql, $count, $offset)
array listTables ()
Zend_Db_Statment|PDOStatement prepare (string $sql)
void query ( $sql, [ $bind = array()])
void setFetchMode (integer $mode)
int update (string $table, array $bind, string $where)
void _beginTransaction ()
void _commit ()
void _connect ()
string _quote (string $value)
void _rollBack ()
Methods
delete (line 198)

Deletes table rows based on a WHERE clause.

- return: The number of affected rows.
- access: public

int delete (string $table, string $where)

- string $table: The table to udpate.
- string $where: DELETE WHERE clause.

describeTable (line 79)

Returns the column descriptions for a table.

- access: public

array describeTable ( $table, [ $schemaName = null])

- $table
- $schemaName

fetchAll (line 124)

- access: public

void fetchAll ( $sql)

- $sql

fetchRow (line 118)

- access: public

void fetchRow ( $sql, [ $bind = null])

- $sql
- $bind

getQuoteIdentifierSymbol (line 59)

- access: public

string getQuoteIdentifierSymbol ()
insert (line 147)

Inserts a table row with specified data.

- return: The number of affected rows.
- access: public

int insert (string $table, array $bind)

- string $table: The table to insert data into.
- array $bind: Column-value pairs.

lastInsertId (line 252)

Gets the last inserted ID.

- access: public

integer lastInsertId ([string $tableName = null], [string $primaryKey = null])

- string $tableName: name of table (or sequence) associated with sequence
- string $primaryKey: primary key in $tableName

limit (line 309)

Adds an adapter-specific LIMIT clause to the SELECT statement.

- access: public

string limit ( $sql, $count, $offset)

- $sql
- $count
- $offset

listTables (line 69)

Returns a list of the tables in the database.

- access: public

array listTables ()
prepare (line 239)

Prepare a statement and return a PDOStatement-like object.

- access: public

Zend_Db_Statment|PDOStatement prepare (string $sql)

- string $sql: SQL query

query (line 105)

- access: public

void query ( $sql, [ $bind = array()])

- $sql
- $bind

setFetchMode (line 287)

Set the fetch mode.

- access: public

void setFetchMode (integer $mode)

- integer $mode

update (line 171)

Updates table rows with specified data based on a WHERE clause.

- return: The number of affected rows.
- access: public

int update (string $table, array $bind, string $where)

- string $table: The table to udpate.
- array $bind: Column-value pairs.
- string $where: UPDATE WHERE clause.

_beginTransaction (line 261)

Begin a transaction.

- access: protected

void _beginTransaction ()
_commit (line 269)

Commit a transaction.

- access: protected

void _commit ()
_connect (line 225)

Creates a connection to the database.

- access: protected

void _connect ()
_quote (line 215)

Quote a raw string.

- return: Quoted string
- access: protected

string _quote (string $value)

- string $value: Raw string

_rollBack (line 277)

Roll-back a transaction.

- access: protected

void _rollBack ()

Documentation generated on Wed, 21 Feb 2007 12:02:42 -0800 by phpDocumentor 1.3.1