public function combineLists($list1 = '', $list2 = '')
    {
        if (!empty($list2) && !empty($list2)) {
            $list1 .= ',';
        }
        $list1 .= $list2;
        $returnValue = GeneralUtility::uniqueList($list1);
        return $returnValue;
    }
public function combineLists($list1 = '', $list2 = '')
    {
        if (!empty($list2) && !empty($list2)) {
            $list1 .= ',';
        }
        $list1 .= $list2;
        $returnValue = GeneralUtility::uniqueList($list1);
        return $returnValue;
    }
public function combineLists ( $ list1 = '' , $ list2 = '' ) { if ( ! empty ( $ list2 ) && ! empty ( $ list2 ) ) { $ list1 .= ',' ; } $ list1 .= $ list2 ; $ returnValue = GeneralUtility :: uniqueList ( $ list1 ) ; return $ returnValue ; }
combines two string comma lists
@param string $list1
@param string $list2
@author Christian Bülter <buelter@kennziffer.com>
@since 23.07.13
@return string
combines two string comma lists