Пример #1
0
 public function bookmarkAction()
 {
     $this->redirect = true;
     $id = Minz_Request::param('id');
     if ($id) {
         $entryDAO = new FreshRSS_EntryDAO();
         $entryDAO->markFavorite($id, (bool) Minz_Request::param('is_favorite', true));
     }
 }