summaryrefslogtreecommitdiffstats
path: root/lib/itemmapper.php
diff options
context:
space:
mode:
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'];