-
$_config
-
User-provided configuration.
-
$_config
-
User-provided configuration.
-
$_config
-
User-provided configuration
-
$_connection
-
Database connection
-
$_execute_mode
-
Execution mode
-
$_execute_mode
-
-
$_fetchMode
-
Fetch mode
-
$_lastInsertTable
-
Table name of the last accessed table for an insert operation This is a DB2-Adapter-specific member variable with the utmost probability you might not find it in other adapters...
-
$_pdoType
-
PDO type.
-
$_pdoType
-
PDO type.
-
$_pdoType
-
PDO type.
-
$_pdoType
-
PDO type.
-
$_pdoType
-
PDO type
-
$_profiler
-
Query profiler
-
_beginTransaction
-
Begin a transaction.
-
_beginTransaction
-
Begin a transaction.
-
_beginTransaction
-
Begin a transaction.
-
_beginTransaction
-
Leave autocommit mode and begin a transaction.
-
_commit
-
Commit a transaction.
-
_commit
-
Commit a transaction.
-
_commit
-
Commit a transaction and return to autocommit mode.
-
_commit
-
Commit a transaction.
-
_connect
-
Creates a connection resource.
-
_connect
-
Creates a connection resource.
-
_connect
-
Creates a PDO object and connects to the database.
-
_connect
-
Creates a connection to the database.
-
_dsn
-
Creates a PDO DSN for the adapter from $this->_config settings.
-
_dsn
-
DSN builder
-
_getExecuteMode
-
-
_getExecuteMode
-
Gets the execution mode
-
_quote
-
Quote a raw string.
-
_quote
-
Quote a raw string.
-
_quote
-
Quote a raw string
-
_quote
-
Quote a raw string.
-
_quote
-
Quote a raw string.
-
_rollBack
-
Roll-back a transaction.
-
_rollBack
-
Roll-back a transaction.
-
_rollBack
-
Roll-back a transaction.
-
_rollBack
-
Roll back a transaction and return to autocommit mode.
-
_setExecuteMode
-
-
__construct
-
Constructor.
-
__construct
-
Constructor.
-
__construct
-
-
__construct
-
-
__construct
-
Constructor.
-
__construct
-
Constructor.
-
$_enabled
-
Stores enabled state of the profiler. If set to False, calls to queryStart() will simply be ignored.
-
$_endedMicrotime
-
Unix timestamp with microseconds when self::queryEnd() was called.
-
$_filterElapsedSecs
-
Stores the number of seconds to filter. NULL if filtering by time is disabled. If an integer is stored here, profiles whose elapsed time is less than this value in seconds will be unset from the self::$_queryProfiles array.
-
$_filterTypes
-
Logical OR of any of the filter constants. NULL if filtering by query
-
$_query
-
SQL query string or user comment, set by $query argument in constructor.
-
$_queryProfiles
-
Array of Zend_Db_Profiler_Query objects.
-
$_queryType
-
One of the Zend_Db_Profiler constants for query type, set by $queryType argument in constructor.
-
$_startedMicrotime
-
Unix timestamp with microseconds when instantiated.
-
__construct
-
Class constructor. A query is about to be started, save the query text ($query) and its type (one of the Zend_Db_Profiler::* constants).
-
__construct
-
Class constructor. The profiler is disabled by default unless it is specifically enabled by passing in $enabled here or calling setEnabled().
-
$_adapter
-
Zend_Db_Adapter_Abstract object.
-
$_parts
-
The component parts of a SELECT statement.
-
$_tableCols
-
Tracks which columns are being select from each table and join.
-
_join
-
Populate the $_parts 'join' key
-
_tableCols
-
Adds to the internal table-to-column mapping array.
-
__construct
-
Class constructor
-
__toString
-
Converts this object to an SQL SELECT string.
-
$_attribute
-
Attributes.
-
$_bindColumn
-
Column result bindings.
-
$_bindParam
-
Query parameter bindings; covers bindParam() and bindValue().
-
$_fetchMode
-
The current fetch mode.
-
$_keys
-
column names
-
$_keys
-
column names
-
$_keys
-
column names
-
$_sqlParam
-
Parameter placeholders in the SQL string by position in the split array.
-
$_sqlSplit
-
SQL string split into an array at placeholders.
-
$_stmt
-
the connection_stmt object
-
$_stmt
-
the mysqli_stmt object
-
$_stmt
-
statement resource handle
-
$_values
-
fetched result values
-
$_values
-
fetched result values
-
$_values
-
fetched result values
-
_joinSql
-
Joins SQL text and bound params into a string.
-
_prepSql
-
Splits SQL into text and params, sets up $this->_bindParam for replacements.
-
_prepSql
-
Prepares statement handle
-
_prepSql
-
Prepare statement handle
-
__construct
-
-
__construct
-
-
__construct
-
Constructor.
-
$_cols
-
The table column names derived from Zend_Db_Adapter_*::describeTable().
-
$_count
-
How many data rows there are.
-
$_data
-
The data for each column in the row (underscore_words => value).
-
$_data
-
The original data for each row.
-
$_db
-
Zend_Db_Adapter object from the table interface.
-
$_db
-
Zend_Db_Adapter object from the table interface.
-
$_db
-
Zend_Db_Adapter object.
-
$_defaultDb
-
Default Zend_Db_Adapter object.
-
$_inflector
-
For name inflections.
-
$_info
-
Zend_Db_Table info (name, cols, primary, etc).
-
$_name
-
The table name derived from the class name (underscore format).
-
$_pointer
-
Iterator pointer.
-
$_primary
-
The primary key column (underscore format).
-
$_rows
-
Collection of instantiated Zend_Db_Table_Row objects.
-
$_table
-
Zend_Db_Table interface (the row "parent").
-
$_table
-
Zend_Db_Table object.
-
_fetch
-
Support method for fetching rows.
-
_getDefaultAdapter
-
Gets the default Zend_Db_Adapter for all Zend_Db_Table objects.
-
_refresh
-
Refreshes properties from the database.
-
_setup
-
Populate static properties for this table module.
-
__construct
-
Constructor.
-
__construct
-
Constructor.
-
__construct
-
Constructor.
-
__get
-
Getter for camelCaps properties mapped to underscore_word columns.
-
__set
-
Setter for camelCaps properties mapped to underscore_word columns.
-
$code
-
-
$code
-
-
commit
-
Commit a transaction and return to autocommit mode.
-
camelize
-
Convert underscore_words to camelCaps.
-
clear
-
Clears the history of any past query profiles. This is unrelentless and will even clear queries that were started and may not have been marked as ended.
-
$code
-
-
$code
-
-
closeCursor
-
closes the cursor, allowing the statement to be executed again
-
closeCursor
-
closes the cursor, allowing the statement to be executed again
-
closeCursor
-
closes the cursor, allowing the statement to be executed again
-
closeCursor
-
closes the cursor, allowing the statement to be executed again
-
closeCursor
-
closes the cursor, allowing the statement to be executed again
-
columnCount
-
returns the number of columns in the result set
-
columnCount
-
returns the number of columns in the result set
-
columnCount
-
returns the number of columns in the result set
-
columnCount
-
returns the number of columns in the result set
-
columnCount
-
returns the number of columns in the result set
-
count
-
Returns the number of elements in the collection.
-
current
-
Return the current element.
-
FETCH_ASSOC
-
-
FETCH_BOTH
-
-
FETCH_BOUND
-
-
FETCH_CLASS
-
-
FETCH_CLASSTYPE
-
-
FETCH_COLUMN
-
-
FETCH_FUNC
-
-
FETCH_GROUP
-
-
FETCH_INTO
-
-
FETCH_LAZY
-
-
FETCH_NAMED
-
-
FETCH_NUM
-
-
FETCH_OBJ
-
-
FETCH_ORI_ABS
-
-
FETCH_ORI_FIRST
-
-
FETCH_ORI_LAST
-
-
FETCH_ORI_NEXT
-
-
FETCH_ORI_PRIOR
-
-
FETCH_ORI_REL
-
-
FETCH_SERIALIZE
-
-
FETCH_UNIQUE
-
-
Exception.php
-
-
Exception.php
-
-
Exception.php
-
-
Exception.php
-
-
DELETE
-
An operation related to deleting data in the database, such as SQL's DELETE.
-
end
-
The query has ended. Record the time so that the elapsed time can be determined later.
-
SELECT
-
Retrieving information from the database, such as SQL's SELECT.
-
Exception.php
-
-
Exception.php
-
-
errorCode
-
retrieves an error code, if any, from the statement
-
errorCode
-
retrieves a sql state, if any, from the statement
-
errorCode
-
retrieves an error code, if any, from the statement
-
errorCode
-
retrieves an error code, if any, from the statement
-
errorCode
-
retrieves an error code, if any, from the statement
-
errorInfo
-
retrieves a error msg, if any, from the statement
-
errorInfo
-
retrieves an array of error information, if any, from the statement
-
errorInfo
-
retrieves an array of error information, if any, from the statement
-
errorInfo
-
retrieves an array of error information, if any, from the statement
-
errorInfo
-
retrieves an array of error information, if any, from the statement
-
execute
-
executes a prepared statement
-
execute
-
executes a prepared statement
-
execute
-
executes a prepared statement
-
execute
-
executes a prepared statement
-
execute
-
executes a prepared statement
-
Exception.php
-
-
Exception.php
-
-
Exception.php
-
-
exists
-
Returns true if $this->count > 0, false otherwise.
-
Exception.php
-
-
Exception.php
-
-
factory
-
Factory for Zend_Db_Adapter classes.
-
fetchAll
-
Fetches all SQL result rows as a sequential array.
-
fetchAssoc
-
Fetches all SQL result rows as an associative array.
-
fetchAssoc
-
Fetches all SQL result rows as an associative array.
-
fetchCol
-
Fetches the first column of all SQL result rows as an array.
-
fetchOne
-
Fetches the first column of the first row of the SQL result.
-
fetchPairs
-
Fetches all SQL result rows as an array of key-value pairs.
-
fetchRow
-
Fetches the first row of the SQL result.
-
forUpdate
-
Makes the query SELECT FOR UPDATE.
-
from
-
Adds a FROM table and optional columns to the query.
-
fetch
-
fetches a row from the result set
-
fetch
-
fetches a row from a result set
-
fetch
-
fetches a row from a result set
-
fetch
-
fetches a row from the result set
-
fetch
-
fetches a row from a result set
-
fetchAll
-
fetches an array containing all of the rows from a result set
-
fetchAll
-
fetches an array containing all of the rows from a result set
-
fetchAll
-
fetches an array containing all of the rows from a result set
-
fetchAll
-
fetches an array containing all of the rows from a result set
-
fetchColumn
-
returns the data from a single column in a result set
-
fetchColumn
-
returns the data from a single column in a result set
-
fetchColumn
-
returns the data from a single column in a result set
-
fetchObject
-
fetches the next row and returns it as an object
-
fetchObject
-
fetches the next row and returns it as an object
-
fetchObject
-
fetches the next row and returns it as an object
-
fetchObject
-
-
fetchAll
-
Fetches all rows.
-
fetchNew
-
Fetches a new blank row (not from the database).
-
fetchRow
-
Fetches one row.
-
find
-
Fetches rows by primary key.
-
getConnection
-
Returns the underlying database connection object or resource. If not presently connected, this may return null.
-
getFetchMode
-
Get the fetch mode.
-
getProfiler
-
Returns the profiler for this adapter.
-
getElapsedSecs
-
Get the elapsed time (in seconds) that the query ran. If the query has not yet ended, return false.
-
getEnabled
-
Get the current state of enable. If True is returned, the profiler is enabled.
-
getLastQueryProfile
-
Get the Zend_Db_Profiler_Query object for the last query that was run, regardless if it has ended or not. If the query has not ended, it's end time will be Null.
-
getQuery
-
Get the original SQL text of the query.
-
getQueryProfile
-
Get a profile for a query. Pass it the same handle that was returned by queryStart() and it will return a Zend_Db_Profiler_Query object.
-
getQueryProfiles
-
Get an array of query profiles (Zend_Db_Profiler_Query objects). If $queryType
-
getQueryType
-
Get the type of this query (one of the Zend_Db_Profiler::* constants)
-
getTotalElapsedSecs
-
Get the total elapsed time (in seconds) of all of the profiled queries.
-
getTotalNumQueries
-
Get the total number of queries that have been profiled. Only queries that have ended will be counted. If $queryType is set to one of the Zend_Db_Profiler::* constants, only queries of that type will be counted.
-
group
-
Adds grouping to the query.
-
getAttribute
-
retrieves a Zend_Db_Statement attribute
-
getAttribute
-
retrieves a Zend_Db_Statement attribute
-
getAdapter
-
Gets the Zend_Db_Adapter for this particular Zend_Db_Table object.
-
lastInsertId
-
Gets the last inserted ID.
-
lastInsertId
-
Gets the last inserted ID.
-
lastInsertId
-
Gets the last inserted ID.
-
lastInsertId
-
Gets the last inserted ID.
-
lastInsertId
-
Gets the last inserted ID.
-
lastInsertId
-
Gets the last inserted ID.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
limit
-
Adds an adapter-specific LIMIT clause to the SELECT statement.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
listTables
-
Returns a list of the tables in the database.
-
limit
-
Sets a limit count and offset to the query.
-
limitPage
-
Sets the limit and count by page number.
-
select
-
Creates and returns a new Zend_Db_Select object for this adapter.
-
setFetchMode
-
Set the fetch mode.
-
setFetchMode
-
Set the fetch mode.
-
setFetchMode
-
Set the fetch mode.
-
setFetchMode
-
Set the PDO fetch mode.
-
Sqlite.php
-
-
singular
-
Singularize a name.
-
setEnabled
-
Enable or disable the profiler. If $enable is false, the profiler is disabled and will not log any queries sent to it.
-
setFilterElapsedSecs
-
Sets a minimum number of seconds for saving query profiles. If this is set, only those queries whose elapsed time is equal or greater than $minimumSeconds will be saved. To save all queries regardless of elapsed time, set $minimumSeconds to null.
-
setFilterQueryType
-
Sets the types of query profiles to save. Set $queryType to one of the Zend_Db_Profiler::* constants to only save profiles for that type of query. To save more than one type, logical OR them together. To save all queries regardless of type, set $queryType to null.
-
Select.php
-
-
setAttribute
-
sets a Zend_Db_Statement attribute
-
setAttribute
-
sets a Zend_Db_Statement attribute
-
setFetchMode
-
sets the fetch mode for a Zend_Db_Statement
-
setFetchMode
-
sets the fetch mode for a Zend_Db_Statement
-
Statement.php
-
-
save
-
Saves the properties to the database.
-
setDefaultAdapter
-
Sets the default Zend_Db_Adapter for all Zend_Db_Table objects.
-
setFromArray
-
Sets all data in the row from an array.
-
Zend_Db
-
Class for connecting to SQL databases and performing common operations.
-
Zend_Db_Exception
-
-
Zend_Db_Adapter_Abstract
-
Class for connecting to SQL databases and performing common operations.
-
Zend_Db_Adapter_Db2
-
-
Zend_Db_Adapter_Db2_Exception
-
Zend_Db_Adapter_Db2_Exception
-
Zend_Db_Adapter_Exception
-
-
Zend_Db_Adapter_Oracle
-
-
Zend_Db_Adapter_Oracle_Exception
-
Zend_Db_Adapter_Oracle_Exception
-
Zend_Db_Adapter_Pdo_Abstract
-
Class for connecting to SQL databases and performing common operations using PDO.
-
Zend_Db_Adapter_Pdo_Mssql
-
Class for connecting to MSSQL databases and performing common operations.
-
Zend_Db_Adapter_Pdo_Mysql
-
Class for connecting to MySQL databases and performing common operations.
-
Zend_Db_Adapter_Pdo_Oci
-
Class for connecting to Oracle databases and performing common operations.
-
Zend_Db_Adapter_Pdo_Pgsql
-
Class for connecting to MySQL databases and performing common operations.
-
Zend_Db_Adapter_Pdo_Sqlite
-
Class for connecting to MySQL databases and performing common operations.
-
Zend_Db_Inflector
-
Class for name inflections.
-
Zend_Db_Profiler
-
-
Zend_Db_Profiler_Exception
-
-
Zend_Db_Profiler_Query
-
-
Zend_Db_Select
-
Class for SQL SELECT generation and results.
-
Zend_Db_Select_Exception
-
-
Zend_Db_Statement
-
Abstract class to emulate a PDOStatement for native database adapters.
-
Zend_Db_Statement_Db2
-
Extends for DB2.
-
Zend_Db_Statement_Db2_Exception
-
-
Zend_Db_Statement_Exception
-
Zend_Db_Statement_Exception
-
Zend_Db_Statement_Interface
-
Emulates a PDOStatement for native database adapters.
-
Zend_Db_Statement_Mysqli
-
Extends for Mysqli
-
Zend_Db_Statement_Oracle
-
Extends for Oracle.
-
Zend_Db_Statement_Oracle_Exception
-
-
Zend_Db_Table
-
Class for SQL table interface.
-
Zend_Db_Table_Exception
-
-
Zend_Db_Table_Row
-
-
Zend_Db_Table_Rowset
-
-
Zend_Db_Table_Row_Exception
-