]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - lib/PhpWikiDatabase.php
Merged back some stuff which inadvertently (I think) got tossed during
[SourceForge/phpwiki.git] / lib / PhpWikiDatabase.php
1 <?php rcs_id('$Id: PhpWikiDatabase.php,v 1.1 2001-07-20 17:29:43 wainstead Exp $');
2
3 /* 
4  * Abstract base class for the database used by PhpWiki.
5  * This should be extended by classes for DB/dbx, dba and 
6  * flat file.
7  */
8
9 class PhpWikiDatabase {
10
11 function retrievePage (string $pagename, int $version = 0) 
12   {
13   }
14 function insertPage (WikiPage $page, boolean $no_backup = false) 
15   {
16   }
17 function nPages() 
18   {
19   }
20 function isWikiPage (string $pagename) 
21   {}
22 function previousVersion (string $pagename, int $version = 0) 
23   {
24   }
25 function retrieveAllVersions(string $pagename) 
26   {
27   }
28 function titleSearch(string $search) 
29   {
30   }
31 function fullSearch(string $search) 
32   {
33   }
34 function backLinks(string $pagename) 
35   {
36   }
37 function mostPopular(int $limit = 20) 
38   {
39   }
40 function retrieveAllPages () 
41   {
42   }
43 function genericWarnings() 
44   {
45   }
46 function close() 
47   {
48   }
49
50 }