public PhpTransliteration::__construct($data_directory = NULL)
Constructs a transliteration object.
string $data_directory: (optional) The directory where data files reside. If omitted, defaults to subdirectory 'data' underneath the directory where the class's PHP file resides.
public function __construct($data_directory = NULL) { $this->dataDirectory = (isset($data_directory)) ? $data_directory : __DIR__ . '/data'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Transliteration!PhpTransliteration.php/function/PhpTransliteration::__construct/8.1.x