DATA Methods

tables()

Get information on imported or system tables.

array tables([ bool system = false ])

Return

List of tables containing the following information:

index: table's index field
parent: parent table (if exists)
foreign: foreign key (if parent table exists)

Parameter
Description
systemIf TRUE function will return system tables.

Get imported tables

$DATA->tables()
RETURN: ARRAY [23]

Get system tables

$DATA->tables(true)
RETURN: ARRAY [21]