GBPVR::CDBI::VideoArchive::ArchiveTable - VideoArchive.archivetable table


GBPVR-CDBI documentation Contained in the GBPVR-CDBI distribution.

Index


Code Index:

NAME

Top

GBPVR::CDBI::VideoArchive::ArchiveTable - VideoArchive.archivetable table

VERSION

Top

Version 0.02

SYNOPSIS

Top

ATTRIBUTES

Top

VideoFile, Title, Description, StartTime, RecordDate, ChannelName, Viewed, UniqueID, Genre, Subtitle, Runtime, Actors, Rating, Director, PosterImage, InternetFetchCompleted, YearOfRelease, Tagline

METHODS

Top

programme

Attempts to return the corresponding (via uniqueID) GBPVR::CDBI::Programme object.

AUTHOR

Top

David Westbrook, <dwestbrook at gmail.com>

COPYRIGHT & LICENSE

Top


GBPVR-CDBI documentation Contained in the GBPVR-CDBI distribution.

package GBPVR::CDBI::VideoArchive::ArchiveTable;

use warnings;
use strict;

our $VERSION = '0.02';

use base 'GBPVR::CDBI::VideoArchive';
use GBPVR::CDBI::Programme;

__PACKAGE__->table('archivetable');
__PACKAGE__->columns(Primary => qw/VideoFile/ );
__PACKAGE__->columns(All => qw/
	Title Description StartTime RecordDate ChannelName Viewed
	UniqueID Genre Subtitle Runtime
	Actors Rating Director PosterImage 
	InternetFetchCompleted YearOfRelease Tagline
	Writer ViewerRating Votes / );

sub programme {
  my $obj = shift;
  my ($prog) = GBPVR::CDBI::Programme->search( unique_identifier => $obj->UniqueID );
  return $prog;
}

1;
__END__