Permalink
Browse files

Add method getOne to Model\FacebookWallposts

  • Loading branch information...
chemix committed Jun 25, 2014
1 parent dfbb043 commit 229592e47887ba5160f627041a9f2698ddaa3e08
Showing with 7 additions and 0 deletions.
  1. +7 −0 app/model/FacebookWallposts.php
@@ -44,6 +44,13 @@ public function getLastPosts($count = 5)
->fetchAll();
}
public function getOne($id)
{
return $this->database->table('facebook_wallposts')
->where('id', $id)
->fetch();
}
public function getAllPosts()
{
return $this->database->table('facebook_wallposts')

0 comments on commit 229592e

Please sign in to comment.