本文整理汇总了Python中OFS.PropertyManager.PropertyManager.manage_editProperties方法的典型用法代码示例。如果您正苦于以下问题:Python PropertyManager.manage_editProperties方法的具体用法?Python PropertyManager.manage_editProperties怎么用?Python PropertyManager.manage_editProperties使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OFS.PropertyManager.PropertyManager
的用法示例。
在下文中一共展示了PropertyManager.manage_editProperties方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: manage_editProperties
# 需要导入模块: from OFS.PropertyManager import PropertyManager [as 别名]
# 或者: from OFS.PropertyManager.PropertyManager import manage_editProperties [as 别名]
def manage_editProperties(self,first_day_week,REQUEST=None):
""" Manage the edited values """
if first_day_week == 'Monday':
calendar.setfirstweekday(0)
else:
calendar.setfirstweekday(6)
self.ZCacheable_invalidate()
return PropertyManager.manage_editProperties(self,REQUEST)
示例2: manage_editProperties
# 需要导入模块: from OFS.PropertyManager import PropertyManager [as 别名]
# 或者: from OFS.PropertyManager.PropertyManager import manage_editProperties [as 别名]
def manage_editProperties(self, REQUEST):
"""Ensure the SQL methods get regenerated."""
self.delSQLQueries()
res = PropertyManager.manage_editProperties(self, REQUEST)
self.addSQLQueries()
return res
示例3: manage_editProperties
# 需要导入模块: from OFS.PropertyManager import PropertyManager [as 别名]
# 或者: from OFS.PropertyManager.PropertyManager import manage_editProperties [as 别名]
def manage_editProperties(self, REQUEST):
"""Change properties from ZMI"""
result = PropertyManager.manage_editProperties(self, REQUEST)
self.reindex_object()
return result
示例4: manage_editProperties
# 需要导入模块: from OFS.PropertyManager import PropertyManager [as 别名]
# 或者: from OFS.PropertyManager.PropertyManager import manage_editProperties [as 别名]
def manage_editProperties(self, REQUEST):
""" re-render the page after changing the properties (encodings!!!) """
result = PropertyManager.manage_editProperties(self, REQUEST)
self._clear_cache()
return result