public function orWhere($sql = null, $params = array()) { if (!isset($this->_where)) { $this->_where = new Criteria(); } $this->_where->or(new Criteria($sql, $params)); return $this; }