public function replace(array $data) {

		$this->data = array();

		foreach ($data as $k => $v) {
			$this->data[$k] = $v;
		}

	}
public function replace(array $data) {

		$this->data = array();

		foreach ($data as $k => $v) {
			$this->data[$k] = $v;
		}

	}
public function replace ( array $ data ) { $ this -> data = array ( ) ; foreach ( $ data as $ k => $ v ) { $ this -> data [ $ k ] = $ v ; } }
replace current data array

@param array $data
replace current data array