protected function bindLevel($group, $data)
	{
		// Ensure the input data is an array.
		settype($data, 'array');

		// Process the input data.
		foreach ($data as $k => $v)
		{
			if ($this->findField($k, $group))
			{
				// If the field exists set the value.
				$this->data->set($group . '.' . $k, $v);
			}
			elseif (is_object($v) || Arr::isAssociative($v))
			{
				// If the value is an object or an associative array, hand it off to the recursive bind level method
				$this->bindLevel($group . '.' . $k, $v);
			}
		}
	}
protected function bindLevel($group, $data)
	{
		// Ensure the input data is an array.
		settype($data, 'array');

		// Process the input data.
		foreach ($data as $k => $v)
		{
			if ($this->findField($k, $group))
			{
				// If the field exists set the value.
				$this->data->set($group . '.' . $k, $v);
			}
			elseif (is_object($v) || Arr::isAssociative($v))
			{
				// If the value is an object or an associative array, hand it off to the recursive bind level method
				$this->bindLevel($group . '.' . $k, $v);
			}
		}
	}
protected function bindLevel ( $ group , $ data ) { // Ensure the input data is an array. settype ( $ data , 'array' ) ; // Process the input data. foreach ( $ data as $ k => $ v ) { if ( $ this -> findField ( $ k , $ group ) ) { // If the field exists set the value. $ this -> data -> set ( $ group . '.' . $ k , $ v ) ; } elseif ( is_object ( $ v ) || Arr :: isAssociative ( $ v ) ) { // If the value is an object or an associative array, hand it off to the recursive bind level method $ this -> bindLevel ( $ group . '.' . $ k , $ v ) ; } } }
Method to bind data to the form for the group level.

@param   string  $group  The dot-separated form group path on which to bind the data.
@param   mixed   $data   An array or object of data to bind to the form for the group level.
@return  void
Method to bind data to the form for the group level .