Logo Search packages:      
Sourcecode: zope-backtalk version File versions

def BackTalk::BackTalk::BTNavigableImpl::contents (   self  ) 

html representation of table of contents 

Reimplemented in BackTalk::BackTalk::BackTalkDocument.

Definition at line 95 of file BackTalk.py.

00095                       :
        """ html representation of table of contents """
        l = self.getContents()
        out = []
        write = out.append
        write('<p>')
        write(self.getSummary())
        write('</p>')
        write('<ol>')
        for d in l:
            write('<li><a href="%s">%s</a></li>' % (d['url'],d['title']))
        write('</ol>')
        out = string.join(out, '\n')
        t = Globals.HTML(template)
        r = self.REQUEST
        r['body'] = out
        return apply(t, (self, self.REQUEST))

    def index(self):


Generated by  Doxygen 1.6.0   Back to index