protected function addWhere($value) { if ($this->getActionName() == 'query') { parent::addWhere($value); } else { if (is_array($value)) { $this->mWhere = array_merge($this->mWhere, $value); } else { $this->mWhere[] = $value; } } }