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.3 by williamc, Wed Aug 9 13:52:17 2000 UTC vs.
Revision 1.1.2.4 by williamc, Thu Aug 10 12:46:59 2000 UTC

# Line 8 | Line 8
8   #
9   # Interface
10   # ---------
11 < # new(URLcache)         : A new SimpleURLDoc object
11 > # new(URLcache[,DocVersionTag]  : A new SimpleURLDoc object. You can also
12 > #                                 specify an alternative doc version tag
13   # addbasetags(parse)    : Add Base Tags to the given parse
14   # urlget(urlstring[,location]) : get the given url. Returns (url, filename)
15   # expandurl(urlstring)  : return a URLclass object of the given url expanded
16   #                         according to the base settings
17   # cache([cache])        : get/set the current URL cache
18 + # doctype()             : return the (type,version) of the document
19 + #                         as specified by the DocVersionTag
20  
21   package ActiveDoc::SimpleURLDoc;
22   use ActiveDoc::SimpleDoc;
# Line 25 | Line 28 | sub new {
28          my $self={};
29          bless $self, $class;
30          $self->cache(shift);
31 <        $self->{switch}=ActiveDoc::SimpleDoc->new();
31 >        $self->{switch}=ActiveDoc::SimpleDoc->new(@_);
32          return $self;
33   }
34  
# Line 102 | Line 105 | sub Base_end {
105            $self->{switch}->parseerror("Unmatched <$name>");
106          }
107   }
105

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines