src/ShopBundle/objects/db/TShop.class.php
public function GetShopInfo($sShopInfoName)
    {
        $oInfo = TdbShopSystemInfo::GetNewInstance();
        if (!$oInfo->LoadFromFields(array('shop_id' => $this->id, 'name_internal' => $sShopInfoName))) {
            $oInfo = null;
        }

        return $oInfo;
    }
public function GetShopInfo($sShopInfoName)
    {
        $oInfo = TdbShopSystemInfo::GetNewInstance();
        if (!$oInfo->LoadFromFields(array('shop_id' => $this->id, 'name_internal' => $sShopInfoName))) {
            $oInfo = null;
        }

        return $oInfo;
    }
public function GetShopInfo ( $ sShopInfoName ) { $ oInfo = TdbShopSystemInfo :: GetNewInstance ( ) ; if ( ! $ oInfo -> LoadFromFields ( array ( 'shop_id' => $ this -> id , 'name_internal' => $ sShopInfoName ) ) ) { $ oInfo = null ; } return $ oInfo ; }
return the system info with the given name.

@param string $sShopInfoName - internal name of the info record

@return TdbShopSystemInfo
return the system info with the given name .