summaryrefslogtreecommitdiff
path: root/app/frontend/dto/BaseDTO.php
blob: ccb9df5d0870f624072092171cd0f04eab15e389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

class BaseDTO {

    public static function getTranslation(string $string, string $category) {
        $module = Prado::getApplication()->getModule('db-strings');
        if (!$module) {
            return $string;
        }
        return $module->getTranslation($string, $category);
    }

}

?>