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 local($FS::Record::qsearch_qualify_columns) = 0;
37 $_[0] ||= $self->history_date;
38 my $domain_record = qsearchs(
40 { 'recnum' => $self->recnum },
41 FS::h_domain_record->sql_h_searchs(@_),
42 ) || $self->SUPER::domain_record
43 or die "no history domain_record.recnum for svc_www.recnum ". $self->domsvc;
45 carp 'Using domain_record in place of missing h_domain_record record.'
46 if ($domain_record->isa('FS::domain_record') and $DEBUG);
48 return $domain_record;
56 An FS::h_svc_www object represents a historical web virtual host.
57 FS::h_svc_www inherits from FS::h_Common and FS::svc_www.
63 L<FS::h_Common>, L<FS::svc_www>, L<FS::Record>, schema.html from the base