Costumized Accessorie-List

I want to customize the accessorie-List that can be shown on the detail-page.
Therefor I extended the oxwarticlesdetails.php.

 <?php

class anziehaccessoires extends anziehaccessoires_parent
{              
   public function getAnziehList($sArticleId, $layer)
     {
         $myConfig = $this->getConfig();
 
         // Performance
         if ( !$myConfig->getConfigParam( 'bl_perfLoadAccessoires' ) ) {
             return null;
         }
           if ( $this->_oProduct === null ) {

             if ( $this->getViewParameter( '_object' ) ) {
                 $this->_oProduct = $this->getViewParameter( '_object' );
                 }}
         $oAcclist = oxNew( "oxarticlelist");
         $oAcclist->setSqlLimit( 0, $myConfig->getConfigParam( 'iNrofCrossellArticles' ));        
        $sArticleTable = getViewName('oxarticles');     
        $sSelect  = "select $sArticleTable.* from oxaccessoire2article left join $sArticleTable on oxaccessoire2article.oxobjectid = $sArticleTable.oxid ";
         $sSelect .= "where oxaccessoire2article.oxarticlenid = '$sArticleId' ";
        $sSelect .= "and $sArticleTable.puppeanzieh = '".$layer."' and $sArticleTable.anziehbild is not null "; 
        // $sSelect .= "and ".$this->getBaseObject()->getSqlActiveSnippet();       
        $sSelect .= " and $sArticleTable.oxid is not null and oxstock > 0";
        //sorting articles
        $sSelect .= " order by oxaccessoire2article.oxsort";
        $oAcclist->selectString($sSelect);
        return $oAcclist->getArray();                 
     } 
 } 

This works so far, but I’d like to use the commented line:

// $sSelect .= "and ".$this->getBaseObject()->getSqlActiveSnippet();

I couldn’t get it to work yet. Can someone help and knows how to get the SqlActiceSnippet ?
I use PE 4.8.5 .

Ok, found it myself:
It has to be:
$oAcclist->getBaseObject()->getSqlActiveSnippet();