Lines Matching refs:filter
17 /** @var array filter pattern */
237 * Return a count of the number of user which meet $filter criteria
241 * @param array $filter
244 public function getUserCount($filter = array()) {
248 if(!count($filter)) return count($this->users);
251 $this->_constructPattern($filter);
267 * @param array $filter array of field/pattern pairs
270 public function retrieveUsers($start = 0, $limit = 0, $filter = array()) {
279 $this->_constructPattern($filter);
379 * return true if $user + $info match $filter criteria, false otherwise
401 * construct a filter pattern
403 * @param array $filter
405 protected function _constructPattern($filter) {
407 foreach($filter as $item => $pattern) {