DatagridInterface.php 583 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of the Sonata package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. *
  10. */
  11. namespace Sonata\AdminBundle\Datagrid;
  12. use Sonata\AdminBundle\Filter\FilterInterface;
  13. interface DatagridInterface
  14. {
  15. function getPager();
  16. function getResults();
  17. function buildPager();
  18. function addFilter(FilterInterface $filter);
  19. function getFilters();
  20. function getValues();
  21. function getColumns();
  22. }