src/ShopBundle/objects/db/TShopVariantDisplayHandler/TShopVariantDisplayHandler.class.php
public static function GetInstance($sId)
    {
        $oRealObject = null;
        $oObject = TdbShopVariantDisplayHandler::GetNewInstance();
        /** @var $oObject TdbShopVariantDisplayHandler */
        if ($oObject->Load($sId)) {
            $sClassName = $oObject->fieldClass;
            $oRealObject = new $sClassName();
            $oRealObject->LoadFromRow($oObject->sqlData);
        }

        return $oRealObject;
    }
public static function GetInstance($sId)
    {
        $oRealObject = null;
        $oObject = TdbShopVariantDisplayHandler::GetNewInstance();
        /** @var $oObject TdbShopVariantDisplayHandler */
        if ($oObject->Load($sId)) {
            $sClassName = $oObject->fieldClass;
            $oRealObject = new $sClassName();
            $oRealObject->LoadFromRow($oObject->sqlData);
        }

        return $oRealObject;
    }
public static function GetInstance ( $ sId ) { $ oRealObject = null ; $ oObject = TdbShopVariantDisplayHandler :: GetNewInstance ( ) ; /** @var $oObject TdbShopVariantDisplayHandler */ if ( $ oObject -> Load ( $ sId ) ) { $ sClassName = $ oObject -> fieldClass ; $ oRealObject = new $ sClassName ( ) ; $ oRealObject -> LoadFromRow ( $ oObject -> sqlData ) ; } return $ oRealObject ; }
return an instance of the handler type for the given id.

@param string $sId

@example TdbShopVariantDisplayHandler
return an instance of the handler type for the given id .