Package: Test\Helper
Catch-all class for database helper methods that are shared across test cases.
Database adapter object.
Parameters: |
|
---|
Proxy to the db adapter object for all other requests.
Parameters: |
|
---|---|
Returns: | array |
Create an instance of the helper that is configured for the correct database.
Parameters: |
|
---|
Check whether a table exists in the database.
Parameters: |
|
---|---|
Returns: | boolean |
Get the number of tables in the database.
Parameters: |
|
---|---|
Returns: | integer |
Drop the tables from the database.
Parameters: |
|
---|---|
Returns: | void |
Truncate the tables from the database.
Parameters: |
|
---|---|
Returns: | void |
Get the tables in the database.
Returns: | array |
---|
Get the number of rows in a table.
Parameters: |
|
---|---|
Returns: | integer |