/** * Sets and cleans the original value and name. * @see IParam::setUserValue * * @since 1.0 * * @param string $paramName * @param string $paramValue * @param Options $options * * @return boolean */ public function setUserValue($paramName, $paramValue, Options $options) { if ($this->setCount > 0 && !$options->acceptOverriding()) { // TODO return false; } else { $this->originalName = $paramName; $this->originalValue = $paramValue; $this->cleanValue($options); $this->setCount++; return true; } }