Christopher H. Laco > Apache-AxKit-Language-XSP-ObjectTaglib-0.09000 > AxKit::XSP::ObjectTaglib::Demo::Resource

Download:
Apache-AxKit-Language-XSP-ObjectTaglib-0.09000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

AxKit::XSP::ObjectTaglib::Demo::Resource - A mock course resource object

SYNOPSIS ^

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

    my $resource = AxKit::XSP::ObjectTaglib::Demo::Resource->new();
    print $resource->name;

DESCRIPTION ^

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

METHODS ^

new( [\%attr] )

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

    my $resource = AxKit::XSP::ObjectTaglib::Demo::Resource->new({
        name => 'My Resource'
    });

name

Returns the name of the given AxKit::XSP::ObjectTaglib::Demo::Resource object.

    print $resource->name;

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/
syntax highlighting: