Special Ops 2.50
[specialops2.git] / lib / iface.Topiclist.php
blobfcf79e57c610a33c218e8b1df9f1f9a3ae1b8d22
1 <?php
2 /**
3 * Topiclist class interface
5 * @author Ant P <p@cpi.merseine.nu>
6 * @license file://../COPYING
7 * @version 2.15
8 */
9 interface topiclist
11 /**
12 * Constructor
13 * @param int $tpp Number of topics per page
14 * @param int $page Page number (starts from 0)
16 function __construct($tpp = 35, $page = 0);
18 /**
19 * Echo the topic list. Doesn't return anything.
20 * @return null
22 public function display();
24 /**
25 * Return (not echo) list of pages in a XHTML dd format (with no dl tags)
27 * If the class can't handle pages for whatever reason, then return null instead.
28 * @return string|null
30 public function pagelist();