NAME

AxKit::XSP::ObjectTaglib::Demo::Presentation - A mock course presentation object

SYNOPSIS

use AxKit::XSP::ObjectTaglib::Demo::Presentation;
use strict;

my $presentation = AxKit::XSP::ObjectTaglib::Demo::Presentation->new();
print $presentation->calculateSize;

DESCRIPTION

This module represents a generic Presentation object returned by AxKit::XSP::ObjectTaglib::Demo::Course->presentations for use within the AxKit::XSP::ObjectTaglib::Demo Taglib.

METHODS

new( [\%attr] )

Returns a new AxKit::XSP::ObjectTaglib::Demo::Presentation object. You can also pass in an optional hashref to be blessed into the new object.

my $presentation = AxKit::XSP::ObjectTaglib::Demo::Presentation->new({
    size => 100
});

calculateSize

Returns the calculated size of the given AxKit::XSP::ObjectTaglib::Demo::Presentation object.

print $presentation->calculatedSize;

SEE ALSO

AxKit::XSP::ObjectTaglib::Demo, Apache::AxKit::Language::XSP::ObjectTaglib

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/