public function save(NewRSS $news) { if (SessionAdmin::isLogged()) { $this->dao->save($news); } else { throw new LoginException(); } }