public function loadArray($array, $flattened = false, $separator = null)
	{
		if (!$flattened)
		{
			$this->bindData($this->data, $array);

			return $this;
		}

		foreach ($array as $k => $v)
		{
			$this->set($k, $v, $separator);
		}

		return $this;
	}
public function loadArray($array, $flattened = false, $separator = null)
	{
		if (!$flattened)
		{
			$this->bindData($this->data, $array);

			return $this;
		}

		foreach ($array as $k => $v)
		{
			$this->set($k, $v, $separator);
		}

		return $this;
	}
public function loadArray ( $ array , $ flattened = false , $ separator = null ) { if ( ! $ flattened ) { $ this -> bindData ( $ this -> data , $ array ) ; return $ this ; } foreach ( $ array as $ k => $ v ) { $ this -> set ( $ k , $ v , $ separator ) ; } return $ this ; }
Load an associative array of values into the default namespace

@param   array    $array      Associative array of value to load
@param   boolean  $flattened  Load from a one-dimensional array
@param   string   $separator  The key separator

@return  Registry  Return this object to support chaining.

@since   1.0
Load an associative array of values into the default namespace