NAME
WWW::ASN::Document - Represents a collection of standards or learning objectives
SYNOPSIS
for my $standard (@{ $document->standards }) {
# $standard is a WWW::ASN::Standard document
...
}
ATTRIBUTES
uri
Required. e.g. http://asn.jesandco.org/resources/D1000195
details_cache_file
Path to a file used as a cache for the "details" download. If the file does not exist, it will be created.
See "Cache files" in WWW::ASN for more details.
manifest_cache_file
Path to a file used as a cache for the "manifest" download. If the file does not exist, it will be created.
See "Cache files" in WWW::ASN for more details.
id
This is a globally unique URI for this document.
titles
Array ref of values like this: { language =
'en', title => 'Title goes here' } >.
See also "title" for convenience.
description
A long description of this document.
education_levels
Array ref of strings, describing the education levels. e.g. [ qw(K 1 2 3) ]
subject_names
Array ref of subject names. e.g. [ 'English', 'Language-Arts' ]
jurisdiction_abbreviation
Jurisdiction abbreviation.
adoption_date
Adoption date
status
Status
METHODS
In addition to get/set methods for each of the attributes above, the following methods can be called:
standards
Array ref of WWW::ASN::Standard objects.
title
This is a convenience method to return a single, preferably English, value from "titles"
subject
This is a convenience method to return a string representation of "subject_names"
AUTHOR
Mark A. Stratman, <stratman at gmail.com>
SEE ALSO
LICENSE AND COPYRIGHT
Copyright 2012 Mark A. Stratman.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.