mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
20 lines
460 B
PHP
20 lines
460 B
PHP
<?php
|
|
/**
|
|
* This class is responsible for translating tags (like {INSERTANS..., {IF
|
|
* @author lime-nk Michal Kurzeja
|
|
*/
|
|
class dTexts
|
|
{
|
|
/**
|
|
* This metod translates the given text and returns it
|
|
* @param $text
|
|
* @return String
|
|
*/
|
|
public static function run($text)
|
|
{
|
|
$text = insertansReplace($text);
|
|
$text = tokenReplace($text); // ISSUE - how should anonymized be passed to this function?
|
|
return $text;
|
|
}
|
|
}
|