libraries/Users/BUsers.php
public function itemsFilterSql($params, &$wh, &$jn) {
		parent::itemsFilterSql($params, $wh, $jn);
		$db = BFactory::getDBO();
		//Filter users by Email
		if (isset($params['email'])) {
			$wh[] = '(`email`=' . $db->escapeString($params['email']) . ')';
		}
		return true;
	}
public function itemsFilterSql($params, &$wh, &$jn) {
		parent::itemsFilterSql($params, $wh, $jn);
		$db = BFactory::getDBO();
		//Filter users by Email
		if (isset($params['email'])) {
			$wh[] = '(`email`=' . $db->escapeString($params['email']) . ')';
		}
		return true;
	}
public function itemsFilterSql ( $ params , & $ wh , & $ jn ) { parent :: itemsFilterSql ( $ params , $ wh , $ jn ) ; $ db = BFactory :: getDBO ( ) ; //Filter users by Email if ( isset ( $ params [ 'email' ] ) ) { $ wh [ ] = '(`email`=' . $ db -> escapeString ( $ params [ 'email' ] ) . ')' ; } return true ; }
Items Filter SQL

@param $params
@param $wh
@param $jn
@return bool
Items Filter SQL