From 00a01849daaa8c7a8ff736a3e6382ee44673bdef Mon Sep 17 00:00:00 2001 From: wainstead Date: Thu, 29 Jun 2000 03:08:37 +0000 Subject: [PATCH] Minor updates to the text. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@121 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- DBLIB.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DBLIB.txt b/DBLIB.txt index 71e417c64..873664b06 100644 --- a/DBLIB.txt +++ b/DBLIB.txt @@ -1,4 +1,4 @@ -$Id: DBLIB.txt,v 1.4 2000-06-20 03:41:43 wainstead Exp $ +$Id: DBLIB.txt,v 1.5 2000-06-29 03:08:37 wainstead Exp $ This is a description of the database interface for PhpWiki. Regardless of what kind of data store is used (RDBMS, DBM files, flat text files) @@ -13,10 +13,10 @@ A few notes: version it's an associative array that contains the DB information. * Functions that return the page data must return a hash (associative - array) of all the data, where 'text' == the text of the page in Wiki + array) of all the data, where 'content' == the text of the page in Wiki markup, 'version' is an integer representing the version, 'author' the IP address or host name of the previous author and so on. See - the source code for the full listing. + the next paragraph for a precise description. * The data structure. This is commonly named $pagehash in the source code; it's an associative array with values that are integers, @@ -28,7 +28,7 @@ A few notes: content => array (where each element is a line of the page), created => integer (a number in Unix time since the Epoch), flags => integer, - lastmodified => integer (Unix time), + lastmodified => integer (also Unix time), pagename => string, version => integer, refs => array (where each element is a reference) -- 2.45.0