src/Helper/ToolboxFile.php
public static function convertValueToPath($varValue)
    {
        if (empty($varValue)) {
            return '';
        }

        $objFiles = FilesModel::findByPk($varValue);

        if ($objFiles !== null) {
            return $objFiles->path;
        }
        return '';
    }
public static function convertValueToPath($varValue)
    {
        if (empty($varValue)) {
            return '';
        }

        $objFiles = FilesModel::findByPk($varValue);

        if ($objFiles !== null) {
            return $objFiles->path;
        }
        return '';
    }
Translate the file ID to file path.

@param string $varValue The file id.

@return string