Zend_Db_Adapter_Mysqli
array
$_config
= array(User-provided configuration.
Basic keys are:
username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to connect to (default 127.0.0.1) dbname => (string) The name of the database to user
Additional keys are processed as key-value pairs for a PDO DSN string.
int
$_fetchMode
= Zend_Db::FETCH_ASSOC (line 97)
Fetch mode.
mixed
$_profiler
(line 90)
Query profiler.
beginTransaction (line 239)
Leave autocommit mode and begin a transaction.
commit (line 253)
Commit a transaction and return to autocommit mode.
delete (line 336)
Deletes table rows based on a WHERE clause.
describeTable (line 217)
Returns the column descriptions for a table.
fetchAll (line 402)
Fetches all SQL result rows as a sequential array.
fetchAssoc (line 424)
Fetches all SQL result rows as an associative array.
The first column is the key, the entire row array is the value.
fetchCol (line 446)
Fetches the first column of all SQL result rows as an array.
The first column in each row is used as the array key.
fetchOne (line 487)
Fetches the first column of the first row of the SQL result.
fetchPairs (line 468)
Fetches all SQL result rows as an array of key-value pairs.
The first column is the key, the second column is the value.
fetchRow (line 503)
Fetches the first row of the SQL result.
getFetchMode (line 389)
Get the fetch mode.
insert (line 286)
Inserts a table row with specified data.
lastInsertId (line 194)
Gets the last inserted ID.
limit (line 576)
Adds an adapter-specific LIMIT clause to the SELECT statement.
listTables (line 206)
Returns a list of the tables in the database.
prepare (line 180)
Returns an SQL statement for preparation.
query (line 150)
Executes an SQL statement with bound data.
quote (line 521)
Safely quotes a value for an SQL statement.
If an array is passed as the value, the array values are quoted and then returned as a comma-separated string.
quoteIdentifier (line 564)
Quotes an identifier.
quoteInto (line 552)
Quotes a value and places into a piece of text at a placeholder.
The placeholder is a question-mark; all placeholders will be replaced with the quoted value. For example:
- $text = "WHERE date < ?";
- $date = "2005-01-02";
- $safe = $sql->quoteInto($text, $date);
- // $safe = "WHERE date < '2005-01-02'"
rollBack (line 269)
Roll back a transaction and return to autocommit mode.
select (line 353)
Creates and returns a new Zend_Db_Select object for this adapter.
setFetchMode (line 368)
Set the fetch mode.
update (line 310)
Updates table rows with specified data based on a WHERE clause.
_connect (line 105)
Creates a connection resource.
Documentation generated on Wed, 08 Mar 2006 04:53:42 -0800 by phpDocumentor 1.3.0RC4