src/ShopBundle/objects/db/TShopArticleGroupList.class.php
public static function &GetArticleGroups($iArticleId)
    {
        $oList = null;

        $query = "SELECT `shop_article_group`.*
                  FROM `shop_article_group`
            INNER JOIN `shop_article_article_group_mlt` ON `shop_article_group`.`id` = `shop_article_article_group_mlt`.`target_id`
                 WHERE `shop_article_article_group_mlt`.`source_id` = '".MySqlLegacySupport::getInstance()->real_escape_string($iArticleId)."'
              ORDER BY `shop_article_group`.`name`
               ";
        $oList = &TdbShopArticleGroupList::GetList($query);

        return $oList;
    }
public static function &GetArticleGroups($iArticleId)
    {
        $oList = null;

        $query = "SELECT `shop_article_group`.*
                  FROM `shop_article_group`
            INNER JOIN `shop_article_article_group_mlt` ON `shop_article_group`.`id` = `shop_article_article_group_mlt`.`target_id`
                 WHERE `shop_article_article_group_mlt`.`source_id` = '".MySqlLegacySupport::getInstance()->real_escape_string($iArticleId)."'
              ORDER BY `shop_article_group`.`name`
               ";
        $oList = &TdbShopArticleGroupList::GetList($query);

        return $oList;
    }
public static function & GetArticleGroups ( $ iArticleId ) { $ oList = null ; $ query = "SELECT `shop_article_group`.*
                  FROM `shop_article_group`
            INNER JOIN `shop_article_article_group_mlt` ON `shop_article_group`.`id` = `shop_article_article_group_mlt`.`target_id`
                 WHERE `shop_article_article_group_mlt`.`source_id` = '" . MySqlLegacySupport :: getInstance ( ) -> real_escape_string ( $ iArticleId ) . "'
              ORDER BY `shop_article_group`.`name`
               " ; $ oList = & TdbShopArticleGroupList :: GetList ( $ query ) ; return $ oList ; }
return article group list for an article.

@param int $iArticleId

@return TdbShopArticleGroupList
return article group list for an article .