src/DC/General.php
protected function getTablenameCallback($tableName)
    {
        if (isset($GLOBALS['TL_DCA'][$tableName]['config']['tablename_callback'])
            && \is_array($GLOBALS['TL_DCA'][$tableName]['config']['tablename_callback'])
        ) {
            foreach ($GLOBALS['TL_DCA'][$tableName]['config']['tablename_callback'] as $callback) {
                $tableName = Callbacks::call($callback, $tableName, $this) ?: $tableName;
            }
        }

        return $tableName;
    }
protected function getTablenameCallback($tableName)
    {
        if (isset($GLOBALS['TL_DCA'][$tableName]['config']['tablename_callback'])
            && \is_array($GLOBALS['TL_DCA'][$tableName]['config']['tablename_callback'])
        ) {
            foreach ($GLOBALS['TL_DCA'][$tableName]['config']['tablename_callback'] as $callback) {
                $tableName = Callbacks::call($callback, $tableName, $this) ?: $tableName;
            }
        }

        return $tableName;
    }
protected function getTablenameCallback ( $ tableName ) { if ( isset ( $ GLOBALS [ 'TL_DCA' ] [ $ tableName ] [ 'config' ] [ 'tablename_callback' ] ) && \ is_array ( $ GLOBALS [ 'TL_DCA' ] [ $ tableName ] [ 'config' ] [ 'tablename_callback' ] ) ) { foreach ( $ GLOBALS [ 'TL_DCA' ] [ $ tableName ] [ 'config' ] [ 'tablename_callback' ] as $ callback ) { $ tableName = Callbacks :: call ( $ callback , $ tableName , $ this ) ? : $ tableName ; } } return $ tableName ; }
Call the table name callback.

@param string $tableName The current table name.

@return string New name of current table.

@SuppressWarnings(PHPMD.CamelCaseVariableName)
@SuppressWarnings(PHPMD.Superglobals)
Call the table name callback .