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

def ATExtensions::field::remotetext::RemoteTextField::getSourceText (   self,
  instance,
  kw 
)

main method to fetch the value from the remote site

Definition at line 139 of file remotetext.py.

00139                                            :
        """main method to fetch the value from the remote site"""
        stype = self.getSourceType(instance)
        value = ''
        if stype == 'web':
            value = self.getTextFromUrl(instance)
        if stype == 'svn':
            value = self.getTextFromSvn(instance)
        return value or ''

    def getTextFromUrl(self, instance):


Generated by  Doxygen 1.6.0   Back to index