예제 #1
0
 /**
  * Returns a piece of html code for hiding this attribute in an HTML form,
  * while still posting its value. (<input type="hidden">).
  *
  * @param array $record
  * @param string $fieldprefix
  * @param string $mode
  *
  * @return string html
  */
 public function hide($record, $fieldprefix, $mode)
 {
     // hide as a parseable string
     $record[$this->fieldName()] = $this->_minutes2string($record[$this->fieldName()]);
     return parent::hide($record, $fieldprefix, $mode);
 }