Skip to content

Adds a transliterate method to $sanitizer that performs character replacements as defined in the module config.

License

Notifications You must be signed in to change notification settings

Toutouwai/SanitizerTransliterate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sanitizer Transliterate

A module for ProcessWire CMS/CMF. Adds a transliterate method to $sanitizer that performs character replacements as defined in the module config. The default character replacements are based on the defaults from InputfieldPageName, but with uppercase characters included too.

Usage

Install the Sanitizer Transliterate module.

Customise the character replacements in the module config as needed.

Use the sanitizer on strings like so:

$transliterated_string = $sanitizer->transliterate($string);

transliterate

About

Adds a transliterate method to $sanitizer that performs character replacements as defined in the module config.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages