src/Sulu/Bundle/ContactBundle/Controller/AccountController.php
private function retrieveFilter(Request $request)
    {
        $filter = [];
        $ids = $request->get('ids');

        if ($ids) {
            if (is_string($ids)) {
                $ids = explode(',', $ids);
            }

            $filter['id'] = $ids;
        }

        return $filter;
    }
private function retrieveFilter(Request $request)
    {
        $filter = [];
        $ids = $request->get('ids');

        if ($ids) {
            if (is_string($ids)) {
                $ids = explode(',', $ids);
            }

            $filter['id'] = $ids;
        }

        return $filter;
    }
private function retrieveFilter ( Request $ request ) { $ filter = [ ] ; $ ids = $ request -> get ( 'ids' ) ; if ( $ ids ) { if ( is_string ( $ ids ) ) { $ ids = explode ( ',' , $ ids ) ; } $ filter [ 'id' ] = $ ids ; } return $ filter ; }
Retrieves the ids from the request.

@param Request $request
@param int &$count

@return array
Retrieves the ids from the request .