summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-05-23 13:02:27 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-05-23 13:02:27 -0400
commit97f76e8cc62ede53709539595e835c4900f44d0c (patch)
tree90e9d84ac2fb3b04cda8561e7bc7f3b2f21d9612 /templates/main.php
parent5940e12a707e05aa458e96126da23e8bd8c3fdca (diff)
adds method to retrieve feed with all items from db
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/main.php b/templates/main.php
index 88d1b9fb8..652f22f9b 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -7,6 +7,9 @@ $feed = $mapper->find($feed->getId());
echo "<br>" . $feed->getTitle() . "<br>";
$items = $feed->getItems();
+$feed2 = $mapper->findWithItems(45);
+echo "<br>" . $feed2->getTitle() . "<br>";
+
/*
$item = $feed->get_item(1);