protected function getCsvTableStr(CsvFileHandler $csv_handler, CsvFile $csv_file)
	{
		if(! $csv_file)
		{
			throw new NoDataException();
		}

		$table = new Table();
		// set the configuration
		$table->setConfig(array(
				"table-hover"=>true, 
				"table-condensed"=>false, 
				"table-responsive" => true,
				"table-striped" => true,
			 ));
		
		// set header
		if( $csv_header = $csv_file->getCsvHeader() )
		{
			$table->setHeader( $csv_header );
		}
		
		// set content
		$exchange_data = Session::get($this->exchange_key);
		$max_num_lines = $exchange_data["max_lines"];
		foreach( $csv_file as $csv_line_key => $csv_line)
		{
			if($csv_line_key >= $max_num_lines)
				break;

			// add data table row
			$table->addRows( $csv_line->getElements() );
		}

		

		return $table->getHtml();
	}
protected function getCsvTableStr(CsvFileHandler $csv_handler, CsvFile $csv_file)
	{
		if(! $csv_file)
		{
			throw new NoDataException();
		}

		$table = new Table();
		// set the configuration
		$table->setConfig(array(
				"table-hover"=>true, 
				"table-condensed"=>false, 
				"table-responsive" => true,
				"table-striped" => true,
			 ));
		
		// set header
		if( $csv_header = $csv_file->getCsvHeader() )
		{
			$table->setHeader( $csv_header );
		}
		
		// set content
		$exchange_data = Session::get($this->exchange_key);
		$max_num_lines = $exchange_data["max_lines"];
		foreach( $csv_file as $csv_line_key => $csv_line)
		{
			if($csv_line_key >= $max_num_lines)
				break;

			// add data table row
			$table->addRows( $csv_line->getElements() );
		}

		

		return $table->getHtml();
	}
protected function getCsvTableStr ( CsvFileHandler $ csv_handler , CsvFile $ csv_file ) { if ( ! $ csv_file ) { throw new NoDataException ( ) ; } $ table = new Table ( ) ; // set the configuration $ table -> setConfig ( array ( "table-hover" => true , "table-condensed" => false , "table-responsive" => true , "table-striped" => true , ) ) ; // set header if ( $ csv_header = $ csv_file -> getCsvHeader ( ) ) { $ table -> setHeader ( $ csv_header ) ; } // set content $ exchange_data = Session :: get ( $ this -> exchange_key ) ; $ max_num_lines = $ exchange_data [ "max_lines" ] ; foreach ( $ csv_file as $ csv_line_key => $ csv_line ) { if ( $ csv_line_key >= $ max_num_lines ) break ; // add data table row $ table -> addRows ( $ csv_line -> getElements ( ) ) ; } return $ table -> getHtml ( ) ; }
Return the table rappresenting the csv data

@throws  NoDataException
@return  String $table
Return the table rappresenting the csv data