Lyo Kato > Net-OpenSocial-Client-0.01_01 > Net::OpenSocial::Client::Collection

Download:
Net-OpenSocial-Client-0.01_01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Net::OpenSocial::Client::Collection - Collection of resources

SYNOPSIS ^

    my $collection = Net::OpenSocial::Client::Collection->new;
    $collection->items_per_page(10);
    $collection->total_results(35);
    $collection->start_index(0);

    $collection->add_item( $resource1 );
    $collection->add_item( $resource2 );
    ...

    for my $item ( @{ $collection->items } ) {

    }

DESCRIPTION ^

Collection of resources.

METHODS ^

items_per_page

total_results

start_index

items

add_item

count

first

SEE ALSO ^

Net::OpenSocial::Client::Resource

AUTHOR ^

Lyo Kato, <lyo.kato@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 by Lyo Kato

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.