code: public static function convertValueToPath($varValue)
      {
          if (empty($varValue)) {
              return '';
          }
  
          $objFiles = FilesModel::findByPk($varValue);
  
          if ($objFiles !== null) {
              return $objFiles->path;
          }
          return '';
      }
docs: Translate the file ID to file path.
  
  @param string $varValue The file id.
  
  @return string