But I have been messing with $this->CreateLink without much success.
Basically I have a module that extracts rows from a table, but it only pulls out 10 records at a time.
I want to create a link which passes a param (such as 'record'=>'10') that shows the next 10, and so on.
How do I do this. Whenever I have tried CreateLink it goes to a blank page.
This is what I'm trying:
Code: Select all
$parameters = Array('record'=>'10');
echo $this->CreateLink($id, $action, $returnid, 'Show next 10 records', $parameters );
Could someone explain how exactly CreateLink is used and what all the function parameters do, such as $id, $returnid?
Cheers.