public loadPostData ( $key, $values ) : boolean | ||
return | boolean | whether the data of the component has been changed |
public function loadPostData($key, $values)
{
$value = (double) $values[$this->getClientID() . '_1'];
if ($this->getValue() !== $value) {
$this->setValue($value);
return $this->_dataChanged = true;
} else {
return false;
}
}