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.2 by williamc, Mon Aug 28 07:43:21 2000 UTC vs.
Revision 1.4 by sashby, Fri Dec 10 13:41:36 2004 UTC

# Line 33 | Line 33 | sub new {
33          bless $self, $class;
34          $self->cache(shift);
35          $self->_initdoc("doc",@_);
36        #$self->{switch}=ActiveDoc::SimpleDoc->new(@_);
36          return $self;
37   }
38  
# Line 84 | Line 83 | sub urlget {
83          return ($fullurl,$filename);
84   }
85  
87 #sub AUTOLOAD {
88 #       my $self=shift;
89 #
90        # dont propogate destroy methods
91 #       return if $AUTOLOAD=~/::DESTROY/;
92
93        # remove this package name
94 #       ($name=$AUTOLOAD)=~s/ActiveDoc::SimpleURLDoc:://;
95
96        # pass the message to SimpleDoc
97 #       $self->{switch}->$name(@_);
98 #}
99
86   # ------------------------ Support Routines ---------------------------
87  
88   # ------------------------ Tag Routines -------------------------------
# Line 108 | Line 94 | sub Base_start {
94  
95          $self->checktag($name, $hashref, "url");
96          my $url=$self->{urlhandler}->setbase($$hashref{'url'});
97 +        # Add store for url of the file currently being parsed. This info can
98 +        # then be extracted in Requirements objects
99 +        $self->{configurl}=$url;
100          push @{$self->{basestack}}, $url->type();
101   }
102  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines