예제 #1
0
 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;
 }
예제 #2
0
 /**
  * Creates a string by using filter data
  *
  * @return string
  */
 public function createString()
 {
     return parent::createString() . $this->getParamsSQL();
 }