/** * Get shops list * * @param bool $active * @param bool $get_as_list_id * @return array */ public function getShops($active = true, $get_as_list_id = false) { return \ShopCore::getShops($active, \ShopCore::getContextShopGroupID(), $get_as_list_id); }