Lines Matching refs:ThisFileInfo

1531 	 * @param array $ThisFileInfo
1536 public static function CopyTagsToComments(&$ThisFileInfo, $option_tags_html=true) { argument
1538 if (!empty($ThisFileInfo['tags'])) {
1539 if (isset($ThisFileInfo['tags']['id3v1'])) {
1541 $ID3v1 = $ThisFileInfo['tags']['id3v1'];
1542 unset($ThisFileInfo['tags']['id3v1']);
1543 $ThisFileInfo['tags']['id3v1'] = $ID3v1;
1546 foreach ($ThisFileInfo['tags'] as $tagtype => $tagarray) {
1550 if (empty($ThisFileInfo['comments'][$tagname])) {
1557 foreach ($ThisFileInfo['comments'][$tagname] as $existingkey => $existingvalue) {
1565 …== trim(substr(mb_convert_encoding($existingvalue, $ThisFileInfo['id3v1']['encoding'], $ThisFileIn…
1575 foreach ($ThisFileInfo['comments'][$tagname] as $existingkey => $existingvalue) {
1578 $ThisFileInfo['comments'][$tagname][$existingkey] = trim($value);
1584 …if (is_array($value) || empty($ThisFileInfo['comments'][$tagname]) || !in_array(trim($value), $Thi…
1587 $ThisFileInfo['comments'][$tagname][$key] = $value;
1589 if (!isset($ThisFileInfo['comments'][$tagname])) {
1590 $ThisFileInfo['comments'][$tagname] = array($value);
1592 $ThisFileInfo['comments'][$tagname][] = $value;
1607 …if (array_key_exists($badkey, $ThisFileInfo['comments']) && !array_key_exists($goodkey, $ThisFileI…
1608 $ThisFileInfo['comments'][$goodkey] = $ThisFileInfo['comments'][$badkey];
1609 unset($ThisFileInfo['comments'][$badkey]);
1615 if (!empty($ThisFileInfo['comments'])) {
1616 foreach ($ThisFileInfo['comments'] as $field => $values) {
1624 $ThisFileInfo['comments_html'][$field][$index] = $value;
1626 …$ThisFileInfo['comments_html'][$field][$index] = str_replace('�', '', self::MultiByteCharString…