예제 #1
0
 /**
  * Set values
  *
  * @param array $data
  * @return string
  */
 protected final function _setValues(array $data)
 {
     $items = array();
     foreach ($data as $key => $value) {
         $items[] = $this->_db->quoteIdentifier($key) . ' = ' . $this->_db->quote($value);
     }
     return implode(",\n\t", $items);
 }