ProxyQueryInterface.php 708 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * This file is part of the symfony package.
  4. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  5. * (c) Jonathan H. Wage <jonwage@gmail.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Sonata\AdminBundle\Datagrid;
  11. /**
  12. * Interface used by the Datagrid to build the query
  13. */
  14. interface ProxyQueryInterface
  15. {
  16. function execute(array $params = array(), $hydrationMode = null);
  17. function __call($name, $args);
  18. function setSortBy($sortBy);
  19. function getSortBy();
  20. function setSortOrder($sortOrder);
  21. function getSortOrder();
  22. function getSingleScalarResult();
  23. }