API Documentation

Test/PHPUnit/Db/DataSet/QueryDataSet.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Test
subpackage
PHPUnit
version
$Id: QueryDataSet.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Test_PHPUnit_Db_DataSet_QueryDataSet

Description

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.

Zend_Test_PHPUnit_Db_DataSet_QueryDataSet

Extends from
PHPUnit_Extensions_Database_DataSet_QueryDataSet
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Test
subpackage
PHPUnit
uses
PHPUnit_Extensions_Database_DataSet_QueryDataSet
Methods
__construct
addTable

Description

Uses several query strings or Zend_Db_Select objects to form a dataset of tables for assertion with other datasets.

Methods

__construct

__construct( PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection ) :

Creates a new dataset using the given database connection.

Arguments
$databaseConnection
PHPUnit_Extensions_Database_DB_IDatabaseConnection
Details
visibility
public
final
false
static
false

addTable

addTable( string $tableName, string|Zend_Db_Select $query = NULL ) :

Add a Table dataset representation by specifiying an arbitrary select query.

By default a select * will be done on the given tablename.

Arguments
$tableName
string
$query
stringZend_Db_Select
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.