Auth_OpenID_Mapping::__construct PHP Method

__construct() public method

Initialize a mapping. If $classic_array is specified, its keys and values are used to populate the mapping.
public __construct ( $classic_array = null )
    function __construct($classic_array = null)
    {
        $this->keys = array();
        $this->values = array();
        if (is_array($classic_array)) {
            foreach ($classic_array as $key => $value) {
                $this->set($key, $value);
            }
        }
    }