diff -ru 1/typo3/alt_doc.php 2/typo3/alt_doc.php --- 1/typo3/alt_doc.php 2010-02-18 13:47:06.000000000 +0100 +++ 2/typo3/alt_doc.php 2010-02-18 13:47:06.000000000 +0100 @@ -640,6 +640,13 @@ // Get the ids: $ids = t3lib_div::trimExplode(',',$cKey,1); + + //Hook for filtering ids array + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['filterIDs'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['filterIDs'] as $classRef) { + $hookObj = t3lib_div::callUserFunction($classRef, $ids, $this); + } + } // Traverse the ids: foreach($ids as $theUid) {