Logo Search packages:      
Sourcecode: zope-cps-localizer version File versions  Download package

def Localizer::LocalPropertyManager::LocalPropertyManager::_setLocalProperty (   self,
  lang = None,
  value = None 
) [private]

Adds a new local property

Definition at line 167 of file LocalPropertyManager.py.

00167                                                                 :
        """Adds a new local property"""
        if not self.hasLocalProperty(id):
            self._local_properties_metadata += ({'id': id, 'type': type},)
            setattr(self, id, LocalProperty(id))

        if lang is not None:
            self._setLocalPropValue(id, lang, value)

    def _delLocalProperty(self, id):

Generated by  Doxygen 1.6.0   Back to index