Finds Locations for the given query.
public findLocations ( eZ\Publish\API\Repository\Values\Content\LocationQuery $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | ||
$query | eZ\Publish\API\Repository\Values\Content\LocationQuery | |
$languageFilter | array | Configuration for specifying prioritized languages query will be performed on.
Currently supports: array("languages" => array(
useAlwaysAvailable defaults to true to avoid exceptions on missing translations |
$filterOnUserPermissions | boolean | if true only the objects which is the user allowed to read are returned. |
return | eZ\Publish\API\Repository\Values\Content\Search\SearchResult |