Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *
- * @param \TYPO3\Flow\Persistence\QueryResultInterface $items
- * @return void
- */
- public function indexAction(\TYPO3\Flow\Persistence\QueryResultInterface $items = NULL)
- {
- $items = ($items ? $items : $this->itemRepository->findAll());
- $this->view->assign('items', $items);
- }
- public function searchAction() {
- [...]
- // $items is type of \TYPO3\Flow\Persistence\QueryResultInterface
- $this->redirect('index', NULL, NULL, array('items' => $items));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement