source/Application/Controller/Admin/ArticleList.php
public function getVendorList($sType, $sValue)
    {
        $oVndTree = oxNew(\OxidEsales\Eshop\Application\Model\VendorList::class);
        $oVndTree->loadVendorList();
        if ($sType === 'vnd') {
            foreach ($oVndTree as $oVendor) {
                if ($oVendor->oxvendor__oxid->value == $sValue) {
                    $oVendor->selected = 1;
                    break;
                }
            }
        }

        return $oVndTree;
    }
public function getVendorList($sType, $sValue)
    {
        $oVndTree = oxNew(\OxidEsales\Eshop\Application\Model\VendorList::class);
        $oVndTree->loadVendorList();
        if ($sType === 'vnd') {
            foreach ($oVndTree as $oVendor) {
                if ($oVendor->oxvendor__oxid->value == $sValue) {
                    $oVendor->selected = 1;
                    break;
                }
            }
        }

        return $oVndTree;
    }
public function getVendorList ( $ sType , $ sValue ) { $ oVndTree = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ VendorList :: class ) ; $ oVndTree -> loadVendorList ( ) ; if ( $ sType === 'vnd' ) { foreach ( $ oVndTree as $ oVendor ) { if ( $ oVendor -> oxvendor__oxid -> value == $ sValue ) { $ oVendor -> selected = 1 ; break ; } } } return $ oVndTree ; }
Load vendor list, mark active category;

@param string $sType  active list type
@param string $sValue active list item id

@return oxVendorList
Load vendor list mark active category ;