API Documentation

Test/PHPUnit/Db/DataSet/DbTableDataSet.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: DbTableDataSet.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Test_PHPUnit_Db_DataSet_DbTableDataSet

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_DbTableDataSet

Extends from
PHPUnit_Extensions_Database_DataSet_AbstractDataSet
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
Zend_Db_Table
Properties
$tables
Methods
addTable
createIterator
getTable
getTableNames

Description

Aggregate several Zend_Db_Table instances into a dataset.

Properties

$tables

array $tables = 'array'

Details

$tables
array
visibility
protected
default
array
final
false
static
false

Methods

addTable

addTable( Zend_Db_Table_Abstract $table, string $where = null, string $order = null, string $count = null, string $offset = null ) :

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

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

Arguments
$table
Zend_Db_Table_Abstract
$where
string
$order
string
$count
string
$offset
string
Details
visibility
public
final
false
static
false

createIterator

createIterator( bool $reverse = FALSE ) : PHPUnit_Extensions_Database_DB_TableIterator

Creates an iterator over the tables in the data set. If $reverse is true a reverse iterator will be returned.

Arguments
$reverse
bool
Output
PHPUnit_Extensions_Database_DB_TableIterator
Details
visibility
protected
final
false
static
false

getTable

getTable( string $tableName ) : PHPUnit_Extensions_Database_DB_Table

Returns a table object for the given table.

Arguments
$tableName
string
Output
PHPUnit_Extensions_Database_DB_Table
Details
visibility
public
final
false
static
false

getTableNames

getTableNames( ) : Array

Returns a list of table names for the database

Output
Array
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.