| Server IP : 172.67.168.138 / Your IP : 216.73.216.227 [ Web Server : Apache System : Linux frog 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web13 ( 5017) PHP Version : 8.3.31 Disable Function : NONE Domains : 41 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/clients/client12/web13/web/ahelos/public/tempp/ |
Upload File : |
<?php /** * Class for transliterating Cyrillic to Latinic * * Examples of using class: * * 1. Creating class instance with arguments (argument is the text we want to transliterate) * * <code> * <?php * $text = "This is some text written using Cyrillic character set"; * * $tl = new transliterate($text); * * // Text is translated and is being held in $string variable * * echo $transl->string; // Prints transliterated text * ?> * </code> * * 2. Using other methods for transliterating text * * 2.a: * <code> * $text = "This is some text written using Cyrillic character set"; * * $tl = new transliterate; * * $translitereated_text = $tl->transliterate_return($text); * * echo $translitereated_text; // Prints transliterated text * </code> * * 2.b Using "pass by reference" to transliterate text directyle: * * <code> * $text = "This is some text written using Cyrillic character set"; * * $tl = new transliterate; * * $tl->transliterate_ref($text); * * echo $text; // Prints transliterated text * </code> * * 2.c If you want to output the text directly: * <code> * $text = "This is some text written using Cyrillic character set"; * * $tl = new transliterate; * * echo $tl->transliterate_return($text); // Prints transliterated text * </code> * @author Mihailo Joksimovic * @version 0.1 */ /** * Class body * @package transliterate */ ?>