123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?php
- /*
- * This file is part of the symfony package.
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- * (c) Jonathan H. Wage <jonwage@gmail.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Sonata\AdminBundle\Datagrid;
- /**
- * Interface used by the Datagrid to build the query
- */
- interface ProxyQueryInterface
- {
- /**
- *
- * @param array $params
- * @param null $hydrationMode
- *
- * @return mixed
- */
- function execute(array $params = array(), $hydrationMode = null);
- /**
- * @param string $name
- * @param array $args
- *
- * @return mixed
- */
- function __call($name, $args);
- /**
- * @param array $parentAssociationMappings
- * @param array $fieldMapping
- *
- * @return mixed
- */
- function setSortBy($parentAssociationMappings, $fieldMapping);
- /**
- * @return mixed
- */
- function getSortBy();
- /**
- * @param mixed $sortOrder
- *
- * @return void
- */
- function setSortOrder($sortOrder);
- /**
- * @return mixed
- */
- function getSortOrder();
- /**
- * @return mixed
- */
- function getSingleScalarResult();
- /**
- * @param int $firstResult
- *
- * @return mixed
- */
- function setFirstResult($firstResult);
- /**
- * @return mixed
- */
- function getFirstResult();
- /**
- * @param int $maxResults
- *
- * @return mixed
- */
- function setMaxResults($maxResults);
- /**
- * @return mixed
- */
- function getMaxResults();
- /**
- * @return mixed
- */
- function getUniqueParameterId();
- /**
- * @param array $associationMappings
- *
- * @return mixed
- */
- function entityJoin(array $associationMappings);
- }
|