Field::getTableField()

Version 4

Get field information

Get the field schema object.

Return value

Object TableField

Full documentation

Getting title for the field 'customer':

$fieldTitle = $Order->customer->getTableField()->getTitle();