/** * Sets the value of this text field. * @param string $value * @access public * @return void */ function setValue($value) { parent::setValue($value); $this->getCurrentEditor()->setValue($value); }
/** * Sets the value of this Component to the {@link SObject} passed. * @param ref object $value The {@link SObject} value to use. * * @return void **/ function setValue($value) { ArgumentValidator::validate($value, HasMethodsValidatorRule::getRule("asString")); parent::setValue($value->asString()); }