/** * Returns a commalist of sub record ids * * @param integer UIDs of record * @param string Additional WHERE clause, eg. " AND blablabla=0" * @param string $table: ... * @param string $where: ... * @return string Comma-list of record ids */ function _getSubRecordsIdList($uidList, $level = 1, $table = 'tx_dam_cat', $where = '') { $rows = tx_dam_db::getSubRecords($uidList, $level, 'uid', $table, $where); return implode(',', array_keys($rows)); }