[pLog-svn] r1140 - plog/trunk/class/dao

subaochen at devel.plogworld.net subaochen at devel.plogworld.net
Sat Feb 19 13:37:56 GMT 2005


Author: subaochen
Date: 2005-02-19 13:37:56 +0000 (Sat, 19 Feb 2005)
New Revision: 1140

Modified:
   plog/trunk/class/dao/articlecategory.class.php
Log:
add lastModifcation's setter/getter methods


Modified: plog/trunk/class/dao/articlecategory.class.php
===================================================================
--- plog/trunk/class/dao/articlecategory.class.php	2005-02-19 12:40:26 UTC (rev 1139)
+++ plog/trunk/class/dao/articlecategory.class.php	2005-02-19 13:37:56 UTC (rev 1140)
@@ -26,6 +26,7 @@
 		var $_parentId;
 		var $_parentCategory;
 		var $_description;
+		var $_lastModification;
 
 		function ArticleCategory( $name, $url, $blogId, $inMainPage, $description = "", $numArticles = 0, $properties = Array(), $id = -1 )
 		{
@@ -206,5 +207,26 @@
 		{
 			return $this->_description;
 		}
+
+		/**
+		 * sets the last modification date
+		 *
+		 * @param date
+		 * @return nothing
+		 */
+		function setLastModification( $date )
+		{
+			$this->_lastModification = $date;
+		}
+		
+		/**
+		 * returns the last modification date
+		 *
+		 * @return A Timestamp object
+		 */
+		function getLastModification()
+		{
+			return $this->_lastModification;
+		}
 	}
 ?>




More information about the pLog-svn mailing list