protected function search_sql($search, $u) {
        return users_search_sql($search, $u, $this->searchanywhere, $this->extrafields,
                $this->exclude, $this->validatinguserids);
    }
protected function search_sql($search, $u) {
        return users_search_sql($search, $u, $this->searchanywhere, $this->extrafields,
                $this->exclude, $this->validatinguserids);
    }
protected function search_sql ( $ search , $ u ) { return users_search_sql ( $ search , $ u , $ this -> searchanywhere , $ this -> extrafields , $ this -> exclude , $ this -> validatinguserids ) ; }
Returns an array with SQL to perform a search and the params that go into it.

@param string $search the text to search for.
@param string $u the table alias for the user table in the query being
built. May be ''.
@return array an array with two elements, a fragment of SQL to go in the
where clause the query, and an array containing any required parameters.
this uses ? style placeholders.
Returns an array with SQL to perform a search and the params that go into it .