Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv594/lib
Modified Files:
WikiDB.php
Log Message:
New accessor method for WikiPageRevision:
getPageName
Index: WikiDB.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -2 -b -p -d -r1.14 -r1.15
--- WikiDB.php 27 Aug 2002 21:51:31 -0000 1.14
+++ WikiDB.php 31 Aug 2002 11:27:19 -0000 1.15
@@ -867,4 +867,15 @@ class WikiDB_PageRevision
return explode("\n", $this->getPackedContent());
}
+
+ /**
+ * Get the pagename of the revision.
+ *
+ * @access public
+ *
+ * @return string pagename.
+ */
+ function getPageName() {
+ return $this->_pagename;
+ }
/**
|