.. _Db-getColumnLabel: ============================================== Db::getColumnLabel() ============================================== \\nn\\t3::Db()->getColumnLabel(``$column = '', $table = ''``); ---------------------------------------------- Get localized label of a specific TCA field | ``@param string $column`` | ``@param string $table`` | ``@return string`` Source Code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: php public function getColumnLabel ( $column = '', $table = '' ) { $tca = $this->getColumns( $table ); $label = $tca[$column]['label'] ?? ''; if ($label && ($LL = LocalizationUtility::translate($label))) return $LL; return $label; }