source/Application/Model/VendorList.php
protected function _addCategoryFields($oVendor)
    {
        $oVendor->oxcategories__oxid = new \OxidEsales\Eshop\Core\Field("v_" . $oVendor->oxvendor__oxid->value);
        $oVendor->oxcategories__oxicon = $oVendor->oxvendor__oxicon;
        $oVendor->oxcategories__oxtitle = $oVendor->oxvendor__oxtitle;
        $oVendor->oxcategories__oxdesc = $oVendor->oxvendor__oxshortdesc;

        $oVendor->setIsVisible(true);
        $oVendor->setHasVisibleSubCats(false);
    }
protected function _addCategoryFields($oVendor)
    {
        $oVendor->oxcategories__oxid = new \OxidEsales\Eshop\Core\Field("v_" . $oVendor->oxvendor__oxid->value);
        $oVendor->oxcategories__oxicon = $oVendor->oxvendor__oxicon;
        $oVendor->oxcategories__oxtitle = $oVendor->oxvendor__oxtitle;
        $oVendor->oxcategories__oxdesc = $oVendor->oxvendor__oxshortdesc;

        $oVendor->setIsVisible(true);
        $oVendor->setHasVisibleSubCats(false);
    }
protected function _addCategoryFields ( $ oVendor ) { $ oVendor -> oxcategories__oxid = new \ OxidEsales \ Eshop \ Core \ Field ( "v_" . $ oVendor -> oxvendor__oxid -> value ) ; $ oVendor -> oxcategories__oxicon = $ oVendor -> oxvendor__oxicon ; $ oVendor -> oxcategories__oxtitle = $ oVendor -> oxvendor__oxtitle ; $ oVendor -> oxcategories__oxdesc = $ oVendor -> oxvendor__oxshortdesc ; $ oVendor -> setIsVisible ( true ) ; $ oVendor -> setHasVisibleSubCats ( false ) ; }
Adds category specific fields to vendor object

@param object $oVendor vendor object
Adds category specific fields to vendor object