src/DataContainer.php
public function replaceData(array $data, $filter = null)
	{
		$this->clearData();

		return $this->set($data, $filter);
	}
public function replaceData(array $data, $filter = null)
	{
		$this->clearData();

		return $this->set($data, $filter);
	}
public function replaceData ( array $ data , $ filter = null ) { $ this -> clearData ( ) ; return $ this -> set ( $ data , $ filter ) ; }
Overwrites all the view data

@param array   $data
@param boolean $filter

@return $this
Overwrites all the view data