protected function _setFromArray($data)
	{
		if ($this->autoHeading === true && empty($this->heading))
		{
			$this->heading = $this->_prepArgs(array_shift($data));
		}

		foreach ($data as &$row)
		{
			$this->rows[] = $this->_prepArgs($row);
		}
	}
protected function _setFromArray($data)
	{
		if ($this->autoHeading === true && empty($this->heading))
		{
			$this->heading = $this->_prepArgs(array_shift($data));
		}

		foreach ($data as &$row)
		{
			$this->rows[] = $this->_prepArgs($row);
		}
	}
protected function _setFromArray ( $ data ) { if ( $ this -> autoHeading === true && empty ( $ this -> heading ) ) { $ this -> heading = $ this -> _prepArgs ( array_shift ( $ data ) ) ; } foreach ( $ data as & $ row ) { $ this -> rows [ ] = $ this -> _prepArgs ( $ row ) ; } }
Set table data from an array

@param  array $data
@return void
Set table data from an array