コード例 #1
0
ファイル: categories.py プロジェクト: viona/Easyshop
    def getTopLevelCategories(self):
        """
        """
        mall = IMallManagement(self.context).getMall()

        cm = ICategoryManagement(mall)
        return cm.getTopLevelCategories()
コード例 #2
0
ファイル: product.py プロジェクト: viona/Easyshop
 def getStartupDirectoryForMallCategories(self):
     """
     """
     mall = IMallManagement(self).getMall()
     return "/".join(mall.getPhysicalPath()) + "/categories"
コード例 #3
0
ファイル: product.py プロジェクト: Easyshop/Easyshop
 def getStartupDirectoryForMallCategories(self):
     """
     """
     mall = IMallManagement(self).getMall()
     return "/".join(mall.getPhysicalPath()) + "/categories"
コード例 #4
0
ファイル: categories.py プロジェクト: viona/Easyshop
 def _getShop(self):
     """
     """
     return IMallManagement(self.context).getMall()
コード例 #5
0
ファイル: mall_admin.py プロジェクト: viona/Easyshop
 def getMallURL(self):
     """
     """
     return IMallManagement(self.context).getMall().absolute_url()
コード例 #6
0
ファイル: category.py プロジェクト: Easyshop/Easyshop
 def getStartupDirectoryForProducts(self):
     """
     """
     mall = IMallManagement(self).getMall()
     return "/".join(mall.getPhysicalPath())