PHP Classes

File: webring.api

Recommend this page to a friend!
  Classes of Robert Peake  >  webring 1.0  >  webring.api  >  Download  
File: webring.api
Role: Documentation
Content type: text/plain
Description: API for webring 1.0
Class: webring 1.0
webring provides an easy-to-configure solution
Author: By
Last change:
Date: 16 years ago
Size: 535 bytes


Class file image Download
webring (C) 2000 Robert Peake
Released under GNU Lesser Public Licesne 

extends the loopedArray class
requires the file ""

        webring webring (string filename, string HTTP_REFERER) :
constructor for webring -- takes in a file of URLs,
one per line, and makes them into a webring

        void next() :
returns the url in the webring after the referrer url

        void prev() :
returns the url in the webring before the referrer url

        void random() :
returns a random URL from the webring