Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

[Solved] Gdn_PagerFactory Question

AoleeAolee Hobbyist & Coder ✭✭
edited November 2011 in Vanilla 2.0 Help
Hi guys,

Can anyone help me in using the Gdn_PagerFactory()?


$PagerFactory = new Gdn_PagerFactory();
$Sender->Pager = $PagerFactory->GetPager('MorePager', $Sender);
$Sender->Pager->MoreCode = 'More';
$Sender->Pager->LessCode = 'Previous';
$Sender->Pager->ClientID = 'Pager';
$Sender->Pager->Wrapper = '<tr %1$s><td colspan="5">%2$s</td></tr>';
$Sender->Pager->Configure(
$Offset,
$Limit,
$TotalRecords,
//'user/browse/%1$s/'.urlencode($Keywords)
'plugin/BrowseMember/%1$s/'.urlencode($Keywords)
);


trying to study it but can't seems to understand how it works.

here's a sample of a browse member list im working on

http://pinoyau.info/plugin/BrowseMember/

Comments

Sign In or Register to comment.