Returns information about tables configured as masters of the current table.
Syntax
$settings->getMasterTables();
Arguments
No arguments.
Return value
An array of master-table relationship definitions. Each item contains table, masterKeys, and detailsKeys elements. Returns an empty array if the table has no masters.
Example
Display the master tables linked to Order Details.
$settings = new ProjectSettings("Order Details");
$masters = $settings->getMasterTables();
foreach ($masters as $master)
{
echo $master["table"] . "<br>";
}
See also: