Drupal 8  8.0.2
DatabaseTestController Class Reference

Public Member Functions

 dbQueryTemporary ()
 
 pagerQueryEven ($limit)
 
 pagerQueryOdd ($limit)
 
 testTablesort ()
 
 testTablesortFirst ()
 

Detailed Description

Controller routines for database_test routes.

Member Function Documentation

dbQueryTemporary ( )

Runs db_query_temporary() and outputs the table name and its number of rows.

We need to test that the table created is temporary, so we run it here, in a separate menu callback request; After this request is done, the temporary table should automatically dropped.

Returns

References db_query_temporary(), and db_select().

Here is the call graph for this function:

pagerQueryEven (   $limit)

Runs a pager query and returns the results.

This function does care about the page GET parameter, as set by the simpletest HTTP call.

Returns

References db_select().

Here is the call graph for this function:

pagerQueryOdd (   $limit)

Runs a pager query and returns the results.

This function does care about the page GET parameter, as set by the simpletest HTTP call.

Returns

References db_select().

Here is the call graph for this function:

testTablesort ( )

Runs a tablesort query and returns the results.

This function does care about the page GET parameter, as set by the simpletest HTTP call.

Returns

References db_select(), and t().

Here is the call graph for this function:

testTablesortFirst ( )

Runs a tablesort query with a second order_by after and returns the results.

This function does care about the page GET parameter, as set by the simpletest HTTP call.

Returns

References db_select(), and t().

Here is the call graph for this function:


The documentation for this class was generated from the following file: