This class likely has limited use. If you have some static pages that have a predictable pattern like homepage.php, page1.php, page2.php, etc... You can use this to make links to those pages. Just include the following code on each page. include ("static_page.php"); $a = new Static_page; $a->getPrevNext(); I imagine that those with imagination can expand these links. And feel free to do so.