Added some class="" to pagelist code
[specialops2.git] / lib / iface.Messagelist.php
blobccce9b0e98665ae48661c74d0bc0a09732d0645b
1 <?php
2 /**
3 * Messagelist backend interface
5 * @author Anthony Parsons (xmpp:ant@specialops.ath.cx)
6 * @license file://COPYING
7 * @version $Id$
8 */
9 interface Messagelist
11 /**
12 * Get a topic ID, the message list layout, where to start and do something with it all.
13 * @param int $topicid Topic ID to get
14 * @param msglist $mv Messagelist object to use for output
15 * @param int $tpp Number of messages per page, if possible
16 * @param int $page Page number (zero index)
18 function __construct($topicid, msglist $mv, $mpp, $page);
20 /**
21 * Output the messagelist using $mv.
22 * @return null
24 public function display();
26 /**
27 * Return (not echo) list of pages in a XHTML dd format (with no dl tags)
29 * If the class can't handle pages for whatever reason, then return null instead.
30 * @return string|null
32 public function pagelist();