[Zend_Db] element index

Package indexes

All elements
a b c d e f g h i j k l m n o p q r s t u v w z _
_
top
$_config
User-provided configuration.
$_config
User-provided configuration
$_config
User-provided configuration.
$_connection
Database connection
$_execute_mode
$_execute_mode
Execution 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.
$_profiler
Query profiler
_beginTransaction
Begin a transaction.
_beginTransaction
Begin a transaction.
_beginTransaction
Leave autocommit mode and begin a transaction.
_beginTransaction
Begin a transaction.
_commit
Commit a transaction and return to autocommit mode.
_commit
Commit a transaction.
_commit
Commit a transaction.
_commit
Commit a transaction.
_connect
Creates a connection to the database.
_connect
Creates a PDO object and connects to the database.
_connect
Creates a connection resource.
_connect
Creates a connection resource.
_dsn
DSN builder
_dsn
Creates a PDO DSN for the adapter from $this->_config settings.
_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.
_rollBack
Roll back a transaction and return to autocommit mode.
_rollBack
Roll-back a transaction.
_rollBack
Roll-back a transaction.
_rollBack
Roll-back a transaction.
_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_Table::$_db in Table.php
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.
a
top
CASE_LOWER
CASE_NATURAL
CASE_UPPER
PARAM_BOOL
PARAM_INPUT_OUTPUT
PARAM_INT
PARAM_LOB
PARAM_NULL
PARAM_STMT
PARAM_STR
Abstract.php
Abstract.php in Abstract.php
Abstract.php
Abstract.php in Abstract.php
b
top
beginTransaction
Leave autocommit mode and begin a transaction.
bindColumn
binds a PHP variable to an output column in a result set
bindColumn
binds a PHP variable to an output column in a result set
bindParam
binds a PHP variable to a parameter in the prepared statement
bindParam
binds a PHP variable to a parameter in the prepared statement
bindParam
bindParam
binds a PHP variable to a parameter in the prepared statement
bindValue
binds a value to a parameter in the prepared statement
bindValue
binds a value to a parameter in the prepared statement
c
top
$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.
d
top
Db.php
Db.php in Db.php
delete
Deletes table rows based on a WHERE clause.
describeTable
Returns the column descriptions for a table.
describeTable
Returns the column descriptions for a table.
describeTable
Returns the column descriptions for a table.
describeTable
Returns the column descriptions for a table.
describeTable
Returns the column descriptions for a table.
describeTable
Returns the column descriptions for a table.
describeTable
Returns the column descriptions for a table.
Db2.php
Db2.php in Db2.php
distinct
Makes the query SELECT DISTINCT.
Db2.php
Db2.php in Db2.php
delete
Deletes existing rows.
e
top
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 in Exception.php
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
DELETE
Zend_Db_Profiler::DELETE in Profiler.php
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
Zend_Db_Profiler::SELECT in Profiler.php
Retrieving information from the database, such as SQL's SELECT.
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in 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 in Exception.php
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
exists
Returns true if $this->count > 0, false otherwise.
Exception.php
Exception.php in Exception.php
Exception.php
Exception.php in Exception.php
f
top
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.
g
top
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.
h
top
hasEnded
Has this query ended?
having
Adds a HAVING condition to the query by AND.
i
top
insert
Inserts a table row with specified data.
insert
Inserts a table row with specified data.
Inflector.php
Inflector.php in Inflector.php
Interface.php
Interface.php in Interface.php
info
Returns table information.
insert
Inserts a new row.
j
top
join
Adds a JOIN table and columns to the query.
joinInner
Add an INNER JOIN table and colums to the query
joinLeft
Add a LEFT JOIN table and colums to the query
k
top
key
Return the identifying key of the current element.
l
top
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.
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.
m
top
$message
$message
Mssql.php
Mssql.php in Mssql.php
Mysql.php
Mysql.php in Mysql.php
$message
$message
Mysqli.php
Mysqli.php in Mysqli.php
n
top
INSERT
Zend_Db_Profiler::INSERT in Profiler.php
Adding new data to the database, such as SQL's INSERT.
nextRowset
retrieves the next rowset (result set)
nextRowset
retrieves the next rowset (result set)
nextRowset
retrieves the next rowset (result set)
next
Move forward to next element.
o
top
Oracle.php
Oracle.php in Oracle.php
CONNECT
A connection operation or selecting a database.
order
Adds a row order to the query.
orHaving
Adds a HAVING condition to the query by OR.
orWhere
Adds a WHERE condition to the query by OR.
Oracle.php
Oracle.php in Oracle.php
p
top
prepare
Returns an SQL statement for preparation.
prepare
Prepares an SQL statement.
prepare
Returns an SQL statement for preparation.
prepare
Prepare a statement and return a PDOStatement-like object.
Pgsql.php
Pgsql.php in Pgsql.php
plural
Pluralize a name.
UPDATE
Zend_Db_Profiler::UPDATE in Profiler.php
Updating existing information in the database, such as SQL's UPDATE.
Profiler.php
Profiler.php in Profiler.php
q
top
query
Prepares and executes an SQL statement with bound data.
quote
Safely quotes a value for an SQL statement.
quoteIdentifier
Quotes an identifier.
quoteIdentifier
Quotes an identifier.
quoteIdentifier
Quotes an identifier.
quoteIdentifier
Quotes an identifier.
quoteIdentifier
Quotes an identifier.
quoteIdentifier
Quotes an identifier.
quoteIdentifier
Quotes an identifier.
quoteInto
Quotes a value and places into a piece of text at a placeholder.
queryEnd
Ends a query. Pass it the handle that was returned by queryStart().
queryStart
Start a query. Creates a new query profile object (Zend_Db_Profiler_Query)
Query.php
Query.php in Query.php
r
top
ERRMODE_EXCEPTION
ERRMODE_SILENT
ERRMODE_WARNING
ERR_ALREADY_EXISTS
ERR_CANT_MAP
ERR_CONSTRAINT
ERR_DISCONNECTED
ERR_MISMATCH
ERR_NONE
ERR_NOT_FOUND
ERR_NOT_IMPLEMENTED
ERR_NO_PERM
ERR_SYNTAX
ERR_TRUNCATED
rollBack
Roll back a transaction and return to autocommit mode.
TRANSACTION
Transactional operation, such as start transaction, commit, or rollback.
rowCount
returns the number of rows that were affected by the execution of an SQL statement
rowCount
rowCount
returns the number of rows that were affected by the execution of an SQL statement
rowCount
returns the number of rows that were affected by the execution of an SQL statement
rowCount
returns the number of rows that were affected by the execution of an SQL statement
rewind
Rewind the Iterator to the first element.
Row.php
Row.php in Row.php
Rowset.php
Rowset.php in Rowset.php
s
top
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
Sqlite.php in 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
Select.php in 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
Statement.php in 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.
t
top
ATTR_AUTOCOMMIT
PDO constant values discovered by this script result:
ATTR_CASE
ATTR_CLIENT_VERSION
ATTR_CONNECTION_STATUS
ATTR_CURSOR
ATTR_CURSOR_NAME
ATTR_DRIVER_NAME
ATTR_ERRMODE
ATTR_FETCH_CATALOG_NAMES
ATTR_FETCH_TABLE_NAMES
ATTR_MAX_COLUMN_LEN
ATTR_ORACLE_NULLS
ATTR_PERSISTENT
ATTR_PREFETCH
ATTR_SERVER_INFO
ATTR_SERVER_VERSION
ATTR_STATEMENT_CLASS
ATTR_STRINGIFY_FETCHES
ATTR_TIMEOUT
toArray
Returns the column/value data as an array.
toArray
Returns all data as an array.
Table.php
Table.php in Table.php
u
top
CURSOR_FWDONLY
CURSOR_SCROLL
NULL_EMPTY_STRING
NULL_NATURAL
NULL_TO_STRING
update
Updates table rows with specified data based on a WHERE clause.
update
Updates table rows with specified data based on a WHERE clause.
underscore
Convert camelCaps to underscore_words.
QUERY
Zend_Db_Profiler::QUERY in Profiler.php
Any general database query that does not fit into the other constants.
update
Updates existing rows.
v
top
valid
Check if there is a current element after calls to rewind() or next().
w
top
where
Adds a WHERE condition to the query by AND.
z
top
Zend_Db
Zend_Db in Db.php
Class for connecting to SQL databases and performing common operations.
Zend_Db_Exception
Zend_Db_Exception in Exception.php
Zend_Db_Adapter_Abstract
Zend_Db_Adapter_Abstract in Abstract.php
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_Exception in Exception.php
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_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
Zend_Db_Inflector in Inflector.php
Class for name inflections.
Zend_Db_Profiler
Zend_Db_Profiler in Profiler.php
Zend_Db_Profiler_Exception
Zend_Db_Profiler_Query
Zend_Db_Select
Zend_Db_Select in Select.php
Class for SQL SELECT generation and results.
Zend_Db_Select_Exception
Zend_Db_Select_Exception in Exception.php
Zend_Db_Statement
Zend_Db_Statement in Statement.php
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
Zend_Db_Table in Table.php
Class for SQL table interface.
Zend_Db_Table_Exception
Zend_Db_Table_Exception in Exception.php
Zend_Db_Table_Row
Zend_Db_Table_Rowset
Zend_Db_Table_Rowset in Rowset.php
Zend_Db_Table_Row_Exception
a b c d e f g h i j k l m n o p q r s t u v w z _