summaryrefslogtreecommitdiffstats
path: root/lib/itemmapper.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-19 21:45:31 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-19 21:45:31 -0400
commit2259f8635969a3b409dedda8cc1662486fe12ba4 (patch)
tree20ff884bd1ceb14ad345c7901a7213b77277967f /lib/itemmapper.php
parent4fd557478736c83cc378262754b1a0bb9682398c (diff)
introduces field userid in the feed table to fix a bug in the update functions
Diffstat (limited to 'lib/itemmapper.php')
-rw-r--r--lib/itemmapper.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/itemmapper.php b/lib/itemmapper.php
index 8d6a755b1..b20387192 100644
--- a/lib/itemmapper.php
+++ b/lib/itemmapper.php
@@ -18,6 +18,11 @@ class OC_News_ItemMapper {
const tableName = '*PREFIX*news_items';
+ /**
+ * @brief
+ * @param row a row from the items table of the database
+ * @returns an object of the class OC_News_Item
+ */
public function fromRow($row){
$url = $row['url'];
$title = $row['title'];