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


Apache-AxKit-Language-XSP-ObjectTaglib documentation  | view source Contained in the Apache-AxKit-Language-XSP-ObjectTaglib distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

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

DESCRIPTION

Top

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

Top

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

Top

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

AUTHOR

Top

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



Apache-AxKit-Language-XSP-ObjectTaglib documentation  | view source Contained in the Apache-AxKit-Language-XSP-ObjectTaglib distribution.