Created
July 20, 2012 14:50
-
-
Save bakura10/3151123 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function indexAction() | |
{ | |
$filters = $this->request->getQuery(); | |
// Activate the filter, giving it filters values | |
$students = $this->getStudentService()->getAll(); | |
return array( | |
'students' => $students->setCurrentPageNumber(1) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment