public function formatInput($column, $value)
 {
     if (isset($this->columns[$column]['customfield'])) {
         $field = $this->columns[$column]['customfield'];
         //dirty, rawposted values not there because formatinputvalues was not called.
         // formatInput should always return the formatted value of $valuecd
         //if(empty($this->_rawPostedAttributes[$column]))
         $this->_rawPostedAttributes[$column] = $value;
         return $field->customfieldtype->formatFormInput($column, $this->_rawPostedAttributes, $this);
     } else {
         return parent::formatInput($column, $value);
     }
 }
Esempio n. 2
0
 public function formatInput($column, $value)
 {
     $value = trim($value);
     return parent::formatInput($column, $value);
 }