Skip to content

Commit

Permalink
minor #1564 [doc] missing parameter (COil)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

[doc] missing parameter

Commits
-------

ba2d9a4 [doc] missing parameter
  • Loading branch information
javiereguiluz committed Apr 1, 2017
2 parents b69b2d1 + ba2d9a4 commit 2d5b107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/doc/book/7-complex-dynamic-backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ class AdminController extends Controller
{
// Creates the Doctrine query builder used to get all the items. Override it
// to filter the elements displayed in the listing
protected function createListQueryBuilder($entityClass, $sortDirection, $sortField = null);
protected function createListQueryBuilder($entityClass, $sortDirection, $sortField = null, $dqlFilter = null);
// Performs the actual database query to get all the items (using the query
// builder created with the previous method). You can override this method
// to filter the results before sending them to the template
protected function findAll($entityClass, $page = 1, $maxPerPage = 15, $sortField = null, $sortDirection = null);
protected function findAll($entityClass, $page = 1, $maxPerPage = 15, $sortField = null, $sortDirection = null, $dqlFilter = null);
}
```

Expand Down

0 comments on commit 2d5b107

Please sign in to comment.