[RSS Feed/News] Custom BBCode addon for translit

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Users have asked me for a BBCode which would translate latin alphabet into russian one.
What would be the best practices? I have a code from my previous php work, but want to integrate into xenforo.
That is my second day developing with xenforo, so I'm sure there are better way.
So far I came up with the following code:
PHP:

Code:
<?php

namespace My;
//use XF\Pub\Controller\AbstractController;

class Translit //extends AbstractController
{
    private static $arr_liter=array("^J"=>"Й", "^Y"=>"Ы"...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom