Thank you very much! I decided to use elgg_list_entities_from_relationship, and it works just the way I want it to.
Just a bit of documentation out in public for those that need it:
in the $options variable for the query, set 'pagination' => true. Also, the 'limit' option controls how many results per page. (eg if 'limit' => 2, there will be 2 results per page)
Thanks Matt!
For multiple pagination controls you can pass a custom 'offset_key' value in the options
Oh right, I forgot about the custom offset key. That's the easy way to deal with multiple pagination controls per page!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.