public function setPropertyValue($name, $value)
    {
        $p = Utilities::tryGetValue($this->_properties, $name);
        if (!is_null($p)) {
            $p->setValue($value);
        }
    }
public function setPropertyValue($name, $value)
    {
        $p = Utilities::tryGetValue($this->_properties, $name);
        if (!is_null($p)) {
            $p->setValue($value);
        }
    }
public function setPropertyValue ( $ name , $ value ) { $ p = Utilities :: tryGetValue ( $ this -> _properties , $ name ) ; if ( ! is_null ( $ p ) ) { $ p -> setValue ( $ value ) ; } }
Sets property value.

Note that if the property doesn't exist, it doesn't add it. Use addProperty
to add new properties.

@param string $name  The property name.
@param mixed  $value The property value.

@return mixed
Sets property value .