Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Generic Abstraction of Zend_Db Connections in the PHPUnit Database Extension context.
Zend_Db_Adapter_Abstract $_connection = ''Zend_Db_Adapter_Abstract
Details $_metaData = ''Metadata
Detailsstring $_schema = ''Database Schema
Details__construct(
Zend_Db_Adapter_Abstract $db, string $schema
)
:
Construct Connection based on Zend_Db_Adapter_Abstract
Detailsclose(
)
:
voidClose this connection.
DetailscreateQueryTable(
string $resultName, string $sql
)
:
PHPUnit_Extensions_Database_DataSet_ITableCreates a table with the result of the specified SQL statement.
DetailsgetConnection(
)
:
Zend_Db_Adapter_AbstractReturns a Zend_Db Connection
DetailsgetMetaData(
)
:
PHPUnit_Extensions_Database_DB_IMetaDataReturns a database metadata object that can be used to retrieve table meta data from the database.
DetailsgetSchema(
)
:
stringReturns the schema for the connection.
DetailsgetTruncateCommand(
)
:
stringReturns the command used to truncate a table.
Details