public function __construct($db) { $this->_db = $db; // Sets criteria parameters $this->_setSearchParams(); }