public getDataTableExpanded ( string $name, integer | string | null $idSubtable = null, integer | null $depth = null, boolean $addMetadataSubtableId = true ) : |
||
$name | string | The name of the record to get. |
$idSubtable | integer | string | null | The ID of the subtable to get (if any). The subtable will be expanded. |
$depth | integer | null | The maximum number of subtable levels to load. If null, all levels are loaded. For example, if `1` is supplied, then the DataTable returned will have its subtables loaded. Those subtables, however, will NOT have their subtables loaded. |
$addMetadataSubtableId | boolean | Whether to add the database subtable ID as metadata to each datatable, or not. |
return |