src/FS/File/CSV/Reader.php
public function toArray()
	{
		$data		= array();
		$iterator	= new FS_File_CSV_Iterator( $this->fileName, $this->delimiter );
		while( $iterator->next() )
			$data[]	= $iterator->current();
		if( $this->withHeaders )
			array_shift( $data );
		return $data;
	}
public function toArray()
	{
		$data		= array();
		$iterator	= new FS_File_CSV_Iterator( $this->fileName, $this->delimiter );
		while( $iterator->next() )
			$data[]	= $iterator->current();
		if( $this->withHeaders )
			array_shift( $data );
		return $data;
	}
public function toArray ( ) { $ data = array ( ) ; $ iterator = new FS_File_CSV_Iterator ( $ this -> fileName , $ this -> delimiter ) ; while ( $ iterator -> next ( ) ) $ data [ ] = $ iterator -> current ( ) ; if ( $ this -> withHeaders ) array_shift ( $ data ) ; return $ data ; }
Reads data an returns an array.
@access		public
@return		array
Reads data an returns an array .