public function getAllSportsAction() { $sportArray[] = SportDBaccess::getAllSports(); return $this->render('SportBundle:Default:viewsport.html.twig', array('s' => $sportArray)); }
public function indexAction() { $sportList = SportDBaccess::getAllSports(); return $this->render('applicationStudentBundle:Default:AddStudentSPD.html.twig', array('sportList' => $sportList)); }