$token ); $stmt = $app['phraseanet.appbox']->get_connection()->prepare($sql); $stmt->execute($params); $row = $stmt->fetch(PDO::FETCH_ASSOC); $stmt->closeCursor(); if ( ! $row) throw new Exception_FeedNotFound($token); $this->usr_id = $row['usr_id']; $this->app = $app; return $this; } /** * * @return Feed_Aggregate */ public function get_feed() { if (! $this->feed) { $this->feed = Feed_Aggregate::load_with_user($this->app, $this->get_user()); } return $this->feed; } }