JDatabaseIteratorMysqlTest::testForEach
Test foreach control
Signature
public function testForEach(string
$select,
string
$from,
string
$column,
string
$class,
integer
$limit,
integer
$offset,
array
$expected,
mixed
$exception )
Parameters
-
$select
- Fields to select
-
$from
- Table to search for
-
$column
- The column to use as a key.
-
$class
- The class on which to bind the result rows.
-
$limit
- The result set record limit.
-
$offset
- The result set record offset.
-
$expected
- Array of expected results
-
$exception
- Exception thrown
Returns
- void