+ * Get file tags from list
+ *
+ * ex. given music,video return <music><video> or [music][video]
+ * @param string $list A comma delimited list of tags.
+ * @param string $type Optional file type.
+ *
+ * @return string A list of file tags.
+ * @deprecated since 2019.06 use arrayToFile() instead
+ */
+ public static function listToFile(string $list, string $type = 'file')
+ {
+ $list_array = explode(',', $list);
+
+ return self::arrayToFile($list_array, $type);
+ }
+
+ /**
+ * Get list from file tags
+ *
+ * ex. given <music><video>[friends], return music,video or friends
+ * @param string $file File tags
+ * @param string $type Optional file type.
+ *
+ * @return string Comma delimited list of tag names.
+ * @deprecated since 2019.06 use fileToArray() instead
+ */
+ public static function fileToList(string $file, $type = 'file')
+ {
+ return implode(',', self::fileToArray($file, $type));
+ }
+
+ /**
+ * Update file tags in PConfig