PHP code example of metamodels / attribute_levenshtein
1. Go to this page and download the library: Download metamodels/attribute_levenshtein library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
metamodels / attribute_levenshtein example snippets
// contao/dca/tl_metamodel_levensthein_index.php
$GLOBALS['TL_DCA']['tl_metamodel_levensthein_index']['fields']['transliterated']['sql'] =
'varbinary(256) NOT NULL default \'\'';
$GLOBALS['TL_DCA']['tl_metamodel_levensthein_index']['fields']['word']['sql'] =
'varchar(256) COLLATE utf8_bin NOT NULL default \'\'';