protected function addFields($value) { if ($this->getActionName() == 'query') { parent::addFields($value); } else { if (is_array($value)) { foreach ($value as $_ => $v) { $this->mFields[] = $v; } } else { $this->mFields[] = $value; } } }
protected function addFields($value) { if ($this->getActionName() == 'query') { parent::addFields($value); } else { if (is_array($value)) { foreach ($value as $_ => $v) { $this->mFields[] = $v; } } else { $this->mFields[] = $value; } } }