original_string: 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();
  	}
code: 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();
  	}
code_tokens: 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 ( ) ; }
docstring: Return the table rappresenting the csv data
  
  @throws  NoDataException
  @return  String $table
docstring_tokens: Return the table rappresenting the csv data