Auth_OpenID_AX_KeyValueMessage::addValue PHP Method

addValue() public method

Add a single value for the given attribute type to the message. If there are already values specified for this type, this value will be sent in addition to the values already specified.
public addValue ( $type_uri, $value ) : null
return null
    function addValue($type_uri, $value)
    {
        if (!array_key_exists($type_uri, $this->data)) {
            $this->data[$type_uri] = array();
        }
        $values =& $this->data[$type_uri];
        $values[] = $value;
    }