system/modules/DocumentManagementSystem/dca/tl_dms_categories.php
public function saveFileTypes($varValue, DataContainer $dc)
  {
    if (strlen($varValue) > 0)
    {
      $arrFileTypes = \DmsUtils::getUniqueFileTypes($varValue);
      $varValue = implode(",", $arrFileTypes);
    }

    return $varValue;
  }
public function saveFileTypes($varValue, DataContainer $dc)
  {
    if (strlen($varValue) > 0)
    {
      $arrFileTypes = \DmsUtils::getUniqueFileTypes($varValue);
      $varValue = implode(",", $arrFileTypes);
    }

    return $varValue;
  }
public function saveFileTypes ( $ varValue , DataContainer $ dc ) { if ( strlen ( $ varValue ) > 0 ) { $ arrFileTypes = \ DmsUtils :: getUniqueFileTypes ( $ varValue ) ; $ varValue = implode ( "," , $ arrFileTypes ) ; } return $ varValue ; }
Cleanup the files types before saving
Cleanup the files types before saving