Function __global->find_all_tables

Definitions

sources/database_relations.php

  • Get a list of the defined tables.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$db object No No required parameter N/A N/A Database connector to look in

Returns

  • The tables
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a list of the defined tables.
 *
 * @param  object $db Database connector to look in
 * @return array The tables
 */

function find_all_tables(object $db) : array