Solstice::View::Download - Superclass for views that present binary or downloadable data instead of web content.


Solstice documentation Contained in the Solstice distribution.

Index


Code Index:

NAME

Top

Solstice::View::Download - Superclass for views that present binary or downloadable data instead of web content.

SYNOPSIS

Top

  package MyView;

  use base qw(Solstice::View::Download);

DESCRIPTION

Top

This is a virtual class for creating solstice view objects. This class should never be instantiated as an object, rather, it should always be sub-classed.

Export

No symbols exported..

Methods

printData()

This method returns the download data. It should be overridden in a subclass.

isDownloadView()

Modules Used

Solstice::View.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 3364 $

COPYRIGHT

Top


Solstice documentation Contained in the Solstice distribution.
package Solstice::View::Download;

# $Id: Download.pm 3364 2006-05-05 07:18:21Z mcrawfor $

use 5.006_000;
use strict;
use warnings;
no warnings qw(redefine);

use base qw(Solstice::View);

use constant TRUE  => 1;
use constant FALSE => 0;

our ($VERSION) = ('$Revision: 3364 $' =~ /^\$Revision:\s*([\d.]*)/);

sub printData {
    return FALSE;
}

sub isDownloadView {
    return TRUE;
}

1;

__END__