public function ajaxGetSessions($hashs) { $sd = new SessionxDAO(); $sessions = $sd->getAll(); }
function display() { $sd = new SessionxDAO(); $this->view->assign('sessions', $sd->getAll()); }