First I tell extractNamedParams() which params I care about (ignore the rest), then I loop through the returned results and build my query via named params. Finally I pass the named params into the $conditions array for paginate to use.