Skip to content

Instantly share code, notes, and snippets.

@bakura10
Created July 20, 2012 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bakura10/3151123 to your computer and use it in GitHub Desktop.
Save bakura10/3151123 to your computer and use it in GitHub Desktop.
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