4 use vars qw( @ISA $DEBUG );
6 use FS::Record qw(qsearchs);
9 use FS::h_domain_record;
11 @ISA = qw( FS::h_Common FS::svc_www );
15 sub table { 'h_svc_www' };
19 FS::h_svc_www - Historical web virtual host objects
34 carp 'Called FS::h_svc_www->domain_record on svcnum ' . $self->svcnum if $DEBUG;
36 my $domain_record = qsearchs(
38 { 'recnum' => $self->recnum },
39 FS::h_domain_record->sql_h_searchs(@_),
40 ) || $self->SUPER::domain_record
41 or die "no history domain_record.recnum for svc_www.recnum ". $self->domsvc;
43 carp 'Using domain_record in place of missing h_domain_record record.'
44 if ($domain_record->isa('FS::domain_record') and $DEBUG);
46 return $domain_record;
54 An FS::h_svc_www object represents a historical web virtual host.
55 FS::h_svc_www inherits from FS::h_Common and FS::svc_www.
61 L<FS::h_Common>, L<FS::svc_www>, L<FS::Record>, schema.html from the base