ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/ActiveDoc/SimpleURLDoc.pm
(Generate patch)

Comparing COMP/SCRAM/src/ActiveDoc/SimpleURLDoc.pm (file contents):
Revision 1.1.2.2 by williamc, Wed Aug 9 12:55:52 2000 UTC vs.
Revision 1.1.2.3 by williamc, Wed Aug 9 13:52:17 2000 UTC

# Line 11 | Line 11
11   # new(URLcache)         : A new SimpleURLDoc object
12   # addbasetags(parse)    : Add Base Tags to the given parse
13   # urlget(urlstring[,location]) : get the given url. Returns (url, filename)
14 + # expandurl(urlstring)  : return a URLclass object of the given url expanded
15 + #                         according to the base settings
16   # cache([cache])        : get/set the current URL cache
17  
18   package ActiveDoc::SimpleURLDoc;
# Line 45 | Line 47 | sub cache {
47          return $self->{cache};
48   }
49  
50 + sub expandurl {
51 +        my $self=shift;
52 +        my $urlstring=shift;
53 +
54 +        return $self->{urlhandler}->expandurl($urlstring);
55 + }
56 +
57   sub urlget {
58          my $self=shift;
59          my $urlstring=shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines