Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Solved] Gdn_PagerFactory Question
Aolee
✭✭
Hi guys,
Can anyone help me in using the Gdn_PagerFactory()?
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/
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/
0
Comments