public function generateTableName($ownerTableName, $tableNameSuffix)
    {
        if (preg_match('/{{%(\w+)}}$/', $ownerTableName, $matches)) {
            $ownerTableName = $matches[1];
        }

        return '{{%' . $ownerTableName . $tableNameSuffix . '}}';
    }
public function generateTableName($ownerTableName, $tableNameSuffix)
    {
        if (preg_match('/{{%(\w+)}}$/', $ownerTableName, $matches)) {
            $ownerTableName = $matches[1];
        }

        return '{{%' . $ownerTableName . $tableNameSuffix . '}}';
    }
public function generateTableName ( $ ownerTableName , $ tableNameSuffix ) { if ( preg_match ( '/{{%(\w+)}}$/' , $ ownerTableName , $ matches ) ) { $ ownerTableName = $ matches [ 1 ] ; } return '{{%' . $ ownerTableName . $ tableNameSuffix . '}}' ; }
Generate translation table name.

@param ActiveRecord $ownerTableName
@param string $tableNameSuffix
@return string
Generate translation table name .