public function setData(array $data) {
		$this->data = $data;

		$this->resetFields();

		foreach($data as $name=>$data)
			$this->newField($name, $data);

		$this->updateChilds();

		return $this;
	}
public function setData(array $data) {
		$this->data = $data;

		$this->resetFields();

		foreach($data as $name=>$data)
			$this->newField($name, $data);

		$this->updateChilds();

		return $this;
	}
public function setData ( array $ data ) { $ this -> data = $ data ; $ this -> resetFields ( ) ; foreach ( $ data as $ name => $ data ) $ this -> newField ( $ name , $ data ) ; $ this -> updateChilds ( ) ; return $ this ; }
Set group data.
@param array $data
@return DynamicGroupInterface $this
Set group data .