public function createString() { $result = ""; if (!empty($this->modifierList)) { $result .= " SET "; $statementList = array(); foreach ($this->modifierList as $fieldName => $newValue) { if ($newValue instanceof ARExpressionHandle) { $value = $newValue->toString(); } else { $value = "'" . $newValue . "'"; } $statementList[] = $fieldName . " = " . $value; } $result .= implode(", ", $statementList); } $result .= parent::createString(); return $result; }
/** * Creates a string by using filter data * * @return string */ public function createString() { return parent::createString() . $this->getParamsSQL(); }