public function setValue($attribute_name, $attribute_value)
    {
        $value_holder = $this->getValueHolderFor($attribute_name);

        $this->validation_results->setItem(
            $attribute_name,
            $value_holder->setValue($attribute_value, $this)
        );

        return $this->isValid();
    }
public function setValue($attribute_name, $attribute_value)
    {
        $value_holder = $this->getValueHolderFor($attribute_name);

        $this->validation_results->setItem(
            $attribute_name,
            $value_holder->setValue($attribute_value, $this)
        );

        return $this->isValid();
    }
public function setValue ( $ attribute_name , $ attribute_value ) { $ value_holder = $ this -> getValueHolderFor ( $ attribute_name ) ; $ this -> validation_results -> setItem ( $ attribute_name , $ value_holder -> setValue ( $ attribute_value , $ this ) ) ; return $ this -> isValid ( ) ; }
Sets a specific value by attribute_name.

@param string $attribute_name
@param mixed $attribute_value
Sets a specific value by attribute_name .