WWW::Mixi::OO::ListPage 0.03
Sponsored Links
WWW::Mixi::OO::ListPage 0.03 Ranking & Summary
File size:
0.024 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
796
Date added:
2007-08-20
Publisher:
Topia
WWW::Mixi::OO::ListPage 0.03 description
WWW::Mixi::OO::ListPage is a WWW::Mixi::OOs List Pages base class.
SYNOPSIS
package WWW::Mixi::OO::Foo;
use base qw(WWW::Mixi::OO::ListPage);
# some implementations...
METHODS
uri
see super class (WWW::Mixi::OO::Page).
this module handle following params:
page
page number, maybe 1 origin.
parse_uri
see super class (WWW::Mixi::OO::Page).
this module handle following params:
page
page number, maybe 1 origin.
parse_navi_next
# subclass
sub parse_navi_next {
my ($this, %options) = @_;
# parse...
$this->content =~ /.../;
# return
return { a => b, c => d };
}
# call
my $next = $pkg->parse_navi_next;
page "next" navi parser. please return hashref. page didnt have next page navigation, no need to implement this.
parse_navi_prev
# subclass
sub parse_navi_prev {
my ($this, %options) = @_;
# parse...
$this->content =~ /.../;
# return
return { a => b, c => d };
}
# call
my $prev = $pkg->parse_navi_prev;
page "prev" navi parser. please return hashref. page didnt have previous page navigation, no need to implement this.
fetch
# call
$pkg->fetch(
limit => $limit,
other_options...
);
fetch all items from some pages. need ->get and ->parse_navi_next()->{link}.
gen_sort_proc
# call
$pkg->gen_sort_proc($spec, [$pkg]);
generate sort closure(anonsub).
spec is "$field" or "!$field"(reverse order).
sort
# call
$pkg->sort($spec, @items...);
handy sort function. (but maybe need unnecessarily array copy...)
sort_type
# subclass
sub sort_type {
my ($this, $field) = @_;
if (grep { $_ eq $field } qw(more nums...)) {
return num;
} else {
return $this->SUPER::sort_type($field);
}
}
sort type probe function.
get_navi_next
# call
$pkg->get_navi_next([opt => val], ...);
handy method. call ->set_content and ->parse_navi_next.
get_navi_prev
# call
$pkg->get_navi_prev([opt => val], ...);
handy method. call ->set_content and ->parse_navi_prev.
SYNOPSIS
package WWW::Mixi::OO::Foo;
use base qw(WWW::Mixi::OO::ListPage);
# some implementations...
METHODS
uri
see super class (WWW::Mixi::OO::Page).
this module handle following params:
page
page number, maybe 1 origin.
parse_uri
see super class (WWW::Mixi::OO::Page).
this module handle following params:
page
page number, maybe 1 origin.
parse_navi_next
# subclass
sub parse_navi_next {
my ($this, %options) = @_;
# parse...
$this->content =~ /.../;
# return
return { a => b, c => d };
}
# call
my $next = $pkg->parse_navi_next;
page "next" navi parser. please return hashref. page didnt have next page navigation, no need to implement this.
parse_navi_prev
# subclass
sub parse_navi_prev {
my ($this, %options) = @_;
# parse...
$this->content =~ /.../;
# return
return { a => b, c => d };
}
# call
my $prev = $pkg->parse_navi_prev;
page "prev" navi parser. please return hashref. page didnt have previous page navigation, no need to implement this.
fetch
# call
$pkg->fetch(
limit => $limit,
other_options...
);
fetch all items from some pages. need ->get and ->parse_navi_next()->{link}.
gen_sort_proc
# call
$pkg->gen_sort_proc($spec, [$pkg]);
generate sort closure(anonsub).
spec is "$field" or "!$field"(reverse order).
sort
# call
$pkg->sort($spec, @items...);
handy sort function. (but maybe need unnecessarily array copy...)
sort_type
# subclass
sub sort_type {
my ($this, $field) = @_;
if (grep { $_ eq $field } qw(more nums...)) {
return num;
} else {
return $this->SUPER::sort_type($field);
}
}
sort type probe function.
get_navi_next
# call
$pkg->get_navi_next([opt => val], ...);
handy method. call ->set_content and ->parse_navi_next.
get_navi_prev
# call
$pkg->get_navi_prev([opt => val], ...);
handy method. call ->set_content and ->parse_navi_prev.
WWW::Mixi::OO::ListPage 0.03 Screenshot
Advertisements
WWW::Mixi::OO::ListPage 0.03 Keywords
WWW
OO
ListPage
OOs List Pages
OOs
ListPage 0.03
base class
Navi
parse
page
sort
Prev
return
WWW::Mixi::OO::ListPage
WWWMixiOOListPage
WWW::Mixi::OO::ListPage 0.03
Bookmark WWW::Mixi::OO::ListPage 0.03
WWW::Mixi::OO::ListPage 0.03 Copyright
WareSeeker periodically updates pricing and software information of WWW::Mixi::OO::ListPage 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of WWW::Mixi::OO::ListPage 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
WWW::Mixi::OO::Page is a WWW::Mixi::OOs Pages base class. Free Download
WWW::Google::Images is a Google Images Agent. Free Download
WWW::Google::PageRank is a Perl module to query google pagerank of page. Free Download
WWW::Orkut::Spider is a Perl extension for spidering the orkut community. Free Download
MRTG::Parse is a Perl extension for parsing and utilizing the logfiles generated by the famous MRTG Tool. Free Download
FLV::Tag is a flash video file data structure. Free Download
WWW::BF2S is a Perl module that can get Battlefield 2 Player Stats. Free Download
WWW::Google::Calculator is a Perl interface for Google calculator. Free Download
Latest Software
Popular Software
Favourite Software