mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the Limesurvey 1.91+ branch of queXS in to the trunk
This commit is contained in:
19
include/limesurvey/classes/dTexts/dTexts.php
Normal file
19
include/limesurvey/classes/dTexts/dTexts.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user