def get_url(self, filename, query_para=None, **url_args):
        """
        Return <a href="filename" title="filename"> tag
        You should pass title and text to url_args, if not pass, then using filename
        """
        from uliweb.core.html import Tag
        
        title = url_args.pop('title', filename)
        text = url_args.pop('text', title)
        query_para = query_para or {}
        return str(Tag('a', title, href=self.get_href(filename, **query_para), **url_args))
def get_url ( self , filename , query_para = None , ** url_args ) : from uliweb . core . html import Tag title = url_args . pop ( 'title' , filename ) text = url_args . pop ( 'text' , title ) query_para = query_para or { } return str ( Tag ( 'a' , title , href = self . get_href ( filename , ** query_para ) , ** url_args ) )
Return <a href="filename" title="filename"> tag
        You should pass title and text to url_args, if not pass, then using filename