1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# Copyrights 2003-2014 by [Mark Overmeer <perl@overmeer.net>].
# For other contributors see Changes.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 2.01.
package User::Identity::Collection::Locations;
our $VERSION = '0.94';
use base 'User::Identity::Collection';
use strict;
use warnings;
use User::Identity::Location;
use Carp qw/croak/;
sub new(@)
{ my $class = shift;
$class->SUPER::new(locations => @_);
}
sub init($)
{ my ($self, $args) = @_;
$args->{item_type} ||= 'User::Identity::Location';
$self->SUPER::init($args);
$self;
}
sub type() { 'whereabouts' }
1;
|