Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def manilaaccount::ManilaAccount::manilaGetHP (   self  ) 

Gets the current text of the homepage.

Definition at line 246 of file manilaaccount.py.

00246                          :
        """Gets the current text of the homepage."""
        if (not self.checkSetupOK()):
            return 0

        try:
            self.currentHPMsgNum  = self.manilaSite.manila.homepage.getMsgNum(self.prefs["username"], \
                                                                              self.getPassword(), \
                                                                              self.settings["sitename"])

            self.currentHPContent = self.manilaSite.manila.message.get(self.prefs["username"], \
                                                                       self.getPassword(), \
                                                                       self.settings["sitename"], \
                                                                       self.currentHPMsgNum)
            self.setErrorMessage("")
        except xmlrpclib.Fault, e:
            self.setErrorMessage("Error getting current Manila homepage: %s" % e.faultString)
            return 0
        
        return 1

    def manilaSetHP(self, text, autoRender="Yes"):


Generated by  Doxygen 1.6.0   Back to index