[pLog-svn] r677 - plog/trunk/class/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Jan 5 01:20:12 GMT 2005
Author: oscar
Date: 2005-01-05 01:20:12 +0000 (Wed, 05 Jan 2005)
New Revision: 677
Modified:
plog/trunk/class/dao/article.class.php
Log:
another compatibility hack
Modified: plog/trunk/class/dao/article.class.php
===================================================================
--- plog/trunk/class/dao/article.class.php 2005-01-05 01:02:05 UTC (rev 676)
+++ plog/trunk/class/dao/article.class.php 2005-01-05 01:20:12 UTC (rev 677)
@@ -722,5 +722,18 @@
{
$this->_slug = Textfilter::urlize( $slug );
}
+
+ /**
+ * left here for compatilibity reasons, but please use getDateObject
+ * and then Locale::formatDate for formatting dates
+ * @deprecated
+ * @see Locale::formatDate
+ * @see Article::getDateObject
+ */
+ function getDay()
+ {
+ return( $this->_timestamp->getDay());
+ }
+
}
?>
\ No newline at end of file
More information about the pLog-svn
mailing list