Field::getTable()

Version 4

Get the table field is in

Return value

Object Table

Full documentation

Show title of the table the field customer is in (Order):

$tableName = $Order->customer->getTable()->getTitle();