public function idsToMongo(array $ids)
    {
        foreach ($ids as &$id) {
            $id = $this->idToMongo($id);
        }

        return $ids;
    }
public function idsToMongo(array $ids)
    {
        foreach ($ids as &$id) {
            $id = $this->idToMongo($id);
        }

        return $ids;
    }
public function idsToMongo ( array $ ids ) { foreach ( $ ids as & $ id ) { $ id = $ this -> idToMongo ( $ id ) ; } return $ ids ; }
Converts an array of ids to use in Mongo.

@param array $ids An array of ids.

@return array The array of ids converted.
Converts an array of ids to use in Mongo .