/** * indexAction * * @return void */ public function indexAction() { $log = Zend_Registry::get('log'); $log->info('index action of Podcast controller'); $sessions = Tg_Session::fetchAll(); $this->view->sessions = $sessions; $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setViewSuffix('pxml'); }
public function testFetchAllShouldGetTestSession() { $sessions = Tg_Session::fetchAll(); $this->assertEquals(self::TEST_SESSION_ID, $sessions[0]->id); }