Change Pager/PagerInterface.php
- Add 'name' argument to 'setFilter' method
- Datatheke\Bundle\PagerBundle\Pager::getMetadatas() is deprecated. Use Datatheke\Bundle\PagerBundle\Pager::getMetadata() instead
- (CSS) Filter operator box now appears on input:focus, not :hover anymore
-
Change Datatheke\Bundle\PagerBundle\DataGrid\DataGridViewInterface -> new method : public function getColumn($alias)
-
Change Datatheke\Bundle\PagerBundle\DataGrid\Column\Action\ActionInterface -> public function getParameters(Datagrid $datagrid, $item) becomes public function getParameters(DatagridView $datagrid, $item) -> public function evaluateDisplay(Datagrid $datagrid, $item) becomes public function evaluateDisplay(DatagridView $datagrid, $item)
-
Change Datatheke\Bundle\PagerBundle\DataGrid\Column\Action\Action according to ActionInterface changes
-
In Factory, changed createHttpDataGrid() signature from public function createHttpDataGrid($pager, array $options = array(), array $columns = null, $handler = 'view') to public function createHttpDataGrid($pager, array $options = array(), $handler = 'view', array $columns = null)
-
In Factory, changed createConsoleDataGrid() signature from public function createConsoleDataGrid($pager, array $options = array(), array $columns = null, $handler = 'default') to public function createConsoleDataGrid($pager, array $options = array(), $handler = 'default', array $columns = null)
- jgGridHandler class has been renamed from jqGridHandler to JqGridHandler
- Pager:handleRequest() returns now a PagerView object (with the default handler) that you must give to your template.
- Pager\Factory::createWebPager() is deprecated, use createHttpPager().
- Pager::__construct() has changed.
Before :
<?php
/*..*/
$pager = $this->get('datatheke.pager')->createWebPager('MyBundle:MyEntity');
$pager->handleRequest($this->getRequest());
return array('pager' => $pager);
After :
<?php
/*..*/
$pager = $this->get('datatheke.pager')->createHttpPager('MyBundle:MyEntity');
$view = $pager->handleRequest($this->getRequest());
return array('pager' => $view);
- DataGrid:handleRequest() returns now a DataGridView object (with the default handler) that you must give to your template.
- DataGrid\Factory::createWebDataGrid() is deprecated, use createHttpDataGrid().
Before :
<?php
/*..*/
$datagrid = $this->get('datatheke.datagrid')->createHttpDataGrid('MyBundle:MyEntity');
$datagrid->handleRequest($this->getRequest());
return array('datagrid' => $view);
After :
<?php
/*..*/
$datagrid = $this->get('datatheke.datagrid')->createHttpDataGrid('MyBundle:MyEntity');
$view = $datagrid->handleRequest($this->getRequest());
return array('datagrid' => $view);