source/Setup/Core.php
protected function getClass($sInstanceName)
    {
        $facts = new Facts();
        $class =  'OxidEsales\\EshopCommunity\\Setup\\' . $sInstanceName;

        $classEnterprise = '\\OxidEsales\\EshopEnterprise\\'.EditionPathProvider::SETUP_DIRECTORY.'\\'.$sInstanceName;
        $classProfessional = '\\OxidEsales\\EshopProfessional\\'.EditionPathProvider::SETUP_DIRECTORY.'\\'.$sInstanceName;
        if (($facts->isProfessional() || $facts->isEnterprise()) && $this->classExists($classProfessional)) {
            $class = $classProfessional;
        }
        if ($facts->isEnterprise() && $this->classExists($classEnterprise)) {
            $class = $classEnterprise;
        }

        return $class;
    }
protected function getClass($sInstanceName)
    {
        $facts = new Facts();
        $class =  'OxidEsales\\EshopCommunity\\Setup\\' . $sInstanceName;

        $classEnterprise = '\\OxidEsales\\EshopEnterprise\\'.EditionPathProvider::SETUP_DIRECTORY.'\\'.$sInstanceName;
        $classProfessional = '\\OxidEsales\\EshopProfessional\\'.EditionPathProvider::SETUP_DIRECTORY.'\\'.$sInstanceName;
        if (($facts->isProfessional() || $facts->isEnterprise()) && $this->classExists($classProfessional)) {
            $class = $classProfessional;
        }
        if ($facts->isEnterprise() && $this->classExists($classEnterprise)) {
            $class = $classEnterprise;
        }

        return $class;
    }
protected function getClass ( $ sInstanceName ) { $ facts = new Facts ( ) ; $ class = 'OxidEsales\\EshopCommunity\\Setup\\' . $ sInstanceName ; $ classEnterprise = '\\OxidEsales\\EshopEnterprise\\' . EditionPathProvider :: SETUP_DIRECTORY . '\\' . $ sInstanceName ; $ classProfessional = '\\OxidEsales\\EshopProfessional\\' . EditionPathProvider :: SETUP_DIRECTORY . '\\' . $ sInstanceName ; if ( ( $ facts -> isProfessional ( ) || $ facts -> isEnterprise ( ) ) && $ this -> classExists ( $ classProfessional ) ) { $ class = $ classProfessional ; } if ( $ facts -> isEnterprise ( ) && $ this -> classExists ( $ classEnterprise ) ) { $ class = $ classEnterprise ; } return $ class ; }
Methods returns class according edition.

@param string $sInstanceName

@return string
Methods returns class according edition .