API Documentation

Zend/Test/PHPUnit/Db/DataSet/QueryDataSet.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Test  
Subpackage
PHPUnit  
Version
$Id: QueryDataSet.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Test_PHPUnit_Db_DataSet_QueryDataSet

Package: Zend\Test\PHPUnit

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

Parent(s)
\PHPUnit_Extensions_Database_DataSet_QueryDataSet
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
\PHPUnit_Extensions_Database_DataSet_QueryDataSet  

Methods

methodpublic__construct( \PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection ) : void

Creates a new dataset using the given database connection.

Parameters
Name Type Description
$databaseConnection \PHPUnit_Extensions_Database_DB_IDatabaseConnection
methodpublicaddTable( string $tableName, string|\Zend_Db_Select $query = NULL ) : void

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

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

Parameters
Name Type Description
$tableName string
$query string|\Zend_Db_Select
Documentation was generated by DocBlox 0.15.1.